@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary: #005596;
  --alert-red: #ba0c2f;
  --dark: #1a1f24;
  --text: #4a5568;
  --muted: #718096;
  --surface: #ffffff;
  --soft: #f5f6f8;
  --icon-surface: #e8f0fe;
  --btn-red: #cc0037;
  --icon-green: #00e28b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: #1c2733;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
a {
  font: inherit;
}

a:focus-visible,
.product-card:focus-visible {
  outline: 3px solid rgba(0, 111, 181, 0.35);
  outline-offset: 4px;
}

.page {
  min-height: 100vh;
  background: var(--surface);
  color: var(--dark);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 80px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.image-banner-title {
  position: relative;
  top: -8px;
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: wrap;
  color: var(--primary);
  line-height: 1;
}

.banner-text-effect .material-icons {
  color: #1a1f24;
  line-height: 1;
  text-shadow: 2px 1px 3px #00000078;
  color: #1f7dfe !important;
}

.banner-text-effect .banner-initial {
  color: var(--primary);
  font-size: 48px;
}

.banner-text-effect .banner-word {
  color: var(--primary);
  font-size: 24px;
}

.banner-text-effect .banner-spacer {
  font-size: 24px;
  width: 10px;
}

.banner-text-effect .banner-spacer-wide {
  font-size: 26px;
  width: 10px;
}

.logo-container img,
.footer-brand img {
  display: block;
  width: 124.875px;
  height: 32px;
  object-fit: contain;
}

header .logo-container img {
  display: block;
  width: 400px;
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a,
.footer-col a {
  color: var(--dark);
  text-decoration: none;
}

nav a {
  font-weight: 500;
}

nav a:hover,
nav a:focus-visible {
  color: var(--primary);
}

.banner-initial,
.banner-word {
  color: #0b4f8a !important;
}


.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 685px;
  padding: 96px 0;
  overflow: hidden;
  background-image: url('/images/hero-network.png');
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(0, 85, 150, 0.9) 0%, rgba(26, 31, 36, 0.85) 100%); */
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--surface);
}

.badge {
  display: inline-block;
  margin: 0 0 24px;
  padding: 4px 12px;
  background: rgba(232, 240, 254, 0.15);
  color: var(--icon-surface);
  border-left: 3px solid var(--alert-red);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 22.4px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--surface);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  max-width: 760px;
  margin: 0 0 32px;
  color: var(--icon-surface);
  font-size: 20px;
  line-height: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--btn-red);
  color: var(--surface);
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.btn:hover,
.btn:focus-visible {
  background: #ba0c2f;
}

.value-bar {
  padding: 48px 0;
  background: var(--soft);
}

.value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.value-item {
  flex: 1 1 200px;
  min-width: 0;
  text-align: center;
}

.material-icons {
  color: var(--icon-green);
  font-family: 'Material Icons';
  font-size: 32px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.value-item .material-icons {
  display: block;
  margin: 0 0 24px;
}

.value-item h4 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.6px;
}

.value-item p {
  margin: 0;
  color: var(--text);
  font-size: 15.2px;
  line-height: 24.32px;
}

.capabilities,
.compliance {
  padding: 96px 0;
  background: var(--surface);
}

.section-header {
  max-width: 800px;
  margin: 0 auto 64px;
}

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

.section-header h2,
.compliance-content h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 32px;
  font-weight: 700;
  line-height: 38.4px;
}

.section-header p,
.product-card p,
.compliance-content p {
  color: var(--text);
  font-size: 18px;
  line-height: 28.8px;
}

.section-header p {
  margin: 0;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.product-card {
  flex: 1 1 340px;
  max-width: 450px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--soft);
  position: relative;
  transition: none;
}

.product-card:hover,
.product-card:focus-within,
.product-card:focus-visible {
  border-top-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.administration-grid a .administration-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.administration-grid a:hover .administration-card {
  transform: translateY(-3px);
  /* very slight lift */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  /* soft shadow */
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 0 24px;
  background: var(--icon-surface);
  color: var(--primary);
  border-radius: 50%;
}

.product-icon .material-icons {
  font-size: 30px;
}

.product-card h3 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.product-card p {
  margin: 0 0 24px;
}

.product-card.alert-card .product-icon {
  background: rgba(186, 12, 47, 0.1);
  color: var(--alert-red);
}

.product-card.alert-card .material-icons {
  color: var(--alert-red);
}

.product-card.alert-card:hover,
.product-card.alert-card:focus-within,
.product-card.alert-card:focus-visible {
  border-top-color: var(--alert-red);
}

.banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
  background-image: url('/images/banner_wb.png');
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 246, 248, 0);
}

.banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.banner blockquote {
  max-width: 900px;
  margin: 0;
  color: var(--surface);
  font-size: 24px;
  font-weight: 300;
  line-height: 33.6px;
  text-align: center;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.compliance-image img {
  display: block;
  width: 100%;
  max-width: 609px;
  height: auto;
  margin: 0 auto;

}

.compliance-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--soft);
  box-shadow: 0 0 0 10px hsl(0, 0%, 50%), 0 0 0 15px hsl(0, 0%, 60%), 0 0 0 20px hsl(0, 0%, 70%), 0 0 0 25px hsl(0, 0%, 80%), 0 0 0 30px hsl(0, 0%, 90%);
  position: relative;
  gap: 10px;
}

.visiblycarrier1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
  gap: 12px;
  border-right: 3px solid #e0eafe;
  padding: 0 12px 0 0;
}

.compliance-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.visiblycarrier {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  gap: 10px;
}


.visiblycarrier a {
  width: 100%;
  display: flex;
  gap: 0;
  height: 68px;
}


.compliance-content h2 {
  font-size: 40px;
  line-height: 48px;
}

.compliance-content p {
  margin: 0 0 32px;
}

.compliance-content ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compliance-content li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-size: 16px;
  line-height: 25.6px;
}

.compliance-content li .material-icons {
  color: #22c55e;
  font-size: 24px;
}


.administration {
  padding: 12px 0 56px 0;
  background: var(--surface);
}

.administration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 32px;
}

.administration-card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--soft);
  position: relative;
  transition: none;
  border-top-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  display: flex;
  flex-direction: column;
}


footer {
  padding: 64px 0 32px;
  background: var(--dark);
  color: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin: 0 0 48px;
  padding: 0 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  margin: 0 0 24px;
}

.footer-brand p {
  margin: 0 0 24px;
  color: #a0aec0;
  font-size: 15.2px;
  line-height: 24.32px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 64px;
}

.footer-col {
  display: block;
}

.footer-col h4 {
  margin: 0 0 24px;
  color: var(--surface);
  font-size: 16px;
  font-weight: 700;
  line-height: 19.2px;
}

.footer-col a {
  display: block;
  color: #a0aec0;
  line-height: 25.6px;
  margin: 0 0 16px;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--surface);
}

.section-title-rule {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.section-title-rule::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 8px auto 0;
  border-radius: 2px;
}

.footer-bottom {
  color: var(--muted);
  font-size: 14px;
  line-height: 22.4px;
  text-align: center;
}

.footer-bottom a.link-effect .material-icons {
  color: var(--surface);
}

.footer-bottom a.link-effect {
  display: inline-block;
  color: var(--surface);
  border-radius: 50%;
  padding: 6px;
  height: 42px;
  width: 42px;
  box-sizing: border-box;
  transition: background-color .2s ease-out;
}

.footer-bottom a.link-effect:hover {
  background: var(--surface);
}

.footer-bottom a.link-effect:hover .material-icons {
  color: #ba0c2f;
}


/**********About ISM start***************/
.about-overview {
	position: relative;
    display: flex;
    align-items: center;
    padding: 96px 0;
    padding-top: 50px;
    padding-bottom: 20px;
    min-height: 620px;
    background-image: none;
    background-color: #e4e9fc;
}
.about-overview .hero-text {
	max-width: none;
}
.about-overview .hero-text a {
	color: inherit;
	font-size: inherit;
	font-family: inherit;
	text-decoration: underline;
}
.about-overview .hero {
	padding-top: 50px;
	padding-bottom: 20px;
	min-height: 620px;
	background-image: none;
	background-color: #e4e9fc;
}
.about-overview .hero-content {
	justify-content: flex-start;
	margin-top: -30px;
}
.about-overview .hero-text p {
	font-size: 18px;
	line-height: 28.8px;
	max-width: none;
}
.about-overview .hero-text p:last-child {
	margin-bottom: 0;
}
.about-overview .hero-text ul {
	columns: 2;
	column-gap: 60px;
	max-width: none;
	font-size: 18px;
}
.about-overview .ism-graphics-section {
	background: #ffffff;
	padding: 0;
}
.about-overview .ism-graphics-section .container {
	padding-right: 16px;
}
.about-overview .ism-graphics-container {
	display: flex;
	justify-content: flex-start;
}

