/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Helvetica', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.main {
  flex: 1;
  display: flow-root;
}

p {
  margin-bottom: 15px;
}

p:last-child {
  margin-bottom: 0;
}

/* Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: relative;
  overflow: visible;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.055) 0,
      rgba(0, 0, 0, 0.055) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(
      120deg,
  	  #eeeeee 0%,
 	  #d9dce2 34%,
	  #cfd3dc 50%,
      #e2e4e8 66%,
 	  #f1f1f1 100%
    );
  background-size: auto, 220% 220%;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.55rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  animation: navbar-bg-flow 14s ease-in-out infinite;
}

.header.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(208, 0, 0, 0.55),
    transparent
  );
  background-size: 220% 100%;
  animation: navbar-red-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes navbar-bg-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes navbar-red-sweep {
  0% {
    background-position: 220% 0;
  }

  100% {
    background-position: -220% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header {
    animation: none;
  }

  .header::after {
    animation: none;
  }
}

.centered {
  text-align: center;
}

/* Navigation */
.nav {
  width: 100%;
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.logo {
  max-height: clamp(38px, 5vw, 56px);
  width: auto;
  display: block;
}

.company-name {
  font-family: "Times New Roman", Times, serif;
  color: #D00000;
  font-size: clamp(1.25rem, 3.8vw, 2.6rem);
  font-weight: bold;
  line-height: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  flex-wrap: wrap;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 0.75rem 1.15rem;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.dropdown {
  position: relative;
  padding-bottom: 2px;
}

.dropdown > .nav-link::after {
  content: " ▾";
  font-size: 0.75rem;
}

.nav-list > li > .nav-link::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0.35rem;
  height: 2px;
  background: #D00000;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-list > li > .nav-link:hover,
.nav-list > li > .nav-link:focus,
.nav-list > li > .nav-link.active {
  color: #111;
  background-color: rgba(208, 0, 0, 0.08);
}

.nav-list > li > .nav-link:hover::before,
.nav-list > li > .nav-link:focus::before,
.nav-list > li > .nav-link.active::before {
  transform: scaleX(1);
}

.nav-list > li > .nav-link:hover::before,
.nav-list > li > .nav-link:focus::before,
.nav-list > li > .nav-link.active::before {
  transform: scaleX(1);
}

.dropdown {
  position: relative;
  padding-bottom: 2px;
}

.dropdown > .nav-link::after {
  content: " ▾";
  font-size: 0.75rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 0;
  left: 0;
  min-width: 230px;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  border-top: 3px solid #D00000;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 0.7rem 0.85rem;
  color: #111;
  background: transparent;
  border-radius: 4px;
  box-shadow: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #f2f2f2;
  color: #D00000;
}

.menu-toggle {
  display: none;
  background: #111;
  border: none;
  color: #fff;
  width: 44px;
  height: 40px;
  border-radius: 4px;
  font-size: 1.4rem;
  cursor: pointer;
}


/* Social */
.social-strip {
  background: #f7f7f7;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.45rem 0;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: #fff;
  transform: translateY(-2px);
}

.social-links img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Slideshow */
.slideshow {
  position: relative;
  margin: 2rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.slides {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  display: block;
  opacity: 1;
}

.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.prev-slide:hover,
.next-slide:hover {
  background: linear-gradient(135deg, #333, #666);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.prev-slide {
  left: 1rem;
}

.next-slide {
  right: 1rem;
}

/* Solutions Page Background */
.solutions-page .main {
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.82)
    ),
    url("/images/solutionsbg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  }

/* IBS Teams */
.team-section {
  margin-top: 2rem;
}

.md-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  margin: 2rem 0 2.5rem;
  background: linear-gradient(135deg, #fff, #f8f8f8);
  border-left: 6px solid #D00000;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.md-photo-wrap {
  position: relative;
}

.md-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 2px solid #D00000;
  border-radius: 6px;
  z-index: 0;
}

.md-card img {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.md-content h2 {
  margin-bottom: 0.25rem;
  font-size: 1.7rem;
}

.md-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  background: #D00000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
}

.md-role {
  margin-bottom: 1rem;
  color: #D00000;
  font-weight: 600;
}

.team-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.team-group {
  padding: 1.5rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-group-divider {
  border-left: 3px solid #D00000;
}

.team-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

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

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

.team-member {
  text-align: center;
  padding: 1rem;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fafafa;
}

.team-member img {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.team-member h3 {
  margin-bottom: 0.25rem;
  color: #000;
  font-size: 1rem;
}

.team-member p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.team-bio {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}


/* Content */
.content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #000;
  font-weight: 600;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Services Page */
.service-page-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 250, 0.98)),
    url("/images/servicerequest.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.services-hero {
  padding: 4rem 0 3rem;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(36, 47, 58, 0.82)),
    url("/images/servicerequest.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.services-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: center;
}

.services-eyebrow {
  margin: 0 0 0.6rem;
  color: #D00000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-hero .services-eyebrow {
  color: #ff6b6b;
}

.services-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 1.05;
}

.services-lead {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.content a.secondary-button,
.services-actions .secondary-button {
  background: #fff;
  color: #111;
}

.content a.secondary-button:hover,
.services-actions .secondary-button:hover {
  background: #e9edf2;
  color: #111;
}

.services-hero-panel {
  padding: 1.35rem;
  border-top: 4px solid #D00000;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.services-hero-panel strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.services-hero-panel span {
  color: #555;
}

.services-section {
  padding: 3rem 1rem;
}

.services-section-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.services-section-heading h2,
.services-cta h2 {
  margin: 0 0 0.65rem;
  color: #111;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.services-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.services-pillar {
  padding: 1.35rem;
  border: 1px solid #e0e5eb;
  border-top: 4px solid #D00000;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.08);
}

.services-pillar.featured {
  border-top-color: #222;
  background: linear-gradient(180deg, #f7f9fb, #fff);
}

.services-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.services-pillar h3 {
  margin: 0 0 0.6rem;
  color: #111;
  font-size: 1.25rem;
}

.services-pillar ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.services-pillar li {
  margin: 0.35rem 0;
}

.services-process {
  padding: 2rem 0;
  background: #111;
  color: #fff;
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.services-process-grid div {
  padding: 1rem;
  border-left: 3px solid #D00000;
}

.services-process-grid span {
  display: block;
  color: #ff6b6b;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.services-process-grid strong {
  display: block;
  margin: 0.45rem 0 0.3rem;
  font-size: 1.08rem;
}

.services-process-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0e5eb;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.08);
}

.services-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .services-hero-inner,
  .services-pillar-grid,
  .services-process-grid {
    grid-template-columns: 1fr;
  }

  .services-hero {
    padding: 3rem 0 2.5rem;
  }

  .services-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .service-page-main {
    background-attachment: scroll;
  }

  .services-actions {
    flex-direction: column;
  }

  .services-actions .button,
  .services-cta .button,
  .services-actions .service-action,
  .services-cta .service-action {
    width: 100%;
    text-align: left;
  }
}

.service-action {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  min-height: 66px;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-action-kicker {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-action strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.service-action.primary {
  color: #fff;
  background: linear-gradient(135deg, #D00000, #9b0000);
  box-shadow: 0 10px 22px rgba(208, 0, 0, 0.28);
}

.service-action.secondary {
  color: #111;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.65);
}

.service-action.primary .service-action-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.service-action.secondary .service-action-kicker {
  color: #D00000;
}

.service-action:hover,
.service-action:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.service-action.primary:hover,
.service-action.primary:focus {
  color: #fff;
  background: linear-gradient(135deg, #e00000, #a80000);
  box-shadow: 0 14px 28px rgba(208, 0, 0, 0.34);
}

.service-action.secondary:hover,
.service-action.secondary:focus {
  color: #111;
  background: #fff;
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.14);
}

.service-action.compact {
  color: #fff;
  min-width: 250px;
  background: #111;
  border-color: #111;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.service-action.compact .service-action-kicker {
  color: #ff6b6b;
}

.service-action.compact:hover,
.service-action.compact:focus {
  color: #fff;
  background: #D00000;
  border-color: #D00000;
}


/* Google Maps*/ 
.map-section {
  width: 100%;
  margin-top: 2rem;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Sidebar */
.sidebar {
  margin: 2rem 0;
}

.tab-list {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tab-button:hover,
.tab-button:active {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab-button:disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

/* Product Specs */
.product-specs {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.product-specs ul {
  flex: 1 1 55%;
  margin: 0;
  padding-left: 20px;
}

.product-image {
  flex: 0 0 38%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  object-fit: contain;
}
/* Product Feature Layout */
.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 1.5rem;
}

.product-copy {
  flex: 1 1 55%;
}

.product-feature .product-image {
  flex: 0 0 38%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product-feature .product-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
}

.tab-content {
  display: none;
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
  display: block;
}

.tab-content img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.tab-content .product-specs {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.tab-content .product-specs ul {
  flex: 1 1 55%;
  margin: 0;
  padding-left: 20px;
}

.tab-content .product-image {
  flex: 0 0 38%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.tab-content .product-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 0;
}

.tab-content h2 {
  font-size: 1.25rem;
  color: #000;
  margin-bottom: 1rem;
}

.tab-content p,
.tab-content ul {
  margin-bottom: 1rem;
}

/* Branch Contacts */
.branch-contact-section {
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.branch-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.branch-contact-card {
  padding: 1.25rem;
  background: #fff;
  border-top: 4px solid #D00000;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.branch-contact-card h3 {
  margin-bottom: 0.75rem;
  color: #000;
  font-size: 1.1rem;
}

.branch-contact-card p {
  margin-bottom: 0.5rem;
}

.branch-contact-card a {
  color: #D00000;
  text-decoration: none;
  font-weight: 600;
}

.branch-contact-card a:hover,
.branch-contact-card a:focus {
  color: #9b0000;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .branch-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .branch-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Display Solutions Page */
.display-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.25rem;
  background:
    linear-gradient(120deg, rgba(0, 111, 185, 0.92), rgba(0, 164, 168, 0.82)),
    linear-gradient(135deg, #003f6b, #00a4a8);
  color: #fff;
}

.display-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
    radial-gradient(circle at 12% 85%, rgba(0, 210, 190, 0.22), transparent 34%);
  pointer-events: none;
}

.display-hero .container {
  position: relative;
  z-index: 1;
}

.display-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 380px);
  gap: 2rem;
  align-items: center;
}

.display-eyebrow {
  margin: 0 0 0.75rem;
  color: #00a4a8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display-hero .display-eyebrow {
  color: #bff8f4;
}

.display-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
}

.display-lead {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.display-summary {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 36px rgba(0, 44, 73, 0.28);
  backdrop-filter: blur(8px);
}

.display-summary div {
  padding: 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.display-summary strong {
  display: block;
  color: #006fb9;
  font-size: 1.7rem;
  line-height: 1;
}

.display-summary span {
  display: block;
  margin-top: 0.35rem;
  color: #344652;
  font-size: 0.94rem;
}

.display-section {
  padding: 3.5rem 0;
  background: #fff;
}

.display-section.alt {
  background:
    linear-gradient(180deg, #f2f9fb, #ffffff);
  border-top: 1px solid #d9edf2;
  border-bottom: 1px solid #d9edf2;
}

.display-section h2 {
  margin: 0 0 0.55rem;
  color: #12344a;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.display-section-intro {
  max-width: 780px;
  margin: 0 0 1.6rem;
  color: #596b76;
}

.display-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.display-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid #d8e8ee;
  border-top: 4px solid #00a4a8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 52, 74, 0.09);
}

.display-card.featured {
  border-top-color: #006fb9;
  background:
    linear-gradient(180deg, rgba(0, 111, 185, 0.08), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.display-tag {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  color: #005b91;
  background: #e5f5fb;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.display-card h3 {
  margin: 0;
  color: #12344a;
  font-size: 1.24rem;
  line-height: 1.2;
}

.display-card p {
  margin: 0.75rem 0 1rem;
  color: #586873;
}

.display-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: #2f3d46;
}

.display-card li {
  margin: 0.35rem 0;
}

.display-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.display-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #006fb9, #00598e);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 111, 185, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.display-button:hover,
.display-button:focus {
  color: #fff;
  background: linear-gradient(135deg, #0088cf, #006fb9);
  box-shadow: 0 7px 16px rgba(0, 111, 185, 0.28);
  transform: translateY(-2px);
}

.display-button.secondary {
  color: #00598e;
  background: #e5f5fb;
  box-shadow: none;
}

.display-button.secondary:hover,
.display-button.secondary:focus {
  color: #003f6b;
  background: #d5eef8;
}

.display-note {
  margin-top: 1.5rem;
  color: #687684;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .display-hero-grid,
  .display-grid {
    grid-template-columns: 1fr;
  }

  .display-hero {
    padding: 3.25rem 0 2.5rem;
  }
}

@media (max-width: 520px) {
  .display-section {
    padding: 2.5rem 0;
  }

  .display-card {
    padding: 1.1rem;
  }

  .display-actions {
    flex-direction: column;
  }

  .display-button {
    width: 100%;
  }
}

.display-hero {
  background:
    linear-gradient(90deg, rgba(0, 41, 68, 0.92), rgba(0, 111, 185, 0.70), rgba(0, 164, 168, 0.38)),
    url("/assets/display-hero-meeting.webp");
  background-size: cover;
  background-position: center;
}

.display-section:nth-of-type(2) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    url("/assets/display-meeting-room.webp");
  background-size: cover;
  background-position: center;
}

.display-section.alt {
  background:
    linear-gradient(90deg, rgba(242, 249, 251, 0.96), rgba(255, 255, 255, 0.86)),
    url("/assets/display-signage-lobby.webp");
  background-size: cover;
  background-position: center;
}

.display-section:nth-of-type(4) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.88)),
    url("/assets/display-mdm-dashboard.webp");
  background-size: cover;
  background-position: center;
}

/* Sales Inquiry Page Background */
.sales-page .main {
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.50),
      rgba(255, 255, 255, 0.92)
    ),
    url("/images/sales-background.png");
  background-size: min(1500px, 100%) auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #f4f4f4;
  background-attachment: fixed;
}

.sales-page .content {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.sales-page .page-title {
  margin-bottom: 1.25rem;
  color: #000;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.sales-page .sales-form {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(7px);
  border-top: 5px solid #D00000;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  padding: 1.0rem 0 1.5rem;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-cheetah {
  position: absolute;
  bottom: 5px;
  left: 0;
  --cheetah-width: 160px;
  width: var(--cheetah-width);
  max-width: 40vw;
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  animation: run-across 14s linear infinite;
  will-change: transform;
}

@keyframes run-across {
  0% {
    transform: translateX(calc(-1 * var(--cheetah-width)));
  }

  100% {
    transform: translateX(calc(100vw + var(--cheetah-width)));
  }
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0rem;
  padding-left: 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.2rem 0.3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.form-intro {
  text-align: center;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Sales Form */
.sales-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group input:disabled {
  background-color: #e9ecef;
  color: #888;
  border-color: #c7c7c7;
  cursor: not-allowed;
  opacity: 0.75;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #222;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/*Service Request Form*/
.problem-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
}

.problem-options label {
  cursor: pointer;
}

.problem-options input {
  display: none;
}

.problem-options span {
  display: inline-block;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #333;
}

.problem-options input:checked + span {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

/* Toner Order */
.toner-page {
  background-image: url("/images/tonerorderformsplash.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.toner-main {
  padding: 0.5rem 0 1rem;
}

.toner-page .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toner-page .page-title {
  color: #000;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.toner-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(6px);
  border-top: 2px solid #D00000;
}

.toner-form .form-intro {
  margin-bottom: 0.75rem;
}

.toner-form .form-group {
  margin-bottom: 0.9rem;
}

.toner-form .form-group input,
.toner-form .form-group select {
  padding: 0.6rem 0.5rem;
}

.toner-form .btn {
  padding: 0.5rem;
}

/* Toner Colour Dropdown */
#toner-colour {
  background-color: #666;
  color: #fff;
}

#toner-colour option {
  background-color: #666;
  color: #fff;
}

#toner-colour option.toner-cyan {
  color: #00ffff;
}

#toner-colour option.toner-magenta {
  color: #ff00ff;
}

#toner-colour option.toner-yellow {
  color: #ffff00;
}

#toner-colour option.toner-black {
  color: #000000;
}

::placeholder {
  color: #999;
  font-size: 0.9rem;
}

.btn {
  width: 100%;
  padding: 0.85rem;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}

.btn:hover {
  background: #333;
}

.btn:active {
  transform: scale(0.98);
}

.cta-section {
  margin-bottom: 3rem;
}

.content a.button {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: #D00000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.content a.button:hover,
.content a.button:focus {
  background: #9b0000;
  color: #fff;
  text-decoration: none;
}

.content a.button:active {
  transform: scale(0.98);
}


.service-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
}

.service-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-item h2 {
  font-size: 1.2rem;
  padding: 1rem;
  margin: 0;
  color: #000;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Service Request Page */
.service-request-page {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.55)),
    url("/images/servicerequest.png");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.service-request-main {
  padding: 1rem 0;
}

.service-request-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  border-top: 5px solid #D00000;
}

/* Service Audio */
.service-stage {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(320px, 600px) minmax(180px, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.timed-text {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 140px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.timed-text-line {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    filter 0.55s ease;
}

.timed-text-line.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  animation: timedTextPulse 0.9s ease;
}

.timed-text-left {
  text-align: right;
  align-items: flex-end;
}

.timed-text-right {
  text-align: left;
  align-items: flex-start;
}

@keyframes timedTextPulse {
  0% {
    text-shadow: 0 0 0 rgba(208, 0, 0, 0);
  }

  45% {
    text-shadow:
      0 2px 10px rgba(0, 0, 0, 0.85),
      0 0 18px rgba(208, 0, 0, 0.75);
  }

  100% {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  }
}

.timed-text.has-ended .timed-text-line {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(-10px) scale(0.98);
  transition:
    opacity 1.2s ease 1s,
    filter 1.2s ease 1s,
    transform 1.2s ease 1s;
}

#serviceAudio {
  display: block;
  width: min(600px, calc(100% - 2rem));
  margin: 0 auto 1rem;
}
.form-title {
  margin-bottom: 1.25rem;
  color: #000;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

/*Service Cards in IT*/
.service-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  border-radius: 6px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
  display: none;
}

.service-card.cybersecurity::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 0, 0, 0.8) 50%, transparent 100%) 0 22% / 45% 2px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(255, 0, 0, 0.6) 50%, transparent 100%) 100% 35% / 38% 2px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(255, 0, 0, 0.6) 50%, transparent 100%) 0 66% / 40% 2px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(255, 0, 0, 0.6) 50%, transparent 100%) 100% 72% / 42% 2px no-repeat;
  transition: opacity 0.25s ease;
}

