:root {
  --navy: #071644;
  --blue: #0a2472;
  --gold: #d4af37;
  --gold-dark: #a9831f;
  --text: #172033;
  --muted: #566071;
  --surface: #f3f5f8;
  --light-blue: #dceaf7;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(7, 22, 68, 0.14);
  --radius: 8px;
  --content-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
}

h2 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

p {
  margin-bottom: 1.25rem;
}

#wrapper {
  width: 100%;
  overflow-x: hidden;
}

.content-container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  color: #000;
  transform: translateY(0);
}

/* Header and navigation */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 18px max(1rem, calc((100% - var(--content-width)) / 2));
  background: var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: min(950px, calc(100% - 190px));
  color: var(--white);
  text-align: center;
  text-decoration: none;
}

.brand:hover {
  color: var(--gold);
}

.header-badge {
  flex: 0 0 auto;
  width: 88px;
  max-height: 96px;
  object-fit: contain;
}

.company-name {
  color: inherit;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.4rem, 2.8vw, 3.0rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.nav-toggle {
  position: absolute;
  right: 16px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 2.8vw, 2.5rem);
  min-height: 58px;
  padding: 8px 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--navy);
}

.primary-navigation a {
  display: inline-block;
  padding: 9px 7px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.primary-navigation > a:hover,
.primary-navigation .dropdown > a:hover,
.primary-navigation a[aria-current="page"] {
  color: var(--gold);
}

.primary-navigation a[aria-current="page"] {
  box-shadow: inset 0 -3px var(--gold);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 6px;
  border-radius: 0 0 6px 6px;
  background: var(--blue);
  box-shadow: var(--shadow);
  list-style: none;
}

.dropdown-content a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.dropdown-content a:hover,
.dropdown-content a:focus-visible {
  background: var(--gold);
  color: #000;
}

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

/* Reusable buttons */
.button,
.service-button,
.banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.button:hover,
.service-button:hover,
.banner-button:hover {
  transform: translateY(-2px);
}

.button-gold,
.service-button,
.banner-button {
  background: var(--gold);
  color: #000;
}

.button-gold:hover,
.service-button:hover,
.banner-button:hover {
  background: var(--gold-dark);
  color: #000;
}

.button-outline {
  border-color: var(--white);
  color: var(--white);
}

.button-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
}

.button-navy:hover {
  background: var(--blue);
  color: var(--white);
}

/* Contact-page parallax hero */

.contact-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  padding: 72px 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}

/* Moving image layer */

.contact-hero-background {
  position: absolute;
  inset: -15%;
  z-index: -2;
  background:
    url("../images/contact.jpeg")
    center / cover no-repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Dark overlay */

.contact-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      rgba(7, 22, 68, 0.84),
      rgba(7, 22, 68, 0.72)
    );
  content: "";
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.contact-hero h1 {
  color: var(--white);
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.65);
}

.contact-hero p:not(.eyebrow) {
  max-width: 68ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.7);
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.contact-section {
  padding: clamp(55px, 8vw, 90px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 7vw, 80px);
}

.contact-copy > p:not(.eyebrow),
.contact-copy > h2 {
  max-width: 68ch;
}

.contact-details {
  margin-top: 30px;
  font-style: normal;
}

.contact-details ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9dee8;
  border-radius: var(--radius);
  background: #d9dee8;
  list-style: none;
}

.contact-details li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 14px 16px;
  background: var(--white);
}

.detail-label {
  color: var(--navy);
  font-weight: 800;
}

.contact-image-wrapper {
  position: relative;
  margin: 0;
}

.contact-image-wrapper::before {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 58%;
  height: 58%;
  border-radius: var(--radius);
  background: var(--gold);
  content: "";
}

#contact-phone {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.placeholder-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: #fff9e8;
  color: #4c4123;
  font-size: 0.9rem;
}

.consultation-form {
  flex: 1 1 520px;
  display: grid;
  gap: 20px;
  padding: clamp(26px, 5vw, 42px);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
}

.consultation-form-heading {
  margin-bottom: 4px;
  text-align: center;
}

.consultation-form-heading .eyebrow {
  margin-bottom: 7px;
  color: var(--gold);
}

.consultation-form-heading h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.consultation-form-heading p:last-child {
  max-width: 58ch;
  margin-inline: auto;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--navy);
  font-weight: 800;
}

.form-field label span {
  color: #a51616;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #aeb7c7;
  border-radius: 5px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(10, 36, 114, 0.18);
}

.form-security-note {
  margin: 0;
  color: #555;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
}

.form-consent label {
  font-size: 0.9rem;
  line-height: 1.5;
}

.consultation-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    padding: 25px 20px;
  }

  .consultation-submit {
    width: 100%;
  }
}

.contact-cta {
  padding: 54px 0;
  background: var(--gold);
  color: #111;
  text-align: center;
}

.contact-cta h2 {
  color: var(--navy);
}

.contact-cta p {
  margin-bottom: 22px;
}