.about-overview .hero-overlay {
	background-color: #f0fbfd;
}
.about-overview .hero-text,
.about-overview .hero-text p,
.about-overview .hero-text li,
.about-overview .hero-text a {
	color: #1F4E8A;
}
 .ism-graphics-image {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.container-full {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}
/**********About ISM start***************/

@media (max-width: 900px) {
  .banner-text-effect .banner-initial {
    font-size: 32px;
  }
  .banner-text-effect .banner-word {
    font-size: 16px;
  }
  .banner-text-effect .banner-spacer-wide {
    font-size: 26px;
    width: 10px;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .value-grid {
    justify-content: center;
  }

  .value-item {
    flex: 0 1 214.328px;
  }

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

  .product-grid {
    flex-direction: column;
    align-items: center;
  }

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

  .compliance-image {
    order: 0;
  }

  .compliance-content {
    order: -1;
  }
  
.about-overview .hero-text ul {
	columns: 1;
	column-gap: 60px;
	max-width: none;
	font-size: 18px;
}

}

@media (max-width: 768px) {
  .container.header-content {
    flex-direction: column;
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  header {
    height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 24px;
  }

  header {
    height: auto;
  }

  /* .header-content {
        flex-direction: column;
        gap: 18px;
        padding-top: 20px;
        padding-bottom: 20px;
      } */

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 14px;
  }

  .hero {
    min-height: 620px;
  }

  .hero p {
    font-size: 18px;
    line-height: 28.8px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 412px) {
  .hero-content .btn {
    padding: 14px 32px;
    margin: 12px 0;
    width: 100%;
  }

  header .logo-container img {
    display: block;
    width: 300px !important;
    height: auto;
    object-fit: contain;
    margin-top: 12px;

  }

}

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --primary: #0b4f8a;
  --card: #ffffff;
  --soft: #f5f6f8;
}

body.dark-mode {
  --bg: #0f172a;
  --text: #e2e8f0;
  --primary: #3b82f6;
  --card: #1e293b;
  --soft: #111827;
}

/* apply colors */
body {
  background: var(--bg);
  color: var(--text);
}

.administration-card,
.product-card,
.compliance-image {
  background: var(--card);
}

.value-bar {
  background: var(--soft);
}

.theme-btn {
  background: transparent;
  border: 1px solid #ccc;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 6px;
  margin-left: auto;
}

body.dark-mode .hero-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.capabilities,
.compliance,
.administration {
  background: var(--bg);
}

.section-header p,
.product-card p,
.compliance-content p,
.value-item p {
  color: var(--text);
}

.section-header h2,
.compliance-content h2,
.product-card h3,
.value-item h4 {
  color: var(--text);
}

body.dark-mode .compliance-image {
  box-shadow: none;
}

body.dark-mode {
  color: #e2e8f0;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode li {
  color: #cbd5f5;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: #ffffff;
}

body.dark-mode footer {
  background: #020617;
}

body.dark-mode .footer-brand p,
body.dark-mode .footer-links a {
  color: #cbd5f5;
}

body.dark-mode .compliance-content p {
  color: #cbd5f5;
}

body.dark-mode .product-card,
body.dark-mode .administration-card {
  border: 1px solid #334155;
}

body.dark-mode nav a {
  color: #e2e8f0;
}

body.dark-mode .product-card,
body.dark-mode .administration-card {
  background: #1e293b;
}

.compliance-image img {
  background: transparent !important;
}

body.dark-mode .compliance-image img {
  filter: brightness(1.2) contrast(1.1);
}

.compliance-image {
  background: none;
}

body.dark-mode .compliance-image img {
  filter: brightness(1.8) contrast(1.2);
}

body.dark-mode .visiblycarrier img {
  filter: brightness(1.6) contrast(1.1);
}

body.dark-mode .compliance-image img:hover {
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.theme-btn {
  margin-left: 20px;
  /* spacing after Compliance */
  background: transparent;
  border: 1px solid #ccc;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 6px;
}

body.dark-mode header {
  background: #ffffff;
  /* keep header light */
}

body.dark-mode nav a {
  color: #1a1a1a;
  /* fix visibility */
}

/* ===== THEME TOGGLE (ISOLATED — NO IMPACT) ===== */

/* anchor */
footer .container {
  position: relative;
}

/* position bottom-right */
.theme-footer-right {
  position: absolute;
  right: 30px;
  bottom: 25px;
  z-index: 10;
  display: flex;
  align-items: center;
}

/* divider */
.theme-footer-right::before {
  content: "";
  width: 1px;
  height: 55px;
  background: rgba(255, 255, 255, 0.25);
  margin-right: 12px;
}

/* layout */
.theme-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* text */
.theme-text {
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 4px;
}

/* row */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* switch */
.theme-switch {
  width: 44px;
  height: 22px;
  background: #374151;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* knob */
.theme-switch::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  top: 2px;
  left: 3px;
  border-radius: 50%;
  transition: 0.3s;
}

/* ON state */
body.dark-mode .theme-switch {
  background: #3b82f6;
}

body.dark-mode .theme-switch::before {
  left: 23px;
}

/* emoji blue */
.sun-icon,
.moon-icon {
  font-size: 16px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(87%) saturate(1647%) hue-rotate(203deg) brightness(100%) contrast(101%);
}

.footer-bottom .separator {
  display: block;
  width: 1px;
  height: 15px;
  background: #999999;
  margin: 0 12px;
}

.theme-btn.link-effect {
  border: none;
  margin-left: 0
}

.banner-content-container img {
  height: 40px;
  margin-top: 18px;
  margin-left: -10px;
}

.one-record-line{
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-brand .ftismlogo {
    height: auto;
    border: 12px solid #ffffff;
    box-sizing: border-box;
}

.compliance-content {
    position: relative;
}

.compliance-barcode {
    position: absolute;
    left: 400px;
    top: 430px;
}

.compliance-barcode img {
    width: 120px;
    height: auto;
}