.service-card.cybersecurity:hover::after,
.service-card.cybersecurity:focus::after {
  opacity: 1;
  animation: cybersecurity-data-pulse 1.4s ease-in-out infinite;
}

@keyframes cybersecurity-data-pulse {
  0% {
    background-position:
      0 22%,
      100% 35%,
      0 66%,
      100% 72%;
    opacity: 0.35;
  }

  50% {
    background-position:
      12% 22%,
      88% 35%,
      14% 66%,
      86% 72%;
    opacity: 1;
  }

  100% {
    background-position:
      0 22%,
      100% 35%,
      0 66%,
      100% 72%;
    opacity: 0.35;
  }
}

.service-card.cloud-backups::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(to top, transparent 0%, rgba(230, 0, 0, 0.80) 50%, transparent 100%) 42% 78% / 2px 28% no-repeat,
    linear-gradient(to top, transparent 0%, rgba(230, 0, 0, 0.65) 50%, transparent 100%) 48% 82% / 2px 24% no-repeat,
    linear-gradient(to top, transparent 0%, rgba(230, 0, 0, 0.75) 50%, transparent 100%) 54% 80% / 2px 26% no-repeat,
    radial-gradient(circle, rgba(230, 0, 0, 0.35) 0%, transparent 55%) 82% 74% / 120px 120px no-repeat;
  transition: opacity 0.25s ease;
}