/* Other shared site sections retained from the original stylesheet */
.banner-container {
  position: relative;
  display: grid;
  min-height: 550px;
  place-items: center;
  padding: 70px 1rem;
  overflow: hidden;

  background-image:
    url("../images/Cybersecurity-Hero.png");

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  color: var(--white);
  text-align: center;
  isolation: isolate;
}


.banner-container::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  content: "";
}

.banner-text {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

/* Decorative lines below featured-service descriptions */

.featured-service-description {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 25px;
}

/* Gold line */

.featured-service-description::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 85px;
  height: 3px;
  border-radius: 10px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--navy),
      var(--navy),
      transparent
    );
  content: "";
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* Center diamond */

.featured-service-description::before {
  position: absolute;
  bottom: -3px;
  left: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid var(--light-blue);
  background: var(--gold);
  content: "";
  transform:
    translateX(-50%)
    rotate(45deg);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

/* Hover and keyboard-focus animation */

#more-intro .intro-item:hover
.featured-service-description::after,
#more-intro .intro-item:focus-visible
.featured-service-description::after {
  width: 140px;
}

#more-intro .intro-item:hover
.featured-service-description::before,
#more-intro .intro-item:focus-visible
.featured-service-description::before {
  background: var(--gold-dark);
  transform:
    translateX(-50%)
    rotate(225deg)
    scale(1.15);
}

#more-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  padding: 35px 1rem;
  background: var(--light-blue);
}

#more-intro .intro-item {
  display: flex;
  flex: 0 1 180px;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#more-intro .intro-item:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

#more-intro .intro-item img {
  width: 120px;
  margin-bottom: 10px;
}

#founder .founder-content,
#guard-info .guard-content {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

#founder .founder-content {
  padding: 50px max(1rem, calc((100% - var(--content-width)) / 2));
  background: var(--navy);
  color: var(--white);
}

#founder .founder-text,
#guard-info .guard-text {
  flex: 1 1 400px;
  padding: 24px;
}

#founder .founder-text h2,
#guard-info .guard-text h2 {
  color: var(--gold);
}

#founder .founder-image-wrapper {
  display: flex;
  flex: 1 1 420px;
  align-items: flex-start;
  padding: 20px;
}

#founder .founder-image {
  width: 100%;
  border: 4px solid var(--gold);
  object-fit: cover;
}

#guard-info {
  padding-top: 20px;
}

#guard-info .guard-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #111;
  color: var(--white);
}

#guard-info .guard-image {
  flex: 1 1 400px;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

#services {
  padding: 45px 1rem;
  background: var(--surface);
  text-align: center;
}

/* Full-background service section */

#services-overview {
  position: relative;
  min-height: 620px;
  padding: clamp(65px, 9vw, 110px) 0;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--white);
  text-align: center;
  isolation: isolate;
  transition: background-image 0.35s ease;
}

/* Personal protection background */

#services-overview[data-service="personal-security"] {
  background-image:
    url("../images/optimized/personal-protection.webp");
}

/* Secure transport background */

#services-overview[data-service="secure-transport"] {
  background-image:
    url("../images/optimized/secure-transport.webp");
}

/* Event security background */

#services-overview[data-service="event-security"] {
  background-image:
    url("../images/optimized/event-security.webp");
}

/* Training background */

#services-overview[data-service="surveillance-services"] {
  background-image:
    linear-gradient(
      rgba(7, 22, 68, 0.1),
      rgba(7, 22, 68, 0.1)
    ),
    url("../images/optimized/surveillance.webp");
}

/* Dark overlay across the entire section */

#services-overview::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      rgba(7, 22, 68, 0.82),
      rgba(7, 22, 68, 0.74)
    );
  content: "";
}

#services-overview .content-container {
  position: relative;
  z-index: 1;
}

#services-overview .eyebrow {
  color: var(--gold);
}

#services-overview #services-title {
  margin-bottom: 28px;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

#services-overview .tabs {
  gap: 16px;
  margin: 30px auto;
}

/* Tab buttons */

#services-overview .tab-button {
  min-width: 185px;
  min-height: 58px;
  padding: 14px 24px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  background: rgba(7, 22, 68, 0.86);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  backdrop-filter: blur(3px);
}

#services-overview .tab-button:hover {
  border-color: var(--gold);
  background: var(--blue);
}

#services-overview .tab-button.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #000000;
}

/* Service descriptions */

.tab-content {
  display: none;
  width: min(100%, 800px);
  min-height: 270px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 55px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 22, 68, 0.64);
  box-shadow: var(--shadow);
  color: var(--white);
  text-align: center;
  backdrop-filter: blur(4px);
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: show-service 0.35s ease;
}

.tab-content h3 {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.tab-content p {
  max-width: 65ch;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  color: var(--white);
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@keyframes show-service {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 450px;
    padding: 60px 0;
  }

  .contact-hero-background {
    inset: -12%;
  }
}

@media (max-width: 768px) {
  #services-overview {
    min-height: 680px;
    padding: 55px 0;
  }

  #services-overview .tabs {
    margin-block: 25px;
  }

  .tab-content {
    min-height: 300px;
    padding: 35px 24px;
  }
}


