﻿:root {
  --bg: #07111f;
  --surface: #0d1d31;
  --surface-2: #102842;
  --card: rgba(13, 29, 49, 0.78);
  --line: rgba(125, 211, 252, 0.18);
  --text: #eff8ff;
  --muted: #a8c3d9;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --blue: #2563eb;
  --teal: #14b8a6;
  --magenta: #d946ef;
  --navy: #081827;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(11, 31, 50, 0.96) 0%, rgba(5, 12, 22, 0.98) 56%, #07111f 100%),
    #07111f;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.section-pad {
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 31, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #001724;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), #8bf3ff);
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.32);
}

.brand-logo {
  width: 72px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.26);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-panel,
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cyan-2);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  min-width: 190px;
  display: grid;
  gap: 8px;
  padding: 12px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.dropdown-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(34, 211, 238, 0.08);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 24, 39, 0.1);
  box-shadow: 0 10px 28px rgba(8, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 72px;
  gap: 16px;
}

.brand {
  flex: 0 1 320px;
  gap: 10px;
}

.brand-logo {
  width: 58px;
  height: 42px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  box-shadow: none;
}

.brand-name {
  max-width: 245px;
  color: #06101c;
  font-size: 0.92rem;
  line-height: 1.15;
  white-space: normal;
}

.nav-panel {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.nav-links {
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: 999px;
  background: #f2f7fa;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #39566c;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: #06202f;
  background: #dff7fb;
}

.nav-links .mail-login-link {
  color: #075ed8;
  background: #eef6ff;
  border: 1px solid rgba(7, 94, 216, 0.16);
  font-weight: 900;
}

.nav-links .mail-login-link:hover,
.nav-links .mail-login-link:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #075ed8, #12bce6);
}

.nav-dropdown > a,
.nav-links a[href*="govt-policy.aspx"],
.nav-links a[href*="compliance.aspx"] {
  color: #047481;
}

.dropdown-menu {
  top: calc(100% + 12px);
  min-width: 210px;
  border: 1px solid rgba(8, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(8, 24, 39, 0.14);
}

.dropdown-menu a {
  min-height: 40px;
  justify-content: flex-start;
  color: #39566c;
  border-radius: var(--radius);
  background: transparent;
  font-size: 0.9rem;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: #06202f;
  background: #dff7fb;
}

.login-open {
  min-height: 40px;
  padding-inline: 18px;
  white-space: nowrap;
}

body[data-protected="employee"] .site-header {
  background:
    linear-gradient(90deg, rgba(6, 16, 28, 0.98), rgba(8, 35, 56, 0.96));
  border-bottom: 1px solid rgba(103, 232, 249, 0.2);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

body[data-protected="employee"] .navbar {
  min-height: 68px;
}

body[data-protected="employee"] .brand {
  flex: 0 0 auto;
}

body[data-protected="employee"] .brand-logo {
  width: 64px;
  height: 44px;
  border-color: rgba(103, 232, 249, 0.26);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.2);
}

body[data-protected="employee"] .brand-name {
  max-width: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

body[data-protected="employee"] .navbar::after {
  content: "Admin / Employee Access";
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #dffaff;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-left: 3px solid #f47a20;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

body[data-protected="employee"] .admin-topbar::after {
  display: none;
}

body[data-protected="employee"] .navbar > .btn {
  min-height: 40px;
  color: #06101c;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.18);
  white-space: nowrap;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 12px 6px 6px;
  color: #dffaff;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.admin-user-chip > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #06101c;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-user-chip strong,
.admin-user-chip small {
  display: block;
  line-height: 1.1;
}

.admin-user-chip small {
  margin-top: 3px;
  color: #a8c3d9;
  font-size: 0.76rem;
  font-weight: 800;
}

body[data-protected="employee"] .admin-topbar-actions .btn-secondary {
  color: #dffaff;
  border-color: rgba(103, 232, 249, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

body[data-protected="employee"] .admin-topbar-actions .btn-primary {
  color: #06101c;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #011722;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.24);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  padding-top: 72px;
  background:
    linear-gradient(90deg, rgba(4, 11, 20, 0.92) 0%, rgba(6, 18, 31, 0.8) 43%, rgba(6, 18, 31, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.74)),
    url("images/home-hero-it-company.png") center right / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(7, 17, 31, 0.82) 100%);
  background-size: 44px 44px, 44px 44px, auto;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 70%);
  opacity: 0.52;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 0;
  background: linear-gradient(180deg, transparent, #E0F2FE 88%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.72)),
    radial-gradient(circle at 78% 42%, rgba(34, 211, 238, 0.2), transparent 28%);
}

.page-hero h1 {
  max-width: 820px;
}

/* HRMS unified module shell */
body[data-protected="employee"] .employee-app {
  width: min(100% - 0.2in, 1560px);
  min-height: calc(100dvh - 142px);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  margin: 0 auto;
  color: #07245a;
  background: #eef4fb;
  border: 1px solid #c8d8ec;
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(20, 52, 96, 0.12);
  overflow: hidden;
}

body[data-protected="employee"] .employee-sidebar,
body[data-protected="employee"] .employees-sidebar {
  position: sticky;
  top: 0;
  height: calc(100dvh - 76px);
  align-self: start;
  padding: 18px 12px;
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(4, 34, 89, 0.98), rgba(5, 96, 183, 0.94)),
    linear-gradient(28deg, transparent 0 45%, rgba(255, 255, 255, 0.1) 46% 56%, transparent 57%),
    #063a88;
  overflow-y: auto;
}

body[data-protected="employee"] .employee-sidebar-title,
body[data-protected="employee"] .employees-sidebar h1 {
  margin: 0 8px 14px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body[data-protected="employee"] .employee-sidebar-title .eyebrow,
body[data-protected="employee"] .employees-sidebar h1 {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0;
}

body[data-protected="employee"] .employee-sidebar nav,
body[data-protected="employee"] .employees-sidebar nav,
body[data-protected="employee"] .dashboard-menu.grouped-module-nav {
  display: grid;
  gap: 10px;
}

body[data-protected="employee"] .hrms-module-dropdown,
body[data-protected="employee"] .dashboard-menu.grouped-module-nav .hrms-module-dropdown {
  overflow: hidden;
  border: 1px solid rgba(210, 232, 255, 0.18);
  border-radius: 12px;
  background: rgba(3, 29, 77, 0.58);
}

body[data-protected="employee"] .hrms-module-dropdown > summary,
body[data-protected="employee"] .dashboard-menu.grouped-module-nav .hrms-module-dropdown > summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(90deg, rgba(9, 104, 209, 0.88), rgba(19, 166, 226, 0.72));
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-protected="employee"] .hrms-module-dropdown-list {
  display: grid;
  gap: 8px;
  max-height: none;
  padding: 10px;
  background: rgba(1, 19, 52, 0.28);
  overflow: visible;
}

body[data-protected="employee"] .hrms-submodule-group {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 55, 126, 0.34);
  overflow: hidden;
}

body[data-protected="employee"] .hrms-submodule-group summary,
body[data-protected="employee"] .hrms-module-dropdown-list .hrms-submodule-group summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  color: #eaf6ff;
  background: rgba(6, 78, 160, 0.42);
  border: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  list-style: none;
}

body[data-protected="employee"] .hrms-submodule-list {
  display: grid;
  gap: 4px;
  padding: 7px;
  background: rgba(0, 16, 43, 0.22);
}

body[data-protected="employee"] .hrms-submodule-list a,
body[data-protected="employee"] .hrms-module-dropdown-list a,
body[data-protected="employee"] .dashboard-menu.grouped-module-nav .hrms-submodule-list a {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.18;
}

body[data-protected="employee"] .hrms-submodule-list a:hover,
body[data-protected="employee"] .hrms-submodule-list a:focus-visible,
body[data-protected="employee"] .hrms-submodule-list a.active,
body[data-protected="employee"] .hrms-module-dropdown-list a:hover,
body[data-protected="employee"] .hrms-module-dropdown-list a:focus-visible,
body[data-protected="employee"] .hrms-module-dropdown-list a.active {
  color: #ffffff;
  background: linear-gradient(90deg, #0d73d9, #17bce7);
  box-shadow: 0 10px 18px rgba(0, 12, 40, 0.18);
  outline: none;
}

body[data-protected="employee"] .module-link-number {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #0758b7;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.55rem;
  font-weight: 950;
}

body[data-protected="employee"] .hrms-submodule-list a.active .module-link-number,
body[data-protected="employee"] .hrms-submodule-list a:hover .module-link-number,
body[data-protected="employee"] .hrms-submodule-list a:focus-visible .module-link-number {
  color: #ffffff;
  background: rgba(2, 28, 76, 0.7);
}

body[data-protected="employee"] .module-switch-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(3, 29, 77, 0.58);
}

body[data-protected="employee"] .module-switch-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

body[data-protected="employee"] .module-switch-card a {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #064d9f;
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.7rem;
  font-weight: 950;
}

body[data-protected="employee"] .employee-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  background: #eef4fb;
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card,
body[data-protected="employee"] .dashboard-panel.module-page-panel,
body[data-protected="employee"] .dashboard-panel.hrms-data-panel {
  border: 1px solid #c9d8ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 63, 114, 0.08);
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card {
  min-height: auto;
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 88% 24%, rgba(23, 188, 231, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card .eyebrow,
body[data-protected="employee"] .section-heading .eyebrow,
body[data-protected="employee"] .module-page-header .eyebrow {
  color: #0b65d8;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card h1 {
  margin: 0;
  color: #07245a;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card p:not(.eyebrow) {
  margin: 0;
  color: #38547b;
  font-size: 0.86rem;
  font-weight: 750;
}

body[data-protected="employee"] .dashboard-panel.module-page-panel {
  gap: 16px;
  padding: 18px;
}

body[data-protected="employee"] .module-page-header {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

body[data-protected="employee"] .module-page-header > span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #075ed8, #17bce7);
  font-size: 0.95rem;
  font-weight: 950;
}

body[data-protected="employee"] .module-page-header h2 {
  margin: 2px 0 0;
  max-width: 900px;
  color: #07245a;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: 0;
}

body[data-protected="employee"] .module-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-protected="employee"] .module-feature-grid article {
  min-height: 104px;
  padding: 15px;
  border: 1px solid #d8e4f3;
  border-radius: 12px;
  background: #f8fbff;
}

body[data-protected="employee"] .module-feature-grid h3 {
  margin: 0 0 8px;
  color: #07245a;
  font-size: 0.92rem;
}

body[data-protected="employee"] .module-feature-grid p {
  margin: 0;
  color: #38547b;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 700;
}

body[data-protected="employee"] .dashboard-panel.hrms-data-panel {
  padding: 18px;
}

body[data-protected="employee"] .dashboard-panel.hrms-data-panel > .section-heading {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e4f3;
}

body[data-protected="employee"] .dashboard-panel.hrms-data-panel > .section-heading h2 {
  margin: 0;
  color: #07245a;
  font-size: 1.15rem;
}

body[data-protected="employee"] .hrms-data-grid {
  gap: 14px;
}

body[data-protected="employee"] .hrms-action-desk,
body[data-protected="employee"] .department-preview-desk {
  margin: -4px;
  border-radius: 14px;
}

body[data-protected="employee"] .fms-preview-main,
body[data-protected="employee"] .department-preview-desk {
  padding: 14px;
}

body[data-protected="employee"] .fms-preview-header,
body[data-protected="employee"] .department-preview-hero {
  padding: 15px 18px;
}

body[data-protected="employee"] .fms-preview-header h1,
body[data-protected="employee"] .department-preview-hero h1 {
  font-size: clamp(1.3rem, 1.75vw, 1.85rem);
}

body[data-protected="employee"] .fms-preview-header span,
body[data-protected="employee"] .department-preview-hero span {
  font-size: 0.8rem;
}

body[data-protected="employee"] .fms-preview-summary,
body[data-protected="employee"] .department-preview-stats {
  gap: 12px;
}

body[data-protected="employee"] .fms-preview-stat,
body[data-protected="employee"] .department-preview-stats article {
  min-height: 92px;
  padding: 14px;
}

body[data-protected="employee"] .department-preview-stats article {
  padding-left: 60px;
}

body[data-protected="employee"] .fms-preview-stat strong,
body[data-protected="employee"] .department-preview-stats strong {
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
}

body[data-protected="employee"] .hrms-record-card {
  border: 1px solid #c9d8ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 63, 114, 0.08);
}

@media (max-width: 1180px) {
  body[data-protected="employee"] .employee-app {
    grid-template-columns: 1fr;
  }

  body[data-protected="employee"] .employee-sidebar,
  body[data-protected="employee"] .employees-sidebar {
    position: static;
    height: auto;
  }

  body[data-protected="employee"] .module-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-protected="employee"] .employee-app {
    width: 100%;
    border-inline: 0;
  }

  body[data-protected="employee"] .employee-main {
    padding: 12px;
  }

  body[data-protected="employee"] .module-page-header {
    grid-template-columns: 1fr;
  }
}

.service-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.74)),
    radial-gradient(circle at 78% 42%, rgba(34, 211, 238, 0.24), transparent 32%);
}

.service-page-hero img {
  width: 100%;
  min-height: 320px;
  max-height: 460px;
  object-fit: cover;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.service-detail-section {
  background: var(--white);
}

.contact-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 44px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.72) 52%, rgba(7, 17, 31, 0.38)),
    url("images/managed-it-support.png") center right / cover no-repeat;
}

.contact-hero-copy,
.contact-hero-panel {
  position: relative;
  z-index: 1;
}

.contact-hero-panel {
  align-self: end;
  padding: 26px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: var(--radius);
  background: rgba(5, 12, 22, 0.72);
  box-shadow: var(--shadow);
}

.contact-hero-panel span,
.contact-hero-panel p {
  color: var(--muted);
}

.contact-hero-panel strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1.15;
}

.director-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 72px;
  background:
    radial-gradient(circle at 82% 34%, rgba(34, 211, 238, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(16, 40, 66, 0.72));
}

.director-hero-copy {
  max-width: 760px;
}

.director-hero-copy h1 {
  font-size: clamp(4rem, 8vw, 6.8rem);
  line-height: 0.98;
}

.director-hero-panel {
  position: relative;
  min-height: 390px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.1) 0%, rgba(7, 17, 31, 0.46) 42%, rgba(7, 17, 31, 0.92) 100%),
    url("images/director-leadership-meeting.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.director-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.68), rgba(7, 17, 31, 0.1)),
    radial-gradient(circle at 22% 86%, rgba(34, 211, 238, 0.24), transparent 34%);
  pointer-events: none;
}

.director-hero-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}

.director-hero-panel > * {
  position: relative;
  z-index: 1;
}

.leadership-chip,
.leadership-metric,
.leadership-lines {
  position: relative;
  z-index: 1;
}

.leadership-chip {
  justify-self: start;
  padding: 10px 14px;
  color: var(--cyan-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.08);
  font-weight: 800;
}

.leadership-metric {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.leadership-metric strong {
  display: block;
  color: var(--cyan-2);
  font-size: 4rem;
  line-height: 1;
}

.leadership-metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.leadership-lines {
  display: grid;
  gap: 10px;
}

.leadership-lines span {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), rgba(34, 211, 238, 0.08));
}

.leadership-lines span:nth-child(2) {
  width: 74%;
}

.leadership-lines span:nth-child(3) {
  width: 54%;
}

.leadership-intro,
.director-vision {
  background: rgba(255, 255, 255, 0.025);
}

.leadership-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.leadership-pill-grid article,
.director-profile-card,
.vision-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.leadership-pill-grid article {
  padding: 26px;
}

.leadership-pill-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: #001724;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  font-weight: 900;
}

.leadership-pill-grid p,
.director-profile-card p,
.vision-panel p {
  color: var(--muted);
}

.director-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.director-profile-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  align-items: start;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(16, 40, 66, 0.92), rgba(7, 17, 31, 0.96)),
    var(--card);
}

.director-profile-card:nth-child(even) {
  grid-template-columns: none;
}

.director-profile-card:nth-child(even) .director-photo-wrap {
  order: initial;
}

.director-photo-wrap {
  min-height: 360px;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
}

.director-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.director-profile-content {
  display: grid;
  align-content: start;
  padding: 30px;
}

.director-profile-content h3 {
  margin-bottom: 6px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.director-role-badge {
  justify-self: start;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: var(--cyan-2);
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.director-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.director-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--cyan-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.vision-panel {
  max-width: 980px;
  margin-inline: auto;
  padding: 38px;
  text-align: center;
}

.vision-panel h2 {
  margin-inline: auto;
}

.vision-panel .btn {
  margin-top: 10px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy,
.section-heading p,
.about-grid p,
.service-card p,
.feature-card p,
.director-card p,
.team-card p,
.job-card p,
.contact-details p,
.footer p {
  color: var(--muted);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 34px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: var(--radius);
  background: rgba(5, 12, 22, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.hero-stats strong,
.service-number {
  display: block;
  color: var(--cyan-2);
  font-weight: 900;
}

.hero-stats strong {
  font-size: 1.65rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-image-card {
  position: relative;
  width: min(100%, 560px);
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.28);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.hero-image-card img {
  width: 100%;
  object-fit: cover;
  opacity: 0.86;
}

.hero-service-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 430px;
}

.hero-service-collage img {
  height: 100%;
  min-height: 0;
}

.hero-service-collage img:first-child {
  grid-row: 1 / 3;
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(7, 17, 31, 0.16) 58%, rgba(7, 17, 31, 0.9) 100%);
  pointer-events: none;
}

.hero-image-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: var(--radius);
  background: rgba(5, 12, 22, 0.78);
  backdrop-filter: blur(12px);
}

.hero-image-caption strong {
  color: var(--white);
  font-size: 1.15rem;
}

.hero-image-caption span {
  color: var(--cyan-2);
  font-weight: 800;
}

.home-service-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2)) 24px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(20, 184, 166, 0.12), rgba(37, 99, 235, 0.1));
}

.home-service-strip a {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--text);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.8);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.home-service-strip a:hover {
  color: #001724;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  transform: translateY(-3px);
}

.home-redesign {
  color: #eaf7ff;
  background: #f4f8fb;
}

.home-redesign .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 24, 39, 0.1);
  box-shadow: 0 10px 28px rgba(8, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.home-redesign .navbar {
  min-height: 72px;
  gap: 16px;
}

.home-redesign .brand {
  flex: 0 1 320px;
  gap: 10px;
}

.home-redesign .brand-logo {
  width: 58px;
  height: 42px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  box-shadow: none;
}

.home-redesign .brand-name {
  max-width: 245px;
  color: #06101c;
  font-size: 0.92rem;
  line-height: 1.15;
  white-space: normal;
}

.home-redesign .nav-panel {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.home-redesign .nav-links {
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: 999px;
  background: #f2f7fa;
}

.home-redesign .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #39566c;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  white-space: nowrap;
}

.home-redesign .nav-links a:hover,
.home-redesign .nav-links a:focus-visible {
  color: #06202f;
  background: #dff7fb;
}

.home-redesign .nav-links a[href="#govt-policy"],
.home-redesign .nav-links a[href="#compliance"] {
  color: #047481;
}

.home-redesign .nav-dropdown > a {
  color: #047481;
}

.home-redesign .dropdown-menu {
  top: calc(100% + 12px);
  min-width: 210px;
  border: 1px solid rgba(8, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(8, 24, 39, 0.14);
}

.home-redesign .dropdown-menu a {
  min-height: 40px;
  justify-content: flex-start;
  color: #39566c;
  border-radius: var(--radius);
  background: transparent;
  font-size: 0.9rem;
}

.home-redesign .dropdown-menu a:hover,
.home-redesign .dropdown-menu a:focus-visible {
  color: #06202f;
  background: #dff7fb;
}

.home-redesign .login-open {
  min-height: 40px;
  padding-inline: 18px;
  white-space: nowrap;
}

.home-redesign .btn-secondary {
  color: #eaf7ff;
}

.home-hero-redesign {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 96px max(20px, calc((100vw - 1180px) / 2)) 32px;
  background: #06101c;
}

.home-hero-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 16, 28, 0.98) 0%, rgba(6, 16, 28, 0.86) 42%, rgba(6, 16, 28, 0.36) 100%),
    linear-gradient(180deg, rgba(244, 122, 32, 0.12) 0%, rgba(6, 16, 28, 0.2) 34%, #06101c 100%);
  pointer-events: none;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 24px 0 24px 42%;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.home-hero-media img:first-child {
  grid-row: 1 / 3;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
}

.home-hero-inner h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.home-hero-inner p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 28px;
  color: #c3d8e8;
  font-size: 1.16rem;
}

.home-compliance-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, 880px);
  margin-top: 22px;
}

.home-compliance-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #dffaff;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-left: 3px solid #f47a20;
  border-radius: var(--radius);
  background: rgba(8, 24, 39, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
}

.home-hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 860px);
  margin-top: 58px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  background: rgba(103, 232, 249, 0.18);
}

.home-hero-metrics div {
  padding: 20px;
  background: rgba(5, 12, 22, 0.82);
}

.home-hero-metrics strong {
  display: block;
  color: var(--cyan-2);
  font-size: 2rem;
  line-height: 1;
}

.home-hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.home-service-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(8, 24, 39, 0.08);
  border-bottom: 1px solid rgba(8, 24, 39, 0.08);
  background: #ffffff;
}

.home-service-rail a {
  min-height: 128px;
  display: grid;
  gap: 10px;
  place-items: center;
  align-content: center;
  padding: 16px 14px;
  color: #0b3147;
  text-align: center;
  border-right: 1px solid rgba(8, 24, 39, 0.08);
  font-weight: 900;
}

.home-service-rail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(8, 24, 39, 0.14);
}

.home-service-rail span {
  display: block;
  line-height: 1.2;
}

.home-service-rail a:hover {
  color: #02111d;
  background: var(--cyan-2);
}

.home-section-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.home-section-row p:last-child {
  color: #8aa6bd;
  font-weight: 700;
}

.home-services-redesign {
  color: #06101c;
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.18), transparent 34%),
    #f4f8fb;
}

.home-services-redesign .eyebrow {
  color: #22d3ee;
}

.home-services-redesign h2 {
  max-width: 760px;
  color: #07111f;
  font-size: clamp(2.4rem, 5vw, 4.15rem);
  line-height: 1.05;
}

.home-service-showcase {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 0.88fr;
  grid-auto-rows: 380px;
  gap: 18px;
}

.home-service-tile {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 380px;
  padding: 0;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(8, 24, 39, 0.14);
  isolation: isolate;
}

.home-service-tile.large {
  grid-row: span 2;
  min-height: 778px;
}

.home-service-tile .service-cover {
  width: 100%;
  height: 46%;
  object-fit: cover;
  filter: brightness(1.02) saturate(1.04) contrast(1.02);
}

.home-service-tile.large .service-cover {
  height: 100%;
}

.home-service-tile.large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(7, 17, 31, 0.1) 58%, rgba(7, 17, 31, 0.28) 100%);
}

.service-card-body {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 36px 24px 24px;
  color: #112033;
}

.service-detail-panel {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  color: #112033;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(8, 24, 39, 0.18);
  backdrop-filter: blur(12px);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-card-body .service-icon {
  position: absolute;
  left: 24px;
  top: -27px;
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-title-row span {
  display: none;
}

.service-title-row h3 {
  margin: 0;
  color: #0b1324;
  font-size: 1.16rem;
  line-height: 1.2;
}

.service-card-body p,
.service-detail-panel p {
  margin: 0;
  color: #506179;
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-card-body a,
.service-detail-panel a {
  color: #2563eb;
  font-weight: 900;
}

.service-detail-panel > a,
.service-mini-grid {
  grid-column: 1 / -1;
}

.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(8, 24, 39, 0.1);
}

.service-mini-grid small {
  color: #40556d;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.home-policy-redesign {
  color: #06101c;
  background: #ffffff;
}

.mca-trust-card {
  width: min(100%, 560px);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 8px;
  color: #e7f8ff;
  background: rgba(3, 18, 34, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.mca-trust-card-dark {
  background: rgba(3, 18, 34, 0.72);
}

.mca-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #001724;
  background: linear-gradient(135deg, #67e8f9, #16a34a);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.mca-trust-card strong,
.mca-trust-card small {
  display: block;
}

.mca-trust-card strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.mca-trust-card small {
  margin-top: 4px;
  color: #b8d9e9;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-policy-grid article {
  min-height: 238px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(8, 24, 39, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f6fbfd);
  box-shadow: 0 18px 44px rgba(8, 24, 39, 0.08);
}

.home-policy-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #06101c;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #67e8f9, #16a34a);
  font-weight: 900;
}

.home-policy-grid article:nth-child(2n) span {
  background: linear-gradient(135deg, #f47a20, #facc15);
}

.home-policy-grid h3 {
  margin: 0;
}

.home-policy-grid p {
  margin: 0;
  color: #50687a;
}

.home-compliance-redesign {
  background:
    linear-gradient(90deg, rgba(6, 16, 28, 0.92), rgba(6, 16, 28, 0.82)),
    url("images/software-solutions.png") center / cover no-repeat;
}

.home-compliance-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: 36px;
  align-items: center;
}

.home-compliance-panel p:not(.eyebrow) {
  color: #c3d8e8;
  font-size: 1.08rem;
}

.home-compliance-flow {
  display: grid;
  gap: 10px;
}

.home-compliance-flow article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.home-compliance-flow span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #02111d;
  border-radius: 999px;
  background: #67e8f9;
  font-weight: 900;
}

.home-compliance-flow article:nth-child(3) span {
  background: #f47a20;
}

.home-about-redesign {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 44px;
  align-items: center;
  background: #0b1f32;
}

.home-about-image {
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
}

.home-about-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.home-about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.home-proof-grid div {
  padding: 20px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 12, 22, 0.42);
}

.home-proof-grid strong,
.home-proof-grid span {
  display: block;
}

.home-proof-grid strong {
  color: var(--cyan-2);
  font-size: 1.25rem;
}

.home-proof-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.home-process-redesign {
  background:
    linear-gradient(180deg, rgba(6, 16, 28, 0.82), rgba(6, 16, 28, 0.96)),
    url("images/cybersecurity.png") center / cover no-repeat;
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-process-grid article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: var(--radius);
  background: rgba(5, 12, 22, 0.72);
  backdrop-filter: blur(10px);
}

.home-process-grid span {
  color: var(--cyan-2);
  font-weight: 900;
}

.home-process-grid p {
  color: var(--muted);
}

.home-career-redesign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(90deg, #E0F2FE, #B3E5FC);
}

.home-career-redesign h2 {
  margin-bottom: 0;
}

.dashboard-shell {
  width: min(100%, 520px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 40, 66, 0.92), rgba(7, 17, 31, 0.92));
  box-shadow: var(--shadow);
}

.dashboard-top {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
}

.dashboard-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--cyan);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-card,
.network-map {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.metric-card.wide {
  grid-column: 1 / -1;
}

.metric-card small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-card strong {
  font-size: 2.4rem;
}

.pulse-line {
  height: 48px;
  margin-top: 14px;
  background:
    linear-gradient(90deg, transparent 0 8%, var(--cyan) 8% 10%, transparent 10% 20%, var(--cyan) 20% 23%, transparent 23% 42%, var(--cyan) 42% 44%, transparent 44% 56%, var(--cyan) 56% 58%, transparent 58% 100%),
    linear-gradient(180deg, transparent 48%, rgba(34, 211, 238, 0.28) 49%, transparent 52%);
  animation: shimmer 2.8s linear infinite;
}

.network-map {
  position: relative;
  overflow: hidden;
}

.network-map::before,
.network-map::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  transform: rotate(18deg);
}

.network-map::after {
  transform: rotate(-20deg);
}

.network-map span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}

.network-map span:nth-child(1) { left: 24px; top: 28px; }
.network-map span:nth-child(2) { right: 28px; top: 34px; }
.network-map span:nth-child(3) { left: 54px; bottom: 26px; }
.network-map span:nth-child(4) { right: 64px; bottom: 34px; }

.section-heading {
  margin-bottom: 36px;
}

.section-heading.center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.services,
.about,
.team,
.contact {
  background: rgba(255, 255, 255, 0.025);
}

.services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.96)),
    url("images/networking-services.png") left center / 36% auto no-repeat,
    url("images/cctv-security.png") right top / 34% auto no-repeat,
    url("images/software-solutions.png") right bottom / 38% auto no-repeat;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.72);
  pointer-events: none;
}

.services > * {
  position: relative;
  z-index: 1;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-grid article,
.feature-card,
.director-card,
.team-card,
.job-card,
.contact-details,
.contact-form,
.login-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.about-grid article {
  padding: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 40, 66, 0.78), rgba(7, 17, 31, 0.88)),
    var(--card);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.service-card-image {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 180px;
}

.service-card-image img {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0 32%, rgba(7, 17, 31, 0.28) 52%, rgba(7, 17, 31, 0.74) 100%);
  pointer-events: none;
}

.service-card > *:not(img) {
  position: relative;
  z-index: 2;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
}

.service-number {
  margin-bottom: 34px;
  font-size: 0.9rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.tech-stack span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--cyan-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.07);
  font-weight: 800;
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 26px;
}

.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.1);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.director-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.director-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
}

.designation {
  color: var(--cyan-2);
  font-weight: 800;
}

.profile-photo {
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: var(--muted);
  border: 1px dashed rgba(103, 232, 249, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(37, 99, 235, 0.12));
}

img.profile-photo {
  object-fit: cover;
  object-position: center top;
}

.profile-photo.large {
  width: 180px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  padding: 26px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--cyan-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  text-transform: uppercase;
}

.job-grid {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin-inline: auto;
}

.career-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.career-cta p {
  margin: 0;
  color: var(--muted);
}

.apply-page {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.98)),
    url("images/software-solutions.png") right top / 42% auto no-repeat;
}

.candidate-application-form {
  display: grid;
  gap: 22px;
}

.apply-form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 29, 49, 0.84);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.apply-form-card .section-heading {
  margin-bottom: 22px;
}

.apply-form-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.apply-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.apply-form-grid label {
  display: grid;
  gap: 8px;
}

.apply-form-grid label.wide {
  grid-column: 1 / -1;
}

.apply-form-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.apply-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 12, 22, 0.64);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
}

.carrier-redesign {
  color: #0a1c34;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f3f8fd 100%);
}

.carrier-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.92fr);
  gap: 70px;
  align-items: center;
  padding: 104px max(22px, calc((100vw - 1180px) / 2)) 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(34, 211, 238, 0.2), transparent 24%),
    radial-gradient(circle at 90% 62%, rgba(37, 99, 235, 0.16), transparent 26%),
    linear-gradient(135deg, #ffffff, #edf7ff);
}

.carrier-hero-copy .eyebrow,
.career-section-head .eyebrow {
  color: #1267e8;
}

.carrier-hero-copy h1 {
  max-width: 690px;
  margin: 0;
  color: #081b36;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.02;
}

.carrier-hero-copy > p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #31445f;
  font-size: 1.08rem;
}

.carrier-hero .hero-actions {
  margin-top: 32px;
}

.carrier-hero .btn-secondary {
  color: #0a1c34;
  border-color: #c8d8e8;
  background: #ffffff;
}

.carrier-hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #d9e5f1;
  border-radius: 18px;
  background: #dceeff;
  box-shadow: 0 28px 90px rgba(15, 36, 62, 0.18);
}

.carrier-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.carrier-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 54, 0.04), rgba(8, 27, 54, 0.52));
}

.carrier-hero-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  padding: 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(8, 27, 54, 0.78);
  backdrop-filter: blur(10px);
}

.carrier-hero-card span {
  display: block;
  margin-bottom: 8px;
  color: #67e8f9;
  font-weight: 900;
  text-transform: uppercase;
}

.carrier-hero-card strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.18;
}

.career-overview,
.career-process {
  background: #ffffff;
}

.career-section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.career-section-head h2 {
  margin: 0;
  color: #081b36;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.career-section-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px auto 0;
  color: #4a6078;
}

.career-culture-grid {
  max-width: 1120px;
  margin-inline: auto;
}

.career-feature-card {
  padding: 30px;
  color: #0a1c34;
  border-color: #d9e5f1;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 36, 62, 0.08);
}

.career-feature-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #06101c;
  border-radius: 12px;
  background: #67e8f9;
  font-weight: 900;
}

.career-feature-card h3 {
  color: #081b36;
}

.career-feature-card p {
  color: #4a6078;
}

.career-roles-band {
  background:
    linear-gradient(180deg, #f4f9ff, #eaf4ff);
}

.career-job-grid {
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.career-job-card {
  display: grid;
  align-content: space-between;
  min-height: 300px;
  padding: 30px;
  color: #0a1c34;
  border-color: #d7e3ef;
  background: #ffffff;
  box-shadow: 0 20px 58px rgba(15, 36, 62, 0.12);
}

.job-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: #1267e8;
  border-radius: 999px;
  background: #e8f2ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.career-job-card h3 {
  color: #081b36;
  font-size: 1.55rem;
}

.career-job-card p {
  color: #4a6078;
}

.job-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.job-meta-row span {
  padding: 8px 10px;
  color: #304b68;
  border: 1px solid #d8e5f1;
  border-radius: 999px;
  background: #f8fbff;
  font-size: 0.86rem;
  font-weight: 800;
}

.career-process-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-inline: auto;
}

.career-process-grid article {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: #0a1c34;
  border: 1px solid #d9e5f1;
  border-radius: 12px;
  background: #ffffff;
}

.career-process-grid span {
  color: #1267e8;
  font-weight: 900;
}

.career-process-grid strong {
  color: #081b36;
  font-size: 1.1rem;
}

.career-process-grid small {
  color: #4a6078;
  line-height: 1.45;
}

.contact-details {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-redesign {
  background:
    radial-gradient(circle at 16% 12%, rgba(34, 211, 238, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.045));
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-method-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.contact-method-card span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #06101c;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-method-card small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-method-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.contact-grid-premium {
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  align-items: stretch;
}

.contact-service-panel {
  align-content: start;
  background:
    linear-gradient(145deg, rgba(16, 40, 66, 0.9), rgba(7, 17, 31, 0.92)),
    var(--card);
}

.contact-service-panel h3 {
  font-size: 1.9rem;
  line-height: 1.16;
}

.contact-service-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-service-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.contact-service-list span {
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.08);
  font-weight: 800;
}

.contact-response-card {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.contact-response-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-showcase {
  position: relative;
  overflow: hidden;
  padding: 58px max(22px, calc((100vw - 1180px) / 2)) 0;
  color: #0a1c34;
  background:
    radial-gradient(circle at 88% 22%, rgba(37, 99, 235, 0.16) 0 18%, transparent 19%),
    radial-gradient(circle at 86% 48%, rgba(37, 99, 235, 0.32) 0 16%, transparent 17%),
    linear-gradient(135deg, #ffffff 0%, #f6fbff 54%, #edf6ff 100%);
}

.contact-showcase::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 42%;
  width: 118px;
  height: 118px;
  opacity: 0.5;
  background-image: radial-gradient(rgba(37, 99, 235, 0.32) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

.contact-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(480px, 1.18fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 42px;
}

.contact-intro {
  padding-top: 18px;
}

.contact-intro .eyebrow,
.contact-form-card .eyebrow,
.contact-showcase .map-card .eyebrow {
  color: #1267e8;
}

.contact-intro h1 {
  max-width: 470px;
  margin: 0;
  color: #081b36;
  font-size: clamp(2.75rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-intro h1::after,
.contact-form-card h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: #1267e8;
}

.contact-intro > p {
  max-width: 520px;
  margin: 24px 0 20px;
  color: #31445f;
  font-size: 1.05rem;
}

.contact-info-list {
  display: grid;
  gap: 0;
  max-width: 430px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 13px 0;
  color: #0b2140;
  border-bottom: 1px solid #d9e3ee;
}

.contact-info-item:last-child {
  border-bottom: 0;
}

.contact-info-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #1267e8;
  border-radius: 16px;
  background: #e9f2ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-info-item strong {
  display: block;
  color: #10223f;
  font-size: 1.02rem;
}

.contact-info-item small {
  display: block;
  margin-top: 4px;
  color: #2d3f58;
  font-size: 0.98rem;
  line-height: 1.45;
}

.contact-form-card {
  padding: 38px;
  color: #0a1c34;
  border: 1px solid #d8e2ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 80px rgba(23, 54, 92, 0.18);
}

.contact-form-card h2 {
  margin: 0 0 28px;
  color: #0a1c34;
  font-size: 2rem;
}

.contact-form-card .contact-form-grid {
  gap: 18px 24px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  color: #1c2e49;
  border: 1px solid #cbd8e5;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(15, 36, 62, 0.04);
}

.contact-form-card input,
.contact-form-card select {
  height: 54px;
  padding-inline: 18px;
}

.contact-form-card textarea {
  min-height: 120px;
  padding: 18px;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #6f7f96;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: #1267e8;
  box-shadow: 0 0 0 4px rgba(18, 103, 232, 0.12);
}

.contact-submit {
  justify-self: start;
  min-width: 172px;
  margin-top: 8px;
  background: linear-gradient(135deg, #1267e8, #1f7aff);
  box-shadow: 0 16px 38px rgba(18, 103, 232, 0.28);
}

.contact-showcase .form-status {
  color: #1267e8;
}

.contact-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  margin-inline: calc(max(22px, calc((100vw - 1180px) / 2)) * -1);
}

.contact-map {
  min-height: 320px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(18, 103, 232, 0.11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 103, 232, 0.11) 1px, transparent 1px),
    linear-gradient(135deg, #f7fbff, #dceeff);
  background-size: 54px 54px, 54px 54px, auto;
}

.live-location-map {
  background: #dceeff;
}

.location-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92) contrast(1.04);
}

.live-location-map::before,
.live-location-map::after,
.live-location-map .map-pin {
  display: none;
}

.contact-map:not(.live-location-map)::before {
  left: 45%;
  width: 260px;
  height: 260px;
  background: rgba(18, 103, 232, 0.08);
  border-color: rgba(18, 103, 232, 0.16);
}

.contact-map:not(.live-location-map)::after {
  left: calc(45% + 64px);
  width: 128px;
  height: 128px;
  background: rgba(18, 103, 232, 0.12);
  border-color: rgba(18, 103, 232, 0.2);
}

.contact-map .map-pin {
  left: calc(45% + 116px);
  border-color: #1267e8;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(18, 103, 232, 0.34);
}

.contact-map .map-card {
  width: min(86%, 360px);
  margin-left: 8%;
  margin-right: auto;
  color: #0a1c34;
  border-color: rgba(18, 103, 232, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.contact-map .map-card h3 {
  color: #0a1c34;
}

.contact-map .map-card p:not(.eyebrow) {
  color: #3f526d;
}

.live-location-map .map-card {
  width: min(88%, 390px);
  margin-left: 7%;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
}

.live-location-map .map-card .btn,
.live-location-map .map-card.location-map-link {
  margin-top: 14px;
}

.location-map-link {
  display: inline-flex;
}

.contact-assurance-panel {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 54px 72px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 12%, rgba(34, 211, 238, 0.2), transparent 23%),
    linear-gradient(135deg, #071b34, #0b376b);
}

.contact-assurance-panel::after {
  content: "";
  position: absolute;
  right: 54px;
  top: 30px;
  width: 110px;
  height: 110px;
  opacity: 0.35;
  background-image: radial-gradient(rgba(103, 232, 249, 0.75) 1.5px, transparent 1.5px);
  background-size: 17px 17px;
}

.contact-assurance-panel h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 2rem;
}

.contact-assurance-panel > p {
  max-width: 630px;
  margin: 0;
  color: #dbeeff;
  font-size: 1.04rem;
}

.contact-assurance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-assurance-list article {
  display: grid;
  gap: 6px;
}

.contact-assurance-list span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-weight: 900;
}

.contact-assurance-list strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.contact-assurance-list small {
  color: #d9ecff;
  line-height: 1.45;
}

.contact-details article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-details article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-form,
.login-card form {
  display: grid;
  gap: 16px;
}

.auth-page {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 120px 20px 48px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.76)),
    url("images/home-hero-it-company.png") center / cover fixed;
}

.forgot-card {
  width: min(100%, 520px);
}

.forgot-card h1 {
  color: var(--text);
}

.forgot-actions {
  margin-top: 0;
}

.demo-otp-note {
  margin: -6px 0 0;
  color: var(--cyan-2);
  font-weight: 800;
}

.contact-form {
  padding: 28px;
}

.contact-form-header {
  display: grid;
  gap: 4px;
  margin-bottom: 4px;
}

.contact-form-header h3 {
  margin: 0;
  font-size: 1.9rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-grid .wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
}

input,
select {
  height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--cyan-2);
  font-weight: 700;
}

.form-status.success {
  color: var(--cyan-2);
}

.form-status.error {
  color: #fb7185;
}

.employee-welcome {
  display: grid;
  gap: 4px;
  padding: 18px;
  margin-top: 6px;
  color: var(--text);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(20, 184, 166, 0.08));
}

.employee-welcome h3 {
  margin: 0;
  font-size: 1.25rem;
}

.employee-welcome p:last-child {
  margin: 0;
  color: var(--muted);
}

.employee-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  color: var(--text);
}

.employee-details > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.employee-details span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.employee-details strong {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
}

.logout-button {
  width: 100%;
  margin-top: 14px;
}

.dashboard-page {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.76)),
    url("images/home-hero-it-company.png") center / cover no-repeat;
}

.dashboard-shell-page {
  width: min(100%, 980px);
  margin-inline: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.dashboard-shell-page .employee-welcome h1 {
  max-width: 820px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.dashboard-details {
  margin-top: 22px;
}

.employee-profile-summary {
  width: calc(100% + 38px);
  margin-left: -19px;
  margin-right: -19px;
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 10px 20px 22px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #ffffff 0%, #f0fbff 58%, #e6f7ff 100%);
  box-shadow: 0 16px 34px rgba(14, 116, 144, 0.12);
}

.employee-profile-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}

.employee-profile-card-top h3 {
  margin: 0 0 5px;
  color: #075985;
  font-size: 1rem;
  line-height: 1.2;
  text-align: left;
}

.employee-profile-card-top p {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.employee-edit-profile-btn {
  min-height: 22px;
  padding: 0 8px;
  color: #2563eb;
  border: 1px solid #dbe4f0;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  font-size: 0.55rem;
  font-weight: 800;
  white-space: nowrap;
  transform: none;
}

.employee-edit-profile-btn::before {
  content: "âœŽ";
  width: auto;
  height: auto;
  margin-right: 5px;
  border: 0;
  border-radius: 0;
  color: #2563eb;
  font-size: 0.72rem;
  line-height: 1;
  transform: none;
}

.employee-profile-footer {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  border-top: 1px solid rgba(14, 165, 233, 0.14);
}

.employee-details > .employee-profile-footer-outside {
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
}

.employee-profile-footer .employee-edit-profile-btn {
  min-height: 26px;
  padding: 0 11px;
  font-size: 0.66rem;
}

.employee-profile-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  justify-self: center;
  width: min(100%, 360px);
  margin-top: 0;
}

.employee-profile-identity {
  min-width: 0;
}

.employee-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 4px;
}

.employee-profile-identity span,
.employee-profile-identity small {
  display: block;
  color: #475569;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.employee-profile-identity span {
  color: #0f766e;
  font-size: 0.84rem;
}

.employee-profile-identity small {
  margin-top: 5px;
  color: #334155;
  font-size: 0.78rem;
}

.employee-profile-summary strong,
.employee-name-line strong {
  display: block;
  margin: 0;
  color: #06101c;
  font-size: clamp(1.22rem, 1.5vw, 1.45rem);
  line-height: 1.1;
}

.employee-name-line b {
  width: max-content;
  padding: 4px 8px;
  color: #075985;
  border: 1px solid rgba(14, 165, 233, 0.26);
  border-radius: 999px;
  background: #dff7fb;
  font-size: 0.72rem;
  font-weight: 900;
}

.employee-profile-photo {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  border: 4px solid #ffffff;
  border-radius: 50%;
  outline: 2px solid rgba(14, 165, 233, 0.36);
  background: linear-gradient(135deg, #0f6fff, #06b6d4);
  box-shadow: 0 16px 30px rgba(14, 165, 233, 0.24);
  font-size: 1.2rem;
  font-weight: 900;
}

.employee-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employee-profile-photo.editable {
  width: 96px;
  height: 96px;
}

.employee-profile-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(14, 165, 233, 0.34);
}

.employee-profile-meta div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 0 9px;
  border-right: 1px solid rgba(14, 165, 233, 0.36);
}

.employee-profile-meta div:first-child {
  padding-left: 0;
}

.employee-profile-meta div:last-child {
  padding-right: 0;
  border-right: 0;
}

.employee-profile-meta span {
  color: #0f766e;
  font-size: 0.5rem;
  font-weight: 800;
}

.employee-profile-meta strong {
  color: #0f172a;
  font-size: 0.58rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.dashboard-photo-edit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fcff, #eefcff);
}

.dashboard-photo-edit .hrms-field {
  margin: 0;
}

.dashboard-photo-edit small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}

.dashboard-profile-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
}

.dashboard-profile-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(8, 24, 39, 0.08);
}

.dashboard-profile-form[hidden] {
  display: none;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.dashboard-profile-form .hrms-field-grid {
  gap: 12px;
}

.dashboard-profile-form .hrms-field {
  gap: 6px;
}

.dashboard-profile-form .hrms-field span {
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 900;
}

.dashboard-profile-form .hrms-field input,
.dashboard-profile-form .hrms-field select {
  min-height: 38px;
  color: #0f172a;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 8px;
  background: #f8fcff;
  font-size: 0.86rem;
  font-weight: 800;
}

.dashboard-profile-form .hrms-field input:focus,
.dashboard-profile-form .hrms-field select:focus {
  border-color: #0ea5e9;
  outline: 2px solid rgba(14, 165, 233, 0.14);
}

.dashboard-profile-form .dashboard-actions {
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(14, 165, 233, 0.16);
}

.dashboard-profile-form .dashboard-actions .btn {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.sales-folder-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.sales-folder-panel a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.sales-folder-panel a:hover,
.sales-folder-panel a:focus,
.sales-folder-panel a.active {
  border-color: var(--cyan);
  color: var(--cyan-2);
}

.sales-folder-actions {
  align-items: center;
  margin-top: 18px;
}

.sales-invoice-bill-actions {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sales-gstin-lookup-field {
  gap: 8px;
}

.sales-gstin-lookup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.sales-gstin-lookup-row .btn {
  min-height: 42px;
  white-space: nowrap;
}

.sales-gstin-lookup-field small {
  color: #3e5a7f;
  font-size: 0.72rem;
  font-weight: 800;
}

.sales-gstin-lookup-field small.error {
  color: #b42318;
}

.fms-workflow-card {
  display: grid;
  gap: 18px;
}

.fms-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fms-workflow-step {
  min-height: 78px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.fms-workflow-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 900;
}

.fms-workflow-step.active {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
}

.fms-workflow-step.completed {
  border-color: rgba(34, 197, 94, 0.65);
}

.fms-workflow-history {
  color: var(--muted);
}

.fms-workflow-history ol {
  margin: 10px 0 0 20px;
}

.fms-connected-card {
  display: grid;
  gap: 16px;
}

.fms-connected-grid,
.fms-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fms-connected-grid > div,
.fms-flow-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.fms-connected-links,
.fms-flow-grid article {
  display: grid;
  gap: 10px;
}

.fms-connected-links a,
.fms-flow-grid a {
  color: var(--cyan-2);
  font-weight: 800;
}

.fms-flow-grid h3 {
  margin-bottom: 4px;
  color: var(--text);
}

.fms-dashboard-main {
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 34%);
}

.fms-dashboard-main > .employee-welcome,
.fms-dashboard-main > .dashboard-summary,
.fms-dashboard-main > .module-page-panel,
.fms-dashboard-main > .fms-flow-panel {
  display: none;
}

.fms-dashboard-hero,
.fms-card,
.fms-kpi-grid article {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.fms-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.96)),
    radial-gradient(circle at right, rgba(14, 165, 233, 0.2), transparent 44%);
}

.fms-dashboard-hero h1 {
  max-width: 620px;
  margin: 8px 0 12px;
  color: #0f172a;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.96;
}

.fms-dashboard-hero p {
  max-width: 650px;
  color: #475569;
  font-weight: 700;
}

.fms-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fms-hero-card {
  min-height: 240px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 8px;
  color: #dff7ff;
  background:
    linear-gradient(145deg, rgba(8, 47, 73, 0.98), rgba(15, 23, 42, 0.98)),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.28), transparent 40%);
  box-shadow: 0 22px 50px rgba(8, 47, 73, 0.2);
}

.fms-hero-card span,
.fms-hero-card p {
  color: #a7f3ff;
  font-weight: 800;
}

.fms-hero-card strong {
  color: #67e8f9;
  font-size: 4.4rem;
  line-height: 1;
}

.fms-health-bars {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.fms-health-bars i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.fms-health-bars i::before {
  width: var(--bar);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #2563eb);
  content: "";
}

.fms-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fms-kpi-grid article {
  min-height: 132px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 20px;
}

.fms-kpi-grid span,
.fms-kpi-grid small {
  color: #64748b;
  font-weight: 800;
}

.fms-kpi-grid strong {
  color: #0f172a;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.fms-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: 18px;
}

.fms-dashboard-grid-bottom {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
}

.fms-card {
  padding: 22px;
  color: #0f172a;
}

.fms-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.fms-card-title h2 {
  margin-top: 2px;
  color: #0f172a;
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  line-height: 1.15;
}

.fms-card-title > span,
.fms-card-title > a {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 900;
}

.fms-bar-chart {
  min-height: 250px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  padding: 16px 4px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.fms-bar-chart div {
  display: grid;
  gap: 10px;
  align-items: end;
  justify-items: center;
}

.fms-bar-chart i {
  width: min(100%, 46px);
  height: 210px;
  position: relative;
  display: block;
  border-radius: 999px 999px 0 0;
  background: rgba(37, 99, 235, 0.1);
}

.fms-bar-chart i::before,
.fms-bar-chart i::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
}

.fms-bar-chart i::before {
  height: var(--income);
  background: linear-gradient(180deg, #22d3ee, #2563eb);
}

.fms-bar-chart i::after {
  width: 42%;
  height: var(--expense);
  margin-inline: auto;
  background: linear-gradient(180deg, #f59e0b, #f97316);
}

.fms-bar-chart span,
.fms-chart-legend,
.fms-status-list {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 900;
}

.fms-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.fms-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fms-chart-legend i,
.fms-status-list span {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
}

.income-dot,
.fms-status-list .paid {
  background: #2563eb;
}

.expense-dot,
.fms-status-list .pending {
  background: #f97316;
}

.fms-status-list .review {
  background: #22c55e;
}

.fms-donut-wrap {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.fms-donut {
  width: 180px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, #ffffff 0 56%, transparent 57%),
    conic-gradient(#2563eb 0 76%, #f97316 76% 90%, #22c55e 90% 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.fms-donut span {
  color: #0f172a;
  font-size: 2rem;
  font-weight: 900;
}

.fms-status-list {
  width: 100%;
  display: grid;
  gap: 12px;
}

.fms-status-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.fms-status-list strong {
  margin-left: auto;
  color: #0f172a;
}

.fms-table-wrap {
  overflow-x: auto;
}

.fms-transaction-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  color: #0f172a;
}

.fms-transaction-table th,
.fms-transaction-table td {
  padding: 13px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.fms-transaction-table th {
  color: #64748b;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.fms-transaction-table td {
  font-size: 0.86rem;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.status-pill.paid {
  color: #075985;
  background: #e0f2fe;
}

.status-pill.pending {
  color: #9a3412;
  background: #ffedd5;
}

.status-pill.review {
  color: #166534;
  background: #dcfce7;
}

.fms-checklist {
  display: grid;
  gap: 12px;
}

.fms-checklist label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  color: #334155;
  background: #f8fafc;
  font-weight: 850;
}

.fms-checklist input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

.fms-module-panel {
  margin-top: 0;
}

.fms-dashboard-main .fms-submodule-grid article {
  border-color: rgba(37, 99, 235, 0.12);
  background: #ffffff;
  color: #334155;
}

.fms-dashboard-main .fms-submodule-grid h3,
.fms-dashboard-main .fms-submodule-grid a {
  color: #0f172a;
}

.fms-dashboard-main .fms-submodule-grid p {
  color: #64748b;
}

@media (max-width: 980px) {
  .fms-dashboard-hero,
  .fms-dashboard-grid,
  .fms-dashboard-grid-bottom {
    grid-template-columns: 1fr;
  }

  .fms-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fms-hero-card {
    min-height: 210px;
  }
}

@media (max-width: 620px) {
  .fms-dashboard-main {
    padding: 16px;
  }

  .fms-dashboard-hero,
  .fms-card,
  .fms-kpi-grid article {
    padding: 18px;
  }

  .fms-dashboard-hero h1 {
    font-size: 2.35rem;
  }

  .fms-hero-actions,
  .fms-hero-actions .btn {
    width: 100%;
  }

  .fms-kpi-grid {
    grid-template-columns: 1fr;
  }

  .fms-bar-chart {
    min-height: 210px;
    gap: 9px;
  }

  .fms-bar-chart i {
    height: 170px;
  }

  .fms-donut {
    width: 150px;
  }
}

.hrms-connected-card,
.hrms-workflow-card {
  display: grid;
  gap: 18px;
}

.hrms-connected-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hrms-connected-grid > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hrms-workflow-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hrms-workflow-step {
  min-height: 86px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hrms-workflow-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 900;
}

.hrms-workflow-step strong {
  font-size: 0.86rem;
  line-height: 1.25;
}

.hrms-workflow-step.active {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
}

.hrms-workflow-step.completed {
  border-color: rgba(34, 197, 94, 0.65);
}

.sales-item-details-field {
  grid-column: 1 / -1;
}

.sales-item-list {
  display: grid;
  gap: 10px;
}

.sales-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 0.7fr 0.8fr 0.9fr auto;
  gap: 10px;
  align-items: center;
}

.sales-item-row input {
  min-width: 0;
}

.employee-app {
  min-height: calc(100dvh - 68px);
  display: grid;
  grid-template-columns: clamp(232px, 18vw, 270px) minmax(0, 1fr);
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.2), transparent 30%),
    #f4f8fb;
}

.employee-sidebar {
  position: sticky;
  top: 68px;
  height: calc(100dvh - 68px);
  overflow-y: auto;
  padding: 0 8px 14px;
  border-right: 1px solid rgba(103, 232, 249, 0.16);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 36%),
    linear-gradient(180deg, #061827, #042238 55%, #052c45);
  box-shadow: 18px 0 44px rgba(8, 24, 39, 0.12);
}

.employee-sidebar-title {
  display: grid;
  gap: 0;
  padding: 0 14px 8px;
  margin-bottom: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.employee-sidebar-title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
}

.employee-sidebar-title span {
  width: max-content;
  padding: 4px 9px;
  color: #06101c;
  border-radius: 999px;
  background: #67e8f9;
  font-size: 0.75rem;
  font-weight: 900;
}

.dashboard-menu {
  display: grid;
  gap: 16px;
}

.dashboard-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 14px;
  color: #d7e7f5;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.25;
}

.dashboard-menu a:hover,
.dashboard-menu a:focus-visible,
.dashboard-menu a.active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(90deg, #075aa7, #0f74d7);
}

.hrms-module-dropdown {
  display: grid;
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 8px;
  background: rgba(2, 31, 52, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.hrms-module-dropdown summary {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 14px;
  color: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(103, 232, 249, 0.14);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(14, 116, 170, 0.44), rgba(9, 47, 76, 0.92));
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  list-style: none;
}

.hrms-module-dropdown summary::-webkit-details-marker {
  display: none;
}

.hrms-module-dropdown summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.hrms-module-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.hrms-module-dropdown-list {
  display: grid;
  gap: 0;
  max-height: none;
  margin-top: 0;
  overflow-y: auto;
  padding: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: rgba(2, 21, 37, 0.35);
}

.menu-icon {
  width: 25px;
  height: 25px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: #67e8f9;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 6px;
  background: rgba(103, 232, 249, 0.08);
  font-size: 0.55rem;
  font-weight: 900;
}

.fms-icon {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.28);
  background: rgba(34, 197, 94, 0.08);
}

.employee-main {
  display: grid;
  gap: clamp(14px, 1.4vw, 20px);
  min-width: 0;
  padding: clamp(18px, 2vw, 28px);
  color: #07111f;
  font-size: 0.94rem;
}

.blank-login-page {
  min-height: calc(100dvh - 68px);
  background: #ffffff;
}

.integrated-dashboard-body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: #e9edf3;
}

.platform-dashboard-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #e9edf3;
}

.platform-dashboard-header {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2.4vw, 42px);
  margin: 0 auto;
  padding: 14px clamp(18px, 3vw, 52px);
  border-bottom: 1px solid #bfd5f2;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 28px rgba(20, 52, 94, 0.08);
}

.platform-logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  color: #7d8aa3;
  min-width: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 900;
}

.platform-logo img {
  width: clamp(88px, 8vw, 112px);
  height: clamp(72px, 6.6vw, 88px);
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #030713;
  box-shadow: 0 5px 14px rgba(20, 54, 90, 0.12);
}

.platform-brand-text {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.platform-brand-text small {
  color: #061c50;
  font-size: clamp(1.34rem, 2vw, 2.05rem);
  font-weight: 950;
  line-height: 1.05;
  text-transform: capitalize;
  white-space: nowrap;
}

.platform-brand-text > span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.platform-registration-row em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: #173967;
  border: 1px solid #c8dbf2;
  border-radius: 8px;
  background: #f8fbff;
  font-size: clamp(0.8rem, 0.95vw, 0.98rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.1;
}

.platform-registration-row b {
  color: #075ed8;
  font-weight: 600;
}

.platform-header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  flex: 0 0 auto;
}

.platform-icon-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1px solid #c8dbf2;
  border-radius: 8px;
  background: #f8fbff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 52, 94, 0.07);
}

.platform-icon-btn:hover,
.platform-icon-btn:focus {
  border-color: #7fb0e8;
  background: #ffffff;
  outline: none;
}

.platform-icon-btn.notification::before {
  position: absolute;
  left: 19px;
  top: 18px;
  width: 20px;
  height: 22px;
  border-radius: 12px 12px 7px 7px;
  background: #0a4a98;
  content: "";
}

.platform-icon-btn.notification::after {
  position: absolute;
  left: 25px;
  bottom: 14px;
  width: 8px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: #0a4a98;
  content: "";
}

.platform-icon-btn.notification span {
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: #f04a55;
  font-size: 0.72rem;
  font-weight: 900;
}

.platform-icon-btn.moon::before {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #0a4a98;
  content: "";
}

.platform-icon-btn.moon::after {
  position: absolute;
  right: 13px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f8fbff;
  content: "";
}

.platform-icon-btn.settings::before {
  position: absolute;
  inset: 16px;
  border: 4px solid #0a4a98;
  border-radius: 50%;
  content: "";
}

.platform-icon-btn.settings::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  background:
    linear-gradient(#0a4a98 0 0) center top / 5px 8px no-repeat,
    linear-gradient(#0a4a98 0 0) center bottom / 5px 8px no-repeat,
    linear-gradient(90deg, #0a4a98 0 0) left center / 8px 5px no-repeat,
    linear-gradient(90deg, #0a4a98 0 0) right center / 8px 5px no-repeat;
  transform: translate(-50%, -50%) rotate(45deg);
  content: "";
}

.platform-user-card {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 6px 12px 6px 14px;
  color: #061c50;
  border: 1px solid #c8dbf2;
  border-radius: 8px;
  background: #f8fbff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 52, 94, 0.07);
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-weight: 850;
}

.platform-user-card:hover,
.platform-user-card:focus {
  border-color: #7fb0e8;
  background: #ffffff;
  outline: none;
}

.platform-user-card-image {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #c8dbf2;
  border-radius: 50%;
  background: #eef6ff;
}

.platform-user-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.platform-user-card-image span {
  color: #0a4a98;
  font-weight: 950;
}

.platform-user-card-text {
  display: grid;
  gap: 2px;
  min-width: 118px;
  text-align: left;
}

.platform-user-card-text strong,
.platform-user-card-text small {
  display: block;
  line-height: 1.05;
  white-space: nowrap;
}

.platform-user-card-text strong {
  color: #061c50;
  font-size: 1rem;
}

.platform-user-card-text small {
  color: #405a80;
  font-size: 0.82rem;
  font-weight: 700;
}

.platform-user-card b {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #0a4a98;
  content: "";
}

.platform-logout {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  color: #ffffff;
  border: 1px solid #dc2626;
  border-radius: 8px;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.22);
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 900;
}

.platform-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 25;
  min-width: 176px;
  display: none;
  padding: 8px;
  border: 1px solid #c8dbf2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(20, 52, 94, 0.16);
}

.platform-header-actions.user-menu-open .platform-user-menu {
  display: block;
}

.platform-user-menu .platform-logout {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  padding-inline: 18px;
}

.platform-logout span {
  position: relative;
  width: 20px;
  height: 18px;
  display: inline-block;
  border: 2px solid currentColor;
  border-right: 0;
  border-radius: 3px 0 0 3px;
}

.platform-logout span::before,
.platform-logout span::after {
  position: absolute;
  content: "";
}

.platform-logout span::before {
  left: 8px;
  top: 7px;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.platform-logout span::after {
  right: -8px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.platform-logout:hover,
.platform-logout:focus {
  background: linear-gradient(180deg, #f87171, #991b1b);
  outline: none;
}

.platform-avatar {
  width: clamp(52px, 5vw, 72px);
  height: clamp(52px, 5vw, 72px);
  display: grid;
  place-items: end center;
  border-radius: 50%;
  background: #2e8be9;
  box-shadow: 0 4px 12px rgba(20, 65, 125, 0.18);
}

.platform-avatar span {
  width: 42px;
  height: 54px;
  display: block;
  border-radius: 22px 22px 10px 10px;
  background:
    linear-gradient(#143c79 0 16%, transparent 17%),
    linear-gradient(90deg, transparent 0 36%, #d82732 37% 49%, transparent 50%),
    linear-gradient(#ffd9b6 0 47%, #0d3f82 48%);
}

.platform-avatar img,
.integrated-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.platform-dashboard-body .integrated-dashboard {
  margin: 0 auto;
}

.platform-dashboard-body .integrated-header {
  display: none;
}

.platform-dashboard-body .integrated-sidebar {
  padding-top: 0;
}

.platform-dashboard-body .integrated-kpis {
  display: none;
}

.platform-dashboard-body .integrated-main-grid,
.platform-dashboard-body .integrated-lower-grid,
.platform-dashboard-body .integrated-bottom-grid {
  display: none;
}

.platform-dashboard-body .integrated-dashboard {
  grid-template-columns: minmax(0, 1fr);
}

.platform-dashboard-body .integrated-sidebar.module-sidebar-hidden,
.platform-dashboard-body .integrated-sidebar:empty,
body[data-protected="employee"] .employee-sidebar nav.module-sidebar-hidden,
body[data-protected="employee"] .employees-sidebar nav.module-sidebar-hidden {
  display: none;
}

body[data-protected="employee"] .employee-sidebar:has(nav.module-sidebar-hidden),
body[data-protected="employee"] .employees-sidebar:has(nav.module-sidebar-hidden) {
  display: none;
}

.has-platform-shell > .site-header {
  display: none;
}

.has-platform-shell:not(.platform-dashboard-body) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #e9edf3;
}

.has-platform-shell:not(.platform-dashboard-body) > main {
  flex: 1;
}

.has-platform-shell:not(.platform-dashboard-body) .platform-dashboard-header {
  margin-top: 0;
}

.has-platform-shell:not(.platform-dashboard-body) .employee-app {
  min-height: calc(100dvh - 146px);
}

.platform-dashboard-footer {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: 0 clamp(18px, 5vw, 90px);
  color: #ffffff;
  background: #2f3d4b;
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 800;
}

.platform-dashboard-footer p {
  margin: 0;
}

.platform-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #ffffff;
}

.platform-footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 7px;
  background: #ffffff;
}

.platform-footer-brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.platform-footer-brand strong,
.platform-footer-brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-footer-brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.platform-dashboard-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.platform-dashboard-footer a {
  color: #ffffff;
}

.platform-dashboard-footer nav span {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.platform-help {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.platform-help i {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 3px solid #ffffff;
  border-left-color: transparent;
  border-radius: 50%;
}

.platform-help a {
  color: #39aaf5;
  font-weight: 900;
}

.employees-page-body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: #e9edf3;
}

.employees-dashboard {
  width: min(100% - 8px, 1440px);
  min-width: 0;
  min-height: 820px;
  display: grid;
  grid-template-columns: clamp(210px, 18vw, 260px) minmax(0, 1fr);
  margin: 0 auto;
  color: #072967;
  background: #f4f7fc;
  border: 1px solid #c6d2e2;
  box-shadow: 0 8px 24px rgba(15, 46, 96, 0.18);
}

.employees-sidebar {
  padding: 28px 12px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(0, 66, 155, 0.96), rgba(7, 128, 223, 0.9)),
    linear-gradient(25deg, transparent 0 46%, rgba(255, 255, 255, 0.12) 47% 56%, transparent 57%),
    #0758b7;
}

.employees-sidebar h1 {
  margin: 0 18px 26px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.employees-sidebar h1 span {
  font-size: 0.88rem;
  font-weight: 500;
}

.employees-sidebar nav {
  display: grid;
  gap: 12px;
}

.employees-sidebar a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  font-weight: 850;
}

.employees-sidebar .hrms-module-dropdown {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 35, 92, 0.32);
}

.employees-sidebar .hrms-module-dropdown summary {
  min-height: 48px;
  background: linear-gradient(90deg, rgba(5, 76, 154, 0.78), rgba(9, 113, 205, 0.78));
}

.employees-sidebar .hrms-module-dropdown-list {
  max-height: 330px;
}

.employees-sidebar .hrms-module-dropdown-list a {
  min-height: 42px;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.employee-sidebar,
.employees-sidebar {
  color: #ffffff;
  background:
    linear-gradient(150deg, rgba(0, 74, 165, 0.98), rgba(10, 123, 214, 0.92)),
    linear-gradient(28deg, transparent 0 44%, rgba(255, 255, 255, 0.12) 45% 55%, transparent 56%),
    #0758b7;
}

.employee-sidebar nav,
.employees-sidebar nav,
.dashboard-menu.grouped-module-nav {
  display: grid;
  gap: 10px;
}

.employee-sidebar .hrms-module-dropdown,
.employees-sidebar .hrms-module-dropdown,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 35, 92, 0.32);
  box-shadow: none;
}

.employee-sidebar .hrms-module-dropdown summary,
.employees-sidebar .hrms-module-dropdown summary,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown summary {
  min-height: 48px;
  padding: 0 16px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, rgba(5, 76, 154, 0.78), rgba(9, 113, 205, 0.78));
  font-size: 0.9rem;
  font-weight: 900;
}

.employee-sidebar .hrms-module-dropdown-list,
.employees-sidebar .hrms-module-dropdown-list,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown-list {
  display: grid;
  gap: 0;
  max-height: none;
  overflow-y: auto;
  padding: 0;
  background: rgba(0, 27, 72, 0.24);
}

.employee-sidebar .grouped-module-nav,
.employees-sidebar .grouped-module-nav,
.integrated-sidebar.grouped-module-nav {
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
}

.employee-sidebar .hrms-module-dropdown-list a,
.employees-sidebar .hrms-module-dropdown-list a,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown-list a {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.employee-sidebar .hrms-module-dropdown-list a:hover,
.employee-sidebar .hrms-module-dropdown-list a:focus-visible,
.employee-sidebar .hrms-module-dropdown-list a.active,
.employees-sidebar .hrms-module-dropdown-list a:hover,
.employees-sidebar .hrms-module-dropdown-list a:focus-visible,
.employees-sidebar .hrms-module-dropdown-list a.active,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown-list a:hover,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown-list a:focus-visible,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown-list a.active {
  color: #ffffff;
  background: linear-gradient(90deg, #19bfff, #0c72d1);
  outline: none;
}

.module-link-number {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #0758b7;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.6rem;
  font-weight: 950;
}

.hrms-module-dropdown-list a.active .module-link-number,
.hrms-module-dropdown-list a:hover .module-link-number,
.hrms-module-dropdown-list a:focus-visible .module-link-number {
  color: #ffffff;
  background: rgba(0, 45, 110, 0.72);
}

.hrms-submodule-group {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.employee-sidebar .hrms-module-dropdown-list .hrms-submodule-group summary,
.employees-sidebar .hrms-module-dropdown-list .hrms-submodule-group summary,
.dashboard-menu.grouped-module-nav .hrms-module-dropdown-list .hrms-submodule-group summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #ffffff;
  border: 0;
  background: rgba(0, 53, 128, 0.38);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  list-style: none;
}

.hrms-submodule-group summary::-webkit-details-marker {
  display: none;
}

.hrms-submodule-group summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.hrms-submodule-group[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.hrms-submodule-list {
  display: grid;
  background: rgba(0, 22, 58, 0.28);
}

.employee-sidebar .hrms-submodule-list a,
.employees-sidebar .hrms-submodule-list a,
.dashboard-menu.grouped-module-nav .hrms-submodule-list a {
  min-height: 36px;
  padding-left: 26px;
  font-size: 0.74rem;
}

.hrms-submodule-list .module-link-number {
  width: 20px;
  height: 20px;
  font-size: 0.56rem;
}

.module-switch-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 35, 92, 0.32);
}

.module-switch-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.module-switch-card a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #0758b7;
  border-radius: 7px;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.module-switch-card a:hover,
.module-switch-card a:focus-visible {
  color: #ffffff;
  background: linear-gradient(90deg, #19bfff, #0c72d1);
  outline: none;
}

.integrated-sidebar.grouped-module-nav {
  gap: 12px;
  padding: 14px 10px;
  overflow-y: auto;
}

.integrated-sidebar .hrms-module-dropdown {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 35, 92, 0.24);
}

.integrated-sidebar .hrms-module-dropdown summary {
  min-height: 46px;
  padding-inline: 12px;
  font-size: 0.9rem;
}

.integrated-sidebar .hrms-module-dropdown-list {
  max-height: 330px;
}

.integrated-sidebar .hrms-module-dropdown-list a {
  min-height: 40px;
  padding: 0 12px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
}

.integrated-sidebar .hrms-module-dropdown-list a.active,
.integrated-sidebar .hrms-module-dropdown-list a:hover {
  background: linear-gradient(90deg, #19bfff, #0c72d1);
}

.integrated-module-access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.integrated-module-access.hrms-only-module-access {
  grid-template-columns: 1fr;
}

.integrated-module-access article {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #bfd0e4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(19, 51, 89, 0.1);
}

.integrated-module-access h2 {
  margin: 0;
  color: #082f72;
  font-size: 1.05rem;
}

.integrated-module-access div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integrated-module-access a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #07327b;
  border: 1px solid #bfd0e4;
  border-radius: 6px;
  background: #f5f9ff;
  font-size: 0.82rem;
  font-weight: 850;
}

.integrated-module-access a:hover {
  color: #ffffff;
  background: #0b65d8;
}

.add-employee-pro-body {
  background: #eef3fb;
}

.add-employee-pro-app {
  width: min(100% - 8px, 1760px);
}

.add-employee-pro-main {
  gap: 18px;
  background: #f4f7fc;
}

.add-employee-pro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid #c8d5e5;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #edf6ff);
  box-shadow: 0 8px 18px rgba(19, 51, 89, 0.08);
}

.add-employee-pro-header h1 {
  margin: 4px 0 6px;
  color: #072967;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.add-employee-pro-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #52657c;
}

.add-employee-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.add-employee-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.add-employee-steps li {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #183763;
  border: 1px solid #c8d5e5;
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(19, 51, 89, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.add-employee-steps li:hover,
.add-employee-steps li:focus-visible {
  border-color: #0b65d8;
  box-shadow: 0 10px 20px rgba(19, 51, 89, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.add-employee-steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  border-radius: 6px;
  background: #0b65d8;
  font-size: 0.72rem;
}

.add-employee-steps li.active {
  color: #ffffff;
  background: linear-gradient(90deg, #075aa7, #16a3e9);
}

.add-employee-steps li.completed {
  border-color: rgba(22, 163, 74, 0.45);
  background: #f0fdf4;
}

.add-employee-steps li.completed span {
  background: #16a34a;
}

.add-employee-steps li.active span {
  color: #083064;
  background: #ffffff;
}

.add-employee-pro-form {
  display: grid;
  gap: 18px;
}

.add-employee-form-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.add-employee-profile-card,
.add-employee-section {
  border-radius: 8px;
}

.add-employee-profile-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #c8d5e5;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(19, 51, 89, 0.08);
}

.add-employee-photo input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.add-employee-photo label {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  border: 2px dashed #a9bdd5;
  border-radius: 8px;
  background: linear-gradient(180deg, #f6fbff, #e9f2ff);
  cursor: pointer;
}

.add-employee-photo label span {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 32%, #f7b98f 0 14%, transparent 15%),
    radial-gradient(circle at 50% 70%, #0b65d8 0 28%, transparent 29%),
    #d8eaff;
}

.add-employee-photo strong {
  color: #082f72;
}

.add-employee-photo small,
.add-employee-profile-card p {
  color: #60748d;
}

.add-employee-profile-card h2 {
  margin: 0;
  color: #082f72;
  font-size: 1.25rem;
}

.add-employee-profile-card p {
  margin: 0;
  line-height: 1.55;
}

.add-employee-profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.add-employee-profile-meta div {
  padding: 12px;
  border: 1px solid #d8e4f2;
  border-radius: 8px;
  background: #f7fbff;
}

.add-employee-profile-meta span,
.add-employee-profile-meta strong {
  display: block;
}

.add-employee-profile-meta span {
  color: #6b7c91;
  font-size: 0.76rem;
  font-weight: 800;
}

.add-employee-profile-meta strong {
  margin-top: 4px;
  color: #082f72;
}

.add-employee-section-stack {
  display: grid;
  gap: 18px;
}

.add-employee-section {
  padding: 22px;
  color: #112033;
  border-color: #c8d5e5;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(19, 51, 89, 0.08);
  scroll-margin-top: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.add-employee-pro-form .add-employee-section:not(.is-active-step) {
  display: none;
}

.add-employee-section.is-active-step,
.add-employee-action-bar.is-active-step {
  border-color: #0b65d8;
  box-shadow: 0 12px 28px rgba(11, 101, 216, 0.16);
}

.add-employee-section-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d8e4f2;
}

.add-employee-section-title > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(135deg, #075aa7, #16a3e9);
  font-weight: 900;
}

.add-employee-section-title h3 {
  margin: 0;
  color: #082f72;
}

.add-employee-section-title p {
  margin: 4px 0 0;
  color: #60748d;
}

.add-employee-pro-form .hrms-field {
  color: #172033;
}

.add-employee-pro-form .hrms-field span {
  color: #24476f;
}

.add-employee-pro-form .hrms-field input,
.add-employee-pro-form .hrms-field select,
.add-employee-pro-form .hrms-field textarea {
  min-height: 46px;
  color: #10213a;
  border: 1px solid #b9c8db;
  background: #ffffff;
}

.add-employee-pro-form .hrms-field input::placeholder,
.add-employee-pro-form .hrms-field textarea::placeholder {
  color: #7b8aa0;
  opacity: 1;
}

.add-employee-pro-form .hrms-field input:focus,
.add-employee-pro-form .hrms-field select:focus,
.add-employee-pro-form .hrms-field textarea:focus {
  border-color: #0b65d8;
  box-shadow: 0 0 0 3px rgba(11, 101, 216, 0.14);
}

.add-employee-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.add-employee-upload-grid label {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #c8d5e5;
  border-radius: 8px;
  background: #f7fbff;
}

.add-employee-upload-grid span {
  color: #082f72;
  font-weight: 900;
}

.add-employee-upload-grid input {
  width: 100%;
  color: #52657c;
}

.add-employee-photo label.has-preview {
  padding: 0;
  overflow: hidden;
  border-style: solid;
}

.add-employee-photo label.has-preview span,
.add-employee-photo label.has-preview strong,
.add-employee-photo label.has-preview small {
  display: none;
}

.add-employee-photo-preview {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center top;
}

.add-employee-action-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #c8d5e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -10px 28px rgba(19, 51, 89, 0.12);
  backdrop-filter: blur(12px);
}

.add-employee-action-bar .form-status {
  margin: 0;
  color: #24476f;
  font-weight: 800;
}

.add-employee-action-bar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.add-employee-action-bar button[hidden] {
  display: none;
}

.employees-sidebar a.active,
.employees-sidebar a:hover {
  background: linear-gradient(90deg, #19bfff, #0c72d1);
}

.employees-sidebar i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #0758b7;
  border-radius: 4px;
  background: #ffffff;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 900;
}

.employees-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: clamp(12px, 1.25vw, 18px);
  padding: clamp(16px, 2vw, 28px);
}

.employees-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #c9d5e3;
}

.employees-topbar h2 {
  margin: 0;
  color: #072967;
  font-size: 1.55rem;
  font-weight: 500;
}

.employees-topbar h2 strong {
  font-weight: 900;
}

.employees-search {
  display: flex;
  width: min(100%, 420px);
  min-width: 0;
  border: 1px solid #c3cede;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 46, 96, 0.09);
}

.employees-search input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  color: #072967;
  background: #ffffff;
  font-size: 0.98rem;
}

.employees-search a {
  min-width: 150px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(#20b16a, #008f7d);
  font-weight: 900;
}

.employees-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 12px;
}

.employees-stat-grid article,
.employees-table-card {
  border: 1px solid #c1ccdc;
  border-radius: 6px;
  background: linear-gradient(#ffffff, #f7faff);
  box-shadow: 0 3px 8px rgba(15, 46, 96, 0.12);
}

.employees-stat-grid article {
  min-height: clamp(82px, 7.4vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(54px, 6vw, 86px);
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 1.3vw, 16px);
}

.employees-stat-grid article[data-payroll-detail],
.employees-stat-grid article[data-employee-detail],
.employees-stat-grid article[data-attendance-detail],
.payroll-filters [data-payroll-detail],
.employees-filters [data-employee-detail],
.employees-filters [data-attendance-detail],
.employees-table tr[data-employee-detail],
.attendance-table tr[data-attendance-detail],
.payroll-table tr[data-payroll-detail] {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.employees-stat-grid article[data-payroll-detail]:hover,
.employees-stat-grid article[data-payroll-detail]:focus,
.employees-stat-grid article[data-employee-detail]:hover,
.employees-stat-grid article[data-employee-detail]:focus,
.employees-stat-grid article[data-attendance-detail]:hover,
.employees-stat-grid article[data-attendance-detail]:focus,
.payroll-filters [data-payroll-detail]:hover,
.payroll-filters [data-payroll-detail]:focus,
.employees-filters [data-employee-detail]:hover,
.employees-filters [data-employee-detail]:focus,
.employees-filters [data-attendance-detail]:hover,
.employees-filters [data-attendance-detail]:focus {
  border-color: #1978e7;
  box-shadow: 0 8px 18px rgba(15, 46, 96, 0.2);
  outline: none;
  transform: translateY(-1px);
}

.employees-stat-grid span {
  color: #072967;
  font-weight: 900;
}

.employees-stat-grid strong {
  display: block;
  margin-top: 7px;
  color: #05317e;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
}

.employees-stat-grid i {
  height: clamp(50px, 5.6vw, 70px);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 900;
}

.employees-stat-grid .people {
  background:
    radial-gradient(circle at 24% 34%, #153a82 0 12%, transparent 13%),
    radial-gradient(circle at 50% 25%, #153a82 0 14%, transparent 15%),
    radial-gradient(circle at 76% 34%, #153a82 0 12%, transparent 13%),
    linear-gradient(90deg, transparent 0 8%, #0b58bf 9% 31%, transparent 32% 38%, #0b58bf 39% 63%, transparent 64% 70%, #0b58bf 71% 94%, transparent 95%);
}

.employees-stat-grid .check {
  width: clamp(50px, 5.7vw, 72px);
  height: clamp(50px, 5.7vw, 72px);
  border-radius: 50%;
  background: linear-gradient(#5fc55c, #008b70);
}

.employees-stat-grid .leave {
  background:
    radial-gradient(ellipse at 60% 74%, #f6b71c 0 45%, transparent 46%),
    radial-gradient(ellipse at 50% 32%, #f6b71c 0 11%, transparent 12%),
    linear-gradient(90deg, transparent 0 45%, #b98118 46% 51%, transparent 52%);
}

.employees-stat-grid .joiner {
  background:
    radial-gradient(circle at 58% 38%, #173d84 0 15%, transparent 16%),
    radial-gradient(circle at 78% 62%, #115fcc 0 14%, transparent 15%),
    linear-gradient(#0b58bf 0 0) 52% 90% / 58px 34px no-repeat;
}

.employees-stat-grid .calendar {
  width: 54px;
  height: 54px;
  justify-self: end;
  border-radius: 7px;
  background:
    linear-gradient(#0758c9 0 24%, transparent 25%),
    linear-gradient(90deg, transparent 0 18%, #0758c9 19% 27%, transparent 28% 72%, #0758c9 73% 81%, transparent 82%),
    repeating-linear-gradient(90deg, #ffffff 0 12px, #cfe2ff 13px 14px),
    #ffffff;
  border: 4px solid #0758c9;
}

.employees-stat-grid .coins {
  background:
    radial-gradient(ellipse at 54% 78%, #d99400 0 46%, transparent 47%),
    radial-gradient(ellipse at 68% 59%, #ffc400 0 38%, transparent 39%),
    radial-gradient(ellipse at 36% 56%, #ffcc25 0 40%, transparent 41%),
    radial-gradient(ellipse at 54% 36%, #ffd85c 0 36%, transparent 37%);
}

.payroll-month {
  font-size: 1.18rem !important;
  line-height: 1.1 !important;
}

.employees-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
}

.employees-filters button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #072967;
  border: 1px solid #c1ccdc;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 46, 96, 0.1);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 850;
}

.employees-filters button.muted {
  justify-content: flex-start;
  color: #7b879b;
}

.employees-filters span,
.employees-table th span {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #8b98ae;
}

.payroll-filters {
  grid-template-columns: repeat(5, minmax(135px, 1fr));
}

.payroll-filters a {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(15, 46, 96, 0.1);
  font-weight: 900;
}

.generate-payslip {
  color: #ffffff;
  background: linear-gradient(#20b16a, #008f7d);
}

.payroll-settings {
  color: #072967;
  border: 1px solid #c1ccdc;
  background: #ffffff;
}

.employees-table-card h2 {
  margin: 8px 0 12px;
  color: #072967;
  font-size: 1.18rem;
}

.employees-table-wrap {
  overflow-x: auto;
}

.employees-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: #072967;
  background: #ffffff;
}

.employees-table th,
.employees-table td {
  height: clamp(48px, 4.2vw, 56px);
  padding: 0 clamp(10px, 1.25vw, 18px);
  border-bottom: 1px solid #d4dde9;
  text-align: left;
}

.employees-table th {
  color: #244978;
  background: #f5f7fb;
  font-size: 0.88rem;
  font-weight: 900;
}

.employees-table th span {
  display: inline-block;
  margin-left: 5px;
  vertical-align: 2px;
}

.employees-table td {
  font-weight: 800;
}

.payroll-table tr[data-payroll-detail]:hover,
.payroll-table tr[data-payroll-detail]:focus,
.employees-table tr[data-employee-detail]:hover,
.employees-table tr[data-employee-detail]:focus,
.attendance-table tr[data-attendance-detail]:hover,
.attendance-table tr[data-attendance-detail]:focus {
  background: #f2f7ff;
  outline: 2px solid rgba(25, 120, 231, 0.22);
  outline-offset: -2px;
}

.employee-face {
  width: 34px;
  height: 34px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #f3bd8b 0 23%, transparent 24%),
    linear-gradient(#0b58bf 0 0) 50% 100% / 28px 18px no-repeat,
    #d8ecff;
  vertical-align: middle;
}

.employee-face.female {
  background:
    radial-gradient(circle at 50% 32%, #f3bd8b 0 22%, transparent 23%),
    linear-gradient(135deg, transparent 0 30%, #173d84 31% 54%, transparent 55%),
    linear-gradient(#0b58bf 0 0) 50% 100% / 28px 18px no-repeat,
    #d8ecff;
}

.employees-table mark {
  min-width: 82px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  font-weight: 900;
}

.employees-table mark.active {
  color: #ffffff;
  background: linear-gradient(#3dbb64, #008d75);
}

.employees-table mark.leave {
  color: #3d3000;
  background: linear-gradient(#ffe582, #ffd453);
}

.employees-table mark.late {
  color: #ffffff;
  background: linear-gradient(#ff8a33, #e05216);
}

.employees-table td:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payroll-table td:last-child {
  min-width: 160px;
}

.view-btn,
.edit-btn {
  min-width: clamp(62px, 6vw, 78px);
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  font-weight: 900;
}

.view-btn {
  color: #ffffff;
  background: linear-gradient(#1978e7, #0758c9);
}

.edit-btn {
  color: #072967;
  border: 1px solid #c8d2df;
  background: #ffffff;
}

.download-btn,
.process-btn,
.arrow-btn {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}

.download-btn {
  min-width: 92px;
  padding-inline: 8px;
  color: #074aa4;
  border: 1px solid #c8d2df;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #eef3fb;
}

.payroll-table mark.active {
  min-width: 58px;
  border-radius: 4px 0 0 4px;
}

.process-btn {
  min-width: 90px;
  color: #ffffff;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(#1978e7, #0758c9);
}

.payroll-detail-card {
  margin-top: 14px;
}

.payroll-detail-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payroll-detail-card li {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: #072967;
  border-bottom: 1px solid #d4dde9;
  font-weight: 800;
}

.payroll-detail-card li:last-child {
  border-bottom: 0;
}

.payroll-detail-card strong {
  color: #05317e;
  text-align: right;
}

.add-employee-preview-card h3 {
  margin: 18px 0 10px;
  color: #082f72;
}

.add-employee-preview-photo {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border: 1px solid #d8e4f2;
  border-radius: 8px;
  margin: 0 0 14px;
  background: #ffffff;
}

.saved-employee-media {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #d8e4f2;
  border-radius: 8px;
  background: #f8fbff;
}

.saved-employee-media img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #c8d5e5;
}

.saved-employee-media strong {
  display: block;
  color: #082f72;
  text-align: left;
}

.saved-employee-media p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.saved-employee-media a {
  padding: 7px 10px;
  border-radius: 8px;
  background: #e8f1ff;
  color: #064fa8;
  font-weight: 800;
  text-decoration: none;
}

.attendance-edit-card {
  margin-top: 14px;
}

.attendance-edit-card form {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
  padding: 18px;
}

.attendance-edit-card label {
  display: grid;
  gap: 7px;
  color: #072967;
  font-weight: 900;
}

.attendance-edit-card input,
.attendance-edit-card select {
  width: 100%;
  min-height: 42px;
  color: #072967;
  border: 1px solid #c1ccdc;
  border-radius: 5px;
  background: #ffffff;
  font-weight: 800;
}

.attendance-edit-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.attendance-edit-card .form-status {
  grid-column: 1 / -1;
}

.arrow-btn {
  width: 42px;
  color: #072967;
  border: 1px solid #c8d2df;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #eef3fb;
  font-size: 1.5rem;
}

.employees-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #52637c;
  font-size: 0.88rem;
  font-weight: 700;
}

.employees-pagination p {
  margin: 0;
}

.employees-pagination nav {
  display: flex;
  align-items: center;
}

.employees-pagination a,
.employees-pagination span {
  min-width: 35px;
  min-height: 30px;
  display: grid;
  place-items: center;
  color: #072967;
  border: 1px solid #c8d2df;
  background: #ffffff;
}

.employees-pagination a:first-child,
.employees-pagination a:last-child {
  min-width: 90px;
  margin-inline: 6px;
  border-radius: 4px;
}

.employees-pagination .current {
  color: #ffffff;
  background: #0758c9;
}

@media (max-width: 1240px) {
  .platform-dashboard-header {
    padding-inline: 22px;
  }

  .platform-brand-text small {
    max-width: min(42vw, 420px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .platform-logo em {
    display: none;
  }

  .platform-avatar,
  .platform-caret {
    display: none;
  }

  .employees-dashboard,
  .integrated-dashboard {
    width: calc(100% - 8px);
    border-inline: 0;
  }

  .employees-stat-grid,
  .integrated-kpis {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .payroll-filters {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .integrated-main-grid,
  .integrated-lower-grid,
  .integrated-bottom-grid {
    grid-template-columns: 1fr;
  }

  .platform-dashboard-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-block: 14px;
    text-align: center;
  }

  .platform-help {
    justify-self: center;
  }
}

@media (max-width: 1080px) {
  .submodule-title-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .submodule-title-side {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .submodule-title-chips,
  .submodule-title-actions {
    justify-content: flex-start;
  }

  .platform-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .platform-header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .employees-dashboard,
  .integrated-dashboard {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .employees-sidebar h1 {
    margin-inline: 12px;
    font-size: 1.16rem;
  }

  .employees-sidebar a,
  .integrated-nav {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .employees-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .employees-search {
    width: 100%;
  }

  .employees-table {
    min-width: 760px;
  }

  .platform-user-card span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .platform-logout {
    min-height: 38px;
    padding-inline: 14px;
  }
}

@media (max-width: 760px) {
  .submodule-title-header {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  .submodule-title-mark {
    display: none;
  }

  .submodule-title-copy h1 {
    font-size: 1.45rem;
  }

  .submodule-title-copy span {
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .employees-dashboard {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .employees-sidebar {
    display: none;
  }

  .employees-topbar,
  .employees-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .employees-search {
    min-width: 0;
  }

  .employees-stat-grid,
  .employees-filters {
    grid-template-columns: 1fr;
  }

  .attendance-edit-card form {
    grid-template-columns: 1fr;
  }
}

.integrated-dashboard {
  width: min(100% - 8px, 1500px);
  min-width: 0;
  min-height: 840px;
  display: grid;
  grid-template-columns: clamp(210px, 18vw, 270px) minmax(0, 1fr);
  margin: 0 auto;
  border: 1px solid #b9c9dc;
  color: #062665;
  background: #f6f9fe;
  box-shadow: 0 8px 24px rgba(15, 46, 96, 0.18);
}

.integrated-sidebar {
  padding-top: 74px;
  background:
    linear-gradient(145deg, rgba(0, 69, 159, 0.92), rgba(4, 133, 226, 0.88)),
    linear-gradient(25deg, transparent 0 42%, rgba(255, 255, 255, 0.14) 43% 56%, transparent 57%),
    #0758b7;
}

.integrated-nav {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  padding: 0 clamp(14px, 2vw, 28px);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(0.86rem, 1.05vw, 1.04rem);
  font-weight: 800;
}

.integrated-nav.active,
.integrated-nav:hover {
  background: linear-gradient(90deg, #17c3ff, #0b73d2);
}

.integrated-nav span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #0758b7;
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.integrated-panel {
  min-width: 0;
  background: #f5f8fd;
}

.integrated-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px 0 38px;
  background: linear-gradient(115deg, #00469e 0%, #2789ec 36%, #eaf3ff 68%);
  border-bottom: 1px solid #b9c9dc;
}

.integrated-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #ffffff;
}

.integrated-title strong {
  font-size: 1.9rem;
  letter-spacing: 0;
}

.integrated-title span {
  font-size: 1.35rem;
}

.integrated-user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.integrated-user-actions button {
  min-height: 40px;
  padding: 0 16px;
  color: #063177;
  border: 1px solid #b9c9dc;
  border-radius: 5px;
  background: linear-gradient(#ffffff, #e9f2ff);
  box-shadow: 0 2px 8px rgba(16, 70, 132, 0.18);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.integrated-user-actions .integrated-logout {
  color: #ffffff;
  border-color: #005cbd;
  background: linear-gradient(#1b89ff, #005fca);
}

.integrated-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: end center;
  margin-block: -20px;
  border-radius: 50%;
  background: #196fd4;
  box-shadow: 0 5px 14px rgba(6, 38, 101, 0.25);
}

.integrated-avatar span {
  width: 54px;
  height: 70px;
  display: block;
  border-radius: 26px 26px 12px 12px;
  background:
    linear-gradient(#0b2f68 0 18%, transparent 19%),
    linear-gradient(90deg, transparent 0 36%, #df2630 37% 48%, transparent 49%),
    linear-gradient(#ffe0bf 0 48%, #0d376f 49%);
}

.integrated-content {
  display: grid;
  gap: clamp(10px, 1vw, 14px);
  padding: clamp(12px, 1.4vw, 18px);
}

.integrated-kpis,
.integrated-main-grid,
.integrated-lower-grid,
.integrated-bottom-grid {
  display: grid;
  gap: 14px;
}

.integrated-kpis {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.integrated-card,
.integrated-kpi {
  border: 1px solid #b8c7da;
  border-radius: 4px;
  background: linear-gradient(#ffffff, #f5f9ff);
  box-shadow: 0 3px 8px rgba(10, 44, 91, 0.16);
}

.integrated-card[data-dashboard-detail],
.integrated-kpi[data-dashboard-detail] {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.integrated-card[data-dashboard-detail]:hover,
.integrated-kpi[data-dashboard-detail]:hover,
.integrated-card[data-dashboard-detail]:focus,
.integrated-kpi[data-dashboard-detail]:focus {
  border-color: #2275d7;
  box-shadow: 0 7px 16px rgba(10, 44, 91, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.integrated-kpi {
  min-height: clamp(82px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 1.2vw, 16px);
  overflow: hidden;
}

.integrated-kpi span,
.integrated-card h2 {
  color: #062665;
  font-size: 1rem;
  font-weight: 900;
}

.integrated-kpi strong {
  display: block;
  margin-top: 8px;
  color: #02327e;
  font-size: clamp(1.18rem, 1.8vw, 1.72rem);
  line-height: 1.08;
  word-break: normal;
  overflow-wrap: anywhere;
}

.integrated-kpi em {
  color: #12913f;
  font-style: normal;
}

.integrated-kpi i {
  display: none;
}

.integrated-kpi.employees i {
  background:
    radial-gradient(circle at 25% 32%, #173d84 0 11%, transparent 12%),
    radial-gradient(circle at 50% 25%, #173d84 0 13%, transparent 14%),
    radial-gradient(circle at 75% 32%, #173d84 0 11%, transparent 12%),
    linear-gradient(90deg, transparent 0 8%, #0b55be 9% 32%, transparent 33% 39%, #0b55be 40% 63%, transparent 64% 70%, #0b55be 71% 94%, transparent 95%);
}

.integrated-kpi.attendance i {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0f9442;
}

.integrated-kpi.profit i {
  background:
    radial-gradient(ellipse at 55% 78%, #db9700 0 48%, transparent 49%),
    radial-gradient(ellipse at 55% 58%, #ffc400 0 50%, transparent 51%),
    radial-gradient(ellipse at 30% 38%, #ffd24d 0 34%, transparent 35%),
    radial-gradient(ellipse at 72% 36%, #ffc400 0 38%, transparent 39%);
}

.integrated-kpi.finance i {
  width: 66px;
  height: 66px;
  justify-self: end;
  border-radius: 50%;
  background: #169538;
}

.integrated-main-grid {
  grid-template-columns: 1fr 1fr;
}

.integrated-card {
  padding: 0;
  overflow: hidden;
}

.integrated-card h2 {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0 18px;
  border-bottom: 1px solid #c0ccdb;
  background: linear-gradient(#ffffff, #f6f8fb);
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 12px;
  color: #062665;
  font-size: 0.84rem;
  font-weight: 900;
}

.chart-legend span::before {
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 2px;
  content: "";
  vertical-align: -2px;
}

.chart-legend .blue::before { background: #095fc9; }
.chart-legend .green::before { background: #169538; }
.chart-legend .yellow::before { background: #ffc400; }
.chart-legend .red::before { background: #ed261d; }

.integrated-bars {
  height: clamp(150px, 14vw, 190px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  align-items: end;
  gap: clamp(8px, 1vw, 16px);
  padding: 16px clamp(18px, 2.5vw, 36px) 26px;
  background:
    linear-gradient(to bottom, transparent 0 23%, #d4dce8 24% 25%, transparent 26% 48%, #d4dce8 49% 50%, transparent 51% 73%, #d4dce8 74% 75%, transparent 76%);
}

.integrated-detail-card {
  grid-column: 1 / -1;
}

.integrated-detail-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integrated-detail-card li {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: #062665;
  border-bottom: 1px solid #d8e0eb;
  font-weight: 800;
}

.integrated-detail-card li:last-child {
  border-bottom: 0;
}

.integrated-detail-card strong {
  color: #02327e;
  text-align: right;
}

.integrated-bars div {
  position: relative;
  height: clamp(105px, 10vw, 142px);
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
}

.integrated-bars i,
.integrated-bars b,
.integrated-bars em {
  width: 20px;
  display: block;
  border-radius: 2px 2px 0 0;
}

.integrated-bars i { height: var(--a); background: linear-gradient(#2589ed, #0754c2); }
.integrated-bars b { height: var(--b); background: linear-gradient(#63bf23, #16890e); }
.integrated-bars em { height: var(--c); background: linear-gradient(#ffdc49, #efb200); }
.income-bars i { background: linear-gradient(#50c849, #168c29); }
.income-bars b { background: linear-gradient(#ff4a2e, #d51817); }

.integrated-bars span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  color: #063177;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.integrated-lower-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 0.85fr);
}

.integrated-stack {
  display: grid;
  gap: 14px;
}

.pending-card h2 strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: #e4332d;
  font-size: 1.8rem;
}

.integrated-card p {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 0 16px;
  border-bottom: 1px solid #d8e0eb;
  color: #062665;
  font-weight: 850;
}

.integrated-card p:last-child {
  border-bottom: 0;
}

.integrated-card p em {
  color: #df201e;
  font-style: normal;
  font-size: 0.78rem;
}

.cash-card {
  padding-bottom: 10px;
}

.cash-card h2 {
  min-height: 38px;
  border: 0;
}

.cash-card h2 strong {
  margin-left: auto;
  font-size: 1.35rem;
}

.cash-card div {
  height: 9px;
  margin: 0 18px 12px;
  border-radius: 999px;
  background: #d6e2ee;
}

.cash-card div span {
  width: 92%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b7ba4, #61cb4b);
}

.cash-card .budget {
  position: relative;
  background: #f8db47;
}

.cash-card .budget span {
  width: 86%;
  background: linear-gradient(90deg, #f3c924, #189839);
}

.cash-card .budget em {
  position: absolute;
  right: 0;
  top: -8px;
  padding: 2px 8px;
  color: #ffffff;
  border-radius: 3px;
  background: #159438;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.expense-content {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.expense-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #062665;
  font-weight: 850;
}

.expense-content li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.expense-content i {
  width: 28px;
  height: 18px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.salary { background: #83c800; }
.rent { background: #f72722; }
.utilities { background: #ffca0c; }
.marketing { background: #075ec7; }
.other { background: #21a537; }

.expense-donut {
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 24%, transparent 25%),
    conic-gradient(#18b85f 0 40%, #0864cf 40% 55%, #f15a24 55% 70%, #0951b9 70% 100%);
}

.expense-donut span {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
}

.integrated-bottom-grid {
  grid-template-columns: 1fr 1fr;
}

.activity-card p strong {
  min-width: 112px;
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #b8c7da;
  border-radius: 4px;
  background: linear-gradient(#ffffff, #eaf3ff);
}

.activity-card small {
  margin-left: 5px;
  color: #062665;
  font-weight: 500;
}

@media (max-width: 900px) {
  .integrated-dashboard {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .integrated-sidebar {
    display: none;
  }

  .integrated-header,
  .integrated-kpis,
  .integrated-main-grid,
  .integrated-lower-grid,
  .integrated-bottom-grid {
    grid-template-columns: 1fr;
  }

  .integrated-header {
    display: grid;
  }

  .integrated-avatar {
    display: none;
  }
}

.simple-hrms-dashboard > .employee-overview-row,
.simple-hrms-dashboard > .admin-module-panel,
.simple-hrms-dashboard > .admin-audit-panel,
.simple-hrms-dashboard > .dashboard-actions {
  display: none;
}

.simple-hrms-dashboard {
  gap: 18px;
}

.simple-hrms-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  color: #081b36;
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.2), transparent 24%),
    linear-gradient(135deg, #ffffff, #eaf7ff);
}

.simple-hrms-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #07111f;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.simple-hrms-hero p:not(.eyebrow) {
  max-width: 820px;
  color: #50687a;
}

.simple-hrms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.simple-hrms-actions .btn-secondary {
  color: #07111f;
  border-color: rgba(8, 24, 39, 0.14);
  background: #ffffff;
}

.simple-hrms-profile {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.simple-hrms-profile h2 {
  margin: 0;
  color: #07111f;
  font-size: 1.25rem;
}

.simple-hrms-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.simple-hrms-metrics .metric-card-link {
  min-height: 140px;
}

.simple-hrms-section .section-heading {
  margin-bottom: 18px;
}

.simple-hrms-section .section-heading h2 {
  margin-bottom: 4px;
  color: #07111f;
}

.simple-hrms-section .section-heading p:not(.eyebrow) {
  color: #50687a;
}

.simple-hrms-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.simple-hrms-module-grid a {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  color: #07111f;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 24, 39, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.simple-hrms-module-grid a:hover,
.simple-hrms-module-grid a:focus-visible {
  border-color: rgba(34, 211, 238, 0.58);
  box-shadow: 0 18px 46px rgba(8, 24, 39, 0.1);
  transform: translateY(-3px);
}

.simple-hrms-module-grid span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #06101c;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  font-weight: 900;
}

.simple-hrms-module-grid h3 {
  margin: 0;
  color: #07111f;
  font-size: 1rem;
}

.simple-hrms-module-grid p {
  margin: 0;
  color: #50687a;
  font-size: 0.86rem;
  line-height: 1.45;
}

.simple-hrms-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 18px;
}

.simple-workflow-list {
  display: grid;
  gap: 10px;
}

.simple-workflow-list a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  color: #07111f;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: #f8fbfd;
}

.simple-workflow-list strong {
  color: #07111f;
}

.simple-workflow-list small {
  color: #50687a;
}

.simple-approval-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.simple-approval-list article {
  padding: 16px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: #f8fbfd;
}

.simple-approval-list span,
.simple-approval-list small {
  display: block;
  color: #64748b;
}

.simple-approval-list strong {
  display: block;
  margin: 6px 0;
  color: #07111f;
  font-size: 1.9rem;
}

.dashboard-hero-card,
.dashboard-panel {
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(8, 24, 39, 0.08);
}

.dashboard-hero-card h1 {
  margin-bottom: 8px;
  color: #07111f;
  font-size: clamp(1.72rem, 3.2vw, 2.8rem);
  line-height: 1.05;
}

.admin-dashboard-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(20px, 2vw, 26px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(225, 249, 252, 0.94)),
    radial-gradient(circle at right top, rgba(34, 211, 238, 0.2), transparent 38%);
}

.admin-dashboard-hero p:not(.eyebrow),
.dashboard-panel p,
.dashboard-panel .section-heading h2 {
  color: #50687a;
}

.admin-hero-status {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #dffaff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #06101c, #0e344f);
}

.admin-hero-status span {
  width: max-content;
  padding: 4px 9px;
  color: #06101c;
  border-radius: 999px;
  background: #67e8f9;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-hero-status small {
  color: #a8c3d9;
  font-weight: 700;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 0.9vw, 12px);
  align-content: stretch;
  min-width: 0;
}

.dashboard-summary article,
.metric-card-link {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 132px;
  padding: 10px 7px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 24, 39, 0.08);
  text-align: center;
}

.metric-card-link {
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.metric-card-link:hover,
.metric-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow: 0 14px 30px rgba(14, 116, 144, 0.12);
  outline: none;
}

.dashboard-summary article::before,
.metric-card-link::before {
  display: none;
}

.employee-overview-row {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.45fr);
  gap: clamp(12px, 1.2vw, 18px);
  align-items: stretch;
  min-width: 0;
}

.employee-overview-row .admin-profile-panel {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto;
  transform: translateY(0);
}

.employee-overview-row .dashboard-details {
  display: grid;
  align-content: start;
  height: auto;
  margin-top: 6px;
}

.employee-overview-row .employee-profile-summary {
  height: auto;
  align-content: start;
}

.employee-right-stack {
  display: grid;
  gap: clamp(10px, 1vw, 14px);
  min-width: 0;
}

.dashboard-summary span {
  display: block;
  color: #1f2f46;
  font-size: 0.68rem;
  font-weight: 900;
}

.dashboard-summary strong {
  display: block;
  margin-top: 2px;
  color: #0f172a;
  max-width: 100%;
  font-size: clamp(0.92rem, 1.2vw, 1.28rem);
  line-height: 1;
  white-space: nowrap;
}

.dashboard-summary small {
  display: block;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 700;
}

.dashboard-summary em {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
}

.dashboard-summary em.up {
  color: #16a34a;
}

.dashboard-summary em.down {
  color: #f97316;
}

.metric-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
}

.dashboard-summary article:nth-child(4) strong,
.dashboard-summary .metric-card-link:nth-child(4) strong {
  font-size: clamp(0.78rem, 1vw, 1rem);
}

.metric-icon.employees {
  color: #1d4ed8;
  background: #dbeafe;
}

.metric-icon.attendance,
.metric-icon.payroll {
  color: #047857;
  background: #dcfce7;
}

.metric-icon.leave {
  color: #ea580c;
  background: #ffedd5;
}

.metric-icon.fms {
  color: #1d4ed8;
  background: #dbeafe;
}

.dashboard-panel {
  padding: clamp(12px, 1.3vw, 18px);
}

.employee-detail-title {
  margin: 0;
  color: #07111f;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.employee-detail-welcome {
  margin: 5px 0 0;
  color: #075985;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-grid article,
.module-card-link {
  display: block;
  min-height: 172px;
  padding: 19px;
  color: #07111f;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 24, 39, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.module-card-link h3 {
  color: #07111f;
  font-size: 1.05rem;
}

.module-grid article:hover,
.module-card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.46);
  background: #f7fdff;
}

.main-module-only-menu {
  display: grid;
  gap: 9px;
}

.main-module-only-menu a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.main-module-only-menu a:hover,
.main-module-only-menu a.active {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(14, 165, 233, 0.18);
}

.main-module-only-menu b {
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-module-only-menu small {
  color: #67e8f9;
  font-size: 0.62rem;
  font-weight: 900;
}

.module-dashboard-shell {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 24, 39, 0.08);
}

.module-group-dashboard-shell {
  gap: 20px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #f6f9fe);
}

.module-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.module-dashboard-head span {
  color: #0ea5e9;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-dashboard-head h2 {
  margin: 4px 0 0;
  color: #07111f;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.module-dashboard-head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.88rem;
}

.module-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.module-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.module-family-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 118px;
  padding: 18px;
  border: 1px solid #c9d9ea;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 35, 70, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.module-family-card:hover,
.module-family-card:focus-visible,
.module-family-card.active {
  border-color: #0b65d8;
  box-shadow: 0 16px 34px rgba(11, 101, 216, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.module-family-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(135deg, #075aa7, #16a3e9);
  font-size: 0.86rem;
  font-weight: 950;
}

.fms-family-card .module-family-icon {
  background: linear-gradient(135deg, #0f766e, #22c55e);
}

.hrms-startup-body {
  background: #edf5ff;
}

.hrms-startup-title {
  background: linear-gradient(135deg, #ffffff, #eef7ff);
}

.hrms-area-grid a {
  border-color: #c9d9ea;
}

.hrms-area-grid a:hover {
  border-color: rgba(11, 101, 216, 0.46);
  background: #f5fbff;
}

.hrms-area-grid i {
  background: linear-gradient(135deg, #075aa7, #16a3e9);
}

.hrms-startup-tip {
  border-color: rgba(11, 101, 216, 0.2);
  background: linear-gradient(90deg, #eaf5ff, #ffffff);
}

/* HRMS compact submodule cards final override */
body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
  gap: 12px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid a {
  min-height: 112px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 12px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid span {
  min-height: 30px;
  font-size: 0.82rem;
  line-height: 1.16;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid small {
  margin-top: 0;
  font-size: 0.68rem;
  line-height: 1.32;
}

body.hrms-startup-body[data-protected="employee"] .hrms-module-area-card {
  padding: 14px;
}

/* Employee Master page polish */
body.employees-page-body[data-protected="employee"] .employees-dashboard {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  background: #eef4fb;
}

body.employees-page-body[data-protected="employee"] .employees-sidebar {
  display: none;
}

body.employees-page-body[data-protected="employee"] .employees-main {
  width: 100%;
  max-width: none;
  padding: clamp(16px, 2.2vw, 30px);
}

body.employees-page-body[data-protected="employee"] .employees-topbar,
body.employees-page-body[data-protected="employee"] .employees-stat-grid,
body.employees-page-body[data-protected="employee"] .employees-filters,
body.employees-page-body[data-protected="employee"] .employees-table-card {
  width: 100%;
}

body.employees-page-body[data-protected="employee"] .employees-stat-grid {
  display: none;
}

body.employees-page-body[data-protected="employee"] .employees-table-card {
  padding: 18px;
  border-radius: 8px;
}

body.employees-page-body[data-protected="employee"] .employees-table {
  min-width: 980px;
}

body.employees-page-body[data-protected="employee"] .employees-table td:last-child {
  white-space: nowrap;
}

.payroll-detail-card ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payroll-detail-card li {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid #d6e2f1;
  border-radius: 8px;
  background: #f8fbff;
}

.payroll-detail-card li span {
  color: #52677f;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.payroll-detail-card li strong {
  color: #06255d;
  font-size: 0.9rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.employee-master-edit-card {
  display: grid;
  gap: 16px;
}

.employee-master-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d6e2f1;
}

.employee-master-edit-head h2 {
  margin: 0 0 4px;
}

.employee-master-edit-head p {
  margin: 0;
  color: #52677f;
}

.employee-master-edit-card .employee-master-form {
  display: grid;
  gap: 14px;
}

.employee-master-edit-card .hrms-field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.employee-master-edit-card .hrms-record-card {
  padding: 16px;
}

@media (max-width: 1180px) {
  .payroll-detail-card ul,
  .employee-master-edit-card .hrms-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.employees-page-body[data-protected="employee"] .employees-topbar,
  .employee-master-edit-head {
    align-items: stretch;
    flex-direction: column;
  }

  .payroll-detail-card ul,
  .employee-master-edit-card .hrms-field-grid {
    grid-template-columns: 1fr;
  }
}

/* Add Employee page full-width correction */
body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-app {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body.add-employee-pro-body[data-protected="employee"] .employee-sidebar {
  display: none;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-main {
  width: 100%;
  max-width: none;
  padding: clamp(16px, 2.2vw, 30px);
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-steps {
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  overflow-x: auto;
  padding-bottom: 2px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-form-grid {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-profile-card {
  top: 18px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-photo label {
  min-height: 210px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-form .hrms-field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-action-bar {
  position: sticky;
  bottom: 0;
  z-index: 8;
}

@media (max-width: 1100px) {
  body.add-employee-pro-body[data-protected="employee"] .add-employee-form-grid,
  body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-form .hrms-field-grid {
    grid-template-columns: 1fr;
  }

  body.add-employee-pro-body[data-protected="employee"] .add-employee-profile-card {
    position: static;
  }
}

/* Add Employee page full-width correction */
body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-app {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body.add-employee-pro-body[data-protected="employee"] .employee-sidebar {
  display: none;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-main {
  width: 100%;
  max-width: none;
  padding: clamp(16px, 2.2vw, 30px);
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-steps {
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  overflow-x: auto;
  padding-bottom: 2px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-form-grid {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-profile-card {
  top: 18px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-photo label {
  min-height: 210px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-form .hrms-field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-action-bar {
  position: sticky;
  bottom: 0;
  z-index: 8;
}

@media (max-width: 1100px) {
  body.add-employee-pro-body[data-protected="employee"] .add-employee-form-grid,
  body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-form .hrms-field-grid {
    grid-template-columns: 1fr;
  }

  body.add-employee-pro-body[data-protected="employee"] .add-employee-profile-card {
    position: static;
  }
}

/* Add Employee page full-width correction */
body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-app {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body.add-employee-pro-body[data-protected="employee"] .employee-sidebar {
  display: none;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-main {
  width: 100%;
  max-width: none;
  padding: clamp(16px, 2.2vw, 30px);
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-steps {
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  overflow-x: auto;
  padding-bottom: 2px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-form-grid {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-profile-card {
  top: 18px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-photo label {
  min-height: 210px;
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-form .hrms-field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.add-employee-pro-body[data-protected="employee"] .add-employee-action-bar {
  position: sticky;
  bottom: 0;
  z-index: 8;
}

@media (max-width: 1100px) {
  body.add-employee-pro-body[data-protected="employee"] .add-employee-form-grid,
  body.add-employee-pro-body[data-protected="employee"] .add-employee-pro-form .hrms-field-grid {
    grid-template-columns: 1fr;
  }

  body.add-employee-pro-body[data-protected="employee"] .add-employee-profile-card {
    position: static;
  }
}

/* HRMS compact submodule cards final override */
body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
  gap: 12px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid a {
  min-height: 112px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 12px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid span {
  min-height: 30px;
  font-size: 0.82rem;
  line-height: 1.16;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid small {
  margin-top: 0;
  font-size: 0.68rem;
  line-height: 1.32;
}

body.hrms-startup-body[data-protected="employee"] .hrms-module-area-card {
  padding: 14px;
}

/* HRMS compact submodule cards final override */
body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
  gap: 12px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid a {
  min-height: 112px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 12px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid span {
  min-height: 30px;
  font-size: 0.82rem;
  line-height: 1.16;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid small {
  margin-top: 0;
  font-size: 0.68rem;
  line-height: 1.32;
}

body.hrms-startup-body[data-protected="employee"] .hrms-module-area-card {
  padding: 14px;
}

/* HRMS compact submodule cards */
body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
  gap: 12px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid a {
  min-height: 112px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 12px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid span {
  min-height: 30px;
  font-size: 0.82rem;
  line-height: 1.16;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid small {
  margin-top: 0;
  font-size: 0.68rem;
  line-height: 1.32;
}

body.hrms-startup-body[data-protected="employee"] .hrms-module-area-card {
  padding: 14px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-module-area-card h2 {
  margin-bottom: 12px;
}

/* HRMS card word arrangement final override */
body.hrms-startup-body[data-protected="employee"] .hrms-area-grid a {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 8px 12px;
  padding: 16px;
  text-decoration: none;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid i {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  align-self: start;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid span {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  display: block;
  min-height: 38px;
  color: #061f55;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid small {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: block;
  max-width: 100%;
  margin-top: 2px;
  color: #52677f;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.42;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid b {
  display: none;
}

body.hrms-startup-body[data-protected="employee"] .hrms-startup-title {
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
}

body.hrms-startup-body[data-protected="employee"] .hrms-startup-title > div {
  width: 100%;
}

body.hrms-startup-body[data-protected="employee"] .hrms-startup-title h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 1180px) {
  body.hrms-startup-body[data-protected="employee"] .hrms-area-grid span {
    min-height: auto;
  }

  body.hrms-startup-body[data-protected="employee"] .hrms-startup-title h1 {
    white-space: normal;
  }
}

/* HRMS page full-width correction */
body.hrms-startup-body[data-protected="employee"] .hrms-startup-app {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body.hrms-startup-body[data-protected="employee"] .employee-sidebar {
  display: none;
}

body.hrms-startup-body[data-protected="employee"] .hrms-startup-main {
  width: 100%;
  max-width: none;
  padding: clamp(18px, 2.5vw, 34px);
}

body.hrms-startup-body[data-protected="employee"] .hrms-startup-grid {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

body.hrms-startup-body[data-protected="employee"] .hrms-module-area-card {
  width: 100%;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 16px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-startup-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

@media (max-width: 1500px) {
  body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
  }
}

@media (max-width: 1180px) {
  body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.hrms-startup-body[data-protected="employee"] .hrms-area-grid,
  body.hrms-startup-body[data-protected="employee"] .hrms-startup-side {
    grid-template-columns: 1fr;
  }
}

/* Final HRMS dashboard card polish */
.hrms-startup-main {
  gap: 18px;
  padding: 20px 22px 28px;
}

.hrms-startup-title {
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(31, 69, 124, 0.06);
}

.hrms-startup-title h1 {
  max-width: 780px;
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  line-height: 1.08;
}

.hrms-startup-title p {
  max-width: 760px;
  color: #405a7c;
  font-size: 0.96rem;
  line-height: 1.55;
}

.hrms-startup-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.62fr);
  gap: 18px;
}

.hrms-module-area-card {
  padding: 18px;
}

.hrms-module-area-card h2 {
  margin-bottom: 16px;
  color: #06255d;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hrms-area-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hrms-area-grid a {
  min-height: 150px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(44px, auto) auto;
  gap: 9px 12px;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 8px 18px rgba(31, 69, 124, 0.06);
}

.hrms-area-grid a:hover {
  box-shadow: 0 14px 26px rgba(11, 101, 216, 0.14);
}

.hrms-area-grid i {
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  border-radius: 10px;
}

.hrms-area-grid span {
  align-self: center;
  color: #061f55;
  font-size: 0.92rem;
  line-height: 1.22;
  overflow-wrap: normal;
}

.hrms-area-grid small {
  grid-column: 2 / -1;
  color: #52677f;
  font-size: 0.76rem;
  line-height: 1.42;
}

.hrms-area-grid b {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  min-width: 34px;
  padding: 4px 7px;
  color: #0b65d8;
  border-radius: 999px;
  background: #eaf4ff;
  font-size: 0.72rem;
  line-height: 1;
}

@media (max-width: 1280px) {
  .hrms-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hrms-startup-grid {
    grid-template-columns: 1fr;
  }

  .hrms-startup-title {
    display: grid;
  }
}

@media (max-width: 640px) {
  .hrms-area-grid {
    grid-template-columns: 1fr;
  }

  .hrms-area-grid a {
    min-height: 128px;
  }
}

.module-family-card small {
  color: #0b65d8;
  font-size: 0.72rem;
  font-weight: 950;
}

.module-family-card.active small {
  color: #15803d;
}

.module-family-card h3 {
  margin: 0;
  color: #06255d;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.module-family-card p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.86rem;
}

.module-selected-submodules {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #c9d9ea;
  border-radius: 8px;
  background: #ffffff;
}

.module-selected-submodules > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dce7f4;
}

.module-selected-submodules > header span {
  color: #0ea5e9;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.module-selected-submodules > header h3 {
  margin: 2px 0;
  color: #06255d;
  font-size: 1.2rem;
}

.module-selected-submodules > header p {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
}

.module-select-empty {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: #475569;
  border: 1px dashed #b8c9de;
  border-radius: 8px;
  background: #f8fbff;
  text-align: center;
}

.module-select-empty strong {
  color: #082f72;
  font-size: 0.98rem;
}

.module-select-empty span {
  font-size: 0.84rem;
}

.module-family-subgroups {
  display: grid;
  gap: 14px;
}

.module-subgroup-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d7e3f1;
  border-radius: 8px;
  background: #f8fbff;
}

.module-subgroup-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.module-subgroup-title strong {
  min-width: 0;
  color: #082f72;
  font-size: 0.94rem;
  line-height: 1.2;
}

.module-subgroup-title small {
  flex: 0 0 auto;
  color: #0f766e;
  font-size: 0.7rem;
  font-weight: 900;
}

.main-module-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.main-module-card-row button {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}

.main-module-card-row button.active,
.main-module-card-row button:hover {
  border-color: rgba(14, 165, 233, 0.4);
  background: #e0f2fe;
}

.main-module-card-row span,
.submodule-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.main-module-card-row strong {
  display: block;
  color: #07111f;
  font-size: 0.92rem;
  line-height: 1.2;
}

.main-module-card-row small {
  display: block;
  margin-top: 4px;
  color: #0f766e;
  font-size: 0.68rem;
  font-weight: 900;
}

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

.compact-submodule-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.submodule-card {
  min-height: 138px;
  padding: 16px;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.compact-submodule-card-grid .submodule-card {
  min-height: 118px;
  padding: 13px;
}

.submodule-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.36);
  background: #f8fcff;
}

.submodule-card h3 {
  margin: 0 0 8px;
  color: #07111f;
  font-size: 1rem;
  letter-spacing: 0;
}

.submodule-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.module-grid span,
.module-page-header > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #001724;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  font-weight: 900;
}

.module-grid p,
.module-card-link p,
.module-feature-grid p {
  color: #50687a;
  font-size: 0.9rem;
  line-height: 1.55;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(14px, 1.4vw, 20px);
}

.admin-workflow-panel,
.admin-profile-panel,
.admin-audit-panel {
  align-content: start;
}

.admin-workflow-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(64px, 1fr));
  gap: 10px;
  align-items: start;
  overflow-x: auto;
  padding: 4px 0 8px;
}

.admin-workflow-strip a {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: auto;
  padding: 0;
  color: #475569;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease;
}

.admin-workflow-strip a:hover,
.admin-workflow-strip a:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.admin-workflow-strip a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(50% + 26px);
  width: calc(100% - 42px);
  height: 1px;
  background: #d7dee8;
}

.admin-workflow-strip a:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 16px;
  right: -4px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #cbd5e1;
  border-top: 1.5px solid #cbd5e1;
  transform: rotate(45deg);
}

.admin-workflow-strip i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #1e293b;
  border: 1px solid #d9e2ee;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: inset 0 0 0 2px #f1f5f9;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 900;
}

.admin-workflow-strip strong {
  color: #1f2f46;
  font-size: 0.64rem;
  line-height: 1.1;
}

.admin-workflow-strip small {
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 800;
}

.admin-workflow-strip a.complete {
  color: #075985;
}

.admin-workflow-strip a.complete i {
  color: #ffffff;
  border-color: #0f6fff;
  background: linear-gradient(135deg, #0f6fff, #0757c8);
  box-shadow: 0 8px 18px rgba(15, 111, 255, 0.2);
}

.workflow-title {
  margin: 0 0 6px;
  color: #1f2f46;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-system-status {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(8, 24, 39, 0.08);
  border-radius: 6px;
  background: #ffffff;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
}

.workflow-system-status strong {
  color: #16a34a;
}

.workflow-system-status small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
}

.admin-audit-table td:first-child,
.admin-audit-table td:nth-child(2) {
  color: #07111f;
}

.employee-main .employee-details > div:not(.employee-profile-summary) {
  border-color: rgba(8, 24, 39, 0.08);
  background: #f8fbfd;
}

.employee-main .employee-details span {
  color: #7893a8;
}

.employee-main .employee-details strong {
  color: #07111f;
}

.employee-main .employee-details .employee-profile-summary {
  display: grid;
  border-color: rgba(14, 165, 233, 0.24);
  background: linear-gradient(135deg, #ffffff 0%, #f0fbff 58%, #e6f7ff 100%);
}

.employee-main .employee-details .employee-profile-summary div:not(.employee-profile-meta):not(.employee-profile-meta div) {
  padding: 0;
  border: 0;
  background: transparent;
}

.employee-main .employee-details .employee-profile-meta div {
  padding: 0 9px;
  border-right: 2px solid rgba(14, 165, 233, 0.58);
}

.employee-main .employee-details .employee-profile-meta div:last-child {
  border-right: 0;
}

.employee-main .employee-details .employee-profile-photo {
  width: 92px;
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 4px solid #ffffff;
  outline: 2px solid rgba(14, 165, 233, 0.36);
  border-radius: 50%;
  background: linear-gradient(135deg, #0f6fff, #06b6d4);
}

.employee-main .employee-details .employee-profile-photo.editable {
  width: 96px;
  height: 96px;
}

.employee-main .hrms-table-wrap {
  border-color: rgba(8, 24, 39, 0.08);
}

.employee-main .hrms-table th {
  color: #047481;
  background: #e8f8fb;
}

.employee-main .hrms-table td {
  color: #50687a;
  border-bottom-color: rgba(8, 24, 39, 0.08);
}

.employee-main .dashboard-actions .btn-secondary {
  color: #07111f;
  border-color: rgba(8, 24, 39, 0.14);
  background: #ffffff;
}

.submodule-title-header {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px 16px 24px;
  overflow: hidden;
  color: #061c50;
  border: 1px solid #d5e2f2;
  border-left: 7px solid #075ed8;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(25, 57, 104, 0.08);
}

.submodule-title-header::after {
  position: absolute;
  inset: 0 0 auto auto;
  width: 260px;
  height: 100%;
  background: linear-gradient(120deg, rgba(18, 188, 230, 0.09), transparent 70%);
  content: "";
  pointer-events: none;
}

.submodule-title-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #c7d9ee;
  border-radius: 8px;
  background: #eaf4ff;
}

.submodule-title-mark span,
.submodule-title-mark i {
  display: block;
  grid-area: 1 / 1;
  border-radius: 3px;
  content: "";
}

.submodule-title-mark span {
  width: 24px;
  height: 28px;
  background: #075ed8;
  transform: translateX(-5px);
}

.submodule-title-mark i {
  width: 24px;
  height: 36px;
  background: #18bce8;
  transform: translateX(5px);
}

.submodule-title-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.submodule-title-copy p {
  margin: 0 0 4px;
  color: #075ed8;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.1;
}

.submodule-title-copy h1 {
  margin: 0;
  color: #061c50;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.submodule-title-copy span {
  display: block;
  max-width: 760px;
  margin-top: 6px;
  color: #49617e;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.submodule-title-side {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.submodule-title-chips,
.submodule-title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.submodule-title-chips em {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d6e3f1;
  border-radius: 6px;
  background: #eaf4ff;
  color: #075ed8;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.submodule-title-chips em.green {
  color: #15803d;
  background: #eefaf1;
}

.submodule-title-chips em.orange {
  color: #b15d00;
  background: #fff7e6;
}

.submodule-title-actions .btn {
  min-height: 34px;
  padding-inline: 14px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.submodule-title-status {
  min-height: 18px;
  margin: -8px 2px 0;
}

.module-page-panel {
  display: grid;
  gap: 22px;
}

.module-page-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.module-page-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.module-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-feature-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.hrms-data-grid {
  display: grid;
  gap: 18px;
}

.leave-dashboard-body {
  background: #eef3fb;
}

.leave-dashboard-app {
  background: #eef3fb;
}

.leave-dashboard-main {
  gap: 14px;
  padding: 16px 18px 24px;
}

.leave-role-view {
  display: none;
  gap: 14px;
}

.leave-admin-mode .leave-admin-view,
.leave-director-mode .leave-director-view {
  display: grid;
}

.leave-page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #d6e0ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(25, 57, 104, 0.08);
}

.leave-page-title h1 {
  margin: 0;
  color: #0d1b35;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.leave-page-title h1 span {
  font-size: 0.78em;
  font-weight: 800;
}

.leave-page-title p {
  margin: 0;
  color: #5b6f8b;
  font-size: 0.72rem;
  font-weight: 800;
}

.leave-kpi-grid,
.leave-director-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.leave-director-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leave-kpi-grid article,
.leave-director-kpis article {
  min-height: 92px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(25, 57, 104, 0.08);
}

.leave-director-kpis article:nth-child(1) { background: #f0e5ff; }
.leave-director-kpis article:nth-child(2) { background: #eaf8ef; }
.leave-director-kpis article:nth-child(3) { background: #e8f2ff; }
.leave-director-kpis article:nth-child(4) { background: #ffeaf0; }

.leave-kpi-grid i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.leave-kpi-grid i.blue { background: #dbeafe; }
.leave-kpi-grid i.green { background: #dcfce7; }
.leave-kpi-grid i.orange { background: #ffedd5; }
.leave-kpi-grid i.purple { background: #ede9fe; }
.leave-kpi-grid i.red { background: #ffe4e6; }

.leave-kpi-grid span,
.leave-director-kpis span {
  color: #0d2b5c;
  font-size: 0.76rem;
  font-weight: 900;
}

.leave-kpi-grid strong,
.leave-director-kpis strong {
  color: #071a3d;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.leave-kpi-grid a {
  color: #075ed8;
  font-size: 0.68rem;
  font-weight: 900;
}

.leave-card {
  padding: 14px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(25, 57, 104, 0.08);
}

.leave-card h2 {
  margin: 0 0 12px;
  color: #0d1b35;
  font-size: 0.95rem;
}

.leave-card h2 span {
  color: #5b6f8b;
  font-size: 0.72rem;
  font-weight: 700;
}

.leave-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.leave-filter-grid label {
  display: grid;
  gap: 5px;
  color: #42546f;
  font-size: 0.68rem;
  font-weight: 850;
}

.leave-filter-grid select,
.leave-filter-grid input {
  height: 36px;
  width: 100%;
  color: #0d1b35;
  border: 1px solid #cbd8e8;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.78rem;
}

.leave-filter-grid button,
.leave-section-head button,
.leave-table button,
.leave-outline-button {
  min-height: 32px;
  padding: 0 14px;
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  background: #0b65d8;
  font-size: 0.72rem;
  font-weight: 900;
}

.leave-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.leave-section-head h2 {
  margin: 0;
}

.leave-section-head button {
  background: #16a34a;
}

.leave-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
}

.leave-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  color: #0d1b35;
  font-size: 0.72rem;
}

.leave-table th,
.leave-table td {
  padding: 10px;
  border-bottom: 1px solid #e2e8f2;
  text-align: left;
  white-space: nowrap;
}

.leave-table th {
  color: #16366d;
  background: #f4f7fb;
  font-weight: 900;
}

.leave-table mark {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
}

.leave-table mark.pending { color: #a15c00; background: #fff4d6; }
.leave-table mark.approved { color: #047857; background: #dcfce7; }
.leave-table mark.rejected { color: #be123c; background: #ffe4e6; }

.leave-table button {
  min-height: 26px;
  margin-right: 4px;
  padding: 0 8px;
  font-size: 0.64rem;
}

.leave-table button.approve { background: #16a34a; }
.leave-table button.reject { background: #ef4444; }

.leave-admin-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 12px;
}

.leave-table-wrap.compact .leave-table {
  min-width: 520px;
}

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

.leave-action-grid button {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #0d2b5c;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fbff;
  font-size: 0.68rem;
  font-weight: 900;
}

.leave-action-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #075ed8;
  border-radius: 8px;
  background: #dbeafe;
}

.leave-purple-label {
  width: min(520px, 70%);
  justify-self: center;
  padding: 9px 18px;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(90deg, #6732ce, #7c3aed);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.leave-director-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr;
  gap: 12px;
}

.leave-director-grid .wide {
  grid-column: span 1;
}

.leave-donut {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  margin: 10px auto 14px;
  border-radius: 50%;
  background: conic-gradient(#22c55e 0 48%, #f59e0b 48% 64%, #ef4444 64% 68%, #93c5fd 68% 100%);
  position: relative;
}

.leave-donut::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ffffff;
}

.leave-donut strong,
.leave-donut span {
  position: relative;
  z-index: 1;
  color: #0d1b35;
}

.leave-donut strong {
  align-self: end;
  font-size: 1.6rem;
}

.leave-donut span {
  align-self: start;
  font-size: 0.72rem;
}

.leave-summary-list,
.today-leave-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #253b5b;
  font-size: 0.72rem;
}

.leave-summary-list li,
.today-leave-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.leave-summary-list i {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 2px;
  background: #93c5fd;
}

.leave-summary-list i.approved { background: #22c55e; }
.leave-summary-list i.pending { background: #f59e0b; }
.leave-summary-list i.rejected { background: #ef4444; }

.leave-mini-bars {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 16px;
  padding: 20px 10px 0;
  border-bottom: 1px solid #dbe4ef;
}

.leave-mini-bars div {
  height: 100%;
  display: grid;
  align-items: end;
  gap: 6px;
}

.leave-mini-bars b {
  height: var(--h);
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.leave-mini-bars span {
  color: #0d2b5c;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 850;
}

.leave-calendar {
  display: grid;
  gap: 12px;
  color: #0d1b35;
}

.leave-calendar strong {
  text-align: center;
}

.leave-calendar div,
.leave-calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.leave-calendar span {
  display: grid;
  place-items: center;
  min-height: 26px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
}

.leave-calendar .active {
  color: #ffffff;
  background: #2563eb;
}

.leave-outline-button {
  width: 100%;
  margin-top: 14px;
  color: #075ed8;
  border: 1px solid #bcd0ef;
  background: #ffffff;
}

.fms-startup-body,
.fms-startup-app {
  background: #f5f9ff;
}

.fms-startup-main {
  gap: 14px;
  padding: 18px 20px 24px;
  color: #071a45;
}

.fms-startup-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 12px;
  text-align: center;
}

.fms-startup-title h1 {
  margin: 0;
  color: #071b4d;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.fms-startup-title p {
  margin: 8px 0 0;
  color: #071b4d;
  font-size: clamp(0.9rem, 1.4vw, 1.25rem);
}

.fms-startup-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0d5fd4;
  text-align: left;
  text-transform: uppercase;
}

.fms-startup-brand img {
  width: 76px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.fms-startup-brand strong {
  display: block;
  color: #0d66d8;
  font-size: 1.25rem;
  line-height: 1;
}

.fms-startup-brand small {
  color: #102a55;
  font-size: 0.62rem;
  font-weight: 900;
}

.fms-startup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 14px;
  align-items: start;
}

.fms-startup-grid.lower {
  grid-template-columns: minmax(330px, 0.9fr) minmax(420px, 1.25fr) minmax(320px, 0.9fr);
}

.fms-startup-card {
  padding: 16px;
  border: 1px solid #d5e2f1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 69, 124, 0.08);
}

.fms-startup-card h2 {
  margin: 0 0 14px;
  color: #075ed8;
  font-size: 1rem;
  text-transform: uppercase;
}

.fms-finance-areas {
  padding: 14px;
}

.fms-area-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(136px, 1fr));
  gap: 8px;
}

.fms-area-grid a {
  min-width: 0;
  min-height: 144px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto minmax(38px, auto) 1fr auto;
  gap: 8px 11px;
  align-content: start;
  padding: 12px 10px 10px;
  color: #071b4d;
  border: 1px solid #d5e2f1;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: 0 5px 14px rgba(31, 69, 124, 0.05);
  overflow: hidden;
}

.fms-area-grid a:hover,
.fms-activity-list a:hover,
.fms-quick-actions a:hover {
  border-color: #0b65d8;
  box-shadow: 0 10px 20px rgba(13, 101, 216, 0.16);
  transform: translateY(-1px);
}

.fms-area-grid i,
.fms-activity-list i {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #dbeafe;
}

.fms-area-grid span {
  min-width: 0;
  align-self: start;
  color: #071b4d;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.fms-area-grid small {
  grid-column: 1 / -1;
  color: #284166;
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.fms-area-grid b {
  grid-column: 1 / -1;
  align-self: end;
  color: #071b4d;
  text-align: center;
  font-size: 1.05rem;
}

.fms-area-grid .cash,
.fms-activity-list .cash { background: linear-gradient(135deg, #bbf7d0, #22c55e); }
.fms-area-grid .setup,
.fms-activity-list .setup { background: linear-gradient(135deg, #dbeafe, #3b82f6); }
.fms-area-grid .ledger,
.fms-activity-list .ledger { background: linear-gradient(135deg, #ede9fe, #8b5cf6); }
.fms-area-grid .sales,
.fms-activity-list .sales { background: linear-gradient(135deg, #cffafe, #06b6d4); }
.fms-area-grid .purchase,
.fms-activity-list .purchase { background: linear-gradient(135deg, #ffedd5, #f97316); }
.fms-area-grid .bank,
.fms-activity-list .bank { background: linear-gradient(135deg, #e0e7ff, #1d4ed8); }
.fms-area-grid .expense,
.fms-activity-list .expense { background: linear-gradient(135deg, #fee2e2, #ef4444); }
.fms-area-grid .tax,
.fms-activity-list .tax { background: linear-gradient(135deg, #fef3c7, #f59e0b); }
.fms-area-grid .budget,
.fms-activity-list .budget { background: linear-gradient(135deg, #f3e8ff, #9333ea); }
.fms-area-grid .payroll,
.fms-activity-list .payroll { background: linear-gradient(135deg, #ccfbf1, #14b8a6); }
.fms-activity-list .report { background: linear-gradient(135deg, #e0f2fe, #0284c7); }

.fms-startup-side {
  display: grid;
  gap: 14px;
}

.fms-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fms-health-grid div {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d5e2f1;
  border-radius: 8px;
  background: #ffffff;
}

.fms-health-grid span,
.fms-health-grid em {
  color: #071b4d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.fms-health-grid strong {
  color: #071b4d;
  font-size: 0.95rem;
}

.fms-health-grid em {
  color: #16a34a;
}

.fms-health-grid i {
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e var(--line), #e8eef8 0);
}

.fms-cash-summary {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 14px;
}

.fms-cash-summary h2 {
  grid-column: 1 / -1;
}

.fms-ring,
.fms-small-donut {
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#22c55e 0 58%, #14b8a6 58% 72%, #ef4444 72% 100%);
  position: relative;
}

.fms-ring::after,
.fms-small-donut::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ffffff;
}

.fms-ring strong,
.fms-ring span {
  z-index: 1;
  color: #071b4d;
  text-align: center;
}

.fms-ring strong {
  align-self: end;
  font-size: 0.82rem;
}

.fms-ring span {
  align-self: start;
  font-size: 0.68rem;
}

.fms-cash-summary ul,
.fms-expense-donut ul,
.fms-summary-list,
.fms-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fms-cash-summary li,
.fms-expense-donut li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: #183763;
  font-size: 0.72rem;
}

.fms-cash-summary b,
.fms-expense-donut b {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.fms-cash-summary .green,
.fms-expense-donut .salary { background: #22c55e; }
.fms-cash-summary .red,
.fms-expense-donut .tech { background: #ef4444; }
.fms-cash-summary .blue,
.fms-expense-donut .office { background: #3b82f6; }
.fms-expense-donut .marketing { background: #14b8a6; }
.fms-expense-donut .other { background: #94a3b8; }

.fms-expense-body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fms-small-donut {
  width: 112px;
  height: 112px;
  background: conic-gradient(#3b82f6 0 40%, #14b8a6 40% 60%, #f97316 60% 75%, #8b5cf6 75% 85%, #94a3b8 85% 100%);
}

.fms-small-donut::after {
  width: 62px;
  height: 62px;
}

.fms-activity-list {
  display: grid;
  gap: 8px;
}

.fms-activity-list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-items: center;
  color: #071b4d;
  border-radius: 8px;
}

.fms-activity-list i {
  width: 32px;
  height: 32px;
  grid-row: span 2;
}

.fms-activity-list span {
  font-size: 0.78rem;
  font-weight: 950;
}

.fms-activity-list small {
  color: #2e486f;
  font-size: 0.68rem;
}

.fms-snapshot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 12px;
}

.fms-snapshot-grid > div {
  padding: 14px;
  border: 1px solid #d5e2f1;
  border-radius: 9px;
}

.fms-snapshot-grid h3 {
  margin: 0 0 12px;
  color: #075ed8;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.fms-mini-bars {
  min-height: 160px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
}

.fms-mini-bars span {
  height: 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4px;
}

.fms-mini-bars i,
.fms-mini-bars b {
  display: block;
  border-radius: 6px 6px 0 0;
}

.fms-mini-bars i {
  height: var(--income);
  background: #22c55e;
}

.fms-mini-bars b {
  height: var(--expense);
  background: #ef4444;
}

.fms-mini-bars em {
  grid-column: 1 / -1;
  color: #071b4d;
  text-align: center;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.fms-profit-list {
  display: grid;
  gap: 9px;
}

.fms-profit-list p,
.fms-compliance p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  color: #071b4d;
  border-bottom: 1px solid #e3ebf6;
  font-size: 0.78rem;
}

.fms-profit-list strong,
.fms-compliance strong {
  color: #071b4d;
}

.fms-profit-list .green { color: #16a34a; }
.fms-profit-list .red { color: #dc2626; }

.fms-profit-list a,
.fms-compliance a {
  color: #075ed8;
  font-size: 0.78rem;
  font-weight: 900;
}

.fms-quick-actions div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.fms-quick-actions a {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #071b4d;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.fms-quick-actions i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #dbeafe;
}

.fms-startup-tip {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(760px, 100%);
  padding: 14px 18px;
  color: #071b4d;
  border: 1px solid #d5e2f1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 69, 124, 0.08);
}

.fms-startup-tip strong {
  color: #075ed8;
  text-transform: uppercase;
}

.fms-preview-app {
  background: #eef4fb;
}

.fms-preview-main {
  gap: 16px;
  padding: 20px;
  color: #07245a;
}

.fms-preview-header,
.fms-preview-card,
.fms-preview-stat {
  border: 1px solid #c9d8ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 63, 114, 0.1);
}

.fms-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.fms-preview-header-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.fms-preview-header-actions .form-status {
  margin: 0;
  text-align: right;
}

.fms-preview-header p,
.fms-preview-header h1,
.fms-preview-header span {
  margin: 0;
}

.fms-preview-header p {
  color: #0b65d8;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fms-preview-header h1 {
  margin-top: 4px;
  color: #07245a;
  font-size: clamp(1.65rem, 2.1vw, 2.35rem);
  letter-spacing: 0;
}

.fms-preview-header span {
  display: block;
  margin-top: 6px;
  color: #38547b;
  font-size: 0.92rem;
  font-weight: 700;
}

.fms-preview-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fms-preview-stat {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.fms-preview-stat span {
  color: #516989;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fms-preview-stat strong {
  color: #07245a;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
}

.fms-preview-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.fms-preview-card {
  overflow: hidden;
}

.fms-preview-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #d8e4f3;
  background: #f8fbff;
}

.fms-preview-card-title h2 {
  margin: 0;
  color: #07245a;
  font-size: 1.1rem;
}

.fms-preview-card-title div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fms-preview-card-title a {
  padding: 7px 10px;
  border: 1px solid #c9d8ed;
  border-radius: 999px;
  color: #38547b;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.fms-preview-card-title a.active {
  color: #ffffff;
  border-color: #0b65d8;
  background: #0b65d8;
}

.fms-preview-table {
  background: #ffffff;
}

.fms-preview-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr 0.7fr;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e5edf7;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
}

.fms-preview-row:last-child {
  border-bottom: 0;
}

.fms-preview-row:hover {
  background: #f2f8ff;
}

.fms-preview-row span {
  min-width: 0;
  padding: 14px 16px;
  color: #07245a;
  font-size: 0.9rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.fms-preview-row.head span {
  color: #2d4568;
  background: #eef4fb;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.fms-preview-row.head {
  cursor: default;
  pointer-events: none;
}

.fms-preview-row b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #046c45;
  background: #d7f8e8;
  font-size: 0.76rem;
}

.fms-preview-bars {
  height: 260px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 16px;
  padding: 24px 20px 42px;
  background:
    linear-gradient(#dce6f2 1px, transparent 1px) 0 0 / 100% 25%,
    #ffffff;
}

.fms-preview-bars i {
  position: relative;
  display: block;
  min-height: 34px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #24c476 0%, #0b73d9 100%);
  box-shadow: inset 0 -12px 18px rgba(7, 36, 90, 0.18);
}

.fms-preview-bars em {
  position: absolute;
  left: 50%;
  bottom: -26px;
  color: #07245a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  transform: translateX(-50%);
}

.fms-preview-main .fms-connected-card,
.fms-preview-main .fms-workflow-card,
.fms-preview-main .hrms-record-card {
  border-color: #c9d8ed;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 63, 114, 0.08);
}

.fms-preview-main .hrms-record-card h3 {
  color: #075ed8;
}

.fms-preview-main .hrms-field span {
  color: #38547b;
}

.fms-preview-main .hrms-field input,
.fms-preview-main .hrms-field select,
.fms-preview-main .hrms-field textarea {
  color: #07245a;
  border-color: #c9d8ed;
  background: #ffffff;
}

.department-preview-desk {
  display: grid;
  gap: 16px;
  padding: 20px;
  color: #07245a;
  background: #eef4fb;
}

.department-preview-hero,
.department-preview-stats article,
.department-card {
  border: 1px solid #c9d8ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 63, 114, 0.1);
}

.department-preview-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 28%, rgba(27, 120, 216, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #e9f4ff 100%);
}

.department-preview-hero p,
.department-preview-hero h1,
.department-preview-hero span,
.department-preview-actions p {
  margin: 0;
}

.department-preview-hero p {
  color: #0b65d8;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.department-preview-hero h1 {
  margin-top: 4px;
  color: #07245a;
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
  letter-spacing: 0;
}

.department-preview-hero span {
  display: block;
  margin-top: 6px;
  max-width: 680px;
  color: #38547b;
  font-size: 0.92rem;
  font-weight: 750;
}

.department-preview-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 210px;
}

.department-preview-actions .btn {
  min-width: 168px;
}

.department-preview-actions .form-status {
  text-align: right;
}

.department-preview-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.department-preview-stats article {
  position: relative;
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px 18px 18px 70px;
  overflow: hidden;
}

.department-preview-stats article::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: rgba(11, 101, 216, 0.08);
}

.department-preview-stats i {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b65d8, #19a7e8);
  box-shadow: inset 0 -8px 14px rgba(7, 36, 90, 0.18);
}

.department-preview-stats i.green {
  background: linear-gradient(135deg, #10a35b, #27d58b);
}

.department-preview-stats i.orange {
  background: linear-gradient(135deg, #ffb20d, #ff7a1f);
}

.department-preview-stats i.purple {
  background: linear-gradient(135deg, #6545d4, #9f6cff);
}

.department-preview-stats span {
  color: #516989;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.department-preview-stats strong {
  color: #07245a;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
}

.department-preview-stats small {
  color: #38547b;
  font-size: 0.78rem;
  font-weight: 800;
}

.department-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.department-card {
  overflow: hidden;
}

.department-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #d8e4f3;
  background: #f8fbff;
}

.department-section-title h2,
.department-card h2 {
  margin: 0;
  color: #07245a;
  font-size: 1.1rem;
}

.department-section-title div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.department-section-title a {
  padding: 7px 10px;
  border: 1px solid #c9d8ed;
  border-radius: 999px;
  color: #38547b;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.department-section-title a.active {
  color: #ffffff;
  border-color: #0b65d8;
  background: #0b65d8;
}

.department-table {
  background: #ffffff;
}

.department-row {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.75fr 0.8fr 0.7fr;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e5edf7;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
}

.department-row:last-child {
  border-bottom: 0;
}

.department-row:hover {
  background: #f2f8ff;
}

.department-row span {
  min-width: 0;
  padding: 14px 16px;
  color: #07245a;
  font-size: 0.86rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.department-row.head {
  cursor: default;
  pointer-events: none;
}

.department-row.head span {
  color: #2d4568;
  background: #eef4fb;
  font-size: 0.73rem;
  text-transform: uppercase;
}

.department-row b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #046c45;
  background: #d7f8e8;
  font-size: 0.74rem;
}

.department-chart-card p {
  margin: 16px 18px 0;
  color: #38547b;
  font-size: 0.88rem;
  font-weight: 750;
}

.department-chart-card .department-bars {
  height: 272px;
  padding-top: 32px;
}

.department-preview-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr) minmax(250px, 0.7fr);
  gap: 16px;
  align-items: start;
}

.department-form-card,
.department-approval-card,
.department-quick-card {
  padding: 18px;
}

.department-form-card .hrms-field-grid {
  margin-top: 14px;
}

.department-form-card .dashboard-actions {
  margin-top: 16px;
}

.department-approval-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.department-approval-flow span {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 14px 8px;
  border: 1px solid #d8e4f3;
  border-radius: 12px;
  background: #f8fbff;
}

.department-approval-flow span.active {
  border-color: #0b65d8;
  background: #eaf4ff;
}

.department-approval-flow b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: #0b65d8;
  font-size: 0.8rem;
}

.department-approval-flow small {
  color: #38547b;
  font-size: 0.72rem;
  font-weight: 900;
}

.department-approval-card p,
.department-quick-card p {
  color: #38547b;
  font-size: 0.86rem;
  font-weight: 750;
}

.department-quick-row,
.department-quick-card div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.department-quick-row button,
.department-quick-card button {
  min-height: 42px;
  border: 1px solid #c9d8ed;
  border-radius: 10px;
  color: #07245a;
  background: #f8fbff;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.department-quick-row button:hover,
.department-quick-card button:hover {
  color: #ffffff;
  border-color: #0b65d8;
  background: #0b65d8;
}

@media (max-width: 1300px) {
  .fms-startup-grid,
  .fms-startup-grid.lower,
  .fms-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .fms-area-grid {
    grid-template-columns: repeat(5, minmax(126px, 1fr));
  }
}

@media (max-width: 1100px) {
  .fms-preview-workspace,
  .fms-preview-summary,
  .department-preview-stats,
  .department-preview-grid,
  .department-preview-bottom {
    grid-template-columns: 1fr;
  }

  .department-preview-hero {
    display: grid;
  }

  .department-preview-actions {
    justify-items: start;
  }
}

@media (max-width: 1080px) {
  .fms-area-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 760px) {
  .fms-startup-title,
  .fms-startup-tip,
  .fms-expense-body,
  .fms-cash-summary {
    display: grid;
    text-align: left;
  }

  .fms-area-grid,
  .fms-health-grid,
  .fms-quick-actions div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .leave-kpi-grid,
  .leave-director-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leave-filter-grid,
  .leave-admin-bottom,
  .leave-director-grid {
    grid-template-columns: 1fr;
  }
}

.hrms-record-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.hrms-record-card h3 {
  color: var(--cyan-2);
}

.hrms-record-card p {
  color: var(--muted);
}

.employee-directory-card {
  overflow: hidden;
}

.hrms-table-wrap {
  width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.hrms-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.hrms-table th,
.hrms-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.hrms-table th {
  color: var(--cyan-2);
  background: rgba(34, 211, 238, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hrms-table td {
  color: var(--muted);
}

.hrms-table td:first-child,
.hrms-table td:nth-child(2) {
  color: var(--text);
  font-weight: 800;
}

.hrms-table tr:last-child td {
  border-bottom: 0;
}

.hrms-table tr.active-employee-row td {
  background: rgba(34, 211, 238, 0.08);
}

.employee-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.employee-status-pill.active {
  color: #047857;
  border: 1px solid rgba(34, 197, 94, 0.24);
  background: #dcfce7;
}

.employee-status-pill.inactive {
  color: #be123c;
  border: 1px solid rgba(244, 63, 94, 0.24);
  background: #ffe4e6;
}

.table-action-btn {
  min-height: 34px;
  padding: 8px 12px;
  color: var(--cyan-2);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.table-action-btn:hover,
.table-action-btn:focus-visible {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(34, 211, 238, 0.18);
}

.hrms-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.employee-master-form {
  display: grid;
  gap: 18px;
}

.employee-master-form > .btn {
  justify-self: start;
}

.employee-detail-panel {
  max-width: 1180px;
}

.employee-detail-heading {
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(217, 70, 239, 0.08));
}

.employee-detail-heading h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
}

.hrms-field {
  display: grid;
  gap: 8px;
  color: var(--text);
}

.hrms-field span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.hrms-field input,
.hrms-field select {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.photo-field {
  grid-row: span 3;
}

.photo-field img {
  width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.document-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.document-upload-form label {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.document-upload-form span {
  color: var(--muted);
  font-weight: 800;
}

.document-upload-form input {
  padding: 10px;
  height: auto;
}

.document-upload-form .btn {
  grid-column: 1 / -1;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.upload-preview-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.upload-preview-card img,
.file-preview-icon {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.72);
}

.file-preview-icon {
  color: var(--cyan-2);
  font-weight: 900;
}

.upload-preview-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--cyan-2);
  font-weight: 800;
}

.map-placeholder {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  margin-top: 24px;
  color: var(--muted);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(103, 232, 249, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 42px 42px;
}

.map-placeholder::before,
.map-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
}

.map-placeholder::before {
  width: 360px;
  height: 360px;
  left: 12%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(34, 211, 238, 0.16);
}

.map-placeholder::after {
  width: 180px;
  height: 180px;
  left: calc(12% + 90px);
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.map-pin {
  position: absolute;
  left: calc(12% + 166px);
  top: 50%;
  width: 28px;
  height: 28px;
  z-index: 1;
  border: 7px solid var(--cyan);
  border-radius: 999px 999px 999px 0;
  background: var(--navy);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.55);
  transform: translateY(-70%) rotate(-45deg);
}

.map-card {
  position: relative;
  z-index: 2;
  width: min(92%, 430px);
  margin-left: auto;
  margin-right: 8%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.9);
  box-shadow: var(--shadow);
}

.map-card h3 {
  margin-bottom: 8px;
}

.map-card p:not(.eyebrow) {
  color: var(--muted);
}

.map-card .btn {
  margin-top: 8px;
}

.footer {
  color: #e8f3ff;
  background: #061a34;
  border-top: 1px solid rgba(8, 24, 39, 0.08);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  border: 1px solid rgba(8, 24, 39, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(225, 249, 252, 0.96));
  box-shadow: 0 24px 70px rgba(8, 24, 39, 0.16);
}

.footer-cta h2 {
  max-width: 760px;
  margin: 4px 0 8px;
  color: #06101c;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.footer-cta p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #50687a;
  font-weight: 700;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-cta .btn-secondary {
  color: #06101c;
  border-color: rgba(8, 24, 39, 0.16);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.05fr;
  gap: 34px;
  padding: 38px max(28px, calc((100vw - 1320px) / 2)) 30px;
  background:
    linear-gradient(135deg, rgba(8, 89, 178, 0.26), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(21, 210, 235, 0.2), transparent 26%),
    #061a34;
  border-bottom: 1px solid rgba(147, 197, 253, 0.16);
}

.footer-company-block p {
  max-width: 430px;
  margin: 0 0 18px;
  color: #b8c9dd;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer h3 {
  margin: 9px 0 18px;
  color: #67e8f9;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer a,
.footer-contact-list li {
  color: #c9d7e8;
  font-size: 0.9rem;
  font-weight: 650;
}

.footer a:hover {
  color: var(--cyan-2);
}

.footer-brand-premium {
  display: flex;
  gap: 15px;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
}

.footer-brand-premium img {
  width: 74px;
  height: 74px;
  padding: 6px;
  object-fit: cover;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.footer-brand-premium strong {
  display: block;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.08;
}

.footer-brand-premium small {
  display: block;
  margin-top: 5px;
  color: #93c5fd;
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-compliance-badges span {
  padding: 8px 12px;
  color: #d9ecff;
  border: 1px solid rgba(99, 179, 237, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-contact-card {
  padding: 20px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.45;
}

.footer-contact-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: #07233f;
  border-radius: 9px;
  background: linear-gradient(135deg, #67e8f9, #60a5fa);
  font-size: 0.74rem;
  font-weight: 900;
}

.footer-contact-list strong {
  color: #c9d7e8;
  font-size: 0.9rem;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(28px, calc((100vw - 1320px) / 2));
  color: #aebed1;
  background: #031224;
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.footer-mail-login {
  color: #67e8f9 !important;
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.active {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.login-card {
  position: relative;
  width: min(100%, 440px);
  padding: 32px;
}

.login-card:has(.login-card-image) {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  width: min(100%, 900px);
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.login-card h2 {
  font-size: 1.8rem;
}

.login-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.login-title-row .eyebrow {
  margin: 0;
}

.login-mail-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: #075ed8;
  border: 1px solid rgba(7, 94, 216, 0.18);
  border-radius: 999px;
  background: #eef6ff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.login-mail-chip:hover,
.login-mail-chip:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #075ed8, #12bce6);
}

.login-mail-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: -4px;
  padding: 0 18px;
  color: #075ed8;
  border: 1px solid rgba(7, 94, 216, 0.24);
  border-radius: 10px;
  background: #eef7ff;
  box-shadow: 0 10px 22px rgba(7, 94, 216, 0.09);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.login-mail-button span {
  width: 19px;
  height: 19px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.login-mail-button:hover,
.login-mail-button:focus-visible {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #075ed8, #12bce6);
}

.about-company-image {
  min-height: 500px;
  display: block;
  overflow: hidden;
  background: #eaf4ff;
}

.about-company-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.login-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 42px 38px;
}

.login-card-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #06101c;
}

.login-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.login-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 24, 0.04) 0%, rgba(4, 12, 24, 0.18) 44%, rgba(4, 12, 24, 0.82) 100%);
  pointer-events: none;
}

.login-card-image div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #ffffff;
}

.login-card-image strong {
  font-size: 1.28rem;
  line-height: 1.2;
}

.login-card-image span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 1.5rem;
}

.login-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Domain mail login page */
.mail-login-redesign {
  background: #f7fbff;
}

.mail-login-page {
  overflow: hidden;
  background: #f7fbff;
}

.mail-login-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 54px;
  align-items: center;
  padding: 76px max(28px, calc((100vw - 1378px) / 2));
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 15, 33, 0.96), rgba(4, 35, 76, 0.86) 48%, rgba(4, 32, 70, 0.44)),
    url("images/home-hero-it-company.png") center / cover;
}

.mail-login-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  line-height: 1.04;
}

.mail-login-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d7e8f8;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 650;
}

.mail-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.mail-login-hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.mail-quick-setup {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(188, 230, 255, 0.44);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.mail-quick-setup span {
  color: #aee5ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mail-quick-setup strong {
  color: #ffffff;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.mail-quick-setup button,
.mail-copy-row button {
  min-height: 38px;
  padding: 0 14px;
  color: #062047;
  border: 0;
  border-radius: 8px;
  background: #bfeeff;
  cursor: pointer;
  font-weight: 950;
}

.mail-quick-setup button:hover,
.mail-copy-row button:hover,
.mail-quick-setup button:focus-visible,
.mail-copy-row button:focus-visible {
  background: #ffffff;
  outline: 2px solid rgba(14, 165, 233, 0.36);
  outline-offset: 2px;
}

.mail-login-card {
  padding: 30px;
  border: 1px solid rgba(168, 216, 255, 0.48);
  border-radius: 20px;
  background: rgba(5, 25, 52, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.34);
}

.mail-login-card img {
  width: 74px;
  height: 74px;
  padding: 6px;
  object-fit: cover;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.mail-login-card h2 {
  margin: 18px 0 10px;
  color: #ffffff;
  font-size: 1.8rem;
}

.mail-login-card p {
  margin: 0;
  color: #cde7fb;
  line-height: 1.65;
  font-weight: 650;
}

.mail-login-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.mail-login-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  color: #dceef8;
  font-weight: 800;
}

.mail-login-card li span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #062047;
  border-radius: 12px;
  background: linear-gradient(135deg, #67e8f9, #bfecff);
  font-size: 0.8rem;
  font-weight: 950;
}

.mail-login-info {
  width: min(1378px, calc(100% - 56px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: -54px auto 76px;
  position: relative;
  z-index: 2;
}

.mail-login-info article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid #c8d9ed;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(6, 32, 70, 0.1);
}

.mail-login-info span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #0751b0;
  border-radius: 999px;
  background: #eaf5ff;
  font-size: 0.8rem;
  font-weight: 950;
}

.mail-login-info h3 {
  margin: 18px 0 10px;
  color: #071f44;
}

.mail-login-info p {
  margin: 0;
  color: #45617e;
  line-height: 1.65;
  font-weight: 650;
}

.mail-login-info strong {
  color: #071f44;
}

.mail-setup-panel {
  width: min(1378px, calc(100% - 56px));
  margin: 0 auto 82px;
  padding: 34px;
  border: 1px solid #c8d9ed;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(6, 32, 70, 0.1);
}

.mail-setup-heading {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-bottom: 24px;
}

.mail-setup-heading h2 {
  margin: 0;
  color: #071f44;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}

.mail-setup-heading p:not(.eyebrow) {
  margin: 0;
  color: #45617e;
  line-height: 1.65;
  font-weight: 650;
}

.mail-setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mail-setup-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border: 1px solid #d7e5f4;
  border-radius: 14px;
  background: #f8fcff;
}

.mail-setup-card.wide {
  grid-column: 1 / -1;
}

.mail-setup-card > span {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #0751b0;
  border-radius: 999px;
  background: #eaf5ff;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mail-setup-card h3 {
  margin: 0;
  color: #071f44;
  font-size: 1.12rem;
}

.mail-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.mail-copy-row strong {
  min-width: 0;
  color: #0d2a4c;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.mail-setup-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.mail-setup-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #dbe9f7;
}

.mail-setup-card dt {
  color: #5a718c;
  font-weight: 800;
}

.mail-setup-card dd {
  margin: 0;
  color: #071f44;
  font-weight: 950;
}

.password-field {
  position: relative;
  display: block;
}

.login-role-field select {
  color: #07111f;
  border-color: rgba(8, 24, 39, 0.14);
  background: #ffffff;
  font-weight: 800;
}

.login-role-field select:invalid {
  color: #64748b;
}

.password-field input {
  width: 100%;
  padding-right: 78px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 58px;
  min-height: 34px;
  transform: translateY(-50%);
  color: #07111f;
  border: 1px solid rgba(8, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.password-toggle:hover,
.password-toggle:focus {
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.35);
  outline: none;
}

.remember {
  display: inline-flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.remember input {
  width: 16px;
  height: 16px;
}

.login-captcha {
  display: grid;
  gap: 8px;
}

.captcha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.08);
}

.captcha-row strong {
  color: var(--cyan-2);
  font-size: 1.08rem;
}

.captcha-refresh {
  min-height: 32px;
  padding: 0 10px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.captcha-refresh:hover,
.captcha-refresh:focus-visible {
  color: #001724;
  background: var(--cyan-2);
}

@keyframes shimmer {
  from { background-position: -90px 0, 0 0; }
  to { background-position: 90px 0, 0 0; }
}

@media (max-width: 1020px) {
  .brand-name {
    max-width: 290px;
    white-space: normal;
    line-height: 1.15;
  }

  .hero,
  .director-hero,
  .about-grid,
  .contact-grid,
  .contact-hero,
  .service-page-hero,
  .contact-methods,
  .contact-form-grid,
  .contact-showcase-grid,
  .contact-lower-grid {
    grid-template-columns: 1fr;
  }

  .contact-showcase {
    padding-top: 68px;
  }

  .contact-showcase-grid {
    gap: 36px;
  }

  .contact-lower-grid {
    margin-inline: calc(max(22px, calc((100vw - 1180px) / 2)) * -1);
  }

  .contact-assurance-panel {
    padding: 44px max(22px, calc((100vw - 1180px) / 2));
  }

  .carrier-hero,
  .career-job-grid,
  .career-process-grid {
    grid-template-columns: 1fr;
  }

  .simple-hrms-hero,
  .add-employee-form-grid,
  .simple-hrms-two-column {
    grid-template-columns: 1fr;
  }

  .add-employee-profile-card {
    position: static;
  }

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

  .add-employee-upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-hrms-metrics,
  .simple-hrms-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carrier-hero {
    min-height: auto;
    gap: 42px;
  }

  .career-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero {
    min-height: auto;
    padding-top: 110px;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.74)),
      url("images/managed-it-support.png") center / cover no-repeat;
  }

  .contact-hero-panel {
    align-self: auto;
  }

  .service-page-hero img {
    min-height: 260px;
  }

  .contact-form-grid .wide {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .home-hero-media {
    padding-left: 18%;
    opacity: 0.76;
  }

  .home-service-rail,
  .home-service-showcase,
  .home-process-grid,
  .home-policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-section-row,
  .home-about-redesign,
  .home-compliance-panel,
  .admin-dashboard-hero,
  .admin-dashboard-grid,
  .employee-overview-row {
    grid-template-columns: 1fr;
  }

  .home-service-tile.large {
    grid-row: span 1;
    min-height: 620px;
  }

  .service-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .director-hero {
    min-height: auto;
  }

  .culture-grid,
  .leadership-pill-grid,
  .services-grid,
  .feature-grid,
  .home-service-strip,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .section-pad {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 88px;
    display: grid;
    gap: 20px;
    padding: 22px;
    border: 1px solid rgba(8, 24, 39, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    display: grid;
    gap: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-links a {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--radius);
    background: #f2f7fa;
    font-size: 0.92rem;
  }

  .menu-toggle {
    border-color: rgba(8, 24, 39, 0.16);
    background: rgba(8, 24, 39, 0.06);
  }

  .menu-toggle span {
    background: #06101c;
  }

  .home-redesign .nav-panel {
    background: rgba(255, 255, 255, 0.98);
  }

  .home-redesign .nav-links {
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-redesign .nav-links a {
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--radius);
    background: #f2f7fa;
    font-size: 0.92rem;
  }

  .home-redesign .menu-toggle {
    border-color: rgba(8, 24, 39, 0.16);
    background: rgba(8, 24, 39, 0.06);
  }

  .home-redesign .menu-toggle span {
    background: #06101c;
  }

  .contact-showcase {
    padding-inline: 18px;
  }

  .contact-showcase::before {
    display: none;
  }

  .contact-intro h1 {
    font-size: 2.8rem;
  }

  .contact-form-card {
    padding: 28px;
  }

  .contact-lower-grid {
    margin-inline: -18px;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map .map-card {
    width: min(88%, 340px);
    margin-inline: auto;
  }

  .contact-assurance-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .carrier-hero {
    padding: 86px 18px 52px;
  }

  .carrier-hero-copy h1 {
    font-size: 3rem;
  }

  .carrier-hero-visual,
  .carrier-hero-visual img {
    min-height: 320px;
  }

  .career-section-head {
    text-align: left;
  }

  .career-culture-grid,
  .career-process-grid {
    grid-template-columns: 1fr;
  }

  .career-job-card {
    min-height: 0;
  }

  .simple-hrms-metrics,
  .simple-hrms-module-grid,
  .simple-approval-list {
    grid-template-columns: 1fr;
  }

  .simple-hrms-hero {
    padding: 22px;
  }

  .simple-hrms-hero h1 {
    font-size: 2.35rem;
  }

  body[data-protected="employee"] .navbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  body[data-protected="employee"] .brand-name {
    max-width: 260px;
  }

  body[data-protected="employee"] .navbar::after,
  body[data-protected="employee"] .navbar > .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-dropdown {
    display: grid;
    gap: 10px;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    padding: 10px;
    margin-left: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu,
  .nav-dropdown.dropdown-open .dropdown-menu {
    transform: none;
  }

  .nav-links a,
  .nav-panel .btn {
    width: 100%;
  }

  .hero {
    gap: 34px;
    padding-top: 58px;
  }

  .home-hero-redesign {
    min-height: auto;
    padding-top: 86px;
  }

  .home-hero-media {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
    padding-left: 0;
    opacity: 0.42;
  }

  .home-hero-media img:first-child {
    grid-row: auto;
  }

  .home-hero-inner h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .home-hero-metrics,
  .home-service-rail,
  .home-service-showcase,
  .home-proof-grid,
  .home-process-grid,
  .home-policy-grid,
  .admin-dashboard-grid,
  .footer-grid,
  .apply-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-hero {
    padding: 22px;
  }

  .admin-task-list article {
    display: grid;
  }

  .footer {
    background: linear-gradient(180deg, #f4f8fb 0 52px, #06101c 52px 100%);
  }

  .footer-cta {
    padding: 22px;
  }

  .footer-cta-actions,
  .footer-cta-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .apply-form-grid label.wide {
    grid-column: auto;
  }

  .home-service-showcase {
    grid-auto-rows: 260px;
  }

  .home-service-tile,
  .home-service-tile.large {
    min-height: auto;
  }

  .home-service-tile .service-cover,
  .home-service-tile.large .service-cover {
    height: 220px;
  }

  .home-service-tile.large::after {
    display: none;
  }

  .service-detail-panel {
    position: static;
    margin: -28px 18px 18px;
    grid-template-columns: 1fr;
  }

  .service-mini-grid {
    grid-template-columns: 1fr;
  }

  .home-about-image,
  .home-about-image img {
    min-height: 320px;
  }

  .home-career-redesign {
    display: grid;
  }

  .hero-visual {
    min-height: 360px;
  }

  .home-service-strip {
    padding-bottom: 20px;
  }

  .director-grid,
  .director-card,
  .director-profile-card,
  .director-profile-card:nth-child(even),
  .team-grid,
  .job-card,
  .career-cta,
  .culture-grid,
  .services-grid,
  .feature-grid,
  .home-service-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .director-card,
  .career-cta,
  .job-card {
    display: grid;
  }

  .director-card {
    text-align: center;
  }

  .director-profile-card,
  .director-profile-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .director-profile-grid {
    grid-template-columns: 1fr;
  }

  .director-profile-card:nth-child(even) .director-photo-wrap {
    order: initial;
  }

  .director-photo-wrap {
    min-height: 360px;
  }

  .job-card .btn,
  .career-cta .btn {
    width: 100%;
  }

  .employee-profile-summary,
  .dashboard-photo-edit {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .employee-profile-card-top,
  .employee-profile-main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .employee-profile-card-top {
    display: grid;
  }

  .employee-name-line {
    justify-content: center;
  }

  .employee-profile-meta {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
  }

  .employee-profile-meta div:nth-child(2) {
    border-right: 0;
  }

  .employee-profile-summary b,
  .employee-profile-photo {
    margin-inline: auto;
  }

  .login-card:has(.login-card-image) {
    grid-template-columns: 1fr;
    width: min(100%, 520px);
    min-height: 0;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .login-card-image {
    min-height: 210px;
  }

  .login-card-image img {
    height: 210px;
  }

  .login-card-content {
    padding: 30px 24px 28px;
  }
}

@media (max-width: 520px) {
  .integrated-module-access {
    grid-template-columns: 1fr;
  }

  .add-employee-pro-header,
  .add-employee-action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .add-employee-header-actions,
  .add-employee-action-bar > div,
  .add-employee-action-bar .btn {
    width: 100%;
  }

  .add-employee-steps,
  .add-employee-upload-grid {
    grid-template-columns: 1fr;
  }

  body[data-protected="employee"] .admin-topbar {
    align-items: flex-start;
    gap: 10px;
    padding: 12px 20px;
  }

  .admin-topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-user-chip {
    width: 100%;
  }

  .admin-topbar-actions .btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .login-card-content {
    padding: 28px 20px 24px;
  }

  .login-card-image,
  .login-card-image img {
    min-height: 180px;
    height: 180px;
  }

  .login-card-image div {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .navbar {
    min-height: 70px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    width: 58px;
    height: 40px;
  }

  .brand-name {
    max-width: 210px;
    font-size: 0.88rem;
  }

  .employee-profile-meta {
    grid-template-columns: 1fr;
  }

  .employee-profile-meta div,
  .employee-profile-meta div:nth-child(2) {
    padding: 0;
    border-right: 0;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-image-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo.large {
    width: min(100%, 180px);
  }

  .login-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .employee-details {
    grid-template-columns: 1fr;
  }

  .employee-app {
    grid-template-columns: 1fr;
  }

  .employee-sidebar {
    position: static;
    height: auto;
  }

  .employee-main {
    padding: 20px;
  }

  .module-grid,
  .module-feature-grid,
  .module-page-header,
  .sales-folder-panel,
  .fms-workflow-steps,
  .fms-connected-grid,
  .fms-flow-grid,
  .sales-item-row,
  .hrms-field-grid,
  .document-upload-form,
  .upload-preview-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .director-hero-panel {
    min-height: 320px;
  }

  .leadership-pill-grid {
    grid-template-columns: 1fr;
  }

  .director-profile-card {
    padding: 18px;
  }

  .director-photo-wrap {
    min-height: 340px;
  }

  .vision-panel {
    padding: 26px;
  }

  .map-placeholder {
    min-height: 380px;
    align-items: end;
    padding: 20px;
  }

  .map-placeholder::before {
    left: 50%;
    top: 34%;
    width: 260px;
    height: 260px;
    transform: translate(-50%, -50%);
  }

  .map-placeholder::after {
    left: 50%;
    top: 34%;
    width: 130px;
    height: 130px;
    transform: translate(-50%, -50%);
  }

  .map-pin {
    left: 50%;
    top: 34%;
    transform: translate(-50%, -70%) rotate(-45deg);
  }

  .map-card {
    width: 100%;
    margin: 0;
  }
}

/* Final HRMS consistency pass: keep every HRMS submodule visually uniform. */
body[data-protected="employee"] .employee-app {
  width: min(100% - 0.2in, 1560px);
  grid-template-columns: 280px minmax(0, 1fr);
  background: #eef4fb;
  border: 1px solid #c8d8ec;
  box-shadow: 0 18px 42px rgba(20, 52, 96, 0.12);
}

body[data-protected="employee"] .employee-sidebar,
body[data-protected="employee"] .employees-sidebar {
  padding: 18px 12px;
  background:
    linear-gradient(160deg, rgba(4, 34, 89, 0.98), rgba(5, 96, 183, 0.94)),
    linear-gradient(28deg, transparent 0 45%, rgba(255, 255, 255, 0.1) 46% 56%, transparent 57%),
    #063a88;
}

body[data-protected="employee"] .employee-sidebar nav,
body[data-protected="employee"] .employees-sidebar nav,
body[data-protected="employee"] .dashboard-menu.grouped-module-nav {
  gap: 10px;
}

body[data-protected="employee"] .hrms-module-dropdown {
  border-radius: 12px;
  background: rgba(3, 29, 77, 0.58);
}

body[data-protected="employee"] .hrms-module-dropdown > summary {
  min-height: 42px;
  padding: 0 13px;
  background: linear-gradient(90deg, rgba(9, 104, 209, 0.88), rgba(19, 166, 226, 0.72));
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-protected="employee"] .hrms-module-dropdown-list {
  gap: 8px;
  max-height: none;
  padding: 10px;
  background: rgba(1, 19, 52, 0.28);
}

body[data-protected="employee"] .hrms-submodule-group {
  border-radius: 10px;
  background: rgba(0, 55, 126, 0.34);
  overflow: hidden;
}

body[data-protected="employee"] .hrms-module-dropdown-list .hrms-submodule-group summary {
  min-height: 38px;
  padding: 0 10px;
  background: rgba(6, 78, 160, 0.42);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

body[data-protected="employee"] .hrms-submodule-list {
  gap: 4px;
  padding: 7px;
}

body[data-protected="employee"] .hrms-submodule-list a,
body[data-protected="employee"] .dashboard-menu.grouped-module-nav .hrms-submodule-list a {
  min-height: 34px;
  gap: 9px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.18;
}

body[data-protected="employee"] .module-link-number {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 0.55rem;
}

body[data-protected="employee"] .employee-main {
  gap: 16px;
  padding: 18px;
  background: #eef4fb;
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card,
body[data-protected="employee"] .dashboard-panel.module-page-panel,
body[data-protected="employee"] .dashboard-panel.hrms-data-panel,
body[data-protected="employee"] .hrms-record-card {
  border: 1px solid #c9d8ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(24, 63, 114, 0.08);
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card {
  min-height: auto;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 88% 24%, rgba(23, 188, 231, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

body[data-protected="employee"] .employee-welcome.dashboard-hero-card h1 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  letter-spacing: 0;
}

body[data-protected="employee"] .module-page-header {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

body[data-protected="employee"] .module-page-header > span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #075ed8, #17bce7);
  font-size: 0.95rem;
  font-weight: 950;
}

body[data-protected="employee"] .module-page-header h2 {
  margin: 2px 0 0;
  color: #07245a;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: 0;
}

body[data-protected="employee"] .module-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-protected="employee"] .module-feature-grid article {
  min-height: 104px;
  padding: 15px;
  border-color: #d8e4f3;
  border-radius: 12px;
  background: #f8fbff;
}

body[data-protected="employee"] .module-feature-grid h3 {
  color: #07245a;
  font-size: 0.92rem;
}

body[data-protected="employee"] .module-feature-grid p {
  color: #38547b;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 700;
}

body[data-protected="employee"] .dashboard-panel.hrms-data-panel {
  padding: 18px;
}

body[data-protected="employee"] .fms-preview-main,
body[data-protected="employee"] .department-preview-desk {
  padding: 14px;
}

body[data-protected="employee"] .fms-preview-header h1,
body[data-protected="employee"] .department-preview-hero h1 {
  font-size: clamp(1.3rem, 1.75vw, 1.85rem);
}

@media (max-width: 1180px) {
  body[data-protected="employee"] .employee-app {
    width: 100%;
    grid-template-columns: 1fr;
  }

  body[data-protected="employee"] .module-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Riddhiwave homepage applied from approved mockup */
.home-redesign {
  color: #08265a;
  background: #ffffff;
}

.home-redesign .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #d8e3f2;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(8, 38, 90, 0.08);
}

.home-redesign .navbar {
  width: min(100% - 0.6in, 1440px);
  min-height: 78px;
  margin: 0 auto;
  padding: 0;
}

.home-redesign .brand {
  gap: 14px;
}

.home-redesign .brand-logo {
  width: 86px;
  height: 62px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.brand-stack {
  display: grid;
  gap: 1px;
  color: #071a44;
  line-height: 1.02;
}

.brand-stack strong {
  font-size: clamp(1.1rem, 1.65vw, 1.55rem);
  font-weight: 950;
}

.brand-stack span {
  font-size: clamp(0.86rem, 1.15vw, 1.08rem);
  font-weight: 800;
}

.brand-stack small {
  color: #45607d;
  font-size: 0.66rem;
  font-weight: 850;
}

.home-redesign .nav-panel {
  gap: 42px;
}

.home-redesign .nav-links {
  gap: clamp(24px, 3vw, 48px);
}

.home-redesign .nav-links a {
  position: relative;
  color: #061b49;
  font-size: 0.94rem;
  font-weight: 850;
}

.home-redesign .nav-links a[href="/"] {
  color: #075ed8;
}

.home-redesign .nav-links a[href="/"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 3px;
  border-radius: 999px;
  background: #075ed8;
}

.home-login-btn {
  min-height: 44px;
  gap: 8px;
  padding: 0 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #075ed8, #08b7ea);
  box-shadow: 0 10px 24px rgba(7, 94, 216, 0.28);
}

.home-login-btn span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #ffffff 0 23%, transparent 24%),
    radial-gradient(circle at 50% 100%, #ffffff 0 38%, transparent 39%);
}

body:not([data-protected]) .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #d8e3f2;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(8, 38, 90, 0.08);
}

body:not([data-protected]) .navbar {
  width: min(100% - 0.6in, 1440px);
  min-height: 78px;
  margin: 0 auto;
  padding: 0;
  gap: 16px;
}

body:not([data-protected]) .brand {
  flex: 0 1 320px;
  gap: 14px;
}

body:not([data-protected]) .brand-logo {
  width: 86px;
  height: 62px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not([data-protected]) .nav-panel {
  gap: 42px;
}

body:not([data-protected]) .nav-links {
  gap: clamp(20px, 2.4vw, 40px);
  padding: 0;
  background: transparent;
}

body:not([data-protected]) .nav-links > li > a {
  position: relative;
  min-height: 42px;
  padding: 0;
  color: #061b49;
  border-radius: 0;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 850;
}

body:not([data-protected]) .nav-links > li > a:hover,
body:not([data-protected]) .nav-links > li > a:focus-visible,
body:not([data-protected]) .nav-links > li > a[aria-current="page"] {
  color: #075ed8;
  background: transparent;
}

body:not([data-protected]) .nav-links > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 3px;
  border-radius: 999px;
  background: #075ed8;
}

.rv-home-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  align-items: center;
  gap: 42px;
  padding: 34px max(0.4in, calc((100vw - 1440px) / 2 + 0.7in)) 78px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 13, 34, 0.96), rgba(3, 25, 59, 0.82) 54%, rgba(3, 28, 58, 0.38)),
    url("images/home-hero-it-company.png") center / cover no-repeat;
  overflow: hidden;
}

.rv-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, #ffffff, transparent);
}

.rv-home-copy,
.rv-hero-metric-card {
  position: relative;
  z-index: 1;
}

.rv-home-copy {
  text-align: center;
}

.rv-home-copy h1 {
  margin: 0 auto;
  max-width: 610px;
  color: #ffffff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.72rem, 2.55vw, 2.58rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 850;
}

.rv-home-copy h1 span {
  display: inline-block;
  color: inherit;
  white-space: nowrap;
}

.rv-home-copy h1::after {
  content: "";
  display: block;
  width: 78px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #28d2f2;
}

.rv-home-copy p {
  max-width: 650px;
  margin: 14px auto 0;
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.55;
  font-weight: 600;
}

.rv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.rv-hero-actions .btn {
  min-height: 46px;
  min-width: 190px;
  gap: 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  box-shadow: none;
}

.rv-hero-actions .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #075ed8, #10c5ee);
}

.rv-hero-actions .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(3, 19, 48, 0.34);
}

.rv-hero-actions .btn span {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-hero-metric-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 16px;
  background: rgba(6, 26, 58, 0.58);
  box-shadow: 0 28px 70px rgba(0, 9, 28, 0.34);
  backdrop-filter: blur(8px);
}

.rv-hero-metric-card article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.rv-hero-metric-card article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rv-hero-metric-card i {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(40, 210, 242, 0.22), transparent 58%),
    rgba(255, 255, 255, 0.08);
}

.rv-hero-metric-card strong {
  display: block;
  color: #65e8ff;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 950;
}

.rv-hero-metric-card span {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1.16rem;
  font-weight: 950;
}

.rv-hero-metric-card small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 650;
}

.rv-service-cards {
  position: relative;
  z-index: 2;
  width: min(100% - 0.6in, 1760px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: -44px auto 24px;
}

.rv-service-cards a {
  min-height: 112px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  color: #061b49;
  border: 1px solid #d5e2f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(22, 54, 96, 0.12);
}

.rv-service-cards img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 4px solid #f1f6fc;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(8, 38, 90, 0.16);
}

.rv-service-cards h3 {
  margin: 0 0 6px;
  color: #061b49;
  font-size: 0.88rem;
  line-height: 1.18;
}

.rv-service-cards p {
  margin: 0;
  color: #1f3c64;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 650;
}

.rv-service-cards a > span {
  display: none;
}

.rv-home-lower {
  width: min(100% - 0.8in, 1300px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0 auto 14px;
}

.rv-why-card,
.rv-strength-card,
.rv-trusted-strip {
  border: 1px solid #d5e2f2;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(22, 54, 96, 0.08);
}

.rv-why-card {
  padding: 18px 22px;
  background: linear-gradient(135deg, #ffffff, #f6fbff);
}

.rv-strength-card {
  padding: 18px 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 98% 8%, rgba(135, 230, 91, 0.18), transparent 28%),
    linear-gradient(135deg, #052052, #063b7c);
}

.rv-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
  text-align: center;
}

.rv-section-title > span {
  display: none;
}

.rv-section-title h2 {
  margin: 0;
  color: inherit;
  font-size: 1.18rem;
  line-height: 1.18;
}

.rv-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rv-why-grid div,
.rv-strength-grid div {
  display: grid;
  justify-items: center;
  text-align: center;
}

.rv-why-grid div {
  align-content: start;
  padding: 4px 10px 0;
  border-right: 1px solid #d5e2f2;
}

.rv-why-grid div:last-child {
  border-right: 0;
}

.rv-why-grid i {
  display: none;
}

.rv-why-grid i img {
  display: none;
}

.rv-why-grid strong,
.rv-strength-grid span {
  color: #061b49;
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 950;
}

.rv-why-grid p {
  margin: 6px 0 0;
  color: #315177;
  font-size: 0.7rem;
  line-height: 1.38;
  font-weight: 650;
}

.rv-strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.rv-strength-grid div {
  padding: 6px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
}

.rv-strength-grid div:last-child {
  border-right: 0;
}

.rv-strength-grid strong {
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1.1;
}

.rv-strength-grid span {
  margin-top: 5px;
  color: #ffffff;
}

.rv-strength-grid p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  line-height: 1.45;
}

.rv-startup-blog-grid {
  gap: 10px;
}

.rv-startup-blog-grid a {
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.rv-startup-blog-grid a:hover,
.rv-startup-blog-grid a:focus-visible {
  border-color: rgba(101, 232, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.rv-startup-blog-grid small {
  color: #9ef3ff;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-startup-blog-grid strong {
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.22;
}

.rv-startup-blog-grid p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  line-height: 1.38;
}

.rv-trusted-strip {
  width: min(100% - 0.8in, 1300px);
  margin: 0 auto 32px;
  padding: 16px 28px 20px;
  background: #ffffff;
}

.rv-trusted-strip h2 {
  margin: 0 0 16px;
  color: #061b49;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
}

.rv-trusted-strip div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rv-trusted-image-grid a {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  color: #0751b0;
  border-right: 1px solid #c9d8ec;
  font-size: 0.86rem;
  font-weight: 950;
}

.rv-trusted-image-grid a:last-child {
  border-right: 0;
}

.rv-trusted-image-grid img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 4px solid #eef6ff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(7, 94, 216, 0.16);
}

.rv-trusted-image-grid span {
  color: #0751b0;
}

@media (max-width: 1180px) {
  .rv-home-hero,
  .rv-home-lower {
    grid-template-columns: 1fr;
  }

  .rv-service-cards,
  .rv-why-grid,
  .rv-strength-grid,
  .rv-trusted-strip div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-redesign .navbar,
  .rv-service-cards,
  .rv-home-lower,
  .rv-trusted-strip {
    width: min(100% - 24px, 1300px);
  }

  .rv-home-hero {
    padding: 34px 18px 88px;
  }

  .rv-service-cards,
  .rv-why-grid,
  .rv-strength-grid,
  .rv-trusted-strip div {
    grid-template-columns: 1fr;
  }
}

/* Premium public footer final overrides */
.footer.footer-premium {
  padding: 0;
  color: #e8f3ff;
  background: #061a34;
}

.footer.footer-premium .footer-bottom p {
  color: inherit;
}

@media (max-width: 980px) {
  .footer.footer-premium .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 34px;
  }

  .footer.footer-premium .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 34px;
  }

  .footer.footer-premium .footer-bottom div {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer.footer-premium .footer-grid {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .footer-brand-premium img {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }

  .footer-brand-premium strong {
    font-size: 1.2rem;
  }

  .footer-contact-list li {
    grid-template-columns: 1fr;
  }

  .footer-contact-list span {
    width: fit-content;
    padding: 0 10px;
  }
}

/* Premium About Us page */
.about-redesign {
  background: #f8fbff;
}

.about-premium {
  overflow: hidden;
  background: #f8fbff;
}

.about-premium-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  gap: 58px;
  align-items: center;
  padding: 76px max(28px, calc((100vw - 1378px) / 2)) 112px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 15, 33, 0.96), rgba(4, 35, 76, 0.86) 46%, rgba(4, 32, 70, 0.42)),
    url("images/home-hero-it-company.png") center / cover;
}

.about-premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, #f8fbff);
  pointer-events: none;
}

.about-premium-hero > * {
  position: relative;
  z-index: 1;
}

.about-hero-copy h1 {
  max-width: 790px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.45rem, 4.5vw, 3.9rem);
  line-height: 1.03;
}

.about-hero-copy h1 span {
  color: #41e4ff;
}

.about-section-copy h2 span {
  color: #0783dc;
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 710px;
  margin: 24px 0 0;
  color: #d7e8f8;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 650;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.about-premium-hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.about-trust-panel {
  justify-self: end;
  width: min(100%, 490px);
  padding: 28px;
  border: 1px solid rgba(168, 216, 255, 0.48);
  border-radius: 20px;
  background: rgba(5, 25, 52, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.34);
}

.about-trust-panel h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.85rem;
}

.about-trust-panel > p {
  margin: 0 0 20px;
  color: #b9d6ee;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 650;
}

.about-trust-grid {
  display: grid;
  gap: 13px;
}

.about-trust-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
}

.about-trust-item span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #062047;
  border-radius: 15px;
  background: linear-gradient(135deg, #67e8f9, #bfecff);
  font-size: 0.92rem;
  font-weight: 950;
}

.about-trust-item strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.about-trust-item small {
  display: block;
  margin-top: 3px;
  color: #b9d3eb;
  font-weight: 750;
}

.about-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1378px, calc(100% - 124px));
  margin: -64px auto 0;
}

.about-metrics article {
  min-height: 140px;
  padding: 24px;
  border: 1px solid #c7d9ee;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(6, 32, 70, 0.13);
}

.about-metrics strong {
  display: block;
  color: #0751b0;
  font-size: 2rem;
  line-height: 1;
}

.about-metrics span {
  display: block;
  margin-top: 11px;
  color: #29486e;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 850;
}

.about-section {
  padding: 78px max(28px, calc((100vw - 1378px) / 2));
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 54px;
  align-items: center;
}

.about-image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-image-stack img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7, 31, 68, 0.13);
}

.about-image-stack img:first-child {
  grid-row: span 2;
  height: 508px;
}

.about-section-copy h2,
.about-section-heading h2 {
  margin: 0;
  color: #061b49;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  line-height: 1.12;
}

.about-section-copy p:not(.eyebrow),
.about-section-heading p:not(.eyebrow) {
  color: #45617e;
  font-size: 1rem;
  line-height: 1.78;
  font-weight: 650;
}

.about-highlight {
  margin-top: 24px;
  padding: 22px 24px;
  color: #173d67;
  border-left: 5px solid #10c9e8;
  border-radius: 12px;
  background: #eef8ff;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 850;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-pill-row span {
  padding: 10px 14px;
  color: #0751b0;
  border-radius: 999px;
  background: #eaf5ff;
  font-size: 0.82rem;
  font-weight: 950;
}

.about-process {
  background: linear-gradient(180deg, #f7fbff, #edf6ff);
  border-top: 1px solid #d8e7f8;
  border-bottom: 1px solid #d8e7f8;
}

.about-section-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.about-process-grid article {
  min-height: 254px;
  padding: 26px;
  border: 1px solid #c8d9ed;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 31, 68, 0.08);
}

.about-process-grid b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, #0751b0, #10c9e8);
  font-size: 1.35rem;
}

.about-process-grid h3,
.about-promise-grid h3,
.about-leader-grid h3 {
  margin: 0 0 10px;
  color: #071f44;
}

.about-process-grid p,
.about-promise-grid p,
.about-leader-grid p {
  margin: 0;
  color: #45617e;
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 650;
}

.about-values-intro {
  max-width: 780px;
}

.about-promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.about-promise-grid article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid #c8d9ed;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(7, 31, 68, 0.09);
}

.about-promise-grid span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: #0751b0;
  border-radius: 22px;
  background: #eaf5ff;
  font-size: 1.9rem;
  font-weight: 950;
}

.about-leadership {
  padding-top: 36px;
}

.about-leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.about-leader-grid article {
  display: grid;
  grid-template-columns: 162px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid #c8d9ed;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(7, 31, 68, 0.09);
}

.about-leader-grid img {
  width: 162px;
  height: 162px;
  object-fit: cover;
  border-radius: 17px;
}

.about-leader-grid small {
  display: block;
  margin-bottom: 12px;
  color: #0751b0;
  font-weight: 950;
}

.about-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  width: min(1378px, calc(100% - 56px));
  margin: 0 auto 76px;
  padding: 40px 48px;
  color: #ffffff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(103, 232, 249, 0.25), transparent 30%),
    linear-gradient(135deg, #061a34, #064485);
  box-shadow: 0 20px 50px rgba(6, 32, 70, 0.18);
}

.about-final-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.14;
}

.about-final-cta p {
  margin: 10px 0 0;
  color: #cde7fb;
  font-weight: 700;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .about-premium-hero,
  .about-story,
  .about-leader-grid {
    grid-template-columns: 1fr;
  }

  .about-trust-panel {
    justify-self: stretch;
    width: 100%;
  }

  .about-metrics,
  .about-process-grid,
  .about-promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 40px, 960px);
  }
}

@media (max-width: 700px) {
  .about-premium-hero {
    min-height: auto;
    padding: 48px 20px 90px;
  }

  .about-hero-actions,
  .about-hero-actions .btn,
  .about-final-cta .btn {
    width: 100%;
  }

  .about-metrics,
  .about-process-grid,
  .about-promise-grid,
  .about-leader-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 52px 20px;
  }

  .about-image-stack {
    grid-template-columns: 1fr;
  }

  .about-image-stack img,
  .about-image-stack img:first-child {
    height: 260px;
  }

  .about-promise-grid article,
  .about-leader-grid article {
    grid-template-columns: 1fr;
  }

  .about-leader-grid img {
    width: 100%;
    height: 280px;
  }

  .about-final-cta {
    width: calc(100% - 40px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }
}

/* Dedicated Services page */
.services-redesign {
  background: #f7fbff;
}

.services-page {
  overflow: hidden;
  background: #f7fbff;
}

.services-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 54px;
  align-items: center;
  padding: 74px max(28px, calc((100vw - 1378px) / 2)) 104px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 15, 33, 0.96), rgba(4, 35, 76, 0.86) 48%, rgba(4, 32, 70, 0.42)),
    url("images/home-hero-it-company.png") center / cover;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, #f7fbff);
  pointer-events: none;
}

.services-hero > * {
  position: relative;
  z-index: 1;
}

.services-hero h1 {
  max-width: 840px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.3vw, 3.7rem);
  line-height: 1.04;
}

.services-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d7e8f8;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 650;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.services-hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.services-hero-panel {
  padding: 30px;
  border: 1px solid rgba(168, 216, 255, 0.48);
  border-radius: 20px;
  background: rgba(5, 25, 52, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.34);
}

.services-hero-panel span {
  display: block;
  color: #41e4ff;
  font-size: 3.6rem;
  font-weight: 950;
  line-height: 1;
}

.services-hero-panel h2 {
  margin: 14px 0 10px;
  color: #ffffff;
  font-size: 1.9rem;
}

.services-hero-panel p {
  margin: 0;
  color: #cde7fb;
  line-height: 1.65;
  font-weight: 650;
}

.services-overview {
  width: min(1378px, calc(100% - 56px));
  margin: -48px auto 0;
  position: relative;
  z-index: 2;
  padding-bottom: 76px;
}

.services-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.services-section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #061b49;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.15;
}

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

.services-card {
  min-height: 288px;
  display: grid;
  grid-template-rows: 150px 1fr;
  overflow: hidden;
  color: #061b49;
  border: 1px solid #c8d9ed;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(6, 32, 70, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.services-card:hover,
.services-card:focus-visible {
  transform: translateY(-4px);
  border-color: #2fd5ec;
  box-shadow: 0 24px 54px rgba(6, 32, 70, 0.16);
}

.services-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.services-card div {
  padding: 22px;
}

.services-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, #0751b0, #10c9e8);
  font-weight: 950;
}

.services-card h3 {
  margin: 0 0 10px;
  color: #071f44;
  font-size: 1.25rem;
}

.services-card p {
  margin: 0;
  color: #45617e;
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 650;
}

.services-process-band {
  padding: 74px max(28px, calc((100vw - 1378px) / 2));
  background: linear-gradient(180deg, #edf6ff, #ffffff);
  border-top: 1px solid #d8e7f8;
  border-bottom: 1px solid #d8e7f8;
}

.services-process-band > div:first-child {
  max-width: 740px;
}

.services-process-band h2 {
  margin: 0;
  color: #061b49;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.services-process-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid #c8d9ed;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 31, 68, 0.08);
}

.services-process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, #0751b0, #10c9e8);
  font-weight: 950;
}

.services-process-grid h3 {
  margin: 0 0 10px;
  color: #071f44;
}

.services-process-grid p {
  margin: 0;
  color: #45617e;
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 650;
}

.services-final-cta {
  width: min(1378px, calc(100% - 56px));
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin: 76px auto;
  padding: 40px 48px;
  color: #ffffff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(103, 232, 249, 0.25), transparent 30%),
    linear-gradient(135deg, #061a34, #064485);
  box-shadow: 0 20px 50px rgba(6, 32, 70, 0.18);
}

.services-final-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.14;
}

.services-final-cta p {
  margin: 10px 0 0;
  color: #cde7fb;
  font-weight: 700;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .services-hero,
  .services-section-heading {
    grid-template-columns: 1fr;
  }

  .services-hero {
    display: grid;
  }

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

@media (max-width: 700px) {
  .services-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 48px 20px 90px;
  }

  .services-hero-actions,
  .services-hero-actions .btn,
  .services-final-cta .btn {
    width: 100%;
  }

  .services-overview,
  .services-final-cta {
    width: calc(100% - 40px);
  }

  .services-card-grid,
  .services-process-grid {
    grid-template-columns: 1fr;
  }

  .services-process-band {
    padding: 52px 20px;
  }

  .services-final-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }
}

@media (max-width: 900px) {
  .mail-login-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 54px 24px 100px;
  }

  .mail-login-info {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }

  .mail-setup-panel {
    width: calc(100% - 40px);
    padding: 26px 20px;
  }

  .mail-setup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .mail-login-actions,
  .mail-login-actions .btn {
    width: 100%;
  }

  .mail-quick-setup,
  .mail-copy-row,
  .mail-setup-card dl div {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .mail-quick-setup button,
  .mail-copy-row button {
    width: 100%;
  }

  .mail-login-card {
    padding: 24px;
  }
}

/* Why Choose Us page */
.why-redesign {
  background: #f7fbff;
}

.why-page {
  overflow: hidden;
  background: #f7fbff;
}

.why-hero {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: 54px;
  align-items: center;
  padding: 76px max(28px, calc((100vw - 1378px) / 2)) 108px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 15, 33, 0.96), rgba(4, 35, 76, 0.86) 48%, rgba(4, 32, 70, 0.42)),
    url("images/home-hero-it-company.png") center / cover;
}

.why-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, #f7fbff);
  pointer-events: none;
}

.why-hero > * {
  position: relative;
  z-index: 1;
}

.why-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  line-height: 1.04;
}

.why-hero-copy p:not(.eyebrow) {
  max-width: 730px;
  margin: 22px 0 0;
  color: #d7e8f8;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 650;
}

.why-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.why-hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.why-hero-panel {
  padding: 30px;
  border: 1px solid rgba(168, 216, 255, 0.48);
  border-radius: 20px;
  background: rgba(5, 25, 52, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.34);
}

.why-hero-panel span {
  display: block;
  color: #41e4ff;
  font-size: 3.6rem;
  font-weight: 950;
  line-height: 1;
}

.why-hero-panel h2 {
  margin: 14px 0 10px;
  color: #ffffff;
  font-size: 1.9rem;
}

.why-hero-panel p {
  margin: 0;
  color: #cde7fb;
  line-height: 1.65;
  font-weight: 650;
}

.why-trust-strip {
  position: relative;
  z-index: 2;
  width: min(1378px, calc(100% - 56px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: -60px auto 0;
}

.why-trust-strip article {
  min-height: 132px;
  padding: 24px;
  border: 1px solid #c7d9ee;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(6, 32, 70, 0.13);
}

.why-trust-strip strong {
  display: block;
  color: #0751b0;
  font-size: 2rem;
  line-height: 1;
}

.why-trust-strip span {
  display: block;
  margin-top: 11px;
  color: #29486e;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 850;
}

.why-reasons-section,
.why-proof-section,
.why-process-band {
  padding: 76px max(28px, calc((100vw - 1378px) / 2));
}

.why-section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.why-section-heading h2,
.why-proof-copy h2,
.why-process-band h2 {
  margin: 0;
  color: #061b49;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.15;
}

.why-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.why-reasons-grid article,
.why-process-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid #c8d9ed;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(7, 31, 68, 0.09);
}

.why-reasons-grid span,
.why-process-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #0751b0, #10c9e8);
  font-weight: 950;
}

.why-reasons-grid h3,
.why-process-grid h3 {
  margin: 0 0 10px;
  color: #071f44;
}

.why-reasons-grid p,
.why-process-grid p,
.why-proof-copy p {
  margin: 0;
  color: #45617e;
  font-size: 0.95rem;
  line-height: 1.68;
  font-weight: 650;
}

.why-proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  background: linear-gradient(180deg, #edf6ff, #ffffff);
  border-top: 1px solid #d8e7f8;
  border-bottom: 1px solid #d8e7f8;
}

.why-proof-image img {
  width: 100%;
  min-height: 460px;
  max-height: 540px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 22px 52px rgba(7, 31, 68, 0.16);
}

.why-proof-copy p:not(.eyebrow) {
  margin-top: 18px;
}

.why-check-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.why-check-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #c8d9ed;
  border-radius: 13px;
  background: #ffffff;
}

.why-check-list b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: #119d54;
}

.why-check-list span {
  color: #244462;
  font-weight: 850;
}

.why-process-band {
  background: #ffffff;
}

.why-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.why-process-grid article {
  min-height: 200px;
}

.why-final-cta {
  width: min(1378px, calc(100% - 56px));
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin: 0 auto 76px;
  padding: 40px 48px;
  color: #ffffff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(103, 232, 249, 0.25), transparent 30%),
    linear-gradient(135deg, #061a34, #064485);
  box-shadow: 0 20px 50px rgba(6, 32, 70, 0.18);
}

.why-final-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.14;
}

.why-final-cta p {
  margin: 10px 0 0;
  color: #cde7fb;
  font-weight: 700;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .why-hero,
  .why-proof-section {
    grid-template-columns: 1fr;
  }

  .why-trust-strip,
  .why-reasons-grid,
  .why-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .why-hero {
    min-height: auto;
    padding: 48px 20px 96px;
  }

  .why-hero-actions,
  .why-hero-actions .btn,
  .why-final-cta .btn {
    width: 100%;
  }

  .why-trust-strip,
  .why-reasons-grid,
  .why-process-grid {
    grid-template-columns: 1fr;
  }

  .why-trust-strip,
  .why-final-cta {
    width: calc(100% - 40px);
  }

  .why-reasons-section,
  .why-proof-section,
  .why-process-band {
    padding: 52px 20px;
  }

  .why-proof-image img {
    min-height: 280px;
  }

  .why-final-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }
}

/* Navy-gold Director page */
.director-premium-page {
  background: #f8fbff;
}

.director-premium-main {
  overflow: hidden;
  background: #f8fbff;
}

.director-banner {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 72px 28px 96px;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 20, 44, 0.96), rgba(5, 24, 52, 0.9)),
    url("images/director-leadership-meeting.jpg") center / cover;
}

.director-banner::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -70px;
  height: 145px;
  border-top: 8px solid #d7a343;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: #f8fbff;
}

.director-banner-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.director-banner h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.director-banner p:not(.eyebrow) {
  max-width: 820px;
  margin: 22px auto 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  font-family: Georgia, "Times New Roman", serif;
}

.director-title-rule {
  width: min(390px, 72vw);
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
}

.director-title-rule::before,
.director-title-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #d7a343;
}

.director-title-rule span {
  width: 15px;
  height: 15px;
  margin: 0 10px;
  border: 3px solid #d7a343;
  transform: rotate(45deg);
}

.director-card-section {
  position: relative;
  z-index: 2;
  padding: 54px max(28px, calc((100vw - 1320px) / 2)) 34px;
}

.director-premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
}

.director-premium-card {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(6, 27, 73, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(6, 27, 73, 0.16);
}

.director-premium-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #dce9f5;
}

.director-premium-photo::after {
  content: "";
  position: absolute;
  top: -12%;
  right: -13px;
  width: 38px;
  height: 130%;
  background: #d7a343;
  transform: skewX(-11deg);
  box-shadow: 10px 0 0 #ffffff;
}

.director-premium-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.director-premium-copy {
  padding: 30px 32px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.director-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #d7a343;
  border: 3px solid #d7a343;
  border-radius: 50%;
  background: #061b3d;
  font-size: 0.92rem;
  font-weight: 950;
}

.director-premium-copy h2 {
  margin: 0;
  color: #061b3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.director-premium-role {
  margin: 7px 0 0;
  color: #9b6413;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
}

.director-gold-line {
  width: 54px;
  height: 2px;
  display: block;
  margin: 14px 0;
  background: #d7a343;
}

.director-premium-copy p:not(.director-premium-role) {
  margin: 0;
  color: #0f172a;
  font-size: 0.84rem;
  line-height: 1.62;
  font-weight: 700;
}

.director-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.director-socials span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: #061b3d;
  font-size: 0.68rem;
  font-weight: 950;
}

.director-leadership-strip {
  width: min(1320px, calc(100% - 56px));
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 30px;
  align-items: center;
  margin: 0 auto 72px;
  padding: 28px 46px;
  color: #ffffff;
  border-radius: 16px;
  background: #061b3d;
  box-shadow: 0 18px 38px rgba(6, 27, 73, 0.24);
}

.director-strip-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #d7a343;
  border: 2px solid rgba(215, 163, 67, 0.5);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 950;
}

.director-leadership-strip h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

.director-leadership-strip p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.5;
}

.director-strip-button {
  min-width: 250px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  color: #ffc75f;
  border: 2px solid #d7a343;
  border-radius: 8px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.director-strip-button:hover,
.director-strip-button:focus-visible {
  color: #061b3d;
  background: #d7a343;
}

@media (max-width: 1120px) {
  .director-premium-grid,
  .director-leadership-strip {
    grid-template-columns: 1fr;
  }

  .director-strip-button {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .director-banner {
    padding: 48px 20px 86px;
  }

  .director-card-section {
    padding: 42px 20px 28px;
  }

  .director-premium-card {
    grid-template-columns: 1fr;
  }

  .director-premium-photo {
    min-height: 360px;
  }

  .director-premium-photo::after {
    display: none;
  }

  .director-premium-copy {
    padding: 30px 24px;
  }

  .director-leadership-strip {
    width: calc(100% - 40px);
    padding: 26px 22px;
  }

  .director-strip-button {
    width: 100%;
    min-width: 0;
  }
}

/* Navy-gold Core Team page */
.team-premium-page {
  color: #06162e;
  background: #f8fbff;
}

.team-premium-page .site-header {
  border-bottom: 1px solid rgba(215, 163, 67, 0.14);
  background:
    radial-gradient(circle at 8% 0%, rgba(21, 79, 129, 0.34), transparent 28%),
    linear-gradient(90deg, #041225, #061d3a 52%, #041225);
  box-shadow: none;
}

.team-premium-page .navbar {
  width: min(100% - 0.6in, 1440px);
  min-height: 96px;
}

.team-premium-page .brand-logo {
  width: 82px;
  height: 60px;
  filter: drop-shadow(0 10px 18px rgba(215, 163, 67, 0.18));
}

.team-premium-page .brand-stack {
  color: #ffffff;
}

.team-premium-page .brand-stack small {
  color: rgba(255, 255, 255, 0.78);
}

.team-premium-page .nav-links > li > a {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.team-premium-page .nav-links > li > a:hover,
.team-premium-page .nav-links > li > a:focus-visible,
.team-premium-page .nav-links > li > a[aria-current="page"] {
  color: #d7a343;
  background: transparent;
}

.team-premium-page .nav-links > li > a[aria-current="page"]::after {
  bottom: -18px;
  background: #d7a343;
}

.team-premium-page .home-login-btn {
  border: 1px solid rgba(215, 163, 67, 0.34);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.team-premium-main {
  overflow: hidden;
  background: #f8fbff;
}

.core-team-hero {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 42px 28px 82px;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 20, 44, 0.96), rgba(5, 24, 52, 0.92)),
    url("images/director-leadership-meeting.jpg") center / cover;
}

.core-team-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -70px;
  height: 140px;
  border-top: 8px solid #d7a343;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: #f8fbff;
}

.core-team-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.core-team-hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.core-team-rule {
  width: min(380px, 72vw);
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 6px;
}

.core-team-rule::before,
.core-team-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #d7a343;
}

.core-team-rule span {
  width: 15px;
  height: 15px;
  margin: 0 10px;
  border: 3px solid #d7a343;
  transform: rotate(45deg);
}

.core-team-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.core-team-section {
  position: relative;
  z-index: 2;
  padding: 48px max(0.45in, calc((100vw - 1440px) / 2 + 0.45in)) 76px;
}

.core-team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.core-team-card {
  overflow: hidden;
  border: 1px solid rgba(6, 27, 73, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(6, 27, 73, 0.13);
}

.core-team-card img {
  width: 100%;
  height: 202px;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #dce9f5;
}

.core-team-card-body {
  min-height: 226px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 18px 20px;
  text-align: center;
}

.core-team-card h2 {
  margin: 0;
  color: #071a36;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.15;
  font-weight: 950;
  text-transform: uppercase;
}

.core-team-role {
  margin: 6px 0 0;
  color: #a7680c;
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 850;
}

.core-team-line {
  width: 56px;
  height: 2px;
  display: block;
  margin: 12px 0;
  background: #d7a343;
}

.core-team-card-body p:not(.core-team-role) {
  margin: 0;
  color: #111827;
  font-size: 0.78rem;
  line-height: 1.62;
  font-weight: 650;
}

.core-team-socials {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
}

.core-team-socials a {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  border-radius: 50%;
  background: #061b3d;
  font-size: 0.56rem;
  font-weight: 950;
  text-transform: uppercase;
}

.core-team-socials a:hover,
.core-team-socials a:focus-visible {
  color: #061b3d;
  background: #d7a343;
}

.core-values-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  padding: 30px 34px;
  color: #ffffff;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(18, 72, 122, 0.55), transparent 36%),
    linear-gradient(90deg, #041225, #06234a 55%, #041225);
  box-shadow: 0 18px 38px rgba(6, 27, 73, 0.22);
}

.core-values-strip article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.core-values-strip article:first-child {
  padding-left: 0;
}

.core-values-strip article:last-child {
  padding-right: 0;
  border-right: 0;
}

.core-values-strip span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #d7a343;
  border: 2px solid rgba(215, 163, 67, 0.5);
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 950;
}

.core-values-strip h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.core-values-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width: 1280px) {
  .core-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .core-values-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .core-values-strip article,
  .core-values-strip article:first-child,
  .core-values-strip article:last-child {
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .team-premium-page .navbar {
    min-height: 82px;
  }

  .core-team-hero {
    padding: 42px 20px 78px;
  }

  .core-team-section {
    padding: 42px 20px 58px;
  }

  .core-team-grid,
  .core-values-strip {
    grid-template-columns: 1fr;
  }

  .core-team-card img {
    height: 230px;
  }

  .core-values-strip {
    padding: 26px 22px;
  }
}

/* Navy-gold Careers page */
.career-premium-page {
  color: #06162e;
  background: #f8fbff;
}

.career-premium-page .site-header {
  border-bottom: 1px solid rgba(215, 163, 67, 0.14);
  background:
    radial-gradient(circle at 8% 0%, rgba(21, 79, 129, 0.34), transparent 28%),
    linear-gradient(90deg, #041225, #061d3a 52%, #041225);
  box-shadow: none;
}

.career-premium-page .navbar {
  width: min(100% - 0.6in, 1440px);
  min-height: 78px;
}

.career-premium-page .brand-logo {
  width: 74px;
  height: 54px;
  filter: drop-shadow(0 10px 18px rgba(215, 163, 67, 0.18));
}

.career-premium-page .brand-stack {
  color: #ffffff;
}

.career-premium-page .brand-stack small {
  color: rgba(255, 255, 255, 0.78);
}

.career-premium-page .nav-links > li > a {
  min-height: 42px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.career-premium-page .nav-links > li > a:hover,
.career-premium-page .nav-links > li > a:focus-visible,
.career-premium-page .nav-links > li > a[aria-current="page"] {
  color: #d7a343;
  background: transparent;
}

.career-premium-page .nav-links > li > a[aria-current="page"]::after {
  bottom: -16px;
  background: #d7a343;
}

.career-premium-page .home-login-btn {
  border: 1px solid rgba(215, 163, 67, 0.34);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.career-premium-main {
  overflow: hidden;
  background: #f8fbff;
}

.career-premium-hero {
  position: relative;
  min-height: 350px;
  display: grid;
  align-items: center;
  padding: 28px max(0.5in, calc((100vw - 1440px) / 2 + 0.5in)) 64px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 18, 37, 0.98) 0%, rgba(5, 23, 48, 0.96) 31%, rgba(5, 23, 48, 0.55) 51%, rgba(5, 23, 48, 0.08) 100%),
    url("images/career-hero-team.png") right center / auto 100% no-repeat,
    #061b3d;
}

.career-premium-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -58px;
  height: 115px;
  border-top: 7px solid #d7a343;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: #f8fbff;
}

.career-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 670px;
}

.career-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 12px;
  color: #d7a343;
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.career-eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  background: #d7a343;
}

.career-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 5.2vw, 4.45rem);
  line-height: 1.02;
}

.career-hero-copy h1 span {
  color: #d7a343;
}

.career-hero-text {
  max-width: 590px;
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 1.1rem;
  line-height: 1.55;
}

.career-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.career-hero-points article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}

.career-hero-points span,
.career-benefit-grid span,
.career-openings-title span,
.career-plane,
.career-resume-mail span {
  display: grid;
  place-items: center;
  color: #d7a343;
  border: 2px solid rgba(215, 163, 67, 0.75);
  border-radius: 50%;
  background: #061b3d;
  font-weight: 950;
}

.career-hero-points span {
  width: 48px;
  height: 48px;
  font-size: 0.74rem;
}

.career-hero-points h3 {
  margin: 0 0 4px;
  color: #d7a343;
  font-size: 0.9rem;
  line-height: 1.2;
}

.career-hero-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  line-height: 1.4;
}

.career-benefits {
  position: relative;
  z-index: 2;
  padding: 34px max(0.5in, calc((100vw - 1440px) / 2 + 0.5in)) 18px;
}

.career-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.career-title-row span {
  width: 70px;
  height: 2px;
  background: #d7a343;
}

.career-title-row h2,
.career-openings-title h2 {
  margin: 0;
  color: #061b3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.career-benefit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.career-benefit-grid article {
  min-height: 165px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px;
  border: 1px solid rgba(6, 27, 73, 0.1);
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 12px 26px rgba(6, 27, 73, 0.1);
}

.career-benefit-grid span {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  font-size: 0.7rem;
}

.career-benefit-grid h3 {
  margin: 0 0 8px;
  color: #071a36;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 950;
}

.career-benefit-grid p {
  margin: 0;
  color: #172033;
  font-size: 0.78rem;
  line-height: 1.42;
  font-weight: 650;
}

.career-openings {
  padding: 18px max(0.52in, calc((100vw - 1440px) / 2 + 0.52in)) 0;
}

.career-openings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.career-openings-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.career-openings-title span {
  width: 50px;
  height: 50px;
  font-size: 0.66rem;
}

.career-openings-title h2 {
  padding-bottom: 8px;
  border-bottom: 2px solid #d7a343;
}

.career-openings-head > a {
  color: #b97615;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.career-job-table {
  overflow: hidden;
  border: 1px solid rgba(6, 27, 73, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(6, 27, 73, 0.08);
}

.career-job-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr 1fr 142px;
  align-items: center;
  gap: 18px;
  padding: 8px 26px;
  border-bottom: 1px solid rgba(6, 27, 73, 0.08);
}

.career-job-row:last-child {
  border-bottom: 0;
}

.career-job-row strong {
  color: #071a36;
  font-size: 0.94rem;
  font-weight: 950;
}

.career-job-row span {
  color: #172033;
  font-size: 0.84rem;
  font-weight: 650;
}

.career-job-row a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  color: #ffffff;
  border-radius: 4px;
  background: #061b3d;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.career-job-row a:hover,
.career-job-row a:focus-visible {
  color: #061b3d;
  background: #d7a343;
}

.career-resume-strip {
  width: min(100% - 1.04in, 1320px);
  min-height: 92px;
  display: grid;
  grid-template-columns: 76px 1.2fr 1.2fr 230px;
  align-items: center;
  gap: 26px;
  margin: 16px auto 72px;
  padding: 18px 42px;
  color: #ffffff;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(18, 72, 122, 0.55), transparent 36%),
    linear-gradient(90deg, #041225, #06234a 55%, #041225);
  box-shadow: 0 18px 38px rgba(6, 27, 73, 0.22);
}

.career-plane,
.career-resume-mail span {
  width: 58px;
  height: 58px;
  font-size: 0.72rem;
}

.career-resume-strip h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.2;
}

.career-resume-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.4;
}

.career-resume-mail {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.career-resume-mail a {
  color: #d7a343;
  font-weight: 950;
}

.career-submit-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  color: #ffffff;
  border-radius: 7px;
  background: linear-gradient(135deg, #d7a343, #c88927);
  font-size: 0.98rem;
  font-weight: 950;
  text-transform: uppercase;
}

.career-submit-btn:hover,
.career-submit-btn:focus-visible {
  color: #061b3d;
  background: #f0c56e;
}

@media (max-width: 1220px) {
  .career-premium-hero {
    background:
      linear-gradient(90deg, rgba(4, 18, 37, 0.98) 0%, rgba(5, 23, 48, 0.88) 55%, rgba(5, 23, 48, 0.45) 100%),
      url("images/career-hero-team.png") right center / auto 100% no-repeat,
      #061b3d;
  }

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

  .career-job-row {
    grid-template-columns: 1.2fr 1fr 0.8fr 1fr 130px;
  }

  .career-resume-strip {
    grid-template-columns: 70px 1fr;
  }

  .career-submit-btn {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .career-premium-page .navbar {
    min-height: 82px;
  }

  .career-premium-hero {
    min-height: 0;
    padding: 38px 20px 82px;
    background:
      linear-gradient(180deg, rgba(4, 18, 37, 0.92), rgba(5, 23, 48, 0.92)),
      url("images/career-hero-team.png") center / cover,
      #061b3d;
  }

  .career-hero-points,
  .career-benefit-grid,
  .career-resume-strip {
    grid-template-columns: 1fr;
  }

  .career-benefits,
  .career-openings {
    padding-left: 20px;
    padding-right: 20px;
  }

  .career-title-row {
    gap: 10px;
  }

  .career-title-row span {
    width: 36px;
  }

  .career-openings-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .career-job-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }

  .career-job-row a {
    width: fit-content;
  }

  .career-resume-strip {
    width: calc(100% - 40px);
    padding: 26px 22px;
  }

  .career-resume-mail {
    grid-template-columns: 58px 1fr;
    padding-left: 0;
    border-left: 0;
  }

  .career-submit-btn {
    width: 100%;
  }
}

/* Unified public website header */
body:not([data-protected]) .public-premium-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: min(100% - 8px, 1720px);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background:
    linear-gradient(135deg, transparent 0 82%, rgba(215, 163, 67, 0.9) 82% 82.6%, transparent 82.6%),
    radial-gradient(circle at 96% 92%, rgba(34, 90, 139, 0.45), transparent 26%),
    linear-gradient(100deg, #041225 0%, #061b36 52%, #041225 100%);
  box-shadow: 0 18px 38px rgba(4, 18, 37, 0.22);
}

body:not([data-protected]) .public-premium-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 145px;
  height: 110px;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 56%, rgba(215, 163, 67, 0.95) 57% 59%, transparent 60%),
    linear-gradient(135deg, transparent 0 72%, rgba(215, 163, 67, 0.65) 73% 75%, transparent 76%);
}

body:not([data-protected]) .header-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 3vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

body:not([data-protected]) .header-contact-row,
body:not([data-protected]) .header-social-row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
}

body:not([data-protected]) .header-contact-row a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.88rem, 1.05vw, 1.08rem);
  font-weight: 800;
  white-space: nowrap;
}

body:not([data-protected]) .header-contact-row a + a {
  padding-left: clamp(16px, 2vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

body:not([data-protected]) .header-contact-row span,
body:not([data-protected]) .header-social-row a,
body:not([data-protected]) .premium-login-button span {
  display: inline-grid;
  place-items: center;
  color: #ffd36e;
  border: 2px solid rgba(255, 211, 110, 0.65);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 950;
}

body:not([data-protected]) .header-contact-row span {
  width: 28px;
  height: 28px;
  border: 0;
}

body:not([data-protected]) .header-contact-row .header-icon {
  position: relative;
  flex: 0 0 auto;
}

body:not([data-protected]) .header-icon-phone::before {
  content: "";
  position: absolute;
  inset: 5px 7px 7px 7px;
  border: 3px solid #ffd36e;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 8px;
  transform: rotate(-38deg);
}

body:not([data-protected]) .header-icon-phone::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 8px;
  height: 3px;
  border-radius: 999px;
  background: #ffd36e;
  transform: rotate(34deg);
}

body:not([data-protected]) .header-icon-mail::before {
  content: "";
  position: absolute;
  inset: 5px 3px 6px;
  border: 2px solid #ffd36e;
  border-radius: 3px;
}

body:not([data-protected]) .header-icon-mail::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 8px;
  height: 10px;
  border-left: 2px solid #ffd36e;
  border-bottom: 2px solid #ffd36e;
  transform: rotate(-45deg);
}

body:not([data-protected]) .header-icon-location::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 14px;
  height: 14px;
  border: 3px solid #ffd36e;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

body:not([data-protected]) .header-icon-location::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffd36e;
}

body:not([data-protected]) .header-social-row > span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 750;
  white-space: nowrap;
}

body:not([data-protected]) .header-social-row a {
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  text-transform: uppercase;
}

body:not([data-protected]) .header-social-row a:hover,
body:not([data-protected]) .header-social-row a:focus-visible {
  color: #061b36;
  border-color: #ffd36e;
  background: #ffd36e;
}

body:not([data-protected]) .public-premium-nav {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 136px;
  padding: 0 clamp(22px, 3vw, 52px);
  gap: clamp(24px, 3vw, 56px);
}

body:not([data-protected]) .public-premium-brand {
  flex: 0 0 440px;
  gap: 22px;
  padding-right: 36px;
  border-right: 1px solid rgba(215, 163, 67, 0.62);
}

body:not([data-protected]) .public-premium-brand .brand-logo {
  width: 108px;
  height: 86px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 12px 20px rgba(17, 185, 234, 0.22));
}

body:not([data-protected]) .public-premium-brand .brand-stack {
  color: #ffffff;
  line-height: 1.08;
}

body:not([data-protected]) .public-premium-brand .brand-stack strong {
  color: #ffffff;
  font-size: clamp(1.18rem, 1.75vw, 1.65rem);
  font-weight: 950;
}

body:not([data-protected]) .public-premium-brand .brand-stack span {
  color: #ffffff;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 850;
}

body:not([data-protected]) .public-premium-brand .brand-stack small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not([data-protected]) .public-premium-header .nav-panel {
  flex: 1;
  justify-content: space-between;
  gap: clamp(22px, 2.8vw, 46px);
}

body:not([data-protected]) .public-premium-header .nav-links {
  gap: clamp(22px, 2.6vw, 46px);
  padding: 0;
  background: transparent;
}

body:not([data-protected]) .public-premium-header .nav-links > li > a {
  position: relative;
  min-height: 54px;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 0;
  background: transparent;
  font-size: clamp(0.96rem, 1.18vw, 1.18rem);
  font-weight: 900;
}

body:not([data-protected]) .public-premium-header .nav-links > li > a:hover,
body:not([data-protected]) .public-premium-header .nav-links > li > a:focus-visible,
body:not([data-protected]) .public-premium-header .nav-links > li > a[aria-current="page"] {
  color: #ffd36e;
  background: transparent;
}

body:not([data-protected]) .public-premium-header .nav-links > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 3px;
  border-radius: 999px;
  background: #ffd36e;
}

body:not([data-protected]) .public-premium-header .nav-dropdown > a::before {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

body:not([data-protected]) .public-premium-header .dropdown-menu {
  top: calc(100% + 18px);
  min-width: 230px;
  border: 1px solid rgba(255, 211, 110, 0.28);
  border-radius: 12px;
  background: #071b35;
  box-shadow: 0 18px 36px rgba(4, 18, 37, 0.28);
}

body:not([data-protected]) .public-premium-header .dropdown-menu a {
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
}

body:not([data-protected]) .public-premium-header .dropdown-menu a:hover,
body:not([data-protected]) .public-premium-header .dropdown-menu a:focus-visible {
  color: #061b36;
  background: #ffd36e;
}

body:not([data-protected]) .premium-login-button {
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 34px;
  color: #061b36;
  border: 2px solid #d7a343;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe097, #d7a343 58%, #c48224);
  box-shadow: inset 0 0 0 4px rgba(4, 18, 37, 0.74), 0 12px 26px rgba(4, 18, 37, 0.28);
  font-size: 1.12rem;
  font-weight: 950;
  cursor: pointer;
}

body:not([data-protected]) .premium-login-button span {
  width: 34px;
  height: 34px;
  position: relative;
  color: #ffd36e;
  border: 0;
  background: #061b36;
  font-size: 0.75rem;
}

body:not([data-protected]) .premium-login-button .login-user-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd36e;
}

body:not([data-protected]) .premium-login-button .login-user-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 7px;
  width: 20px;
  height: 10px;
  border-radius: 10px 10px 4px 4px;
  background: #ffd36e;
}

body:not([data-protected]) .premium-login-button:hover,
body:not([data-protected]) .premium-login-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 4px rgba(4, 18, 37, 0.74), 0 16px 30px rgba(4, 18, 37, 0.34);
}

@media (max-width: 1180px) {
  body:not([data-protected]) .header-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  body:not([data-protected]) .public-premium-nav {
    min-height: 108px;
  }

  body:not([data-protected]) .public-premium-brand {
    flex-basis: auto;
    min-width: 260px;
  }

  body:not([data-protected]) .public-premium-header .nav-panel {
    gap: 22px;
  }
}

@media (max-width: 760px) {
  body:not([data-protected]) .public-premium-header {
    width: 100%;
    border-radius: 0 0 14px 14px;
  }

  body:not([data-protected]) .header-contact-row,
  body:not([data-protected]) .header-social-row {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  body:not([data-protected]) .header-contact-row a {
    width: 100%;
    font-size: 0.84rem;
  }

  body:not([data-protected]) .header-contact-row a + a {
    padding-left: 0;
    border-left: 0;
  }

  body:not([data-protected]) .public-premium-nav {
    min-height: 90px;
    align-items: center;
    padding: 12px 18px;
  }

  body:not([data-protected]) .public-premium-brand {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0;
    border-right: 0;
  }

  body:not([data-protected]) .public-premium-brand .brand-logo {
    width: 76px;
    height: 58px;
  }

  body:not([data-protected]) .public-premium-brand .brand-stack strong {
    font-size: 1rem;
  }

  body:not([data-protected]) .public-premium-brand .brand-stack span,
  body:not([data-protected]) .public-premium-brand .brand-stack small {
    font-size: 0.72rem;
  }

  body:not([data-protected]) .public-premium-header .nav-panel {
    background: #071b35;
  }

  body:not([data-protected]) .public-premium-header .nav-links,
  body:not([data-protected]) .public-premium-header .nav-panel {
    gap: 10px;
  }

  body:not([data-protected]) .public-premium-header .nav-links > li > a {
    min-height: 42px;
    font-size: 0.92rem;
  }

  body:not([data-protected]) .public-premium-header .nav-links > li > a[aria-current="page"]::after {
    bottom: 0;
  }

  body:not([data-protected]) .premium-login-button {
    width: 100%;
    min-height: 52px;
  }
}

/* Compact full-width public header */
body:not([data-protected]) .public-premium-header {
  width: 100%;
  max-width: none;
  margin: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

body:not([data-protected]) .public-premium-header::after,
body:not([data-protected]) .header-topbar {
  display: none;
}

body:not([data-protected]) .public-premium-nav {
  min-height: 76px;
  padding: 0 clamp(18px, 3vw, 42px);
  gap: clamp(18px, 2.4vw, 34px);
}

body:not([data-protected]) .public-premium-brand {
  flex: 0 0 340px;
  gap: 14px;
  padding-right: 24px;
}

body:not([data-protected]) .public-premium-brand .brand-logo {
  width: 78px;
  height: 56px;
}

body:not([data-protected]) .public-premium-brand .brand-stack strong {
  font-size: clamp(1rem, 1.28vw, 1.24rem);
}

body:not([data-protected]) .public-premium-brand .brand-stack span {
  font-size: clamp(0.78rem, 0.96vw, 0.92rem);
}

body:not([data-protected]) .public-premium-brand .brand-stack small {
  margin-top: 4px;
  font-size: 0.58rem;
}

body:not([data-protected]) .public-premium-header .nav-panel {
  gap: clamp(16px, 2.2vw, 30px);
}

body:not([data-protected]) .public-premium-header .nav-links {
  gap: clamp(16px, 2vw, 30px);
}

body:not([data-protected]) .public-premium-header .nav-links > li > a {
  min-height: 38px;
  font-size: clamp(0.82rem, 0.96vw, 0.95rem);
}

body:not([data-protected]) .public-premium-header .nav-links > li > a[aria-current="page"]::after {
  bottom: -11px;
  height: 2px;
}

body:not([data-protected]) .public-premium-header .nav-dropdown > a::before {
  right: -14px;
  width: 7px;
  height: 7px;
}

body:not([data-protected]) .premium-login-button {
  min-height: 46px;
  gap: 10px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  box-shadow: inset 0 0 0 3px rgba(4, 18, 37, 0.74), 0 10px 20px rgba(4, 18, 37, 0.22);
}

body:not([data-protected]) .premium-login-button span {
  width: 26px;
  height: 26px;
}

body:not([data-protected]) .premium-login-button .login-user-icon::before {
  left: 9px;
  top: 6px;
  width: 8px;
  height: 8px;
}

body:not([data-protected]) .premium-login-button .login-user-icon::after {
  left: 6px;
  bottom: 6px;
  width: 14px;
  height: 7px;
}

@media (max-width: 1180px) {
  body:not([data-protected]) .public-premium-brand {
    flex: 0 0 280px;
    min-width: 240px;
  }
}

@media (max-width: 760px) {
  body:not([data-protected]) .public-premium-nav {
    min-height: 74px;
    padding: 10px 16px;
  }

  body:not([data-protected]) .public-premium-brand {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0;
  }

  body:not([data-protected]) .public-premium-brand .brand-logo {
    width: 64px;
    height: 46px;
  }
}

/* Right-aligned compact public header refinements */
body:not([data-protected]) .public-premium-nav {
  justify-content: space-between;
}

body:not([data-protected]) .public-premium-brand {
  flex: 0 0 auto;
  max-width: 430px;
  border-right: 0;
}

body:not([data-protected]) .public-premium-brand .brand-stack {
  min-width: 0;
}

body:not([data-protected]) .public-premium-brand .brand-stack strong {
  white-space: nowrap;
}

body:not([data-protected]) .public-premium-brand .brand-stack > span {
  display: none;
}

body:not([data-protected]) .public-premium-header .nav-panel {
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

body:not([data-protected]) .public-premium-header .nav-links {
  margin-left: auto;
}

@media (max-width: 1180px) {
  body:not([data-protected]) .public-premium-brand {
    max-width: 360px;
  }

  body:not([data-protected]) .public-premium-brand .brand-stack strong {
    font-size: 0.95rem;
  }

  body:not([data-protected]) .public-premium-header .nav-links {
    gap: 14px;
  }
}

@media (max-width: 760px) {
  body:not([data-protected]) .public-premium-brand {
    max-width: calc(100% - 58px);
  }

  body:not([data-protected]) .public-premium-brand .brand-stack strong {
    font-size: 0.82rem;
  }
}

/* Home top image slider */
.home-image-slider {
  position: relative;
  height: clamp(300px, 34vw, 430px);
  overflow: hidden;
  color: #ffffff;
  background: #041225;
}

.home-slider-track,
.home-slider-slide {
  position: absolute;
  inset: 0;
}

.home-slider-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.home-slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.home-slider-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.home-slider-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 13, 29, 0.9) 0%, rgba(3, 22, 48, 0.72) 40%, rgba(3, 22, 48, 0.18) 72%, rgba(3, 22, 48, 0.28) 100%),
    linear-gradient(180deg, rgba(4, 18, 37, 0.08), rgba(4, 18, 37, 0.54));
}

.home-slider-copy {
  position: relative;
  z-index: 1;
  width: min(560px, 100% - 44px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: max(24px, calc((100vw - 1360px) / 2 + 42px));
  padding: 28px 0 46px;
}

.home-slider-copy span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #4de9ff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-slider-copy span::after {
  content: "";
  width: 38px;
  height: 2px;
  background: #4de9ff;
}

.home-slider-copy h1 {
  max-width: 520px;
  margin: 0;
  color: #ffffff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.55vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
  font-weight: 850;
}

.home-slider-copy p {
  max-width: 460px;
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.78rem, 0.88vw, 0.92rem);
  line-height: 1.48;
  font-weight: 600;
}

.home-slider-copy .btn {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.8rem;
}

.home-slider-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 34px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(4, 18, 37, 0.56);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.home-slider-control:hover,
.home-slider-control:focus-visible {
  color: #061b36;
  background: #4de9ff;
}

.home-slider-control.prev {
  left: clamp(14px, 2vw, 32px);
}

.home-slider-control.next {
  right: clamp(14px, 2vw, 32px);
}

.home-slider-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.home-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.home-slider-dots button.active {
  width: 26px;
  border-radius: 999px;
  border-color: #4de9ff;
  background: #4de9ff;
}

@media (max-width: 760px) {
  .home-image-slider {
    height: 390px;
  }

  .home-slider-copy {
    width: calc(100% - 42px);
    margin-left: 21px;
    padding: 34px 0 74px;
  }

  .home-slider-copy h1 {
    font-size: 1.55rem;
  }

  .home-slider-copy p {
    max-width: 330px;
  }

  .home-slider-control {
    top: auto;
    bottom: 18px;
    width: 34px;
    height: 38px;
    font-size: 1.6rem;
  }

  .home-slider-dots {
    bottom: 30px;
  }
}

/* Half-height header and compact premium footer */
body:not([data-protected]) .public-premium-nav {
  min-height: 56px;
  padding: 0 clamp(16px, 2.4vw, 34px);
}

body:not([data-protected]) .public-premium-brand {
  gap: 10px;
  padding-right: 18px;
  max-width: 390px;
  border-right: 0;
}

body:not([data-protected]) .public-premium-brand .brand-logo {
  width: 58px;
  height: 42px;
}

body:not([data-protected]) .public-premium-brand .brand-stack strong {
  font-size: clamp(0.86rem, 1.08vw, 1.02rem);
}

body:not([data-protected]) .public-premium-brand .brand-stack small {
  margin-top: 2px;
  font-size: 0.5rem;
}

body:not([data-protected]) .public-premium-header .nav-links > li > a {
  min-height: 32px;
  font-size: clamp(0.72rem, 0.84vw, 0.84rem);
}

body:not([data-protected]) .premium-login-button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.8rem;
}

body:not([data-protected]) .premium-login-button span {
  width: 21px;
  height: 21px;
}

body:not([data-protected]) .premium-login-button .login-user-icon::before {
  left: 7px;
  top: 5px;
  width: 7px;
  height: 7px;
}

body:not([data-protected]) .premium-login-button .login-user-icon::after {
  left: 5px;
  bottom: 5px;
  width: 11px;
  height: 6px;
}

.footer.rv-compact-footer {
  width: min(100% - 12px, 1880px);
  margin: 72px auto 22px;
  overflow: hidden;
  color: #f1f7ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background:
    radial-gradient(circle at 0 10%, rgba(17, 110, 178, 0.28), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(12, 74, 116, 0.26), transparent 34%),
    linear-gradient(135deg, #041225, #061b36 56%, #041225);
  box-shadow: 0 24px 54px rgba(4, 18, 37, 0.18);
}

.rv-footer-main {
  display: grid;
  grid-template-columns: 1.28fr 0.82fr 0.78fr 1.32fr;
  gap: clamp(24px, 3vw, 58px);
  padding: 54px clamp(34px, 4vw, 58px) 32px;
}

.rv-footer-main > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: clamp(24px, 3vw, 48px);
}

.rv-footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #ffffff;
}

.rv-footer-brand img {
  width: 108px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 190, 255, 0.28));
}

.rv-footer-brand span {
  display: grid;
  gap: 2px;
}

.rv-footer-brand strong,
.rv-footer-brand em {
  color: #ffffff;
  font-style: normal;
  font-size: 1.42rem;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-footer-brand small {
  margin-top: 8px;
  color: #00b8ff;
  font-size: 1rem;
  font-weight: 800;
}

.rv-footer-company p {
  max-width: 430px;
  margin: 22px 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.5;
}

.rv-footer-badges {
  display: grid;
  gap: 6px;
  max-width: 360px;
}

.rv-footer-badges span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px 0 44px;
  color: #ffffff;
  border: 1px solid rgba(136, 197, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  font-weight: 900;
}

.rv-footer-links h3,
.rv-footer-contact h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-footer-links h3::after,
.rv-footer-contact h3::after {
  content: "";
  width: 42px;
  height: 2px;
  background: #00b8ff;
}

.rv-footer-links h3 span,
.rv-footer-contact h3 span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #00b8ff;
  border: 1px solid #00a8f4;
  border-radius: 10px;
  background: rgba(0, 168, 244, 0.08);
  font-size: 0.72rem;
  font-weight: 950;
}

.rv-footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.98rem;
  font-weight: 650;
}

.rv-footer-links a::after {
  content: ">";
  color: #00b8ff;
  font-weight: 950;
}

.rv-footer-contact {
  min-width: 0;
}

.rv-footer-contact p {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.rv-footer-contact b {
  color: #ffffff;
  font-size: 0.98rem;
}

.rv-footer-contact a,
.rv-footer-contact strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 650;
}

.rv-footer-bottom {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.4fr;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(34px, 4vw, 58px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.rv-footer-copy,
.rv-footer-social,
.rv-footer-subscribe {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rv-footer-copy > span,
.rv-footer-subscribe::before {
  content: "";
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #00b8ff;
  border: 2px solid rgba(0, 184, 255, 0.65);
  border-radius: 14px;
  font-size: 0.76rem;
  font-weight: 950;
}

.rv-footer-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  line-height: 1.45;
}

.rv-footer-social {
  justify-content: center;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.rv-footer-social strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.rv-footer-social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-footer-subscribe {
  justify-content: flex-end;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.rv-footer-subscribe label {
  display: grid;
  min-width: 230px;
}

.rv-footer-subscribe strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.rv-footer-subscribe small {
  color: rgba(255, 255, 255, 0.68);
}

.rv-footer-subscribe input {
  min-height: 52px;
  width: min(280px, 26vw);
  padding: 0 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, 0.04);
}

.rv-footer-subscribe button {
  min-height: 52px;
  padding: 0 24px;
  color: #ffffff;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(135deg, #1da9ff, #1764e8);
  font-weight: 950;
}

@media (max-width: 1120px) {
  .rv-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-footer-main > * {
    border-left: 0 !important;
    padding-left: 0 !important;
  }

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

  .rv-footer-social,
  .rv-footer-subscribe {
    justify-content: flex-start;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .footer.rv-compact-footer {
    width: 100%;
    margin-top: 44px;
    border-radius: 0;
  }

  .rv-footer-main {
    grid-template-columns: 1fr;
    padding: 34px 22px 24px;
  }

  .rv-footer-brand img {
    width: 78px;
    height: 70px;
  }

  .rv-footer-brand strong,
  .rv-footer-brand em {
    font-size: 1.08rem;
  }

  .rv-footer-contact p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rv-footer-bottom {
    padding: 18px 22px 28px;
  }

  .rv-footer-social,
  .rv-footer-subscribe {
    flex-wrap: wrap;
  }

  .rv-footer-subscribe input {
    width: calc(100% - 92px);
  }
}

/* Extra compact public footer */
.footer.rv-compact-footer {
  width: 100%;
  max-width: none;
  margin: 32px 0 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.rv-footer-main {
  gap: clamp(16px, 2vw, 34px);
  padding: 26px clamp(24px, 3vw, 42px) 18px;
}

.rv-footer-main > * + * {
  padding-left: clamp(16px, 2vw, 30px);
}

.rv-footer-brand {
  align-items: center;
  gap: 18px;
}

.rv-footer-brand img {
  width: 86px;
  height: 72px;
}

.rv-footer-brand strong,
.rv-footer-brand em {
  font-size: clamp(0.96rem, 1.1vw, 1.16rem);
  line-height: 1.08;
  white-space: nowrap;
}

.rv-footer-brand small {
  margin-top: 4px;
  font-size: 0.76rem;
}

.rv-footer-tagline {
  width: fit-content;
  color: #00b8ff;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.rv-footer-company p {
  max-width: 430px;
  margin: 12px 0 10px;
  font-size: 0.82rem;
  line-height: 1.42;
}

.rv-footer-badges {
  gap: 4px;
  max-width: 430px;
}

.rv-footer-badges span {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.rv-footer-links h3,
.rv-footer-contact h3 {
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.rv-footer-links h3 span,
.rv-footer-contact h3 span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.rv-footer-links h3::after,
.rv-footer-contact h3::after {
  width: 28px;
}

.rv-footer-links a {
  min-height: 30px;
  font-size: 0.82rem;
}

.rv-footer-contact p {
  grid-template-columns: 82px 1fr;
  gap: 10px;
  margin: 0 0 10px;
  line-height: 1.32;
}

.rv-footer-contact b,
.rv-footer-contact a,
.rv-footer-contact strong {
  font-size: 0.8rem;
}

.rv-footer-bottom {
  min-height: 58px;
  gap: 18px;
  padding: 10px clamp(24px, 3vw, 42px);
}

.rv-footer-copy,
.rv-footer-social,
.rv-footer-subscribe {
  gap: 10px;
}

.rv-footer-copy > span,
.rv-footer-subscribe::before {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.rv-footer-copy p {
  font-size: 0.78rem;
  line-height: 1.3;
}

.rv-footer-social strong {
  font-size: 0.78rem;
}

.rv-footer-social a {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
}

.rv-footer-subscribe {
  gap: 10px;
  padding-left: 14px;
}

.rv-footer-subscribe label {
  min-width: 170px;
}

.rv-footer-subscribe strong {
  font-size: 0.8rem;
}

.rv-footer-subscribe small {
  font-size: 0.68rem;
}

.rv-footer-subscribe input {
  min-height: 36px;
  width: min(220px, 22vw);
  padding: 0 12px;
  font-size: 0.78rem;
}

.rv-footer-subscribe button {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.78rem;
}

@media (max-width: 700px) {
  .footer.rv-compact-footer {
    margin-top: 28px;
  }

  .rv-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 24px 18px 16px;
  }

  .rv-footer-company,
  .rv-footer-contact {
    grid-column: 1 / -1;
  }

  .rv-footer-brand {
    max-width: 100%;
  }

  .rv-footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 18px 18px;
  }

  .rv-footer-brand img {
    width: 72px;
    height: 62px;
  }

  .rv-footer-company p {
    display: none;
  }

  .rv-footer-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .rv-footer-badges span {
    min-height: 24px;
    font-size: 0.66rem;
  }

  .rv-footer-links h3,
  .rv-footer-contact h3 {
    gap: 7px;
    margin-bottom: 6px;
    font-size: 0.78rem;
  }

  .rv-footer-links h3 span,
  .rv-footer-contact h3 span {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 0.56rem;
  }

  .rv-footer-links a {
    min-height: 28px;
    font-size: 0.76rem;
  }

  .rv-footer-contact p {
    grid-template-columns: 70px 1fr;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.72rem;
    line-height: 1.22;
  }

  .rv-footer-contact b,
  .rv-footer-contact a,
  .rv-footer-contact strong {
    font-size: 0.72rem;
  }

  .rv-footer-copy > span {
    display: none;
  }

  .rv-footer-copy p {
    font-size: 0.72rem;
  }

  .rv-footer-social {
    justify-content: flex-start;
  }

  .rv-footer-social a {
    width: 30px;
    height: 30px;
    font-size: 0.66rem;
  }

  .rv-footer-subscribe {
    display: none;
  }
}

/* Remove extra arrows from Company navigation/section */
.nav-dropdown > a::after,
body:not([data-protected]) .public-premium-header .nav-dropdown > a::before,
body:not([data-protected]) .public-premium-header .nav-dropdown > a::after {
  content: none;
  display: none;
  width: 0;
  height: 0;
  margin: 0;
  border: 0;
}

.rv-footer-main > nav.rv-footer-links:nth-of-type(2) a {
  justify-content: flex-start;
}

.rv-footer-main > nav.rv-footer-links:nth-of-type(2) a::after {
  content: none;
  display: none;
}

/* Hide two-letter decorative badges across public pages */
.rv-footer-links h3 > span,
.rv-footer-contact h3 > span,
.rv-footer-copy > span,
.contact-info-icon,
.core-values-strip article > span {
  display: none !important;
}

.rv-footer-links h3,
.rv-footer-contact h3 {
  gap: 10px;
}

.contact-info-item {
  grid-template-columns: 1fr;
}

.core-values-strip article {
  grid-template-columns: 1fr;
}

/* Smart copyright strip */
.rv-footer-copy {
  min-width: 0;
}

.rv-footer-copy p {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(77, 233, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rv-footer-copy p::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4de9ff;
  box-shadow: 0 0 12px rgba(77, 233, 255, 0.72);
}

.rv-footer-copy #year {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: inline !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  color: inherit !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit !important;
}

.rv-footer-copy strong {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 700px) {
  .rv-footer-copy p {
    border-radius: 12px;
  }
}

/* Footer website policies */
.rv-footer-policies {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 0 !important;
}

.rv-footer-policies h3 {
  margin: 0;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-footer-policy-links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(77, 233, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.74rem;
  font-weight: 750;
}

.rv-footer-policy-links a:hover,
.rv-footer-policy-links a:focus-visible {
  color: #061b36;
  background: #4de9ff;
  outline: none;
}

/* Header language selector */
.language-switcher {
  min-height: 30px;
  display: none !important;
  align-items: center;
  gap: 5px;
  padding: 3px 6px 3px 8px;
  color: #ffffff;
  border: 1px solid rgba(255, 207, 108, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  font-weight: 850;
  white-space: nowrap;
}

.language-switcher select {
  min-height: 22px;
  padding: 0 18px 0 7px;
  color: #061b36;
  border: 0;
  border-radius: 999px;
  background: #f8c85e;
  font: inherit;
  cursor: pointer;
}

.public-premium-header .language-switcher {
  color: #f8fafc;
}

.platform-dashboard-header .language-switcher {
  color: #173b73;
  border-color: rgba(22, 95, 188, 0.18);
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(28, 76, 132, 0.08);
}

/* Role-based dashboard flow */
.role-flow-access {
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.role-flow-access .role-flow-card {
  min-height: 100%;
}

.role-flow-summary {
  color: #ffffff;
  background: linear-gradient(135deg, #06275a, #0b63c7);
}

.role-flow-summary p {
  margin: 0 0 8px;
  color: #9aeaff;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.role-flow-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.45;
}

.role-flow-card div {
  max-height: 180px;
  overflow: auto;
  padding-right: 4px;
}

.role-flow-card a {
  min-height: 34px;
  margin-bottom: 6px;
  padding: 0 8px 0 10px;
  border-radius: 7px;
  background: rgba(22, 95, 188, 0.08);
}

.role-flow-card a b {
  color: #0b63c7;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.role-flow-empty {
  margin: 0;
  color: #6a7894;
  font-size: 0.78rem;
}

.admin-job-panel {
  margin-top: 18px;
  padding: 18px;
}

.admin-job-head p {
  margin: 0 0 4px;
  color: #0b63c7;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-job-head h2 {
  margin: 0;
  color: #06275a;
  font-size: 1.15rem;
}

.admin-job-head span {
  display: block;
  margin-top: 4px;
  color: #61708c;
  font-size: 0.82rem;
}

.admin-job-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.admin-job-form label {
  display: grid;
  gap: 5px;
  color: #082f6b;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-job-form input,
.admin-job-form select,
.admin-job-form textarea {
  min-height: 38px;
  width: 100%;
  padding: 0 11px;
  color: #06275a;
  border: 1px solid rgba(13, 79, 156, 0.22);
  border-radius: 7px;
  background: #ffffff;
  font: inherit;
}

.admin-job-form textarea {
  min-height: 74px;
  padding-top: 10px;
  resize: vertical;
}

.admin-job-form .wide,
.admin-job-form .dashboard-actions {
  grid-column: 1 / -1;
}

.admin-job-table-wrap {
  margin-top: 14px;
  overflow: auto;
  border: 1px solid rgba(13, 79, 156, 0.16);
  border-radius: 8px;
}

.admin-job-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #06275a;
  font-size: 0.78rem;
}

.admin-job-table th,
.admin-job-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(13, 79, 156, 0.12);
}

.admin-job-table th {
  background: #f3f7fc;
  font-weight: 950;
}

.admin-job-table small {
  display: block;
  max-width: 360px;
  margin-top: 3px;
  color: #6a7894;
  font-size: 0.68rem;
  line-height: 1.35;
}

.admin-job-table mark {
  padding: 4px 9px;
  color: #047857;
  border-radius: 999px;
  background: #d1fae5;
  font-weight: 950;
}

/* Footer brand row with four equal content columns */
.footer.rv-compact-footer .rv-footer-main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.footer.rv-compact-footer .rv-footer-company {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  padding: 0 0 22px !important;
  border-left: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer.rv-compact-footer .rv-footer-company p {
  max-width: 620px;
  margin: 0;
}

.footer.rv-compact-footer .rv-footer-badges {
  max-width: 620px;
  margin-top: 4px;
}

.footer.rv-compact-footer .rv-footer-main > .rv-footer-company + * {
  border-left: 0;
  padding-left: 0;
}

.footer.rv-compact-footer .rv-footer-policies {
  grid-column: auto;
  margin-top: 0;
  padding: 0 0 0 clamp(16px, 2vw, 30px) !important;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.footer.rv-compact-footer .rv-footer-policies h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer.rv-compact-footer .rv-footer-policies h3::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #00b8ff;
}

.footer.rv-compact-footer .rv-footer-policy-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.footer.rv-compact-footer .rv-footer-policy-links a {
  min-height: 28px;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
}

@media (max-width: 1120px) {
  .role-flow-access,
  .footer.rv-compact-footer .rv-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer.rv-compact-footer .rv-footer-company {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer.rv-compact-footer .rv-footer-policies {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 760px) {
  .language-switcher {
    min-height: 30px;
    font-size: 0.68rem;
  }

  .role-flow-access,
  .admin-job-form {
    grid-template-columns: 1fr;
  }
}

/* Website policy pages */
.policy-page {
  color: #06224a;
  background: #f4f8fb;
}

.policy-hero {
  width: min(100% - 32px, 1160px);
  margin: 34px auto 0;
  padding: 36px;
  color: #ffffff;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(4, 18, 37, 0.94), rgba(5, 39, 79, 0.92)),
    url("images/home-slider-cybersecurity.jpg") center/cover;
  box-shadow: 0 18px 44px rgba(6, 22, 52, 0.14);
}

.policy-hero .eyebrow {
  color: #4de9ff;
}

.policy-hero h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.08;
}

.policy-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.policy-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(77, 233, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.policy-shell {
  width: min(100% - 32px, 1160px);
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  margin: 24px auto 56px;
  align-items: start;
}

.policy-side-nav,
.policy-card {
  border: 1px solid #d7e5f3;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 38, 90, 0.08);
}

.policy-side-nav {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.policy-side-nav strong {
  color: #061b36;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.policy-side-nav a {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #31516f;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 750;
}

.policy-side-nav a:hover,
.policy-side-nav a:focus-visible,
.policy-side-nav a[aria-current="page"] {
  color: #061b36;
  background: #dff7fb;
  outline: none;
}

.policy-card {
  padding: clamp(22px, 3vw, 38px);
}

.policy-card h2 {
  margin: 0 0 10px;
  color: #061b36;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.policy-card section {
  padding: 18px 0;
  border-top: 1px solid #e1ebf5;
}

.policy-card section:first-of-type {
  border-top: 0;
}

.policy-card h3 {
  margin: 0 0 8px;
  color: #073c83;
  font-size: 1rem;
}

.policy-card p,
.policy-card li {
  color: #31516f;
  font-size: 0.94rem;
  line-height: 1.65;
}

.policy-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.policy-note {
  margin-top: 18px;
  padding: 14px 16px;
  color: #08265a;
  border: 1px solid #cde9ff;
  border-radius: 10px;
  background: #eef8ff;
  font-weight: 750;
}

@media (max-width: 900px) {
  .policy-shell {
    grid-template-columns: 1fr;
  }

  .policy-side-nav {
    position: static;
  }
}

@media (max-width: 700px) {
  .policy-hero,
  .policy-shell {
    width: min(100% - 20px, 1160px);
  }

  .policy-hero {
    padding: 28px 20px;
  }
}

/* Civil services */
.civil-page {
  color: #08213f;
  background: #f4f8fb;
}

.civil-page .section-pad {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.civil-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(34px, 5vw, 62px);
  color: #ffffff;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(4, 28, 58, 0.97), rgba(9, 86, 130, 0.9)),
    url("images/networking-services.png") center/cover;
  box-shadow: 0 22px 58px rgba(7, 35, 78, 0.18);
}

.civil-hero .eyebrow {
  color: #61e8ff;
}

.civil-hero h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.civil-hero .hero-copy {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.75;
}

.civil-hero img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.civil-balance-band {
  padding-top: clamp(42px, 6vw, 72px);
}

.civil-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.civil-pillar-grid article,
.civil-service-grid article {
  min-height: 100%;
  border: 1px solid #d7e5f3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 38, 90, 0.08);
}

.civil-pillar-grid article {
  padding: clamp(22px, 3vw, 30px);
}

.civil-pillar-grid span,
.civil-service-grid span,
.civil-process .services-process-grid span {
  width: max-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #06224a;
  border: 1px solid #bdebf4;
  border-radius: 999px;
  background: #e8fbff;
  font-size: 0.78rem;
  font-weight: 900;
}

.civil-pillar-grid h3,
.civil-service-grid h3 {
  margin: 16px 0 8px;
  color: #061b36;
  font-size: 1.16rem;
}

.civil-pillar-grid p,
.civil-service-grid p {
  margin: 0;
  color: #31516f;
  line-height: 1.65;
}

.civil-service-grid {
  align-items: stretch;
}

.civil-process {
  padding-block: clamp(42px, 6vw, 72px);
}

.civil-process > div:first-child {
  max-width: 720px;
  margin-bottom: 22px;
}

.civil-process h2 {
  margin: 8px 0 0;
  color: #061b36;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .civil-hero,
  .civil-pillar-grid {
    grid-template-columns: 1fr;
  }

  .civil-hero {
    padding: 28px 20px;
  }
}

@media (max-width: 700px) {
  .civil-page .section-pad {
    width: min(100% - 20px, 1180px);
  }

  .civil-hero h1 {
    font-size: 2rem;
  }
}

/* Public header logo replacement */
body:not([data-protected]) .public-premium-brand {
  flex: 0 0 clamp(420px, 31vw, 560px);
  max-width: clamp(420px, 31vw, 560px);
  gap: 12px;
  padding-right: clamp(14px, 2vw, 28px);
}

body:not([data-protected]) .public-premium-brand .brand-logo {
  width: clamp(88px, 7vw, 118px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 18px rgba(17, 185, 234, 0.22));
}

body:not([data-protected]) .public-premium-brand .brand-stack {
  display: grid;
  min-width: 0;
}

body:not([data-protected]) .public-premium-brand .brand-stack strong {
  color: #ffffff;
  font-size: clamp(1rem, 1.28vw, 1.34rem);
  line-height: 1.05;
  white-space: nowrap;
}

body:not([data-protected]) .public-premium-brand .brand-stack small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.55rem;
  line-height: 1.2;
}

@media (max-width: 760px) {
  body:not([data-protected]) .public-premium-brand {
    flex-basis: 300px;
    max-width: 300px;
    gap: 8px;
  }

  body:not([data-protected]) .public-premium-brand .brand-logo {
    width: 72px;
    height: 48px;
  }

  body:not([data-protected]) .public-premium-brand .brand-stack strong {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  body:not([data-protected]) .public-premium-brand .brand-stack small {
    font-size: 0.48rem;
  }
}

/* Final public footer: preview-approved layout */
.footer.rv-compact-footer {
  width: 100%;
  max-width: none;
  margin: 32px 0 0;
  overflow: hidden;
  color: #f1f7ff;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 0 10%, rgba(17, 110, 178, 0.28), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(12, 74, 116, 0.26), transparent 34%),
    linear-gradient(135deg, #063553 0%, #061b36 36%, #061b36 100%);
}

.footer.rv-compact-footer .rv-footer-main {
  width: min(100% - 72px, 1766px);
  display: grid;
  grid-template-columns: minmax(520px, 1.2fr) minmax(650px, 1fr);
  align-items: start;
  gap: clamp(44px, 5vw, 76px);
  margin: 0 auto;
  padding: 34px 0 36px;
}

.footer.rv-compact-footer .rv-footer-main > * {
  min-width: 0;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.footer.rv-compact-footer .rv-footer-company {
  grid-column: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
  padding: 0 !important;
  border: 0 !important;
}

.footer.rv-compact-footer .rv-footer-brand {
  display: block;
  color: #ffffff;
  text-decoration: none;
}

.footer.rv-compact-footer .rv-footer-brand img {
  display: none !important;
}

.footer.rv-compact-footer .rv-footer-brand span {
  display: block;
}

.footer.rv-compact-footer .rv-footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer.rv-compact-footer .rv-footer-brand em,
.footer.rv-compact-footer .rv-footer-brand small {
  display: none;
}

.footer.rv-compact-footer .rv-footer-tagline {
  width: fit-content;
  color: #16c8ff;
  font-size: clamp(0.95rem, 1.2vw, 1.18rem);
  font-weight: 900;
  text-decoration: none;
}

.footer.rv-compact-footer .rv-footer-company p {
  max-width: 760px;
  margin: 4px 0 12px;
  color: #e8f6ff;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  line-height: 1.48;
}

.footer.rv-compact-footer .rv-footer-badges {
  max-width: 820px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.footer.rv-compact-footer .rv-footer-badges span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: #ffffff;
  border: 1px solid rgba(120, 190, 255, 0.32);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 950;
}

.footer.rv-compact-footer .rv-footer-content-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  padding-left: clamp(28px, 4vw, 58px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer.rv-compact-footer .rv-footer-links h3,
.footer.rv-compact-footer .rv-footer-contact h3,
.footer.rv-compact-footer .rv-footer-policies h3 {
  display: block;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer.rv-compact-footer .rv-footer-links h3::after,
.footer.rv-compact-footer .rv-footer-contact h3::after,
.footer.rv-compact-footer .rv-footer-policies h3::after {
  content: none;
}

.footer.rv-compact-footer .rv-footer-links a,
.footer.rv-compact-footer .rv-footer-policy-links a {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  color: #d9ecff;
  border: 0;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 650;
}

.footer.rv-compact-footer .rv-footer-links a::after {
  content: none;
}

.footer.rv-compact-footer .rv-footer-contact p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0 0 10px;
  color: #d9ecff;
  line-height: 1.35;
}

.footer.rv-compact-footer .rv-footer-contact b,
.footer.rv-compact-footer .rv-footer-contact a,
.footer.rv-compact-footer .rv-footer-contact strong {
  color: #d9ecff;
  font-size: 0.82rem;
  font-weight: 650;
}

.footer.rv-compact-footer .rv-footer-contact b {
  color: #ffffff;
  font-weight: 900;
}

.footer.rv-compact-footer .rv-footer-policies {
  grid-column: auto;
  display: block;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
}

.footer.rv-compact-footer .rv-footer-policy-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.footer.rv-compact-footer .rv-footer-bottom {
  display: none !important;
}

@media (max-width: 1240px) {
  .footer.rv-compact-footer .rv-footer-main {
    grid-template-columns: 1fr;
  }

  .footer.rv-compact-footer .rv-footer-content-columns {
    padding-left: 0;
    padding-top: 22px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 760px) {
  .footer.rv-compact-footer .rv-footer-main {
    width: min(100% - 28px, 1766px);
    padding: 26px 0 30px;
  }

  .footer.rv-compact-footer .rv-footer-brand strong {
    white-space: normal;
  }

  .footer.rv-compact-footer .rv-footer-content-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer.rv-compact-footer .rv-footer-badges {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* About page IT + civil showcase */
.about-showcase {
  width: min(100%, 1880px);
  margin: 0 auto;
  color: #061b36;
  background: #f8fbff;
}

.about-showcase-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(560px, 1.28fr);
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0 42%, #eef7ff 42% 100%);
}

.about-showcase-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(34px, 5vw, 78px) clamp(28px, 4vw, 74px);
}

.about-showcase-copy h1 {
  margin: 10px 0 10px;
  max-width: 620px;
  color: #061b36;
  font-size: clamp(2rem, 3.8vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 950;
}

.about-showcase-copy h2 {
  margin: 0 0 18px;
  max-width: 620px;
  color: #061b36;
  font-size: clamp(1.22rem, 2.1vw, 2rem);
  line-height: 1.28;
}

.about-showcase-copy h2 span {
  color: #075ed8;
}

.about-showcase-copy h2 em {
  color: #f08a00;
  font-style: normal;
}

.about-showcase-copy p:not(.eyebrow) {
  max-width: 570px;
  margin: 0;
  color: #243f5a;
  font-size: 0.98rem;
  line-height: 1.62;
}

.about-showcase-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 26px;
}

.about-showcase-cards article {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid #d4e2f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(11, 48, 90, 0.08);
}

.about-showcase-cards b {
  color: #075ed8;
  font-size: 0.92rem;
}

.about-showcase-cards small {
  color: #52647b;
  font-size: 0.72rem;
  line-height: 1.45;
}

.about-showcase .about-hero-actions {
  margin-top: 24px;
}

.about-visual-split {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  isolation: isolate;
}

.about-visual {
  position: relative;
  overflow: hidden;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 13, 34, 0.08), rgba(2, 13, 34, 0.28));
}

.about-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-visual-it img {
  filter: saturate(1.1) contrast(1.05);
}

.about-visual-civil img {
  filter: saturate(1.03) contrast(1.02);
}

.about-visual span {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #ffffff;
  border-radius: 4px;
  background: #075ed8;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-visual-civil span {
  background: #f08a00;
}

.about-visual-badge {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  color: #075ed8;
  border: 10px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
  box-shadow: 0 20px 44px rgba(7, 36, 70, 0.28);
  font-size: 3rem;
  font-weight: 950;
  transform: translate(-50%, -50%);
}

.about-showcase-stats {
  position: relative;
  z-index: 4;
  width: min(100% - 80px, 1720px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: -40px auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #061b36, #073f7a);
  box-shadow: 0 18px 38px rgba(5, 27, 58, 0.22);
}

.about-showcase-stats article {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px 22px;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
}

.about-showcase-stats article:last-child {
  border-right: 0;
}

.about-showcase-stats strong {
  font-size: clamp(1.6rem, 2.4vw, 2.45rem);
  line-height: 1;
}

.about-showcase-stats span {
  font-size: 0.82rem;
}

.about-showcase-services,
.about-showcase-values,
.about-showcase-team {
  width: min(100% - 90px, 1700px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0;
}

.about-showcase-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.about-showcase-heading h2 {
  margin: 4px 0 8px;
  color: #061b36;
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  line-height: 1.12;
}

.about-showcase-heading p:not(.eyebrow) {
  margin: 0;
  color: #486078;
}

.about-showcase-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-showcase-service-grid article {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  overflow: hidden;
  border: 1px solid #cddbeb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(8, 38, 80, 0.08);
}

.about-showcase-service-grid img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.about-showcase-service-grid h3 {
  margin: 0 0 6px;
  color: #075ed8;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.about-showcase-service-grid article:nth-child(2) h3 {
  color: #f08a00;
}

.about-showcase-service-grid p {
  margin: 0 0 12px;
  color: #405873;
}

.about-showcase-service-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-showcase-service-grid li {
  position: relative;
  padding-left: 24px;
  color: #122b46;
  font-size: 0.9rem;
}

.about-showcase-service-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #075ed8;
}

.about-showcase-service-grid article:nth-child(2) li::before {
  background: #f08a00;
}

.about-showcase-values {
  padding-top: 10px;
}

.about-showcase-values > .eyebrow {
  text-align: center;
}

.about-values-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid #d7e3f1;
  border-bottom: 1px solid #d7e3f1;
}

.about-values-row article {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px 24px;
  border-right: 1px solid #d7e3f1;
}

.about-values-row article:last-child {
  border-right: 0;
}

.about-values-row b {
  color: #061b36;
  font-size: 1rem;
}

.about-values-row span {
  color: #4c627a;
  font-size: 0.78rem;
  line-height: 1.45;
}

.about-journey {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: center;
  padding: clamp(44px, 6vw, 72px) max(44px, calc((100vw - 1700px) / 2 + 44px));
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 22, 49, 0.98), rgba(5, 55, 99, 0.98)),
    url("images/home-hero-it-company.png") center / cover;
}

.about-journey h2 {
  margin: 8px 0 12px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.about-journey p:not(.eyebrow) {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.84);
}

.about-journey ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-journey li {
  display: grid;
  gap: 9px;
  text-align: center;
}

.about-journey li::before {
  content: "";
  width: 70px;
  height: 70px;
  margin: 0 auto 6px;
  border: 2px solid #f08a00;
  border-radius: 50%;
  background: rgba(240, 138, 0, 0.08);
}

.about-journey strong {
  color: #ffffff;
  font-size: 1.25rem;
}

.about-journey span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  line-height: 1.42;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  width: min(92%, 1480px);
  margin: 0 auto;
}

.about-team-grid article {
  min-height: 270px;
  display: grid;
  justify-items: center;
  align-content: end;
  padding: 24px;
  text-align: center;
  border: 1px solid #d9e4ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(8, 32, 70, 0.1);
}

.about-team-grid img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 14px;
}

.about-team-grid h3 {
  margin: 0 0 4px;
  color: #061b36;
}

.about-team-grid p {
  margin: 0;
  color: #4f6277;
  font-size: 0.84rem;
}

.about-contact-strip {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.75fr 0.75fr;
  align-items: center;
  gap: 20px;
  padding: 0 max(28px, calc((100vw - 1700px) / 2 + 28px));
  color: #061b36;
  border-top: 1px solid #d6e1ec;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

.about-contact-strip a {
  color: #061b36;
}

@media (max-width: 1180px) {
  .about-showcase-hero,
  .about-journey {
    grid-template-columns: 1fr;
  }

  .about-visual-split {
    min-height: 420px;
  }

  .about-showcase-stats,
  .about-values-row,
  .about-journey ol,
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-showcase-service-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-strip {
    grid-template-columns: 1fr 1fr;
    padding-block: 14px;
  }
}

@media (max-width: 700px) {
  .about-showcase-hero,
  .about-showcase-service-grid article,
  .about-showcase-cards,
  .about-showcase-stats,
  .about-values-row,
  .about-journey ol,
  .about-team-grid,
  .about-contact-strip {
    grid-template-columns: 1fr;
  }

  .about-showcase-copy {
    padding: 28px 20px;
  }

  .about-visual-split {
    min-height: 360px;
  }

  .about-visual-badge {
    width: 110px;
    height: 110px;
    font-size: 2.1rem;
  }

  .about-showcase-stats,
  .about-showcase-services,
  .about-showcase-values,
  .about-showcase-team {
    width: min(100% - 24px, 1700px);
  }

  .about-journey {
    padding-inline: 20px;
  }
}

/* Screenshot-matched footer */
.footer.rv-screen-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(12, 91, 145, 0.2), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(12, 91, 145, 0.15), transparent 30%),
    linear-gradient(135deg, #071524 0%, #091d31 50%, #071524 100%);
  box-shadow: none;
}

.rv-screen-footer-main {
  width: min(100% - 116px, 1680px);
  display: grid;
  grid-template-columns: minmax(420px, 1.5fr) minmax(180px, 0.78fr) minmax(170px, 0.7fr) minmax(170px, 0.66fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 3.2vw, 54px);
  align-items: start;
  margin: 0 auto;
  padding: 48px 0 42px;
}

.rv-screen-footer-main > * + * {
  padding-left: clamp(22px, 2.2vw, 42px);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.rv-screen-logo-row {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #ffffff;
  text-decoration: none;
}

.rv-screen-logo-row img {
  width: 132px;
  height: 112px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 22px rgba(0, 185, 255, 0.22));
}

.rv-screen-logo-row span {
  display: grid;
  gap: 4px;
}

.rv-screen-logo-row strong {
  color: #ffffff;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.rv-screen-logo-row em {
  color: #ffffff;
  font-style: normal;
  font-size: clamp(1rem, 1.2vw, 1.38rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv-screen-logo-row small {
  color: #03a9f4;
  font-size: clamp(0.92rem, 1vw, 1.08rem);
  font-weight: 800;
}

.rv-screen-footer-brand p {
  max-width: 440px;
  margin: 24px 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.65;
}

.rv-screen-cert-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rv-screen-cert-row span {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  color: #ffffff;
  border: 1px solid rgba(180, 207, 235, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 700;
}

.rv-screen-cert-row b {
  color: #02a9f7;
  font-size: 0.92rem;
}

.rv-screen-footer-col h3,
.rv-screen-footer-contact b {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-screen-footer-col h3::before,
.rv-screen-footer-contact > b::before {
  content: "";
  width: 34px;
  height: 34px;
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
  border: 2px solid #04a9f4;
  border-radius: 7px;
  background: rgba(4, 169, 244, 0.06);
}

.rv-screen-footer-col a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.9);
  border: 0;
  background: transparent;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
}

.rv-screen-footer-col a::before {
  content: ">";
  color: #04a9f4;
  font-weight: 950;
}

.rv-screen-footer-col a::after {
  content: none;
}

.rv-screen-contact-list {
  display: grid;
  gap: 16px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.rv-screen-contact-list a,
.rv-screen-contact-list strong {
  min-height: 40px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.45;
  text-decoration: none;
  font-weight: 500;
}

.rv-screen-contact-list span {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  color: transparent;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 58%),
    rgba(255, 255, 255, 0.04);
}

.rv-screen-news-social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.72fr);
  gap: 24px;
  padding-top: 28px;
}

.rv-screen-newsletter label {
  display: grid;
  gap: 6px;
}

.rv-screen-newsletter b,
.rv-screen-social b {
  margin: 0;
  color: #03a9f4;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rv-screen-newsletter small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.35;
}

.rv-screen-newsletter div {
  display: flex;
  margin-top: 14px;
}

.rv-screen-newsletter input {
  min-height: 44px;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: rgba(255, 255, 255, 0.035);
}

.rv-screen-newsletter button {
  min-height: 44px;
  padding: 0 16px;
  color: #ffffff;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: #08aaf8;
  font-weight: 900;
}

.rv-screen-social {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.rv-screen-social span {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rv-screen-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
}

.rv-screen-footer-bottom {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(300px, 1.12fr) minmax(600px, 1.75fr) minmax(310px, 0.9fr);
  align-items: center;
  gap: 34px;
  width: min(100% - 116px, 1680px);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.rv-screen-footer-bottom p {
  margin: 0;
  color: #ffffff;
  font-size: 0.92rem;
}

.rv-screen-footer-bottom p a {
  color: #04a9f4;
  font-weight: 800;
  text-decoration: none;
}

.rv-screen-footer-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.rv-screen-footer-badges span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.92);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.35;
}

.rv-screen-support {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  padding-left: 24px;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  text-decoration: none;
}

.rv-screen-support b {
  color: #04a9f4;
  font-size: 0.96rem;
  font-weight: 800;
}

.rv-screen-support small {
  color: rgba(255, 255, 255, 0.9);
}

.rv-screen-support strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #04a9f4;
  font-size: 0.98rem;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .rv-screen-footer-main,
  .rv-screen-footer-bottom {
    width: min(100% - 40px, 1680px);
  }

  .rv-screen-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-screen-footer-main > * {
    padding-left: 0;
    border-left: 0;
  }

  .rv-screen-footer-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rv-screen-footer-main {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .rv-screen-logo-row {
    align-items: flex-start;
  }

  .rv-screen-logo-row img {
    width: 96px;
    height: 86px;
  }

  .rv-screen-logo-row strong {
    white-space: normal;
    font-size: 1.35rem;
  }

  .rv-screen-cert-row,
  .rv-screen-news-social,
  .rv-screen-footer-badges {
    grid-template-columns: 1fr;
  }

  .rv-screen-social {
    padding-left: 0;
    border-left: 0;
  }
}

/* Final footer spacing correction to match approved screenshot */
.footer.rv-screen-footer .rv-screen-footer-main {
  width: min(100% - 72px, 1600px);
  grid-template-columns: minmax(300px, 1.42fr) minmax(145px, 0.78fr) minmax(135px, 0.68fr) minmax(135px, 0.68fr) minmax(310px, 1.3fr);
  gap: 0;
  padding: 26px 0 22px;
}

.footer.rv-screen-footer .rv-screen-footer-main > * + * {
  padding-left: clamp(18px, 1.8vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.footer.rv-screen-footer .rv-screen-logo-row {
  gap: 14px;
}

.footer.rv-screen-footer .rv-screen-logo-row img {
  width: 86px;
  height: 68px;
}

.footer.rv-screen-footer .rv-screen-logo-row strong {
  font-size: clamp(1.1rem, 1.2vw, 1.42rem);
}

.footer.rv-screen-footer .rv-screen-logo-row em {
  font-size: clamp(0.7rem, 0.78vw, 0.88rem);
  letter-spacing: 0.04em;
}

.footer.rv-screen-footer .rv-screen-logo-row small {
  font-size: 0.72rem;
}

.footer.rv-screen-footer .rv-screen-footer-brand p {
  max-width: 350px;
  margin: 10px 0 12px;
  font-size: 0.74rem;
  line-height: 1.34;
}

.footer.rv-screen-footer .rv-screen-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  max-width: 330px;
}

.footer.rv-screen-footer .rv-screen-cert-row span {
  min-height: auto;
  justify-content: flex-start;
  gap: 4px;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.64rem;
  line-height: 1.1;
  white-space: nowrap;
}

.footer.rv-screen-footer .rv-screen-cert-row b {
  flex: 0 0 auto;
  color: #05aef5;
  font-size: 0.66rem;
}

.footer.rv-screen-footer .rv-screen-visitor-total {
  --visitor-font-size: 0.7rem;
  --visitor-offset-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--visitor-offset-top);
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--visitor-font-size);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  letter-spacing: 0;
}

.footer.rv-screen-footer .rv-screen-visitor-total span {
  color: rgba(255, 255, 255, 0.76);
}

.footer.rv-screen-footer .rv-screen-visitor-total strong {
  min-width: 20px;
  color: #05aef5;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.civil-infra-page {
  overflow: hidden;
  background: #f7fbff;
  color: #061b3c;
}

.civil-infra-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  min-height: 560px;
  border-bottom: 1px solid rgba(6, 27, 60, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 41%, rgba(255, 255, 255, 0.12) 68%),
    repeating-linear-gradient(0deg, rgba(6, 27, 60, 0.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(6, 27, 60, 0.035) 0 1px, transparent 1px 34px);
}

.civil-infra-hero-copy {
  display: grid;
  align-content: center;
  max-width: 650px;
  padding: clamp(44px, 7vw, 92px) clamp(24px, 5vw, 72px);
}

.civil-infra-hero-copy h1 {
  margin: 0;
  color: #05295b;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.civil-infra-hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 0;
  color: #334155;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.civil-infra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.civil-infra-hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

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

.civil-infra-site-card {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 48px);
  display: grid;
  gap: 6px;
  width: min(280px, calc(100% - 36px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(5, 41, 91, 0.9);
  color: #ffffff;
  box-shadow: 0 22px 42px rgba(5, 41, 91, 0.28);
}

.civil-infra-site-card span {
  color: #5bd7ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.civil-infra-site-card strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.civil-infra-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ffffff;
  border-bottom: 1px solid rgba(6, 27, 60, 0.1);
}

.civil-infra-services a {
  display: grid;
  align-content: start;
  min-height: 210px;
  padding: clamp(24px, 3vw, 42px);
  color: #0f172a;
  text-decoration: none;
  border-right: 1px solid rgba(6, 27, 60, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.civil-infra-services a:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
}

.civil-infra-services span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(5, 174, 245, 0.34);
  border-radius: 8px;
  color: #05aef5;
  font-weight: 900;
}

.civil-infra-services h2 {
  margin: 0 0 10px;
  color: #05295b;
  font-size: 1.14rem;
  letter-spacing: 0;
}

.civil-infra-services p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.62;
}

.civil-infra-process {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(46px, 7vw, 86px) clamp(24px, 5vw, 72px);
  background: linear-gradient(90deg, #eef8ff 0%, #ffffff 42%, #ffffff 100%);
}

.civil-infra-section-copy h2 {
  max-width: 410px;
  margin: 0;
  color: #05295b;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.civil-infra-section-copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 18px 0 0;
  color: #475569;
  line-height: 1.65;
}

.civil-infra-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 14px;
}

.civil-infra-steps article {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(6, 27, 60, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.civil-infra-steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #05295b;
  color: #5bd7ff;
  font-size: 0.78rem;
}

.civil-infra-steps h3 {
  margin: 0 0 8px;
  color: #05295b;
  font-size: 0.95rem;
  line-height: 1.2;
}

.civil-infra-steps p {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
}

.civil-infra-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0 clamp(24px, 5vw, 72px);
  background-color: #05295b;
}

.civil-infra-stats article {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 26px 14px;
  color: #ffffff;
  text-align: center;
}

.civil-infra-stats strong {
  color: #21c7ff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.civil-infra-stats span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.civil-infra-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(38px, 6vw, 68px) clamp(24px, 5vw, 72px);
  background: #ffffff;
}

.civil-infra-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #05295b;
  font-size: clamp(1.9rem, 3.8vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  .civil-infra-hero,
  .civil-infra-process {
    grid-template-columns: 1fr;
  }

  .civil-infra-hero-media {
    min-height: 420px;
  }

  .civil-infra-services,
  .civil-infra-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .civil-infra-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .civil-infra-hero {
    min-height: auto;
  }

  .civil-infra-hero-copy {
    padding-top: 38px;
  }

  .civil-infra-hero-media {
    min-height: 300px;
  }

  .civil-infra-actions,
  .civil-infra-actions .btn,
  .civil-infra-cta,
  .civil-infra-cta .btn {
    width: 100%;
  }

  .civil-infra-actions .btn,
  .civil-infra-cta .btn {
    justify-content: center;
  }

  .civil-infra-services,
  .civil-infra-stats,
  .civil-infra-steps {
    grid-template-columns: 1fr;
  }

  .civil-infra-services a {
    min-height: auto;
  }

  .civil-infra-cta {
    display: grid;
  }
}

@media (max-width: 1100px) {
  .main-module-card-row,
  .submodule-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .module-dashboard-head {
    display: grid;
  }

  .main-module-card-row,
  .submodule-card-grid {
    grid-template-columns: 1fr;
  }
}

.civil-infra-body .public-premium-header {
  position: relative;
  z-index: 20;
  background: #042348;
  box-shadow: 0 16px 36px rgba(4, 35, 72, 0.18);
}

.civil-infra-body .header-topbar {
  display: none;
}

.civil-infra-body .public-premium-nav {
  min-height: 68px;
  padding: 0 clamp(18px, 3vw, 42px);
  background: linear-gradient(90deg, #05295b 0%, #032041 100%);
  border: 0;
}

.civil-infra-body .public-premium-brand {
  gap: 12px;
  color: #ffffff;
}

.civil-infra-body .public-premium-brand .brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.civil-infra-body .public-premium-brand .brand-stack strong {
  color: #ffffff;
  font-size: clamp(0.92rem, 1.35vw, 1.28rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.civil-infra-body .public-premium-brand .brand-stack small {
  color: #d7a642;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.civil-infra-body .nav-links > li > a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.civil-infra-body .nav-links > li > a:hover,
.civil-infra-body .nav-links > li > a[aria-current="page"] {
  color: #5bd7ff;
}

.civil-infra-body .premium-login-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: linear-gradient(135deg, #c59337, #a6711e);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
}

.civil-infra-body .login-user-icon {
  display: none;
}

.civil-infra-body .civil-infra-hero {
  min-height: 560px;
  grid-template-columns: minmax(470px, 0.9fr) minmax(560px, 1.1fr);
  margin-top: 0;
}

.civil-infra-body .civil-infra-hero-copy {
  padding-left: clamp(32px, 4.6vw, 76px);
}

.civil-infra-body .civil-infra-hero-copy .eyebrow {
  color: #05aef5;
  font-size: 0.82rem;
}

.civil-infra-body .civil-infra-hero-copy h1 {
  max-width: 780px;
  color: #04285a;
  font-size: clamp(3.4rem, 5.8vw, 5.75rem);
  line-height: 1;
}

.civil-infra-body .civil-infra-hero-copy h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin-top: 16px;
  background: #bd8c2d;
}

.civil-infra-subtitle {
  margin: 12px 0 0;
  color: #05aef5;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.civil-infra-body .civil-infra-hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  font-size: 1.08rem;
}

.civil-infra-body .civil-infra-hero-media {
  min-height: 560px;
}

.civil-infra-body .civil-infra-services {
  box-shadow: 0 -18px 36px rgba(15, 23, 42, 0.07);
}

.civil-infra-body .civil-infra-services a {
  min-height: 190px;
}

.civil-infra-body .civil-infra-process {
  padding-top: 54px;
  padding-bottom: 54px;
}

@media (max-width: 1100px) {
  .civil-infra-body .civil-infra-hero,
  .civil-infra-body .civil-infra-hero-media {
    min-height: auto;
  }

  .civil-infra-body .civil-infra-hero {
    grid-template-columns: 1fr;
  }

  .civil-infra-body .nav-panel {
    background: #05295b;
  }
}

@media (max-width: 640px) {
  .civil-infra-body .public-premium-brand .brand-logo {
    width: 50px;
    height: 50px;
  }

  .civil-infra-body .public-premium-brand .brand-stack strong {
    font-size: 0.9rem;
  }

  .civil-infra-body .public-premium-brand .brand-stack small {
    font-size: 0.5rem;
  }

  .civil-infra-body .civil-infra-hero-copy h1 {
    font-size: 3rem;
  }
}

.footer.rv-screen-footer .rv-screen-footer-col h3,
.footer.rv-screen-footer .rv-screen-footer-contact b {
  margin-bottom: 9px;
  font-size: 0.8rem;
  text-align: center;
}

.footer.rv-screen-footer .rv-screen-footer-col h3::before,
.footer.rv-screen-footer .rv-screen-footer-contact > b::before {
  width: 28px;
  height: 28px;
  margin-right: 9px;
}

.footer.rv-screen-footer nav[aria-label="Footer solutions"] h3::before,
.footer.rv-screen-footer nav[aria-label="Footer company links"] h3::before,
.footer.rv-screen-footer nav[aria-label="Website policy links"] h3::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  border: 0;
  border-radius: 0;
  background-color: #05aef5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.footer.rv-screen-footer nav[aria-label="Footer solutions"] h3::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3Cpath d='M8 8h8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3Cpath d='M8 8h8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer nav[aria-label="Footer company links"] h3::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer nav[aria-label="Website policy links"] h3::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-footer-col a {
  min-height: 24px;
  justify-content: center;
  gap: 0;
  font-size: 0.7rem;
  line-height: 1.18;
  text-align: center;
}

.footer.rv-screen-footer .rv-screen-footer-col a::before {
  content: none;
}

.footer.rv-screen-footer .rv-screen-contact-list {
  gap: 7px;
  padding-bottom: 13px;
}

.footer.rv-screen-footer .rv-screen-contact-list a,
.footer.rv-screen-footer .rv-screen-contact-list strong {
  min-height: 26px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 7px;
  font-size: 0.72rem;
  line-height: 1.24;
}

.footer.rv-screen-footer .rv-screen-contact-list span {
  width: 24px;
  height: 24px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.footer.rv-screen-footer .rv-screen-contact-list span::before {
  content: "";
  width: 15px;
  height: 15px;
  display: block;
  background: #05aef5;
}

.footer.rv-screen-footer .rv-screen-contact-list a:nth-child(1) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.65 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.3 1.85.52 2.81.65A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.65 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.3 1.85.52 2.81.65A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-contact-list a:nth-child(2) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-contact-list strong span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-news-social {
  gap: 10px;
  padding-top: 12px;
}

.footer.rv-screen-footer .rv-screen-social {
  gap: 10px;
  padding-left: 14px;
}

.footer.rv-screen-footer .rv-screen-social a {
  width: 30px;
  height: 30px;
  font-size: 0.65rem;
}

.footer.rv-screen-footer .rv-screen-newsletter b,
.footer.rv-screen-footer .rv-screen-social b {
  font-size: 0.72rem;
}

.footer.rv-screen-footer .rv-screen-newsletter small {
  font-size: 0.64rem;
  line-height: 1.2;
}

.footer.rv-screen-footer .rv-screen-newsletter input,
.footer.rv-screen-footer .rv-screen-newsletter button {
  min-height: 24px;
  font-size: 0.58rem;
}

.footer.rv-screen-footer .rv-screen-newsletter input {
  max-width: 108px;
  padding: 0 8px;
}

.footer.rv-screen-footer .rv-screen-newsletter button {
  padding: 0 10px;
}

.footer.rv-screen-footer .rv-screen-footer-bottom {
  width: min(100% - 72px, 1600px);
  min-height: 62px;
  grid-template-columns: minmax(280px, 1fr) minmax(470px, 1.62fr) minmax(260px, 0.9fr);
  gap: 14px;
  padding: 8px 0;
}

.footer.rv-screen-footer .rv-screen-footer-badges span,
.footer.rv-screen-footer .rv-screen-support {
  min-height: 34px;
}

.footer.rv-screen-footer .rv-screen-footer-badges span {
  padding: 0 12px;
  font-size: 0.66rem;
  gap: 7px;
  line-height: 1.16;
}

.footer.rv-screen-footer .rv-screen-footer-badges span::before,
.footer.rv-screen-footer .rv-screen-support::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: #05aef5;
}

.footer.rv-screen-footer .rv-screen-footer-badges span:nth-child(1)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-footer-badges span:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-footer-badges span:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='m17 11 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='m17 11 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-footer-badges span:nth-child(4)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3Cpath d='M14 9h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3Cpath d='M14 9h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-footer-bottom p {
  font-size: 0.68rem;
  line-height: 1.2;
}

.footer.rv-screen-footer .rv-screen-support {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px 8px;
  padding-left: 14px;
  align-items: center;
}

.footer.rv-screen-footer .rv-screen-support::before {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 20px;
  height: 20px;
  align-self: center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H3v7Z'/%3E%3Cpath d='M21 14h-3a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3v7Z'/%3E%3Cpath d='M3 9a9 9 0 0 1 18 0'/%3E%3Cpath d='M21 14v2a4 4 0 0 1-4 4h-5'/%3E%3Cpath d='M12 20h-2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H3v7Z'/%3E%3Cpath d='M21 14h-3a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3v7Z'/%3E%3Cpath d='M3 9a9 9 0 0 1 18 0'/%3E%3Cpath d='M21 14v2a4 4 0 0 1-4 4h-5'/%3E%3Cpath d='M12 20h-2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer.rv-screen-footer .rv-screen-support b,
.footer.rv-screen-footer .rv-screen-support small {
  grid-column: 2;
  line-height: 1.2;
}

.footer.rv-screen-footer .rv-screen-support b,
.footer.rv-screen-footer .rv-screen-support strong {
  font-size: 0.68rem;
}

.footer.rv-screen-footer .rv-screen-support small {
  font-size: 0.6rem;
}

.footer.rv-screen-footer .rv-screen-support strong {
  grid-row: 1 / span 2;
  grid-column: 3;
  align-self: center;
  font-size: 0.7rem;
}

@media (max-width: 1100px) {
  .footer.rv-screen-footer .rv-screen-footer-main,
  .footer.rv-screen-footer .rv-screen-footer-bottom {
    width: min(100% - 36px, 1660px);
  }

  .footer.rv-screen-footer .rv-screen-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .footer.rv-screen-footer .rv-screen-footer-main > * {
    padding-left: 0;
    border-left: 0;
  }

  .footer.rv-screen-footer .rv-screen-footer-bottom {
    grid-template-columns: 1fr;
  }
}

/* Final About page polish: compact typography, better image balance, restored icons */
.about-showcase-hero {
  min-height: 500px;
  grid-template-columns: minmax(390px, 0.9fr) minmax(520px, 1.1fr);
}

.about-showcase-copy {
  padding: clamp(28px, 4vw, 58px) clamp(26px, 3.4vw, 58px);
}

.about-showcase-copy h1 {
  max-width: 560px;
  font-size: clamp(1.85rem, 3.05vw, 3.2rem);
  line-height: 1.04;
}

.about-showcase-copy h2 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(1.05rem, 1.65vw, 1.55rem);
  line-height: 1.24;
}

.about-showcase-copy p:not(.eyebrow) {
  max-width: 520px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-showcase-cards {
  gap: 12px;
  max-width: 520px;
  margin-top: 18px;
}

.about-showcase-cards article {
  min-height: 78px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 6px 12px;
  padding: 14px 16px;
}

.about-showcase-cards article::before,
.about-showcase-stats article::before,
.about-values-row article::before,
.about-journey li::before,
.about-showcase-service-grid h3::before {
  content: "";
  display: block;
  background: #075ed8;
}

.about-showcase-cards article::before {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
}

.about-showcase-cards article:first-child::before,
.about-showcase-service-grid article:first-child h3::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3Cpath d='M8 8h8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3Cpath d='M8 8h8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-showcase-cards article:nth-child(2)::before,
.about-showcase-service-grid article:nth-child(2) h3::before {
  background: #f08a00;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M6 21V8l6-4 6 4v13'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3Cpath d='M9 10h.01'/%3E%3Cpath d='M15 10h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M6 21V8l6-4 6 4v13'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3Cpath d='M9 10h.01'/%3E%3Cpath d='M15 10h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-showcase-cards b,
.about-showcase-cards small {
  grid-column: 2;
}

.about-showcase-cards b {
  font-size: 0.82rem;
}

.about-showcase-cards small {
  font-size: 0.64rem;
  line-height: 1.34;
}

.about-visual-split {
  min-height: 500px;
}

.about-visual img {
  object-position: center;
}

.about-visual span {
  top: 32px;
  right: 30px;
  min-height: 32px;
  padding: 0 14px;
  font-size: 0.74rem;
}

.about-visual-badge {
  width: 132px;
  height: 132px;
  border-width: 8px;
  font-size: 2.4rem;
}

.about-showcase-stats {
  width: min(100% - 96px, 1540px);
  margin-top: -32px;
  border-radius: 8px;
}

.about-showcase-stats article {
  min-height: 78px;
  gap: 2px;
  justify-items: center;
  padding: 12px 16px;
}

.about-showcase-stats article::before {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
  background: #f5a51a;
}

.about-showcase-stats article:nth-child(1)::before,
.about-showcase-stats article:nth-child(4)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-showcase-stats article:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M12 12v.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M12 12v.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-showcase-stats article:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-showcase-stats article:nth-child(5)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-showcase-stats strong {
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}

.about-showcase-stats span {
  font-size: 0.68rem;
}

.about-showcase-services,
.about-showcase-values,
.about-showcase-team {
  width: min(100% - 100px, 1540px);
  padding: clamp(30px, 4.8vw, 54px) 0;
}

.about-showcase-heading {
  margin-bottom: 18px;
}

.about-showcase-heading h2 {
  font-size: clamp(1.34rem, 2.15vw, 2rem);
}

.about-showcase-heading p:not(.eyebrow) {
  font-size: 0.82rem;
}

.about-showcase-service-grid article {
  min-height: 250px;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  border-radius: 8px;
}

.about-showcase-service-grid img {
  aspect-ratio: 1.15 / 1;
  object-position: center;
}

.about-showcase-service-grid h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  font-size: 1rem;
}

.about-showcase-service-grid h3::before {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.about-showcase-service-grid p {
  margin-bottom: 9px;
  font-size: 0.76rem;
}

.about-showcase-service-grid ul {
  gap: 6px;
}

.about-showcase-service-grid li {
  padding-left: 20px;
  font-size: 0.76rem;
  line-height: 1.28;
}

.about-showcase-service-grid li::before {
  top: 0.2em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(#ffffff, #ffffff) center / 45% 2px no-repeat,
    linear-gradient(90deg, transparent 42%, #ffffff 42% 58%, transparent 58%) center / 45% 45% no-repeat,
    #075ed8;
}

.about-showcase-service-grid article:nth-child(2) li::before {
  background:
    linear-gradient(#ffffff, #ffffff) center / 45% 2px no-repeat,
    linear-gradient(90deg, transparent 42%, #ffffff 42% 58%, transparent 58%) center / 45% 45% no-repeat,
    #f08a00;
}

.about-values-row {
  margin-top: 14px;
}

.about-values-row article {
  min-height: 118px;
  justify-items: center;
  gap: 6px;
  padding: 18px 18px;
  text-align: center;
}

.about-values-row article::before {
  width: 28px;
  height: 28px;
  background: #061b36;
}

.about-values-row article:nth-child(1)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 1 1 8 8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='m8 17 4 4 4-4'/%3E%3Cpath d='M12 3v5l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 1 1 8 8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='m8 17 4 4 4-4'/%3E%3Cpath d='M12 3v5l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-values-row article:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-values-row article:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 8l10 5 10-5-10-5Z'/%3E%3Cpath d='m2 17 10 5 10-5'/%3E%3Cpath d='m2 12 10 5 10-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 8l10 5 10-5-10-5Z'/%3E%3Cpath d='m2 17 10 5 10-5'/%3E%3Cpath d='m2 12 10 5 10-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-values-row article:nth-child(4)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3h5v5'/%3E%3Cpath d='M8 21H3v-5'/%3E%3Cpath d='M21 3 14 10'/%3E%3Cpath d='M3 21l7-7'/%3E%3Cpath d='M14 3h2'/%3E%3Cpath d='M8 21h2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3h5v5'/%3E%3Cpath d='M8 21H3v-5'/%3E%3Cpath d='M21 3 14 10'/%3E%3Cpath d='M3 21l7-7'/%3E%3Cpath d='M14 3h2'/%3E%3Cpath d='M8 21h2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-values-row article:nth-child(5)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13c0-5 7-10 16-10 0 9-5 16-10 16Z'/%3E%3Cpath d='M4 21c4-5 8-8 16-8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13c0-5 7-10 16-10 0 9-5 16-10 16Z'/%3E%3Cpath d='M4 21c4-5 8-8 16-8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-values-row b {
  font-size: 0.86rem;
}

.about-values-row span {
  font-size: 0.68rem;
  line-height: 1.34;
}

.about-journey {
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(22px, 4vw, 56px);
  padding-block: clamp(22px, 3.2vw, 38px);
}

.about-journey h2 {
  margin: 5px 0 7px;
  max-width: 360px;
  font-size: clamp(1.12rem, 1.75vw, 1.65rem);
}

.about-journey p:not(.eyebrow) {
  max-width: 340px;
  font-size: 0.74rem;
  line-height: 1.36;
}

.about-journey ol {
  position: relative;
  align-items: stretch;
  gap: 0;
  padding-top: 8px;
}

.about-journey ol::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 10%;
  right: 10%;
  height: 1px;
  border-top: 1px dashed rgba(245, 165, 26, 0.72);
}

.about-journey li {
  position: relative;
  z-index: 1;
  align-content: start;
  justify-items: center;
  gap: 5px;
  padding: 0 10px;
}

.about-journey li::before {
  width: 42px;
  height: 42px;
  margin-bottom: 3px;
  border: 2px solid #f08a00;
  border-radius: 50%;
  background-color: #f5a51a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  box-shadow: 0 0 0 8px rgba(5, 34, 67, 0.95);
}

.about-journey li:nth-child(1)::before {
  -webkit-mask: none;
  mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23061b36' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a2 2 0 0 1 2-2h10l4 4v14'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h5'/%3E%3C/svg%3E");
}

.about-journey li:nth-child(2)::before {
  -webkit-mask: none;
  mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23061b36' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3C/svg%3E");
}

.about-journey li:nth-child(3)::before {
  -webkit-mask: none;
  mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23061b36' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M6 21V8l6-4 6 4v13'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
}

.about-journey li:nth-child(4)::before {
  -webkit-mask: none;
  mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23061b36' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.about-journey li:nth-child(5)::before {
  -webkit-mask: none;
  mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23061b36' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 4-2 4s2.74-.5 4-2L19 6a2.12 2.12 0 0 0-3-3Z'/%3E%3Cpath d='m15 5 4 4'/%3E%3C/svg%3E");
}

.about-journey strong {
  font-size: 0.82rem;
  line-height: 1;
}

.about-journey span {
  max-width: 116px;
  font-size: 0.6rem;
  line-height: 1.22;
}

.about-journey .btn {
  min-height: 34px;
  padding: 0 16px;
  font-size: 0.7rem;
}

.about-team-grid {
  gap: 22px;
  width: min(90%, 1320px);
}

.about-team-grid article {
  min-height: 230px;
  padding: 18px;
  border-radius: 8px;
}

.about-team-grid img {
  width: 128px;
  height: 128px;
  margin-bottom: 10px;
}

.about-team-grid h3 {
  font-size: 0.9rem;
}

.about-team-grid p {
  font-size: 0.72rem;
}

@media (max-width: 1180px) {
  .about-showcase-hero {
    grid-template-columns: 1fr;
  }

  .about-visual-split {
    min-height: 420px;
  }
}

/* Final footer column arrangement */
.footer.rv-screen-footer .rv-screen-footer-main {
  width: min(100% - 76px, 1520px);
  grid-template-columns: minmax(280px, 1.25fr) minmax(140px, 0.72fr) minmax(130px, 0.62fr) minmax(140px, 0.66fr) minmax(330px, 1.22fr);
  align-items: start;
  column-gap: 0;
  padding: 28px 0 24px;
}

.footer.rv-screen-footer .rv-screen-footer-main > * + * {
  min-height: 100%;
  padding-left: clamp(20px, 2vw, 34px);
}

.footer.rv-screen-footer .rv-screen-footer-brand {
  max-width: 360px;
}

.footer.rv-screen-footer .rv-screen-logo-row {
  align-items: center;
}

.footer.rv-screen-footer .rv-screen-footer-col {
  display: grid;
  justify-items: center;
  align-content: start;
}

.footer.rv-screen-footer .rv-screen-footer-col h3,
.footer.rv-screen-footer .rv-screen-footer-contact > b {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  line-height: 1;
}

.footer.rv-screen-footer .rv-screen-footer-col h3::before,
.footer.rv-screen-footer .rv-screen-footer-contact > b::before {
  margin-right: 0;
}

.footer.rv-screen-footer .rv-screen-footer-col a {
  width: 100%;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  line-height: 1.22;
  text-align: center;
  white-space: normal;
}

.footer.rv-screen-footer .rv-screen-footer-contact {
  display: grid;
  align-content: start;
}

.footer.rv-screen-footer .rv-screen-contact-list {
  justify-items: stretch;
  gap: 8px;
}

.footer.rv-screen-footer .rv-screen-contact-list a,
.footer.rv-screen-footer .rv-screen-contact-list strong {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: auto;
  text-align: left;
}

.footer.rv-screen-footer .rv-screen-contact-list span {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.footer.rv-screen-footer .rv-screen-news-social {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.footer.rv-screen-footer .rv-screen-newsletter label {
  justify-items: start;
  text-align: left;
}

.footer.rv-screen-footer .rv-screen-social {
  justify-items: center;
  padding-left: 12px;
}

.footer.rv-screen-footer .rv-screen-footer-bottom {
  width: min(100% - 76px, 1520px);
}

@media (max-width: 1180px) {
  .footer.rv-screen-footer .rv-screen-footer-main {
    width: min(100% - 36px, 1520px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .footer.rv-screen-footer .rv-screen-footer-main > * {
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .footer.rv-screen-footer .rv-screen-footer-brand {
    max-width: none;
  }
}

/* Networking service page redesign */
.networking-redesign {
  color: #08213d;
  background: #f5f9fd;
}

.networking-hero {
  width: min(100% - 72px, 1500px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 74px) 0 clamp(28px, 4vw, 54px);
}

.networking-hero-copy h1 {
  max-width: 680px;
  margin: 8px 0 14px;
  color: #061b36;
  font-size: clamp(2rem, 3.7vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 950;
}

.networking-hero-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: #405b75;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  line-height: 1.58;
}

.networking-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.networking-hero-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #c8d8eb;
  border-radius: 8px;
  background: #061b36;
  box-shadow: 0 22px 54px rgba(8, 33, 61, 0.16);
}

.networking-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 21, 44, 0.08), rgba(4, 21, 44, 0.42));
}

.networking-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.networking-hero-panel {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  width: min(320px, calc(100% - 44px));
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(3, 19, 39, 0.82);
  backdrop-filter: blur(10px);
}

.networking-hero-panel strong {
  color: #55dff8;
  font-size: 2.15rem;
  line-height: 1;
}

.networking-hero-panel span {
  font-size: 0.82rem;
  line-height: 1.4;
}

.networking-services,
.networking-proof,
.networking-cta {
  width: min(100% - 72px, 1500px);
  margin: 0 auto;
}

.networking-services {
  padding: 36px 0 54px;
}

.networking-section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.networking-section-heading h2,
.networking-proof h2,
.networking-cta h2 {
  margin: 4px 0 8px;
  color: #061b36;
  font-size: clamp(1.45rem, 2.3vw, 2.45rem);
  line-height: 1.12;
}

.networking-section-heading p:not(.eyebrow) {
  margin: 0;
  color: #4a637c;
  font-size: 0.9rem;
  line-height: 1.5;
}

.networking-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.networking-card-grid article {
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: center;
  gap: 7px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid #ccdaea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(8, 33, 61, 0.08);
}

.networking-card-grid span {
  grid-row: auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(135deg, #075ed8, #0fb5eb);
  font-size: 0;
  font-weight: 950;
}

.networking-card-grid span::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: #ffffff;
}

.networking-card-grid article:nth-child(1) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3Cpath d='M8 8h8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3Cpath d='M8 8h8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.networking-card-grid article:nth-child(2) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13a10 10 0 0 1 14 0'/%3E%3Cpath d='M8.5 16.5a5 5 0 0 1 7 0'/%3E%3Cpath d='M12 20h.01'/%3E%3Cpath d='M2 9a15 15 0 0 1 20 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13a10 10 0 0 1 14 0'/%3E%3Cpath d='M8.5 16.5a5 5 0 0 1 7 0'/%3E%3Cpath d='M12 20h.01'/%3E%3Cpath d='M2 9a15 15 0 0 1 20 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.networking-card-grid article:nth-child(3) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v6'/%3E%3Cpath d='M8 19h8'/%3E%3Cpath d='M12 15v4'/%3E%3Cpath d='M7 9h10'/%3E%3Cpath d='M7 13h10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v6'/%3E%3Cpath d='M8 19h8'/%3E%3Cpath d='M12 15v4'/%3E%3Cpath d='M7 9h10'/%3E%3Cpath d='M7 13h10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.networking-card-grid article:nth-child(4) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.networking-card-grid article:nth-child(5) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 14h2'/%3E%3Cpath d='M11 10h2'/%3E%3Cpath d='M15 6h2'/%3E%3Cpath d='m7 14 4-4 4 4 4-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 14h2'/%3E%3Cpath d='M11 10h2'/%3E%3Cpath d='M15 6h2'/%3E%3Cpath d='m7 14 4-4 4 4 4-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.networking-card-grid article:nth-child(6) span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H3v7Z'/%3E%3Cpath d='M21 14h-3a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3v7Z'/%3E%3Cpath d='M3 9a9 9 0 0 1 18 0'/%3E%3Cpath d='M21 14v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H3v7Z'/%3E%3Cpath d='M21 14h-3a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3v7Z'/%3E%3Cpath d='M3 9a9 9 0 0 1 18 0'/%3E%3Cpath d='M21 14v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.networking-card-grid h3 {
  margin: 0;
  color: #061b36;
  font-size: 0.74rem;
  line-height: 1.12;
}

.networking-card-grid p {
  margin: 0;
  color: #50657c;
  font-size: 0.6rem;
  line-height: 1.22;
}

.networking-proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  color: #ffffff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 20, 43, 0.96), rgba(6, 64, 110, 0.94)),
    url("images/home-slider-datacenter.jpg") center / cover;
}

.networking-proof h2 {
  color: #ffffff;
}

.networking-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.networking-proof-grid article {
  min-height: 116px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.networking-proof-grid strong {
  color: #55dff8;
  font-size: 1.1rem;
}

.networking-proof-grid span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  line-height: 1.42;
}

.networking-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 42px;
  margin-bottom: 56px;
  padding: 24px 28px;
  border: 1px solid #bed5ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(8, 33, 61, 0.08);
}

.networking-cta h2 {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .networking-hero,
  .networking-proof {
    grid-template-columns: 1fr;
  }

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

  .networking-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .networking-hero,
  .networking-services,
  .networking-proof,
  .networking-cta {
    width: min(100% - 24px, 1500px);
  }

  .networking-card-grid,
  .networking-proof-grid {
    grid-template-columns: 1fr;
  }

  .networking-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Networking detail pages */
.networking-card-link {
  color: inherit;
  text-decoration: none;
}

.networking-card-link article {
  height: 100%;
}

.networking-detail-page {
  color: #08213d;
  background: #f5f9fd;
}

.networking-detail-hero,
.networking-detail-content,
.networking-detail-process {
  width: min(100% - 72px, 1500px);
  margin: 0 auto;
}

.networking-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px) 0 42px;
}

.networking-detail-hero h1 {
  max-width: 620px;
  margin: 8px 0 12px;
  color: #061b36;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 1.03;
  font-weight: 950;
}

.networking-detail-hero p:not(.eyebrow) {
  max-width: 580px;
  margin: 0;
  color: #405b75;
  font-size: 0.96rem;
  line-height: 1.58;
}

.networking-detail-hero img {
  width: 100%;
  min-height: 390px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #c8d8eb;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(8, 33, 61, 0.16);
}

.networking-detail-content {
  padding: 28px 0 38px;
}

.networking-detail-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.networking-detail-heading h2,
.networking-detail-process h2 {
  margin: 4px 0 8px;
  color: #061b36;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.12;
}

.networking-detail-heading p:not(.eyebrow) {
  margin: 0;
  color: #4a637c;
  font-size: 0.86rem;
  line-height: 1.48;
}

.networking-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.networking-detail-grid article {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid #ccdaea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(8, 33, 61, 0.07);
}

.networking-detail-grid strong {
  color: #0ba9e8;
  font-size: 0.8rem;
}

.networking-detail-grid span {
  color: #253f5b;
  font-size: 0.86rem;
  line-height: 1.42;
  font-weight: 750;
}

.networking-detail-process {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 56px;
  padding: 26px 30px;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(135deg, #061b36, #075082);
}

.networking-detail-process h2 {
  color: #ffffff;
}

.networking-detail-process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.networking-detail-process li {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.34;
  font-weight: 800;
}

@media (max-width: 980px) {
  .networking-detail-hero,
  .networking-detail-process {
    grid-template-columns: 1fr;
  }

  .networking-detail-grid,
  .networking-detail-process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .networking-detail-hero,
  .networking-detail-content,
  .networking-detail-process {
    width: min(100% - 24px, 1500px);
  }

  .networking-detail-grid,
  .networking-detail-process ol {
    grid-template-columns: 1fr;
  }
}

/* About hero company image replacement */
.about-showcase-hero .about-company-image {
  min-height: 500px;
  display: block;
  overflow: hidden;
  background: #eaf4ff;
}

.about-showcase-hero .about-company-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .about-showcase-hero .about-company-image,
  .about-showcase-hero .about-company-image img {
    min-height: 390px;
  }
}

/* Compact navbar dropdown submodule text */
body:not([data-protected]) .public-premium-header .dropdown-menu {
  min-width: 198px;
  gap: 4px;
  padding: 8px;
}

body:not([data-protected]) .public-premium-header .dropdown-menu a {
  min-height: 31px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body:not([data-protected]) .public-premium-header .dropdown-menu {
    padding: 8px;
    margin-left: 6px;
  }

  body:not([data-protected]) .public-premium-header .dropdown-menu a {
    min-height: 34px;
    font-size: 0.76rem;
  }
}

/* Why Choose Us showcase redesign */
.why-showcase-page {
  background: #f5f9ff;
}

.why-showcase {
  position: relative;
  min-height: calc(100vh - 56px);
  overflow: hidden;
  padding: 44px 24px 58px;
  color: #071b3a;
}

.why-showcase-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.08) 0%, rgba(245, 249, 255, 0.78) 24%, rgba(245, 249, 255, 0.96) 50%, rgba(245, 249, 255, 0.78) 76%, rgba(245, 249, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.04) 0%, rgba(245, 249, 255, 0.88) 100%),
    url("images/about-company-hero.png") center / cover no-repeat;
}

.why-showcase-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.why-showcase-heading {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.why-showcase-heading .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 8px;
  color: #075ed8;
  font-size: 0.84rem;
  letter-spacing: 0.24em;
}

.why-showcase-heading .eyebrow::before,
.why-showcase-heading .eyebrow::after {
  content: "";
  width: 52px;
  height: 1px;
  background: rgba(7, 94, 216, 0.42);
}

.why-showcase-heading h1 {
  margin: 0;
  color: #071b3a;
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  line-height: 1.08;
  font-weight: 950;
}

.why-showcase-heading > span {
  width: 42px;
  height: 3px;
  display: block;
  margin: 18px auto 20px;
  border-radius: 999px;
  background: #075ed8;
}

.why-showcase-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: #273347;
  font-size: 0.95rem;
  line-height: 1.62;
  font-weight: 600;
}

.why-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 940px);
  margin: 0 auto;
}

.why-showcase-card {
  min-height: 228px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(156, 184, 222, 0.72);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(9, 37, 76, 0.08);
  text-align: center;
  backdrop-filter: blur(3px);
}

.why-showcase-card i,
.why-showcase-stats i {
  display: grid;
  place-items: center;
  color: #075ed8;
}

.why-showcase-card i {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #eaf2fb;
}

.why-showcase-card i::before,
.why-showcase-stats i::before {
  content: "";
  display: block;
  background: currentColor;
}

.why-showcase-card i::before {
  width: 42px;
  height: 42px;
}

.why-showcase-card h2 {
  position: relative;
  margin: 4px 0 12px;
  color: #071b3a;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 900;
}

.why-showcase-card h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 28px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #075ed8;
}

.why-showcase-card p {
  margin: 0;
  color: #26334a;
  font-size: 0.78rem;
  line-height: 1.5;
}

.why-icon-shield i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-icon-team i::before,
.why-stat-clients i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-icon-quality i::before,
.why-stat-award i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3Cpath d='m9.5 8 1.5 1.5L14.5 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3Cpath d='m9.5 8 1.5 1.5L14.5 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-icon-time i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-icon-idea i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-4 12c.7.6 1 1.3 1 2h6c0-.7.3-1.4 1-2a7 7 0 0 0-4-12Z'/%3E%3Cpath d='M4 6l-1-1'/%3E%3Cpath d='M20 6l1-1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-4 12c.7.6 1 1.3 1 2h6c0-.7.3-1.4 1-2a7 7 0 0 0-4-12Z'/%3E%3Cpath d='M4 6l-1-1'/%3E%3Cpath d='M20 6l1-1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-icon-handshake i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a3 3 0 0 0 4 0l3-3a3 3 0 0 0 0-4l-2-2'/%3E%3Cpath d='m13 7-2-2a3 3 0 0 0-4 0L4 8a3 3 0 0 0 0 4l2 2'/%3E%3Cpath d='m8 12 4-4 4 4-4 4-4-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a3 3 0 0 0 4 0l3-3a3 3 0 0 0 0-4l-2-2'/%3E%3Cpath d='m13 7-2-2a3 3 0 0 0-4 0L4 8a3 3 0 0 0 0 4l2 2'/%3E%3Cpath d='m8 12 4-4 4 4-4 4-4-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-icon-cost i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15h4l3-8 4 10 2-6h3'/%3E%3Cpath d='M12 3v3'/%3E%3Cpath d='M12 18v3'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15h4l3-8 4 10 2-6h3'/%3E%3Cpath d='M12 3v3'/%3E%3Cpath d='M12 18v3'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-icon-safety i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 21h20'/%3E%3Cpath d='M4 21v-3a8 8 0 0 1 16 0v3'/%3E%3Cpath d='M12 3v6'/%3E%3Cpath d='M8 5v5'/%3E%3Cpath d='M16 5v5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 21h20'/%3E%3Cpath d='M4 21v-3a8 8 0 0 1 16 0v3'/%3E%3Cpath d='M12 3v6'/%3E%3Cpath d='M8 5v5'/%3E%3Cpath d='M16 5v5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-showcase-stats {
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 38px auto 0;
  padding: 20px 30px;
  border: 1px solid rgba(156, 184, 222, 0.72);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(9, 37, 76, 0.1);
  backdrop-filter: blur(3px);
}

.why-showcase-stats article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 0 20px;
  border-right: 1px solid rgba(156, 184, 222, 0.72);
}

.why-showcase-stats article:last-child {
  border-right: 0;
}

.why-showcase-stats i::before {
  width: 46px;
  height: 46px;
}

.why-stat-building i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7h6v14'/%3E%3Cpath d='M13 21V3h6v18'/%3E%3Cpath d='M7 10h2'/%3E%3Cpath d='M7 14h2'/%3E%3Cpath d='M15 7h2'/%3E%3Cpath d='M15 11h2'/%3E%3Cpath d='M15 15h2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7h6v14'/%3E%3Cpath d='M13 21V3h6v18'/%3E%3Cpath d='M7 10h2'/%3E%3Cpath d='M7 14h2'/%3E%3Cpath d='M15 7h2'/%3E%3Cpath d='M15 11h2'/%3E%3Cpath d='M15 15h2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-stat-location i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.1 7-11a7 7 0 1 0-14 0c0 5.9 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.1 7-11a7 7 0 1 0-14 0c0 5.9 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-showcase-stats strong {
  display: block;
  color: #075ed8;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
  font-weight: 950;
}

.why-showcase-stats span {
  display: block;
  margin-top: 4px;
  color: #071b3a;
  font-size: 0.76rem;
  font-weight: 650;
}

@media (max-width: 980px) {
  .why-showcase-grid,
  .why-showcase-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-showcase-stats article:nth-child(2) {
    border-right: 0;
  }

  .why-showcase-stats article {
    border-bottom: 1px solid rgba(156, 184, 222, 0.72);
    padding: 14px;
  }

  .why-showcase-stats article:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .why-showcase {
    padding: 34px 14px 42px;
  }

  .why-showcase-grid,
  .why-showcase-stats {
    grid-template-columns: 1fr;
  }

  .why-showcase-stats article,
  .why-showcase-stats article:nth-child(2),
  .why-showcase-stats article:nth-child(n + 3) {
    border-right: 0;
    border-bottom: 1px solid rgba(156, 184, 222, 0.72);
  }

  .why-showcase-stats article:last-child {
    border-bottom: 0;
  }
}

/* Contact Us full showcase page */
.contact-premium-page {
  background: #f7fbff;
}

.contact-hero-showcase {
  position: relative;
  min-height: calc(100vh - 56px);
  overflow: hidden;
  padding: 44px max(34px, calc((100vw - 1500px) / 2)) 34px;
  color: #071b3a;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.94) 37%, rgba(247, 251, 255, 0.42) 62%, rgba(247, 251, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.02) 0%, rgba(247, 251, 255, 0.84) 92%),
    url("images/about-company-hero.png") right center / cover no-repeat;
}

.contact-hero-showcase > *:not(.contact-hero-bg) {
  position: relative;
  z-index: 1;
}

.contact-brand-mark {
  position: absolute;
  top: 44px;
  right: max(42px, calc((100vw - 1500px) / 2));
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 440px;
}

.contact-brand-mark img {
  width: 122px;
  height: 100px;
  object-fit: contain;
}

.contact-brand-mark strong {
  display: block;
  color: #071b3a;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  line-height: 1;
  font-weight: 950;
}

.contact-brand-mark span {
  display: block;
  margin-top: 6px;
  color: #071b3a;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.contact-brand-mark small {
  display: block;
  margin-top: 12px;
  color: #075ed8;
  font-size: 0.95rem;
  font-weight: 750;
}

.contact-hero-copy {
  max-width: 560px;
  padding-top: 4px;
}

.contact-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 18px;
  padding: 0 18px;
  color: #075ed8;
  border: 1px solid rgba(7, 94, 216, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-hero-copy h1 {
  max-width: 540px;
  margin: 0;
  color: #071b3a;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1.12;
  font-weight: 950;
}

.contact-hero-copy h1 span {
  color: #075ed8;
}

.contact-hero-copy h1::after,
.contact-touch-panel h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: #075ed8;
}

.contact-hero-copy > p:not(.contact-pill) {
  max-width: 500px;
  margin: 24px 0 30px;
  color: #1f3351;
  font-size: 1rem;
  line-height: 1.48;
  font-weight: 650;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(280px, 0.5fr) minmax(380px, 0.96fr);
  gap: 32px;
  align-items: end;
}

.contact-message-card {
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(155, 184, 222, 0.62);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(9, 37, 76, 0.09);
  backdrop-filter: blur(4px);
}

.contact-message-card h2,
.contact-touch-panel h2,
.contact-map-card h2 {
  margin: 0 0 20px;
  color: #071b3a;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 950;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field-grid label.wide,
.contact-field-grid label:nth-child(-n + 3) {
  grid-column: 1 / -1;
}

.contact-message-card input,
.contact-message-card select,
.contact-message-card textarea {
  width: 100%;
  color: #1c2e49;
  border: 1px solid #d7e2f1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 650;
}

.contact-message-card input,
.contact-message-card select {
  height: 46px;
  padding: 0 16px;
}

.contact-message-card textarea {
  min-height: 92px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-message-card input:focus,
.contact-message-card select:focus,
.contact-message-card textarea:focus {
  border-color: #075ed8;
  box-shadow: 0 0 0 4px rgba(7, 94, 216, 0.12);
}

.contact-message-card .contact-submit {
  justify-self: start;
  min-width: 270px;
  min-height: 52px;
  margin-top: 2px;
  border-radius: 8px;
}

.contact-message-card .contact-submit span {
  margin-right: 10px;
  font-size: 0.8rem;
}

.contact-touch-panel {
  min-height: 506px;
  padding: 38px 0 0;
  border-left: 1px solid rgba(155, 184, 222, 0.82);
  padding-left: 32px;
}

.contact-touch-list {
  display: grid;
  gap: 0;
}

.contact-touch-list a,
.contact-touch-list article {
  min-height: 84px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  color: #071b3a;
  border-bottom: 1px solid rgba(155, 184, 222, 0.45);
  text-decoration: none;
}

.contact-touch-list i,
.contact-support-strip i {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #075ed8, #16abe8);
}

.contact-touch-list i {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.contact-touch-list i::before,
.contact-support-strip i::before {
  content: "";
  display: block;
  background: currentColor;
}

.contact-touch-list i::before {
  width: 24px;
  height: 24px;
}

.contact-touch-list b {
  display: block;
  color: #071b3a;
  font-size: 0.9rem;
  font-weight: 950;
}

.contact-touch-list small {
  display: block;
  margin-top: 5px;
  color: #1f3351;
  font-size: 0.84rem;
  line-height: 1.42;
  font-weight: 650;
}

.contact-map-card {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(155, 184, 222, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(9, 37, 76, 0.11);
  backdrop-filter: blur(4px);
}

.contact-map-card h2 {
  margin: 0;
  padding: 22px 26px;
}

.contact-map-art {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.96) 48% 52%, transparent 52%) 0 0 / 110px 110px,
    linear-gradient(-45deg, transparent 47%, rgba(255, 255, 255, 0.88) 47% 52%, transparent 52%) 0 0 / 130px 130px,
    #edf3f9;
}

.contact-map-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 78%, rgba(142, 201, 136, 0.46), transparent 15%),
    radial-gradient(circle at 82% 12%, rgba(114, 186, 233, 0.38), transparent 22%);
}

.contact-map-art .road {
  position: absolute;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
}

.contact-map-art .road-one {
  left: -30px;
  right: -20px;
  top: 126px;
  transform: rotate(-3deg);
}

.contact-map-art .road-two {
  left: 112px;
  width: 410px;
  top: 62px;
  transform: rotate(22deg);
}

.contact-map-art .road-three {
  left: 250px;
  width: 360px;
  bottom: 44px;
  transform: rotate(-31deg);
}

.contact-map-art i {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 50% 50% 50% 6px;
  background: #075ed8;
  box-shadow: 0 10px 24px rgba(7, 94, 216, 0.28);
}

.contact-map-art i::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.contact-map-art strong,
.contact-map-art em {
  position: absolute;
  color: #47709c;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.contact-map-art strong {
  right: 36px;
  top: 36px;
}

.contact-map-art em {
  left: 130px;
  top: 142px;
}

.contact-support-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 18px 26px;
  border: 1px solid rgba(155, 184, 222, 0.62);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(9, 37, 76, 0.07);
  backdrop-filter: blur(3px);
}

.contact-support-strip article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 0 24px;
  border-right: 1px solid rgba(155, 184, 222, 0.6);
}

.contact-support-strip article:last-child {
  border-right: 0;
}

.contact-support-strip i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #075ed8;
  background: transparent;
}

.contact-support-strip i::before {
  width: 36px;
  height: 36px;
}

.contact-support-strip b {
  display: block;
  color: #071b3a;
  font-size: 0.84rem;
  font-weight: 950;
}

.contact-support-strip span {
  display: block;
  margin-top: 5px;
  color: #1f3351;
  font-size: 0.76rem;
  line-height: 1.45;
  font-weight: 650;
}

.contact-touch-list .phone i::before,
.contact-support-strip .support i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.65 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.3 1.85.52 2.81.65A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.65 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.3 1.85.52 2.81.65A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-touch-list .mail i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-touch-list .address i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-touch-list .hours i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-support-strip .team i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-support-strip .service i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3Cpath d='m9.5 8 1.5 1.5L14.5 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3Cpath d='m9.5 8 1.5 1.5L14.5 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-support-strip .partner i::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a3 3 0 0 0 4 0l3-3a3 3 0 0 0 0-4l-2-2'/%3E%3Cpath d='m13 7-2-2a3 3 0 0 0-4 0L4 8a3 3 0 0 0 0 4l2 2'/%3E%3Cpath d='m8 12 4-4 4 4-4 4-4-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a3 3 0 0 0 4 0l3-3a3 3 0 0 0 0-4l-2-2'/%3E%3Cpath d='m13 7-2-2a3 3 0 0 0-4 0L4 8a3 3 0 0 0 0 4l2 2'/%3E%3Cpath d='m8 12 4-4 4 4-4 4-4-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 1180px) {
  .contact-main-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(270px, 0.78fr);
  }

  .contact-map-card {
    grid-column: 1 / -1;
  }

  .contact-brand-mark {
    opacity: 0.82;
  }

  .contact-support-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-support-strip article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .contact-hero-showcase {
    padding: 30px 16px;
  }

  .contact-brand-mark {
    position: relative;
    top: auto;
    right: auto;
    grid-template-columns: 78px minmax(0, 1fr);
    margin-bottom: 22px;
  }

  .contact-brand-mark img {
    width: 78px;
    height: 66px;
  }

  .contact-brand-mark strong {
    font-size: 1.4rem;
  }

  .contact-brand-mark span,
  .contact-brand-mark small {
    font-size: 0.72rem;
  }

  .contact-main-grid,
  .contact-support-strip,
  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .contact-touch-panel {
    min-height: auto;
    padding: 24px 0 0;
    border-left: 0;
  }

  .contact-message-card {
    padding: 18px;
  }

  .contact-message-card .contact-submit {
    width: 100%;
    min-width: 0;
  }

  .contact-support-strip article,
  .contact-support-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(155, 184, 222, 0.6);
    padding: 14px 0;
  }

  .contact-support-strip article:last-child {
    border-bottom: 0;
  }
}

/* Contact page fit refinement */
.contact-hero-showcase {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: 24px;
}

.contact-brand-mark {
  top: 26px;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  max-width: 380px;
}

.contact-brand-mark img {
  width: 88px;
  height: 76px;
}

.contact-brand-mark strong {
  font-size: clamp(1.55rem, 2.15vw, 2.05rem);
}

.contact-brand-mark span {
  margin-top: 4px;
  font-size: 0.9rem;
}

.contact-brand-mark small {
  margin-top: 8px;
  font-size: 0.82rem;
}

.contact-pill {
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 15px;
  font-size: 0.72rem;
}

.contact-hero-copy h1 {
  max-width: 480px;
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  line-height: 1.08;
}

.contact-hero-copy h1::after,
.contact-touch-panel h2::after {
  width: 42px;
  height: 3px;
  margin-top: 14px;
}

.contact-hero-copy > p:not(.contact-pill) {
  max-width: 470px;
  margin: 16px 0 20px;
  font-size: 0.9rem;
  line-height: 1.42;
}

.contact-main-grid {
  grid-template-columns: minmax(340px, 0.86fr) minmax(250px, 0.52fr) minmax(360px, 0.92fr);
  gap: 24px;
}

.contact-message-card {
  padding: 18px 20px;
  border-radius: 12px;
}

.contact-message-card h2,
.contact-touch-panel h2,
.contact-map-card h2 {
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.contact-field-grid {
  gap: 10px 12px;
}

.contact-message-card input,
.contact-message-card select {
  height: 40px;
  padding: 0 14px;
  font-size: 0.76rem;
}

.contact-message-card textarea {
  min-height: 72px;
  padding: 12px 14px;
  font-size: 0.76rem;
}

.contact-message-card .contact-submit {
  min-width: 260px;
  min-height: 44px;
  margin-top: 0;
  font-size: 0.8rem;
}

.contact-touch-panel {
  min-height: 410px;
  padding-top: 28px;
  padding-left: 24px;
}

.contact-touch-list a,
.contact-touch-list article {
  min-height: 68px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
}

.contact-touch-list i {
  width: 44px;
  height: 44px;
  border-radius: 9px;
}

.contact-touch-list i::before {
  width: 20px;
  height: 20px;
}

.contact-touch-list b {
  font-size: 0.82rem;
}

.contact-touch-list small {
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.34;
}

.contact-map-card h2 {
  padding: 16px 22px;
}

.contact-map-art {
  min-height: 224px;
}

.contact-support-strip {
  margin-top: 18px;
  padding: 14px 20px;
}

.contact-support-strip article {
  min-height: 54px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 0 18px;
}

.contact-support-strip i {
  width: 34px;
  height: 34px;
}

.contact-support-strip i::before {
  width: 29px;
  height: 29px;
}

.contact-support-strip b {
  font-size: 0.76rem;
}

.contact-support-strip span {
  margin-top: 3px;
  font-size: 0.68rem;
  line-height: 1.3;
}

@media (max-width: 1180px) {
  .contact-main-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(270px, 0.82fr);
  }

  .contact-touch-panel {
    min-height: auto;
  }
}

/* Contact page screenshot-fit tuning */
@media (min-width: 1181px) {
  .contact-hero-showcase {
    min-height: 860px;
    padding: 34px max(48px, calc((100vw - 1440px) / 2)) 26px;
  }

  .contact-hero-bg {
    background:
      linear-gradient(90deg, rgba(247, 251, 255, 1) 0%, rgba(247, 251, 255, 0.98) 38%, rgba(247, 251, 255, 0.54) 62%, rgba(247, 251, 255, 0.04) 100%),
      linear-gradient(180deg, rgba(247, 251, 255, 0.02) 0%, rgba(247, 251, 255, 0.88) 100%),
      url("images/about-company-hero.png") right top / auto 760px no-repeat;
  }

  .contact-brand-mark {
    top: 36px;
    right: max(58px, calc((100vw - 1440px) / 2));
    grid-template-columns: 94px minmax(0, 1fr);
    max-width: 410px;
  }

  .contact-brand-mark img {
    width: 94px;
    height: 78px;
  }

  .contact-brand-mark strong {
    font-size: 2rem;
  }

  .contact-brand-mark span {
    font-size: 0.95rem;
  }

  .contact-brand-mark small {
    font-size: 0.82rem;
  }

  .contact-hero-copy {
    max-width: 525px;
  }

  .contact-hero-copy h1 {
    max-width: 505px;
    font-size: 3.05rem;
  }

  .contact-hero-copy > p:not(.contact-pill) {
    max-width: 460px;
  }

  .contact-main-grid {
    grid-template-columns: 460px 320px minmax(420px, 560px);
    gap: 30px;
    align-items: end;
  }

  .contact-message-card {
    min-height: 490px;
  }

  .contact-touch-panel {
    min-height: 490px;
    padding-top: 34px;
    padding-left: 30px;
  }

  .contact-map-card {
    margin-bottom: 0;
    transform: translateY(0);
  }

  .contact-map-art {
    min-height: 246px;
  }

  .contact-support-strip {
    min-height: 94px;
    margin-top: 22px;
    padding: 16px 26px;
  }
}

@media (min-width: 1181px) and (max-width: 1360px) {
  .contact-main-grid {
    grid-template-columns: 420px 290px minmax(360px, 1fr);
    gap: 22px;
  }

  .contact-hero-copy h1 {
    font-size: 2.65rem;
  }

  .contact-brand-mark {
    transform: scale(0.9);
    transform-origin: top right;
  }

  .contact-message-card {
    min-height: 460px;
  }

  .contact-touch-panel {
    min-height: 460px;
  }
}

/* Login modal restored wide layout */
.modal {
  place-items: center;
  overflow: hidden;
  padding: 10px;
}

.modal.active {
  display: grid;
}

.login-card:has(.login-card-image) {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1fr);
  width: min(100%, 1080px);
  height: min(900px, calc(100dvh - 20px));
  min-height: 0;
  max-height: calc(100dvh - 20px);
  color: var(--text);
  background: var(--card);
  overflow: hidden;
  padding: 0;
}

.login-card:has(.login-card-image) .eyebrow,
.login-card:has(.login-card-image) h2,
.login-card:has(.login-card-image) label,
.login-card:has(.login-card-image) .login-meta {
  color: var(--text);
}

.login-card-content {
  justify-content: center;
  padding: clamp(28px, 4vh, 42px) clamp(30px, 3.5vw, 46px);
}

.login-card h2 {
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  line-height: 1.12;
}

.login-card form,
.login-card-content form {
  gap: clamp(12px, 1.7vh, 16px);
}

.login-card label {
  gap: 7px;
  font-size: 0.92rem;
  line-height: 1.22;
}

.login-card input,
.login-card select {
  min-height: clamp(42px, 6.2vh, 56px);
  padding: 0 18px;
  font-size: clamp(0.95rem, 1.4vw, 1.18rem);
}

.login-card .btn,
.login-mail-button {
  min-height: clamp(42px, 6.2vh, 56px);
  font-size: 0.98rem;
}

.login-card-image {
  align-self: stretch;
  min-height: 100%;
}

.login-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}

.login-card-image strong {
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.login-card-image span {
  font-size: clamp(0.86rem, 1.2vw, 0.98rem);
}

@media (max-height: 760px) and (min-width: 761px) {
  .login-card:has(.login-card-image) {
    width: min(100%, 980px);
    height: calc(100dvh - 20px);
  }

  .login-card-content {
    padding: 24px 36px;
  }

  .login-card h2 {
    margin-bottom: 14px;
    font-size: 1.65rem;
  }

  .login-card form,
  .login-card-content form {
    gap: 10px;
  }

  .login-card input,
  .login-card select,
  .login-card .btn,
  .login-mail-button {
    min-height: 40px;
    font-size: 0.92rem;
  }

  .login-card label {
    font-size: 0.82rem;
  }
}

@media (max-width: 760px) {
  .modal {
    padding: 8px;
  }

  .login-card:has(.login-card-image) {
    grid-template-columns: 1fr;
    width: min(100%, 520px);
    height: auto;
    max-height: calc(100dvh - 16px);
  }

  .login-card-image,
  .login-card-image img {
    min-height: 180px;
    height: 180px;
    object-position: center;
  }

  .login-card-content {
    padding: 22px;
  }
}

/* Public website white theme refinement */
body:not([data-protected]) {
  color: #071b3a;
  background: #ffffff;
}

body:not([data-protected]) main,
body:not([data-protected]) .home-page,
body:not([data-protected]) .about-premium,
body:not([data-protected]) .contact-premium-page,
body:not([data-protected]) .networking-redesign,
body:not([data-protected]) .networking-detail-page,
body:not([data-protected]) .why-showcase-page,
body:not([data-protected]) .career-premium-main,
body:not([data-protected]) .director-premium-main {
  background-color: #ffffff;
}

body:not([data-protected]) :is(
  .home-services-section,
  .home-about-section,
  .home-why-section,
  .home-work-section,
  .home-civil-section,
  .home-blog-section,
  .about-values-section,
  .about-journey,
  .about-team,
  .networking-services,
  .networking-process,
  .networking-detail-content,
  .why-showcase,
  .contact-main-section,
  .contact-support-strip
) {
  background-color: #ffffff;
}

body:not([data-protected]) :is(
  .home-service-card,
  .home-service-tile,
  .home-feature-card,
  .why-showcase-card,
  .contact-message-card,
  .contact-touch-panel,
  .contact-map-card,
  .networking-card-link article,
  .networking-detail-card,
  .service-detail-card,
  .about-value-card,
  .team-card,
  .blog-card,
  .career-card,
  .director-card
) {
  background: #ffffff;
}

/* Apply Now page visual layout */
.apply-visual-page {
  background: #ffffff;
  color: #071b3a;
}

.apply-visual-page .public-premium-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d7e5f7;
  box-shadow: 0 10px 28px rgba(13, 42, 84, 0.07);
}

.apply-visual-page .header-topbar,
.apply-visual-page .public-premium-brand .brand-stack small {
  display: none;
}

.apply-visual-page .public-premium-nav {
  min-height: 78px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
}

.apply-visual-page .public-premium-brand .brand-logo {
  width: 250px;
  height: 54px;
  object-fit: contain;
}

.apply-visual-page .public-premium-brand .brand-stack {
  display: none;
}

.apply-visual-page .public-premium-header .nav-panel {
  margin-left: auto;
}

.apply-visual-page .public-premium-header .nav-links {
  gap: 30px;
}

.apply-visual-page .public-premium-header .nav-links > li > a {
  color: #071b3a;
  padding: 10px 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 800;
}

.apply-visual-page .public-premium-header .nav-links > li > a:hover,
.apply-visual-page .public-premium-header .nav-links > li > a:focus-visible,
.apply-visual-page .public-premium-header .nav-links > li > a[aria-current="page"] {
  color: #075ed8;
  background: transparent;
}

.apply-now-screen {
  min-height: calc(100vh - 78px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 255, 0.95) 42%, rgba(255, 255, 255, 0.98) 100%),
    #ffffff;
}

.apply-now-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 760px);
  gap: 42px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 38px;
  align-items: start;
}

.apply-now-info {
  position: sticky;
  top: 104px;
  min-height: calc(100vh - 128px);
  display: flex;
  flex-direction: column;
  padding: 42px 0 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(232, 247, 255, 0.78) 100%),
    url("images/contact-company-hero.png") left bottom / 125% auto no-repeat;
}

.apply-now-info .eyebrow {
  margin: 0 0 14px;
  color: #075ed8;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.apply-title-line {
  width: 48px;
  height: 3px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: #075ed8;
}

.apply-now-info h1 {
  max-width: 320px;
  margin: 0;
  color: #0b2146;
  font-size: clamp(2.05rem, 4vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.apply-now-info > p {
  max-width: 330px;
  margin: 24px 0 0;
  color: #102b56;
  font-size: 1.02rem;
  line-height: 1.7;
}

.apply-info-card {
  display: grid;
  gap: 28px;
  width: min(100%, 340px);
  margin-top: auto;
  padding: 34px;
  border: 1px solid #d8e6f8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 58px rgba(21, 79, 139, 0.13);
}

.apply-info-card article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: center;
}

.apply-info-card strong {
  display: block;
  color: #0b2146;
  font-size: 1rem;
  line-height: 1.25;
}

.apply-info-card small {
  display: block;
  margin-top: 6px;
  color: #24436c;
  font-size: 0.9rem;
  line-height: 1.55;
}

.apply-side-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(7, 94, 216, 0.95), rgba(23, 188, 230, 0.95)),
    #075ed8;
  box-shadow: 0 14px 26px rgba(7, 94, 216, 0.18);
  position: relative;
}

.apply-side-icon::before,
.input-icon::after,
.apply-upload-box::after,
.apply-submit-row .btn span::before {
  content: "";
  position: absolute;
  display: block;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.apply-side-icon::before {
  inset: 17px;
  color: #ffffff;
}

.apply-side-secure { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.9a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.7a1.2 1.2 0 0 1 1.6 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.apply-side-doc { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M12 18v-6'/%3E%3Cpath d='m9 15 3 3 3-3'/%3E%3C/svg%3E"); }
.apply-side-team { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-8 0v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3Cpath d='M2 21v-2a4 4 0 0 1 3-3.9'/%3E%3Cpath d='M8 3.1a4 4 0 0 0 0 7.8'/%3E%3C/svg%3E"); }

.apply-now-form-card {
  gap: 0;
  padding: 30px 34px 26px;
  border: 1px solid #d6e3f5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(17, 52, 96, 0.12);
}

.apply-now-form-card .apply-form-card {
  padding: 0 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.apply-now-form-card .apply-form-card + .apply-form-card {
  padding-top: 22px;
  border-top: 1px solid #dbe7f6;
}

.apply-now-form-card .section-heading {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dbe7f6;
}

.apply-now-form-card .section-heading .eyebrow {
  margin-bottom: 4px;
  color: #075ed8;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

.apply-now-form-card .section-heading h2 {
  color: #0b2146;
  font-size: clamp(1.42rem, 2.3vw, 1.85rem);
  line-height: 1.22;
}

.apply-now-form-card .apply-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.apply-now-form-card .apply-form-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apply-now-form-card .apply-form-grid span {
  color: #0b2146;
  font-size: 0.82rem;
  font-weight: 850;
}

.apply-now-form-card .apply-form-grid span b {
  color: #e5484d;
}

.apply-now-form-card input,
.apply-now-form-card select,
.apply-now-form-card textarea {
  width: 100%;
  min-height: 50px;
  color: #071b3a;
  border: 1px solid #d5e2f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 48, 90, 0.04);
  font-size: 0.93rem;
}

.apply-now-form-card textarea {
  min-height: 66px;
  resize: vertical;
}

.apply-now-form-card input::placeholder,
.apply-now-form-card textarea::placeholder {
  color: #7789a5;
}

.input-icon {
  position: relative;
}

.input-icon input {
  padding-right: 46px;
}

.input-icon::after {
  right: 15px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  color: #7b8da9;
}

.input-user { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.input-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.input-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.4 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.input-calendar { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E"); }
.input-location { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }

.apply-upload-box {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 10px 76px 10px 16px;
  border: 1px solid #d5e2f2;
  border-radius: 8px;
  background: #ffffff;
}

.apply-upload-box span {
  display: grid;
  gap: 3px;
}

.apply-upload-box small {
  color: #6b7f9e;
  font-size: 0.76rem;
}

.apply-upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.apply-upload-box::after {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m17 8-5-5-5 5'/%3E%3Cpath d='M12 3v12'/%3E%3C/svg%3E");
  right: 16px;
  top: 50%;
  width: 46px;
  height: 38px;
  transform: translateY(-50%);
  color: #075ed8;
  border: 1px solid #d5e2f2;
  border-radius: 8px;
  background: currentColor;
}

.apply-declaration {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 12px !important;
}

.apply-declaration input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  box-shadow: none;
}

.apply-declaration span {
  color: #1a3156 !important;
  font-weight: 650 !important;
}

.apply-now-form-card .apply-submit-row {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.apply-now-form-card .apply-submit-row .btn {
  width: 100%;
  min-height: 54px;
  gap: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #075ed8, #0b74ff);
  box-shadow: 0 14px 28px rgba(7, 94, 216, 0.22);
  font-size: 1rem;
}

.apply-now-form-card .apply-submit-row .btn span {
  position: relative;
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.apply-now-form-card .apply-submit-row .btn span::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
  inset: 0;
}

@media (max-width: 980px) {
  .apply-now-layout {
    grid-template-columns: 1fr;
  }

  .apply-now-info {
    position: relative;
    top: auto;
    min-height: auto;
    padding-bottom: 220px;
  }

  .apply-info-card {
    margin-top: 28px;
  }
}

@media (max-width: 720px) {
  .apply-visual-page .public-premium-brand .brand-logo {
    width: 198px;
  }

  .apply-now-layout {
    padding-inline: 14px;
  }

  .apply-now-form-card {
    padding: 22px 16px;
  }

  .apply-now-form-card .apply-form-grid,
  .apply-now-form-card .apply-form-grid-three {
    grid-template-columns: 1fr;
  }
}

/* Candidate Applications admin page */
.candidate-admin-page .dashboard-hero-card {
  background:
    linear-gradient(135deg, rgba(8, 34, 70, 0.96), rgba(7, 94, 216, 0.8)),
    #092449;
}

.candidate-admin-panel,
.candidate-detail-panel {
  background: #ffffff;
  color: #071b3a;
}

.candidate-table-wrap {
  overflow-x: auto;
  border: 1px solid #d8e6f8;
  border-radius: 12px;
}

.candidate-admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: #071b3a;
  font-size: 0.92rem;
}

.candidate-admin-table th,
.candidate-admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2edf9;
  text-align: left;
  vertical-align: middle;
}

.candidate-admin-table th {
  color: #075ed8;
  background: #eef7ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.candidate-admin-table tr:last-child td {
  border-bottom: 0;
}

.candidate-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dbe7f6;
}

.candidate-detail-head h2 {
  margin: 0;
  color: #071b3a;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.candidate-detail-head span {
  color: #075ed8;
  font-weight: 850;
}

.candidate-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.candidate-detail-grid article {
  min-height: 76px;
  padding: 14px;
  border: 1px solid #d8e6f8;
  border-radius: 10px;
  background: #f8fbff;
}

.candidate-detail-grid span {
  display: block;
  color: #607895;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.candidate-detail-grid strong {
  display: block;
  margin-top: 6px;
  color: #071b3a;
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.candidate-admin-lock {
  display: grid;
  place-items: center;
  min-height: 52vh;
  padding: 36px;
  color: #071b3a;
  text-align: center;
}

.candidate-admin-lock h1 {
  max-width: 620px;
  margin: 8px 0 20px;
}

@media (max-width: 900px) {
  .candidate-detail-grid {
    grid-template-columns: 1fr;
  }

  .candidate-detail-head {
    flex-direction: column;
  }
}

@media print {
  body {
    background: #ffffff !important;
  }

  body * {
    visibility: hidden !important;
  }

  .candidate-print-area,
  .candidate-print-area * {
    visibility: visible !important;
  }

  .candidate-print-area {
    position: absolute;
    inset: 0;
    padding: 18px;
    background: #ffffff;
  }

  .candidate-print-btn {
    display: none !important;
  }

  .candidate-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Footer cleanup: remove newsletter email box and send button. */
.footer.rv-screen-footer .rv-screen-newsletter div {
  display: none !important;
}

/* Company mail login page */
.company-mail-login-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
  color: #101828;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.company-mail-login-page * {
  box-sizing: border-box;
}

.company-mail-shell {
  width: min(1454px, calc(100vw - 76px));
  min-height: calc(100vh - 58px);
  margin: 29px auto;
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(540px, 1fr);
  overflow: hidden;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(16, 24, 40, 0.13);
}

.company-mail-brand-panel {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(161, 197, 232, 0.95) 0%, rgba(235, 244, 252, 0.96) 49%, rgba(255, 255, 255, 0.92) 100%),
    #d9ecfb;
}

.company-mail-brand-content {
  position: relative;
  z-index: 3;
  width: min(440px, 78%);
  margin: 96px auto 0;
  text-align: center;
}

.company-mail-logo {
  display: block;
  width: min(400px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 8px 14px rgba(20, 64, 120, 0.18));
}

.company-mail-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 0;
  color: #0f2c51;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.company-mail-tagline span {
  display: block;
  width: 38px;
  height: 1px;
  background: rgba(15, 44, 81, 0.55);
}

.company-mail-building {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 80%;
  height: 53%;
  background: url("images/company-mail-building.png") left bottom / contain no-repeat;
}

.company-mail-benefits {
  position: absolute;
  z-index: 4;
  right: 84px;
  bottom: 226px;
  display: grid;
  gap: 30px;
  width: 250px;
}

.company-mail-benefits article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: center;
}

.company-mail-benefits h2 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0;
}

.company-mail-benefits p {
  margin: 0;
  color: #111827;
  font-size: 12px;
  line-height: 1.45;
}

.company-mail-benefit-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f62b4, #174a9d);
  box-shadow: 0 10px 20px rgba(23, 74, 157, 0.24);
}

.shield-icon::before {
  content: "";
  width: 18px;
  height: 22px;
  border: 3px solid #ffffff;
  border-radius: 10px 10px 14px 14px;
  clip-path: polygon(50% 0, 92% 18%, 82% 78%, 50% 100%, 18% 78%, 8% 18%);
}

.mail-icon-small::before {
  content: "";
  width: 23px;
  height: 17px;
  border: 2px solid #ffffff;
  border-radius: 3px;
}

.mail-icon-small::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-4px) rotate(-45deg);
}

.users-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: -9px 3px 0 -3px #2f62b4, -9px 3px 0 -1px #ffffff, 9px 3px 0 -3px #2f62b4, 9px 3px 0 -1px #ffffff;
}

.users-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 12px;
  border: 2px solid #ffffff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  bottom: 12px;
}

.company-mail-form-panel {
  display: grid;
  place-items: center;
  min-height: 800px;
  padding: 72px 80px 52px;
  background: rgba(255, 255, 255, 0.98);
}

.company-mail-form-wrap {
  width: min(582px, 100%);
  text-align: center;
}

.company-mail-envelope {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 64px;
  margin: 0 auto 28px;
}

.company-mail-envelope::before {
  content: "";
  width: 78px;
  height: 64px;
  border: 7px solid #2c5ca8;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(44, 92, 168, 0.12);
}

.company-mail-envelope span {
  position: absolute;
  top: 16px;
  width: 50px;
  height: 36px;
  border-left: 7px solid #2c5ca8;
  border-bottom: 7px solid #2c5ca8;
  transform: rotate(-45deg);
  border-radius: 0 0 0 5px;
}

.company-mail-form-wrap h1 {
  margin: 0;
  color: #111827;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.company-mail-subtitle {
  margin: 12px 0 22px;
  color: #273244;
  font-size: 20px;
  line-height: 1.35;
}

.company-mail-server-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid #d7e6f7;
  border-radius: 8px;
  background: #f4f9ff;
  text-align: left;
}

.company-mail-server-panel div {
  min-width: 0;
}

.company-mail-server-panel span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.2;
}

.company-mail-server-panel strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.25;
}

.company-mail-port-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.company-mail-port-row small {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #d9ecff;
  color: #0f172a;
  font-size: 14px;
  line-height: 1;
}

.company-mail-port-row b {
  color: #16489b;
  font-size: 15px;
}

.company-mail-form {
  display: grid;
  gap: 0;
  text-align: left;
}

.company-mail-form > label {
  margin: 0 0 14px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.company-mail-input-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 62px;
  margin: 0 0 34px;
  padding: 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
}

.company-mail-input-row:focus-within {
  border-color: #2f62b4;
  box-shadow: 0 0 0 3px rgba(47, 98, 180, 0.12);
}

.company-mail-input-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 16px;
}

.company-mail-input-row input::placeholder {
  color: #6b7280;
}

.company-mail-input-row strong {
  color: #16489b;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.input-person-icon,
.input-lock-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  color: #6b7280;
}

.input-person-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.input-person-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 16px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.input-lock-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 14px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.input-lock-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 8px;
  height: 11px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.company-mail-eye {
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.company-mail-eye::before {
  content: "";
  position: absolute;
  inset: 8px 4px;
  border: 2px solid #6b7280;
  border-radius: 50% 50% 50% 50% / 70% 70% 70% 70%;
}

.company-mail-eye::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b7280;
}

.company-mail-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -4px 0 34px;
}

.company-mail-remember {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  font-size: 16px;
}

.company-mail-remember input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #2c5ca8;
}

.company-mail-options a {
  color: #16489b;
  font-size: 16px;
  text-decoration: none;
}

.company-mail-options a:hover,
.company-mail-options a:focus-visible {
  text-decoration: underline;
}

.company-mail-submit,
.company-mail-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.company-mail-submit {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #2f62b4, #184a9d);
  box-shadow: 0 10px 22px rgba(24, 74, 157, 0.22);
  cursor: pointer;
}

.company-mail-submit:hover,
.company-mail-submit:focus-visible {
  background: linear-gradient(135deg, #2456a6, #123e88);
}

.company-mail-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 34px 0;
  color: #4b5563;
  text-align: center;
}

.company-mail-divider span {
  height: 1px;
  background: #cbd5e1;
}

.company-mail-divider em {
  font-style: normal;
  font-size: 16px;
}

.company-mail-google {
  gap: 14px;
  border: 1px solid #cbd5e1;
  color: #111827;
  background: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.company-mail-google span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #4285f4;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

.company-mail-secure-note {
  margin: 18px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.company-mail-copy {
  margin: 58px 0 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1100px) {
  .company-mail-shell {
    width: min(760px, calc(100vw - 28px));
    grid-template-columns: 1fr;
  }

  .company-mail-brand-panel {
    min-height: 560px;
  }

  .company-mail-brand-content {
    margin-top: 54px;
  }

  .company-mail-building {
    width: 70%;
    height: 48%;
  }

  .company-mail-benefits {
    right: 34px;
    bottom: 92px;
  }

  .company-mail-form-panel {
    min-height: auto;
    padding: 54px 34px 46px;
  }
}

@media (max-width: 640px) {
  .company-mail-shell {
    width: min(100vw - 16px, 460px);
    margin: 8px auto;
    border-radius: 14px;
  }

  .company-mail-brand-panel {
    min-height: 430px;
  }

  .company-mail-brand-content {
    width: 84%;
    margin-top: 32px;
  }

  .company-mail-logo {
    width: min(320px, 100%);
  }

  .company-mail-tagline {
    gap: 8px;
    font-size: 13px;
    white-space: normal;
  }

  .company-mail-tagline span {
    width: 24px;
  }

  .company-mail-building {
    width: 82%;
    height: 42%;
  }

  .company-mail-benefits {
    right: 16px;
    bottom: 46px;
    width: 180px;
    gap: 12px;
  }

  .company-mail-benefits article {
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .company-mail-benefit-icon {
    width: 38px;
    height: 38px;
  }

  .company-mail-benefits h2 {
    font-size: 13px;
  }

  .company-mail-benefits p {
    font-size: 10px;
  }

  .company-mail-form-panel {
    padding: 38px 18px 34px;
  }

  .company-mail-envelope {
    width: 66px;
    height: 52px;
    margin-bottom: 20px;
  }

  .company-mail-envelope::before {
    width: 64px;
    height: 52px;
    border-width: 6px;
  }

  .company-mail-envelope span {
    top: 13px;
    width: 40px;
    height: 30px;
    border-left-width: 6px;
    border-bottom-width: 6px;
  }

  .company-mail-form-wrap h1 {
    font-size: 28px;
  }

  .company-mail-subtitle {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .company-mail-server-panel {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
    padding: 12px;
  }

  .company-mail-port-row {
    grid-template-columns: 1fr;
  }

  .company-mail-input-row {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 58px;
    margin-bottom: 26px;
    padding: 0 14px;
  }

  .company-mail-input-row strong {
    grid-column: 2;
    justify-self: start;
    padding-bottom: 10px;
    font-size: 14px;
  }

  .company-mail-options {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .company-mail-submit,
  .company-mail-google {
    min-height: 56px;
    font-size: 17px;
  }

  .company-mail-copy {
    margin-top: 36px;
    font-size: 13px;
  }
}
/* Riddhiwave mail dashboard */
.rv-mail-app-page {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: #0f172a;
  background: #ffffff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.rv-mail-app-page * {
  box-sizing: border-box;
}

.rv-mail-app {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.rv-mail-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 22px 18px 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 45% 0%, rgba(33, 118, 216, 0.38), transparent 38%),
    linear-gradient(160deg, #063966 0%, #022a4d 54%, #011d3a 100%);
}

.rv-mail-brand {
  display: block;
  width: 258px;
  max-width: 100%;
  margin: 0 0 36px 4px;
}

.rv-mail-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.rv-mail-compose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 244px;
  min-height: 56px;
  margin: 0 4px 24px;
  border: 0;
  border-radius: 4px;
  color: #0757bd;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(226, 238, 255, 0.55);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.rv-mail-compose span {
  color: #0f6fdc;
  font-size: 26px;
}

.rv-mail-nav {
  display: grid;
  gap: 2px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.rv-mail-nav a,
.rv-mail-folders a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 5px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0;
}

.rv-mail-nav a.active {
  background: linear-gradient(135deg, #1264c5, #0e55aa);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.rv-mail-nav span {
  color: #ffffff;
  font-size: 22px;
}

.rv-mail-nav b,
.rv-mail-folders b {
  font-weight: 500;
}

.rv-mail-nav em {
  font-style: normal;
  font-size: 14px;
}

.rv-mail-folders {
  display: grid;
  gap: 4px;
  padding-top: 24px;
}

.rv-mail-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 10px;
}

.rv-mail-section-title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.rv-mail-section-title button {
  width: 26px;
  height: 26px;
  border: 0;
  color: #ffffff;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.rv-mail-folders a {
  grid-template-columns: 34px 1fr;
}

.rv-mail-folders a span {
  display: block;
  width: 22px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 3px;
}

.rv-mail-folders a span::before {
  content: "";
  display: block;
  width: 9px;
  height: 3px;
  margin: -5px 0 0 2px;
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 0.86);
}

.rv-mail-storage {
  margin-top: auto;
  padding: 0 10px;
}

.rv-mail-storage div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rv-mail-storage p {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
}

.rv-mail-storage strong {
  font-weight: 500;
}

.rv-mail-progress {
  width: calc(100% - 36px);
  height: 6px;
  margin: 14px 0 0 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.rv-mail-progress span {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: #4895ff;
}

.rv-mail-storage small {
  float: right;
  margin-top: -13px;
  color: #ffffff;
  font-size: 14px;
}

.rv-mail-main {
  display: grid;
  grid-template-rows: 104px minmax(0, 1fr);
  min-width: 0;
  min-height: 100vh;
  background: #ffffff;
}

.rv-mail-topbar {
  display: grid;
  grid-template-columns: 150px minmax(300px, 550px) 1fr;
  align-items: center;
  gap: 44px;
  padding: 0 24px 0 28px;
  background: linear-gradient(135deg, #073b6b 0%, #004987 50%, #063662 100%);
  color: #ffffff;
}

.rv-mail-title {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rv-mail-title button,
.rv-mail-tools button {
  border: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.rv-mail-title button {
  font-size: 27px;
}

.rv-mail-title h1 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.rv-mail-search {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 54px;
  padding: 0 20px 0 26px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rv-mail-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.rv-mail-search input::placeholder {
  color: rgba(255, 255, 255, 0.94);
}

.rv-mail-search b {
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.rv-mail-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.rv-mail-tools > button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.rv-mail-user {
  display: grid;
  grid-template-columns: 42px minmax(160px, auto) 26px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rv-mail-user > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #0c3f74;
  background: #ffffff;
  font-weight: 700;
}

.rv-mail-user p {
  margin: 0;
  min-width: 0;
}

.rv-mail-user strong,
.rv-mail-user small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-mail-user strong {
  color: #ffffff;
  font-size: 16px;
}

.rv-mail-user small {
  color: #ffffff;
  font-size: 12px;
}

.rv-mail-content {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  min-height: 0;
}

.rv-mail-list-panel {
  display: grid;
  grid-template-rows: 74px minmax(0, 1fr) 72px;
  min-height: 0;
  border-right: 1px solid #d8dee8;
  background: #ffffff;
}

.rv-mail-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #d8dee8;
}

.rv-mail-list-head h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  letter-spacing: 0;
}

.rv-mail-list-head div {
  display: flex;
  gap: 18px;
}

.rv-mail-list-head button,
.rv-mail-item button,
.rv-mail-list-footer button {
  border: 0;
  color: #64748b;
  background: transparent;
  font-size: 22px;
  line-height: 1;
}

.rv-mail-list {
  min-height: 0;
  overflow: hidden;
}

.rv-mail-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 5px 8px;
  min-height: 114px;
  padding: 18px 18px 14px 16px;
  border-bottom: 1px solid #dfe5ee;
  background: #ffffff;
}

.rv-mail-item.active {
  background: #f5faff;
}

.rv-mail-item:not(.unread) {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-left: 40px;
}

.rv-mail-dot {
  width: 12px;
  height: 12px;
  margin-top: 10px;
  border-radius: 50%;
  background: #166bd3;
}

.rv-mail-item div {
  min-width: 0;
}

.rv-mail-item h3,
.rv-mail-item strong,
.rv-mail-item p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-mail-item h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 16px;
  line-height: 1.15;
}

.rv-mail-item strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
}

.rv-mail-item p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
}

.rv-mail-item time {
  align-self: start;
  color: #4b5563;
  font-size: 13px;
}

.rv-mail-item button {
  grid-column: 3;
  justify-self: end;
  align-self: end;
  font-size: 24px;
}

.rv-mail-item button + button {
  margin-bottom: 28px;
}

.rv-mail-list-footer {
  display: grid;
  grid-template-columns: 1fr 42px 42px;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-top: 1px solid #dfe5ee;
  color: #374151;
  text-align: right;
}

.rv-mail-list-footer span {
  padding-right: 22px;
  font-size: 15px;
}

.rv-mail-list-footer button {
  font-size: 34px;
}

.rv-mail-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 0;
  padding: 40px;
  background: #ffffff;
  text-align: center;
}

.rv-mail-empty-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #edf6ff;
}

.rv-mail-empty-icon::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 68px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5aa5ff, #1672e8);
  clip-path: polygon(0 22%, 50% 65%, 100% 22%, 100% 100%, 0 100%);
}

.rv-mail-empty-icon::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 76px;
  height: 72px;
  border: 1px solid #a9c8ee;
  border-radius: 5px;
  background:
    linear-gradient(#8db6e8 0 0) 16px 18px / 44px 3px no-repeat,
    linear-gradient(#8db6e8 0 0) 16px 34px / 50px 3px no-repeat,
    linear-gradient(#8db6e8 0 0) 16px 50px / 42px 3px no-repeat,
    #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 84%, 0 58%);
}

.rv-mail-empty h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 22px;
  letter-spacing: 0;
}

.rv-mail-empty p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
}

.rv-mail-reader {
  display: block;
  min-height: 0;
  padding: 44px 56px;
  overflow: auto;
  text-align: left;
}

.rv-mail-reader article {
  width: min(820px, 100%);
  margin: 0 auto;
}

.rv-mail-reader h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.rv-mail-reader-meta {
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe5ee;
  color: #64748b;
  font-size: 14px;
}

.rv-mail-reader-body {
  color: #1f2937;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .rv-mail-app {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .rv-mail-sidebar {
    padding: 18px 10px;
  }

  .rv-mail-brand {
    width: 66px;
    margin-left: 0;
  }

  .rv-mail-compose,
  .rv-mail-nav b,
  .rv-mail-nav em,
  .rv-mail-folders,
  .rv-mail-storage {
    display: none;
  }

  .rv-mail-nav a {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .rv-mail-topbar {
    grid-template-columns: auto minmax(220px, 1fr) auto;
    gap: 18px;
  }

  .rv-mail-tools > button,
  .rv-mail-user p,
  .rv-mail-user button {
    display: none;
  }

  .rv-mail-user {
    grid-template-columns: 42px;
  }

  .rv-mail-content {
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .rv-mail-app-page {
    overflow: auto;
  }

  .rv-mail-app {
    grid-template-columns: 1fr;
  }

  .rv-mail-sidebar {
    min-height: auto;
    padding: 14px 16px;
  }

  .rv-mail-brand {
    width: 230px;
    margin: 0;
  }

  .rv-mail-nav {
    display: none;
  }

  .rv-mail-main {
    grid-template-rows: auto auto;
  }

  .rv-mail-topbar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .rv-mail-tools {
    justify-content: space-between;
  }

  .rv-mail-user p,
  .rv-mail-user button {
    display: block;
  }

  .rv-mail-user {
    grid-template-columns: 42px minmax(0, 1fr) 26px;
  }

  .rv-mail-content {
    grid-template-columns: 1fr;
  }

  .rv-mail-list-panel {
    grid-template-rows: 68px auto 64px;
  }

  .rv-mail-empty {
    min-height: 360px;
  }
}

/* HRMS standalone module page overrides */
.hrms-startup-body {
  background: #edf5ff;
}

.hrms-startup-title {
  background: linear-gradient(135deg, #ffffff, #eef7ff);
}

.hrms-area-grid a {
  border-color: #c9d9ea;
}

.hrms-area-grid a:hover {
  border-color: rgba(11, 101, 216, 0.46);
  background: #f5fbff;
}

.hrms-area-grid i {
  background: linear-gradient(135deg, #075aa7, #16a3e9);
}

.hrms-startup-tip {
  border-color: rgba(11, 101, 216, 0.2);
  background: linear-gradient(90deg, #eaf5ff, #ffffff);
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid {
  gap: 12px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid a {
  min-height: 112px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 12px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid span {
  min-height: 30px;
  font-size: 0.82rem;
  line-height: 1.16;
}

body.hrms-startup-body[data-protected="employee"] .hrms-area-grid small {
  margin-top: 0;
  font-size: 0.68rem;
  line-height: 1.32;
}

body.hrms-startup-body[data-protected="employee"] .hrms-module-area-card {
  padding: 14px;
}
/* Department and Team Setup page */
.department-team-page {
  background: #eef6ff;
  min-height: calc(100vh - 96px);
  padding: 24px 28px 34px;
}

.department-team-shell {
  max-width: 1480px;
  margin: 0 auto;
}

.department-team-page .hrms-data-grid {
  display: block;
}

.department-team-dashboard {
  color: #08265a;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.department-team-dashboard h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.department-team-summary,
.department-team-list-card,
.department-team-detail-card,
.department-team-teams-card {
  background: #ffffff;
  border: 1px solid #bfd4ee;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 50, 95, 0.08);
}

.department-team-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

.department-team-summary article {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 110px;
  padding: 22px 28px;
  position: relative;
}

.department-team-summary article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: #d7e4f3;
}

.department-team-summary strong {
  display: block;
  color: #08265a;
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
}

.department-team-summary span {
  display: block;
  margin-top: 8px;
  color: #32496b;
  font-size: 17px;
}

.department-team-summary article:last-child strong {
  color: #0aa27d;
}

.department-team-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.department-team-list-card,
.department-team-detail-card,
.department-team-teams-card {
  padding: 14px;
}

.department-team-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.department-team-section-head h2 {
  margin: 0;
  color: #111827;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
}

.department-team-section-head button,
.department-team-edit-btn,
.department-team-card-action button {
  border: 1px solid #1671dd;
  background: #ffffff;
  color: #0962c5;
  border-radius: 6px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 113, 221, 0.08);
}

.department-team-section-head button:hover,
.department-team-edit-btn:hover,
.department-team-card-action button:hover,
.department-team-section-head button:focus-visible,
.department-team-edit-btn:focus-visible,
.department-team-card-action button:focus-visible {
  background: #eff7ff;
  outline: 2px solid rgba(22, 113, 221, 0.22);
}

.department-team-list {
  display: grid;
  gap: 12px;
}

.department-team-list button {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid #d8e2ef;
  border-radius: 7px;
  background: #ffffff;
  color: #08265a;
  text-align: left;
  cursor: pointer;
}

.department-team-list button.active {
  border-color: #1c78df;
  background: #f8fcff;
  box-shadow: inset 0 0 0 1px #1c78df;
}

.department-team-list button span {
  overflow-wrap: anywhere;
  font-size: 20px;
  font-weight: 800;
}

.department-team-list button em,
.department-team-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 2px 11px;
  border: 1px solid #a9e2cb;
  border-radius: 5px;
  background: #ecfff7;
  color: #079875;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.department-team-list button b {
  color: #52677f;
  font-size: 30px;
  font-weight: 400;
}

.department-team-content {
  display: grid;
  gap: 16px;
}

.department-team-detail-card {
  padding: 20px;
}

.department-team-detail-main {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid #d7e4f3;
}

.department-team-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.department-team-title-row h2 {
  margin: 0;
  color: #111827;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
}

.department-team-detail-main p {
  max-width: 720px;
  margin: 0;
  color: #334768;
  font-size: 17px;
  line-height: 1.6;
}

.department-team-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 18px;
}

.department-team-detail-stats div {
  padding: 0 24px;
  border-left: 1px solid #d7e4f3;
}

.department-team-detail-stats div:first-child {
  border-left: 0;
  padding-left: 0;
}

.department-team-detail-stats span,
.department-team-card dt {
  display: block;
  color: #39506f;
  font-size: 16px;
  font-weight: 500;
}

.department-team-detail-stats strong,
.department-team-card dd {
  display: block;
  margin: 8px 0 0;
  color: #0865cf;
  font-size: 22px;
  font-weight: 800;
}

.department-team-teams-card {
  padding: 20px 14px;
}

.department-team-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.department-team-card {
  min-height: 232px;
  border: 1px solid #d9e1ec;
  border-radius: 7px;
  background: #ffffff;
  overflow: hidden;
}

.department-team-card-top {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 20px 16px 12px;
}

.department-team-card h3 {
  margin: 0;
  color: #08265a;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.department-team-card dl {
  display: grid;
  gap: 16px;
  margin: 8px 16px 18px;
}

.department-team-card dl div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.department-team-card dd {
  margin-top: 0;
  font-size: 16px;
}

.department-team-card-action {
  display: flex;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid #e1e8f2;
}

.department-team-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef7ff 0%, #e6f2ff 100%);
  color: #0d66cc;
  flex: 0 0 auto;
}

.department-team-icon::before {
  font-size: 30px;
  line-height: 1;
}

.department-team-icon-layers::before { content: "D"; }
.department-team-icon-people::before { content: "G"; }
.department-team-icon-person::before { content: "P"; }
.department-team-icon-building::before { content: "B"; }
.department-team-icon-admin::before { content: "A"; }
.department-team-icon-rupee::before { content: "Rs"; font-size: 22px; font-weight: 800; }
.department-team-icon-helmet::before { content: "C"; }
.department-team-icon-monitor::before { content: "IT"; font-size: 22px; font-weight: 800; }
.department-team-icon-desk::before { content: "O"; }
.department-team-icon-file::before { content: "F"; }

.department-team-action-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #b8d6f4;
  border-radius: 6px;
  background: #f7fbff;
  color: #0b4f9c;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .department-team-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .department-team-layout {
    grid-template-columns: 1fr;
  }

  .department-team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .department-team-page {
    padding: 16px 12px 28px;
  }

  .department-team-summary,
  .department-team-detail-stats,
  .department-team-card-grid {
    grid-template-columns: 1fr;
  }

  .department-team-summary article + article::before,
  .department-team-detail-stats div {
    border-left: 0;
  }

  .department-team-detail-main {
    grid-template-columns: 1fr;
  }

  .department-team-edit-btn {
    width: 100%;
  }
}
/* Software Download Center */
.software-center-page {
  background: #eef6ff;
  color: #09265a;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.software-center-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 20px 26px;
}

.software-center-hero > div,
.software-center-panel,
.software-download-card,
.software-empty-card,
.software-center-steps,
.software-center-note {
  background: #ffffff;
  border: 1px solid #bfd4ee;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 45, 90, 0.09);
}

.software-center-hero > div {
  padding: 38px;
}

.software-center-hero h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  color: #08265a;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
}

.software-center-hero p {
  max-width: 760px;
  margin: 0;
  color: #38506f;
  font-size: 18px;
  line-height: 1.7;
}

.software-center-actions,
.software-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.software-center-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  background: linear-gradient(145deg, #083267, #0b65c8);
  color: #ffffff;
}

.software-center-panel strong {
  font-size: 30px;
  line-height: 1.1;
}

.software-center-panel span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.6;
}

.software-center-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
}

.software-download-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
}

.software-download-icon {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e7f3ff;
  color: #075fc0;
  font-size: 28px;
  font-weight: 800;
}

.software-download-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.software-download-head h2,
.software-empty-card h2,
.software-center-steps h2 {
  margin: 4px 0 0;
  color: #08265a;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.software-download-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid #b8d6f4;
  border-radius: 999px;
  background: #f3f9ff;
  color: #075fc0;
  font-size: 13px;
  font-weight: 800;
}

.software-download-body > p,
.software-empty-card p {
  margin: 14px 0;
  color: #3a5170;
  font-size: 17px;
  line-height: 1.65;
}

.software-download-body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.software-download-body li {
  padding: 12px 14px;
  border: 1px solid #d7e5f4;
  border-radius: 6px;
  background: #f8fbff;
  color: #173864;
  font-size: 15px;
}

.software-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.software-download-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0c5fb9;
  font-size: 13px;
  font-weight: 700;
}

.software-empty-card {
  padding: 26px;
}

.software-center-steps {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}

.software-center-steps ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.software-center-steps li {
  min-height: 108px;
  padding: 18px;
  border: 1px solid #d7e5f4;
  border-radius: 7px;
  background: #f8fbff;
}

.software-center-steps strong {
  display: block;
  color: #08265a;
  font-size: 19px;
}

.software-center-steps span {
  display: block;
  margin-top: 8px;
  color: #3a5170;
  font-size: 15px;
  line-height: 1.5;
}

.software-center-note {
  display: flex;
  gap: 10px;
  max-width: 1180px;
  margin: 20px auto 44px;
  padding: 18px 20px;
  color: #173864;
}

.software-center-note strong {
  color: #075fc0;
}

.software-service-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 20px;
}

.software-service-intro article,
.software-category-section {
  background: #ffffff;
  border: 1px solid #bfd4ee;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 45, 90, 0.08);
}

.software-service-intro article {
  padding: 22px;
}

.software-service-intro strong {
  display: block;
  color: #08265a;
  font-size: 22px;
  line-height: 1.2;
}

.software-service-intro span {
  display: block;
  margin-top: 10px;
  color: #3a5170;
  font-size: 16px;
  line-height: 1.55;
}

.software-category-section {
  max-width: 1180px;
  margin: 0 auto 20px;
  padding: 30px;
}

.software-release-section {
  max-width: 1180px;
  margin: 0 auto 20px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #bfd4ee;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 45, 90, 0.08);
}

.software-release-section .software-download-card {
  margin-top: 20px;
  box-shadow: none;
}

.software-category-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 24px;
}

.software-category-head h2 {
  margin: 0;
  color: #08265a;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}

.software-category-head p:not(.eyebrow) {
  margin: 0;
  color: #3a5170;
  font-size: 17px;
  line-height: 1.65;
}

.software-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.software-category-grid article {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid #d7e5f4;
  border-radius: 7px;
  background: #f8fbff;
}

.software-category-grid span {
  width: fit-content;
  min-width: 48px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #e7f3ff;
  color: #075fc0;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.software-category-grid h3 {
  margin: 2px 0 0;
  color: #08265a;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.software-category-grid p {
  margin: 0;
  color: #3a5170;
  font-size: 15px;
  line-height: 1.55;
}

.software-category-grid a {
  margin-top: auto;
  color: #075fc0;
  font-weight: 800;
  text-decoration: none;
}

.software-category-grid a:hover,
.software-category-grid a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .software-center-hero,
  .software-center-grid,
  .software-download-card,
  .software-center-steps ol,
  .software-service-intro,
  .software-category-grid {
    grid-template-columns: 1fr;
  }

  .software-download-body ul {
    grid-template-columns: 1fr;
  }
}