.service-card.cloud-backups:hover::after,
.service-card.cloud-backups:focus::after {
  opacity: 1;
  animation: cloud-data-upload 1.5s ease-in-out infinite;
}

@keyframes cloud-data-upload {
  0% {
    background-position:
      42% 86%,
      48% 90%,
      54% 88%,
      82% 74%;
    opacity: 0.35;
  }

  50% {
    background-position:
      42% 58%,
      48% 62%,
      54% 60%,
      82% 74%;
    opacity: 1;
  }

  100% {
    background-position:
      42% 86%,
      48% 90%,
      54% 88%,
      82% 74%;
    opacity: 0.35;
  }
}

.service-card.managed-support::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(208, 0, 0, 0.35) 0%, transparent 55%) 72% 20% / 110px 110px no-repeat,
    radial-gradient(circle, rgba(208, 0, 0, 0.28) 0%, transparent 55%) 72% 42% / 110px 110px no-repeat,
    radial-gradient(circle, rgba(208, 0, 0, 0.25) 0%, transparent 55%) 72% 64% / 110px 110px no-repeat,
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%) -120% 0 / 45% 100% no-repeat;
  transition: opacity 0.25s ease;
}

.service-card.managed-support:hover::after,
.service-card.managed-support:focus::after {
  opacity: 1;
  animation: managed-support-active 1.8s ease-in-out infinite;
}