@keyframes show-service {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Affiliate carousel */
#affiliates {
  padding: clamp(55px, 8vw, 90px) 0;
  background: var(--surface);
  text-align: center;
}

#affiliates h2 {
  margin-bottom: 35px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 950px;
  margin-inline: auto;
  padding: 30px 55px 20px;
  overflow: hidden;
  border: 1px solid #dfe3eb;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.4s ease;
}

.affiliate-slide {
  display: flex;
  flex: 0 0 33.333%;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
}

.affiliate-slide img {
  width: auto;
  max-width: 100%;
  height: 105px;
  object-fit: contain;
  filter: grayscale(25%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.affiliate-slide:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--blue);
  transform: scale(1.08);
}

.carousel-arrow:disabled {
  background: #a7adba;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover {
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--navy);
}

.site-footer {
  padding: 20px 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

/* Join our team */

#join-our-team {
  padding: clamp(60px, 8vw, 95px) 0;
  background:
    linear-gradient(
      135deg,
      var(--surface),
      var(--light-blue)
    );
}

.join-team-heading {
  max-width: 750px;
  margin: 0 auto 42px;
  text-align: center;
}

.join-team-heading h2 {
  margin-bottom: 16px;
}

.join-team-heading > p:not(.eyebrow) {
  max-width: 65ch;
  margin-right: auto;
  margin-left: auto;
}

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

.opportunity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.opportunity-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 38px rgba(7, 22, 68, 0.2);
}

.opportunity-card h3 {
  position: relative;
  z-index: 1;
  max-width: 80%;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.opportunity-card p {
  position: relative;
  z-index: 1;
}

.opportunity-number {
  position: absolute;
  top: 10px;
  right: 20px;
  color: rgba(7, 22, 68, 0.08);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.opportunity-list {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 6px 0 28px;
  padding: 0;
  list-style: none;
}

.opportunity-list li {
  position: relative;
  margin: 0;
  padding-left: 25px;
}

.opportunity-list li::before {
  position: absolute;
  top: 0.55em;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
}

.opportunity-card .button {
  margin-top: auto;
}

.employment-contact {
  margin: 34px 0 0;
  text-align: center;
}

.employment-contact a {
  color: var(--navy);
  font-weight: 800;
}

.employment-contact a:hover {
  color: var(--blue);
}

.employment-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  margin-top: 34px;
  text-align: center;
}

.employment-actions .employment-contact {
  margin: 0;
}

.apply-button {
  min-width: 170px;
}

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

.application-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.application-instructions {
  max-width: 620px;
  margin: 4px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .application-buttons {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .application-buttons .button {
    width: 100%;
  }
}

/* Join-our-team mobile layout */

@media (max-width: 768px) {
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .opportunity-card {
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .opportunity-card {
    padding: 28px 22px;
  }

  .opportunity-card h3 {
    max-width: 75%;
  }

  .opportunity-card .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center;
    min-height: 96px;
    padding: 12px;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .header-badge {
    width: 52px;
    max-height: 66px;
  }

  .company-name {
    font-size: clamp(1.05rem, 3.5vw, 1.75rem);
    line-height: 1.05;
  }

  .nav-toggle {
    position: static;
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
  }

  .primary-navigation {
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 1rem 18px;
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation > a,
  .primary-navigation .dropdown > a {
    display: block;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .primary-navigation a[aria-current="page"] {
    box-shadow: inset 4px 0 var(--gold);
  }

  .dropdown-content {
    position: static;
    display: block;
    margin: 0 0 4px 16px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .dropdown-content a {
    padding: 9px 12px;
    color: #dce5ff;
    font-size: 0.92rem;
  }

  .contact-hero {
    min-height: 390px;
    padding: 55px 0;
  }

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

  .contact-image-wrapper {
    max-width: 620px;
    margin-inline: auto;
  }

  #contact-phone {
    min-height: 320px;
  }

  .carousel {
    padding-inline: 45px;
  }

  .affiliate-slide {
    flex-basis: 50%;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    min-height: 88px;
    padding-inline: 8px;
  }

   .banner-container {
    min-height: 475px;
    background-attachment: scroll;
    background-position: center;
  }

   #services-overview .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  #services-overview .tab-button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .brand {
    gap: 7px;
  }

  .header-badge {
    width: 38px;
    max-height: 52px;
  }

  .company-name {
    font-size: clamp(0.8rem, 3.6vw, 1.1rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .menu-label,
  .nav-toggle > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-details li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-image-wrapper::before {
    right: -8px;
  }

  .carousel {
    padding-inline: 35px;
  }

  .affiliate-slide {
    flex-basis: 100%;
  }

  .affiliate-slide img {
    height: 90px;
  }

  .carousel-controls {
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