@keyframes managed-support-active {
  0% {
    background-position:
      72% 20%,
      72% 42%,
      72% 64%,
      -120% 0;
    opacity: 0.35;
  }

  50% {
    background-position:
      72% 20%,
      72% 42%,
      72% 64%,
      120% 0;
    opacity: 1;
  }

  100% {
    background-position:
      72% 20%,
      72% 42%,
      72% 64%,
      -120% 0;
    opacity: 0.35;
  }
}

.service-card span {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  padding: 1.25rem 1rem 1rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(208, 0, 0, 0.25);
}

.service-card.managed-support {
  background-image: url("/images/managedsupport2.png");
}

.service-card.managed-support:hover,
.service-card.managed-support:focus {
  background-image: url("/images/managedsupport-hover.png");
}

.service-card.cybersecurity {
  background-image: url("/images/cybersecurity.png");
}

.service-card.cybersecurity:hover,
.service-card.cybersecurity:focus {
  background-image: url("/images/cybersecurity-hover.png");
}

.service-card.cloud-backups {
  background-image: url("/images/clouddata.png");
}

.service-card.cloud-backups:hover,
.service-card.cloud-backups:focus {
  background-image: url("/images/clouddata-hover.png");
}


/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }

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

  .service-card {
    min-height: 280px;
  }

  .service-item img {
    height: 200px;
  }

  .nav-inner {
    gap: 0.75rem;
  }

  .brand {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .logo {
    max-height: 42px;
  }

  .company-name {
    font-size: 1.05rem;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    box-shadow: none;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list a {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .dropdown-menu {
    position: static;
    display: block;
    min-width: 100%;
    margin-top: 0.25rem;
    padding: 0.25rem;
    border: none;
    border-left: 3px solid #D00000;
    border-radius: 4px;
    box-shadow: none;
    background: #f7f7f7;
  }

  .dropdown-menu:empty {
    display: none;
  }

  .prev-slide,
  .next-slide {
    display: none;
  }

  .slideshow {
    margin: 1.5rem 0;
  }

  .service-request-page,
  .toner-page,
  .solutions-page .main {
    background-attachment: scroll;
    background-position: center top;
  }

  .toner-main {
    padding: 2rem 0;
  }

  .md-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .md-photo-wrap {
    justify-self: center;
  }

  .md-photo-wrap::after {
    display: none;
  }

  .team-groups {
    grid-template-columns: 1fr;
  }

  .team-group-divider {
    border-left: none;
    border-top: 3px solid #D00000;
  }

  .content h1 {
    font-size: 1.75rem;
  }

  .sidebar {
    margin-top: 0;
  }

  .tab-list {
    flex-wrap: wrap;
  }

  .product-specs {
    flex-direction: column;
  }

  .product-image img {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 900px) {
  .service-stage {
    grid-template-columns: 1fr;
  }

  .timed-text,
  .timed-text-left,
  .timed-text-right {
    min-height: auto;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .brand {
    flex-direction: column;
  }

  .company-name {
    white-space: normal;
    line-height: 1.2;
  }

  .sales-form {
    margin: 1rem;
    padding: 1.25rem;
  }
}

@media (max-width: 520px) {
  .sales-team,
  .technical-team {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .tab-content .product-specs {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 30px;
  }

  .tab-content .product-specs ul {
    flex: 1 1 55%;
  }

  .tab-content .product-image {
    flex: 0 0 38%;
  }

  .tab-content .product-image img {
    width: 100% !important;
    max-width: 460px !important;
    height: auto !important;
    margin-bottom: 0;
  }
}

/* Document Solutions Page */
.doc-solutions-main {
  padding-bottom: 3rem;
}

.doc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.doc-hero-copy {
  max-width: 780px;
  padding: 1.5rem;
  border-left: 5px solid #D00000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border-radius: 8px;
}

.doc-eyebrow,
.it-eyebrow {
  margin: 0 0 0.6rem;
  color: #D00000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-hero h1,
.it-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.05;
}

.doc-hero h1 {
  color: #111;
}

.doc-hero-panel,
.it-hero-panel {
  padding: 1.35rem;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.doc-hero-panel {
  background: #111;
  color: #fff;
}

.doc-hero-panel strong,
.it-hero-panel strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.doc-hero-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.doc-action,
.it-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #D00000, #9b0000);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(208, 0, 0, 0.24);
}

.doc-action:hover,
.doc-action:focus,
.it-action:hover,
.it-action:focus {
  color: #fff;
  background: linear-gradient(135deg, #e00000, #a80000);
  transform: translateY(-2px);
}

.doc-section {
  padding: 2rem 1rem;
}

.doc-section-heading,
.it-section-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.doc-section-heading h2,
.doc-combo h2,
.doc-cta h2,
.it-section-heading h2,
.it-two-column h2,
.it-band h2,
.it-cta h2 {
  margin: 0 0 0.65rem;
  color: #111;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.doc-process-grid,
.doc-card-grid {
  display: grid;
  gap: 1rem;
}

.doc-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.doc-process-grid div,
.doc-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e0e5eb;
  border-top: 4px solid #D00000;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.08);
}

.doc-process-grid span,
.it-process-grid span {
  color: #D00000;
  font-weight: 800;
}

.doc-process-grid strong,
.it-process-grid strong {
  display: block;
  margin: 0.35rem 0;
  color: #111;
  font-size: 1.1rem;
}

.doc-card.featured {
  background: linear-gradient(180deg, #f7f9fb, #fff);
  border-top-color: #111;
}

.doc-card h3 {
  margin: 0 0 0.55rem;
  color: #111;
}

.doc-card details {
  margin-top: 1rem;
}

.doc-card summary {
  cursor: pointer;
  color: #D00000;
  font-weight: 800;
}

.doc-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.doc-combo {
  margin: 2rem 0;
  padding: 2rem 0;
  background: #111;
  color: #fff;
}

.doc-combo-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.doc-combo h2,
.it-band h2 {
  color: #fff;
}

.doc-combo-list {
  display: grid;
  gap: 0.75rem;
}

.doc-combo-list p {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #D00000;
  border-radius: 6px;
}

.doc-cta,
.it-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.08);
}

.doc-cta .doc-action,
.it-cta .it-action {
  flex: 0 0 auto;
}

/* Managed I.T Services Page */
.it-main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 250, 0.98));
  padding-bottom: 3rem;
}

.it-hero {
  padding: 4rem 0 3.25rem;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(28, 39, 50, 0.78)),
    url("/images/managedsupport2.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.it-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: center;
}

.it-hero-copy {
  max-width: 820px;
}

.it-hero .it-eyebrow,
.it-band .it-eyebrow {
  color: #ff6b6b;
}

.it-hero h1 {
  color: #fff;
}

.it-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.it-hero-panel {
  border-top: 4px solid #D00000;
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.it-hero-panel span {
  color: #555;
}

.it-section {
  padding: 2.75rem 1rem;
}

.it-service-grid {
  margin-top: 1.25rem;
}

.it-two-column,
.it-band-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.it-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.it-check-grid div {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e0e5eb;
  border-left: 4px solid #D00000;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 31, 43, 0.06);
}

.it-band {
  margin: 1rem 0;
  padding: 2.25rem 0;
  background: #111;
  color: #fff;
}

.it-mini-grid,
.it-process-grid {
  display: grid;
  gap: 1rem;
}

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

.it-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.it-mini-grid article,
.it-process-grid div {
  padding: 1.15rem;
  border-radius: 8px;
}

.it-mini-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #D00000;
}

.it-mini-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.it-mini-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.it-process-grid div {
  background: #fff;
  border: 1px solid #e0e5eb;
  border-top: 4px solid #D00000;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.08);
}

@media (max-width: 900px) {
  .doc-hero,
  .doc-combo-grid,
  .doc-cta,
  .it-hero-grid,
  .it-two-column,
  .it-band-grid,
  .it-mini-grid,
  .it-process-grid {
    grid-template-columns: 1fr;
  }

  .doc-process-grid,
  .doc-card-grid {
    grid-template-columns: 1fr;
  }

  .doc-cta,
  .it-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-action,
  .it-action {
    width: 100%;
    text-align: center;
  }
}

/* Home Page */
.home-main {
  background: linear-gradient(180deg, #fff, #f6f8fa);
  padding-bottom: 0rem;
}

.home-hero {
  padding: 4rem 0 3.25rem;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.86), rgba(36, 47, 58, 0.72)),
    url("/images/hero-taskalfapro15000c.jpeg");
  background-size: cover;
  background-position: center top;
  color: #fff;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: center;
}

.home-hero-copy {
  max-width: 850px;
}

.home-eyebrow {
  margin: 0 0 0.6rem;
  color: #D00000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero .home-eyebrow {
  color: #ff6b6b;
}

.home-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.05;
}

.home-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.home-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
  padding: 0.9rem 1rem;
  color: #111;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-action:hover,
.home-action:focus {
  color: #fff;
  background: linear-gradient(135deg, #D00000, #9b0000);
  box-shadow: 0 10px 22px rgba(208, 0, 0, 0.28);
}

.home-action span {
  margin-bottom: 0.18rem;
  color: #D00000;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-action:hover span,
.home-action:focus span {
  color: rgba(255, 255, 255, 0.78);
}

.home-action strong {
  font-size: 1rem;
  line-height: 1.2;
}

.home-action:hover,
.home-action:focus,
.home-card:hover,
.home-card:focus,
.home-button:hover,
.home-button:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.home-hero-panel {
  padding: 1.35rem;
  border-top: 4px solid #D00000;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.home-hero-panel strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.home-hero-panel ul {
  margin: 0;
  padding-left: 1.15rem;
}

.home-pathways,
.home-section,
.home-feature {
  padding-top: 1rem;
}

.home-section-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.home-section-heading h2,
.home-feature h2 {
  margin: 0 0 0.65rem;
  color: #111;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-card {
  display: block;
  min-height: 100%;
  padding: 1.25rem;
  color: #333;
  background: #fff;
  border: 1px solid #e0e5eb;
  border-top: 4px solid #D00000;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-card span {
  color: #D00000;
  font-weight: 800;
}

.home-card h3 {
  margin: 0.35rem 0 0.55rem;
  color: #111;
}

.home-slideshow {
  margin: 3rem 0 0;
  box-shadow: none;
}

.home-feature {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: center;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.85rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #D00000, #9b0000);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-product {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.08);
}

.home-product img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.home-product h3 {
  margin: 0 0 0.45rem;
  color: #111;
}

.home-quote {
  margin-top: 1rem;
  padding: 1rem 0;
  background: #454545;
  color: #fff;
  text-align: center;
}

.home-quote p {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}

.home-quote span {
  color: rgba(255, 255, 255, 0.75);
}

.home-quote-compact {
  margin-top: 0;
  padding: 0.35rem 0;
}

.home-quote-compact p,
.home-quote-compact span {
  display: inline;
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-quote-compact span::before {
  content: " ";
}

.home-quote-compact span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

@media (max-width: 1000px) {
  .home-hero-grid,
  .home-feature {
    grid-template-columns: 1fr;
  }

  .home-actions,
  .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-actions,
  .home-card-grid,
  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 3rem 0 2.5rem;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Support Chatbot */
.support-chatbot {
  position: fixed;
  right: 18px;
  top: 140px;
  z-index: 1400;
  font-family: inherit;
}

.support-chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.95rem;
  border: none;
  border-radius: 999px;
  background: #e88282;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.support-chatbot-toggle:hover,
.support-chatbot-toggle:focus {
  background: #D00000;
}

.support-chatbot-panel {
  position: absolute;
  right: 0;
  top: 85px;
  width: min(380px, calc(100vw - 36px));
  max-height: min(620px, calc(100vh - 110px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-top: 4px solid #D00000;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.support-chatbot-panel[hidden] {
  display: none;
}

.support-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: #f6f8fa;
  border-bottom: 1px solid #e5e7eb;
}

.support-chatbot-header strong,
.support-chatbot-header span {
  display: block;
}

.support-chatbot-header strong {
  color: #111;
  font-size: 0.98rem;
}

.support-chatbot-header span {
  color: #5f6b7a;
  font-size: 0.78rem;
}

.support-chatbot-close {
  width: 30px;
  height: 30px;
  border: 1px solid #d0d7de;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.support-chatbot-close:hover,
.support-chatbot-close:focus {
  border-color: #D00000;
  color: #D00000;
}

.support-chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 240px;
  max-height: 360px;
  overflow-y: auto;
  padding: 1rem;
  background: #fbfcfd;
}

.support-chatbot-message {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 88%;
}

.support-chatbot-message.bot {
  align-self: flex-start;
}

.support-chatbot-message.user {
  align-self: flex-end;
}

.support-chatbot-bubble {
  padding: 0.72rem 0.82rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.42;
  color: #17202a;
  background: #eef2f6;
}

.support-chatbot-message.user .support-chatbot-bubble {
  background: #111;
  color: #fff;
}

.support-chatbot-message img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.support-chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.85rem 1rem 1rem;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.support-chatbot-action {
  flex: 1 1 auto;
  min-width: 130px;
  padding: 0.68rem 0.75rem;
  border: 1px solid #ccd3db;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.support-chatbot-action:hover,
.support-chatbot-action:focus {
  border-color: #D00000;
  color: #D00000;
}

.support-chatbot-action.primary {
  background: #D00000;
  border-color: #D00000;
  color: #fff;
}

.support-chatbot-action.primary:hover,
.support-chatbot-action.primary:focus {
  background: #9b0000;
  border-color: #9b0000;
  color: #fff;
}

.chatbot-summary-field textarea {
  min-height: 150px;
  background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 520px) {
  .support-chatbot {
    right: 12px;
    top: 90px;
  }

  .support-chatbot-panel {
    width: calc(100vw - 24px);
    top: 56px;
  }

  .support-chatbot-messages {
    max-height: 320px;
  }

  .support-chatbot-action {
    min-width: 100%;
  }
}
