* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background: #0a1f44;
  color: #fff;
  padding: 0px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
    color: #fff;
    margin-left: 28px;
    text-decoration: none;

    font-size: 17px;
    font-weight: 600;
    letter-spacing: .3px;

    transition: color .25s ease;
}

.nav a:hover{
    color:#3fa9f5;
}

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

.logo img{
    height:110px;
    width:auto;
    display:block;
    transition:0.3s ease;
}

.logo img:hover{
    opacity:0.9;
}

/* ===========================
   HOME PAGE SLIDESHOW
=========================== */

.home-slideshow {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  color: #ffffff;
  background: #0a1f44;
}

.home-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.9s ease,
    transform 6s ease;
}

.home-slide.active {
  opacity: 1;
  transform: scale(1);
}
/* VIDEO SLIDES ONLY */

.home-video-slide {
  overflow: hidden;
  background: #0a1f44;
}

.home-video-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK OVERLAY */

.home-slideshow-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(10, 31, 68, 0.88) 0%,
    rgba(10, 31, 68, 0.65) 48%,
    rgba(10, 31, 68, 0.28) 100%
  );
}


/* SLIDESHOW TEXT */

.home-slideshow-content {
  position: relative;
  z-index: 2;

  display: flex;
  min-height: 590px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-slideshow-content h1 {
  max-width: 950px;
  margin: 0 0 18px;

  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.home-slideshow-content p {
  max-width: 680px;
  margin: 0;

  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}


/* EXPLORE PRODUCTS BUTTON */

.home-slideshow-button {
  margin-top: 30px;
  padding: 13px 24px;

  font-weight: 700;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.home-slideshow-button:hover {
  background: #0a1f44;
  transform: translateY(-2px);
}


/* LEFT AND RIGHT ARROWS */

.home-slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;

  width: 48px;
  height: 58px;

  border: 0;
  color: #ffffff;
  background: rgba(10, 31, 68, 0.55);

  font-size: 29px;
  cursor: pointer;

  transform: translateY(-50%);
  transition: background 0.25s ease;
}

.home-slide-arrow:hover {
  background: rgba(0, 119, 204, 0.9);
}

.home-slide-prev {
  left: 20px;
}

.home-slide-next {
  right: 20px;
}


/* SLIDESHOW DOTS */

.home-slide-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;

  display: flex;
  gap: 10px;

  transform: translateX(-50%);
}

.home-slide-dot {
  width: 12px;
  height: 12px;

  border: 2px solid #ffffff;
  border-radius: 50%;

  background: transparent;
  cursor: pointer;
}

.home-slide-dot.active {
  background: #ffffff;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

/* Products */
.products {
  background: #eef2f7;
  padding: 40px 0;
}

.product-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.product {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 5px;
}

/* Footer */

footer {
  background: #0a1f44;
  color: #ffffff;
  margin-top: 10px;
  border-top: 5px solid #0077cc;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 55px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.footer-column h3 {
  color: #ffffff;
  margin-bottom: 18px;
  font-size: 20px;
  border-bottom: 3px solid #0077cc;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-column p {
  color: #d9d9d9;
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #d9d9d9;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-logo-column {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-logo {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
  
      margin-top: -30px;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: #bfbfbf;
  font-size: 14px;
}

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

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 200px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .features, .product-grid {
    flex-direction: column;
  }

  .hero h2 {
    font-size: 28px;
  }
}/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Product list styling */
.product ul {
  margin: 10px 0;
  padding-left: 20px;
}.nav a.active {
  font-weight: bold;
  border-bottom: 2px solid #0077cc;
}#services.services {
  padding-top: 20px;
}

.service-grid,
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card,
.upgrade-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.upgrade-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.upgrade-category {
  margin-top: 50px;
}

.upgrade-category h3 {
  margin-bottom: 20px;
  color: #0a1f44;
}

.upgrade-item ul {
  margin-top: 10px;
  padding-left: 20px;
}

.services h2,
.upgrades h2,
.retrofits h2 {
  text-align: center;
  margin-bottom: 20px;
}
/* Service Page Modern Layout */
.page-hero {
   background: #0a1f44;
  color: #fff;
  text-align: center;
  padding: 85px 20px;
}

.page-hero h2 {
  font-size: 42px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
}

.emergency-hero {
  background: #781414;
}

.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px;
}

.section-intro p {
  color: #555;
}

.service-link-card {
  display: block;
  text-decoration: none;
  color: #333;
  border-top: 5px solid #0077cc;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.16);
}

.service-link-card h3 {
  color: #0a1f44;
  margin-bottom: 10px;
}

.service-link-card ul {
  margin: 15px 0 0;
  padding-left: 20px;
}

.card-icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.card-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 16px;
  background: #0077cc;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
}

.emergency-card {
  border-top-color: #b50000;
}

.emergency-card .card-button {
  background: #b50000;
}

.detail-page {
  background: #eef2f7;
  padding: 50px 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.info-panel,
.notice-panel,
.detail-sidebar {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.info-panel h3,
.notice-panel h3,
.detail-sidebar h3 {
  color: #0a1f44;
  margin-bottom: 12px;
}

.notice-panel {
  border-left: 6px solid #b50000;
  background: #fff7f7;
}

.notice-panel h3 {
  color: #b50000;
}

.large-contact {
  font-size: 26px;
  font-weight: bold;
  color: #0077cc;
  margin: 10px 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.info-table th {
  width: 35%;
  color: #0a1f44;
}

.detail-sidebar {
  position: sticky;
  top: 20px;
}

.detail-sidebar a {
  display: block;
  padding: 11px 0;
  color: #0077cc;
  text-decoration: none;
  border-bottom: 1px solid #e1e1e1;
  font-weight: bold;
}

.detail-sidebar a:hover {
  color: #0a1f44;
}

.holiday-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.holiday-grid ul,
.info-panel ul,
.notice-panel ul {
  padding-left: 20px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav a {
    display: inline-block;
    margin: 5px 8px;
  }

  .page-hero h2 {
    font-size: 30px;
  }

  .detail-layout,
  .holiday-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

/*
   MOBILE NAVIGATION*/

.menu-toggle{

    display:none;

    width:45px;

    height:45px;

    border:none;

    background:none;

    cursor:pointer;

    padding:0;

}

.menu-toggle span{

    display:block;

    width:30px;

    height:3px;

    margin:6px auto;

    background:#fff;

    transition:.3s;

}

.menu-toggle.active span:nth-child(1){

    transform:translateY(9px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:translateY(-9px) rotate(-45deg);

}

@media (max-width:900px){

    .menu-toggle{

        display:block;

    }

    #main-nav{

        display:none;

        position:absolute;

        top:110px;

        left:0;

        width:100%;

        background:#0a1f44;

        padding:20px 0;

        box-shadow:0 10px 20px rgba(0,0,0,.2);

        z-index:999;

    }

    #main-nav.show{

        display:block;

    }

    #main-nav a{

        display:block;

        margin:18px 0;

        text-align:center;

        font-size:20px;

        margin-left:0;

    }

}
/*
   SERVICE DIRECTORY LAYOUT*/

#services .container {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
}

#services .section-intro {
  max-width: 760px;
  margin: 0 auto 35px;
  text-align: center;
}

.services-directory-layout {
  position: relative;
  display: block;
  max-width: 1320px;
  margin: 0 auto;
}


/* SERVICE CARD GRID */

.services-directory-layout .service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 125%;
  margin: 0;

  transform: translateX(-350px);
}


/* EQUAL CARD HEIGHTS */

.services-directory-layout .service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}


/* CARD TEXT */

.services-directory-layout .service-card h3 {
  margin-bottom: 12px;
}

.services-directory-layout .service-card p {
  margin-bottom: 18px;
  line-height: 1.65;
}


/* ALIGN BULLET LISTS */

.services-directory-layout .service-card ul {
  margin-top: auto;
  margin-bottom: 0;
  padding-left: 20px;
}


/* ALIGN BUTTONS */

.services-directory-layout .service-card .card-button {
  align-self: flex-start;
  margin-top: 20px;
}


/* TECHNICIAN COLUMN */

.service-technician {
  position: absolute;
  right: -500px;
  top: -200px;
  width: 230px;
  z-index: 3;
  margin: 0;
  padding: 0;
}

/* TECHNICIAN IMAGE */

.service-technician img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: contain;
}


/* TECHNICIAN CAPTION */

.service-technician-caption {
  position: relative;
  z-index: 4;
  width: min(100%, 355px);
  margin: -20px 0 0 auto;
  padding: 25px;
  color: #ffffff;
  background: #0a1f44;
  border-top: 5px solid #0077cc;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.service-technician-caption h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.4;
}

.service-technician-caption p {
  margin: 0;
  color: #d9e0eb;
  font-size: 15px;
  line-height: 1.7;
}


/* TABLET */

@media (max-width: 1050px) {

  .services-directory-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
    gap: 35px;
  }

  .service-technician img {
    width: 108%;
    max-width: 400px;
    transform: translateX(15px);
  }

}


/* STACK TECHNICIAN BELOW CARDS */

@media (max-width: 900px) {
  .services-directory-layout .service-grid {
    transform: none;
  }
}

  .services-directory-layout {
    grid-template-columns: 1fr;
    align-items: start;
    max-width: 900px;
  }

  .service-technician {
    width: 100%;
    max-width: 650px;
    margin: 10px auto 0;
    padding-top: 20px;
  }

  .service-technician img {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
   }
  }

  .service-technician-caption {
    width: 100%;
    max-width: 500px;
    margin: -15px auto 0;
  }

}


/* MOBILE */

@media (max-width: 650px) {

  #services .container {
    width: 90%;
  }

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

  .service-technician {
    max-width: 100%;
  }

  .service-technician img {
    width: 92%;
    max-width: 350px;
  }

  .service-technician-caption {
    width: 100%;
    max-width: none;
    margin-top: -12px;
  }

}

/* McKinley Upgrade Directory */

.upgrade-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.upgrade-directory-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  background: #ffffff;
  color: #333;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 5px solid #0077cc;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.upgrade-directory-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.upgrade-directory-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}

.upgrade-directory-card h4 {
  color: #0a1f44;
  font-size: 20px;
  margin: 20px 20px 8px;
}

.upgrade-directory-card p {
  margin: 0 20px;
  color: #555;
  flex-grow: 1;
}

.upgrade-directory-card span {
  display: inline-block;
  margin: 20px;
  font-weight: bold;
  color: #0077cc;
}

.upgrade-directory-card.no-image {
  padding-top: 25px;
}

.upgrade-directory-card.no-image h4 {
  margin-top: 0;
}

.upgrade-category {
  margin-top: 55px;
}

.upgrade-category h3 {
  font-size: 26px;
  border-bottom: 3px solid #0077cc;
  padding-bottom: 8px;
  display: inline-block;
}
.upgrade-directory-hero,
.upgrade-detail-hero {
  padding: 70px 0 55px;
  background: #f4f5f6;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upgrade-directory-heading,
.upgrade-detail-heading {
  max-width: 760px;
}

.upgrade-directory-heading h1,
.upgrade-detail-heading h1 {
  margin: 0 0 18px;
}

.upgrade-directory-heading > p:last-child,
.upgrade-detail-summary {
  max-width: 700px;
  margin: 0;
  line-height: 1.7;
}

.upgrade-directory {
  padding: 70px 0;
}

.upgrade-category + .upgrade-category {
  margin-top: 80px;
}

.upgrade-category-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.upgrade-category-heading h2 {
  margin: 0 0 10px;
}

.upgrade-category-heading > p:last-child {
  margin: 0;
  line-height: 1.6;
}

.upgrade-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.upgrade-directory-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.upgrade-directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.upgrade-card-image {
  width: 100%;
  aspect-ratio: 504 / 325;
  overflow: hidden;
  background: #eceeef;
}

.upgrade-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upgrade-card-placeholder {
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upgrade-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.upgrade-card-content h3 {
  margin: 0 0 12px;
}

.upgrade-card-content p {
  margin: 0 0 22px;
  line-height: 1.6;
}

.upgrade-card-link {
  margin-top: auto;
  font-weight: 700;
}

.upgrade-directory-cta,
.upgrade-detail-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.upgrade-directory-cta {
  margin-top: 80px;
  padding: 36px;
  background: #f4f5f6;
  border-radius: 6px;
}

.upgrade-directory-cta h2,
.upgrade-detail-cta h2 {
  margin: 0 0 10px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  color: #fff;
  text-decoration: none;
  background: #111;
  border-radius: 4px;
  white-space: nowrap;
}

.upgrade-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 55px;
}

.upgrade-detail-image {
  overflow: hidden;
  border-radius: 6px;
}

.upgrade-detail-image img {
  display: block;
  width: 100%;
  aspect-ratio: 504 / 325;
  object-fit: cover;
}

.upgrade-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.text-link {
  color: inherit;
  font-weight: 700;
}

.upgrade-detail-section {
  padding: 75px 0;
}

.upgrade-detail-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 60px;
}

.upgrade-content-block + .upgrade-content-block {
  margin-top: 55px;
}

.upgrade-content-block h2 {
  margin: 0 0 18px;
}

.upgrade-content-block p {
  line-height: 1.75;
}

.upgrade-feature-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.upgrade-process-list {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
  counter-reset: upgrade-step;
}

.upgrade-process-list li {
  position: relative;
  padding: 20px 20px 20px 62px;
  background: #f4f5f6;
  counter-increment: upgrade-step;
}

.upgrade-process-list li::before {
  content: counter(upgrade-step);
  position: absolute;
  top: 18px;
  left: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: #111;
  border-radius: 50%;
}

.upgrade-process-list strong,
.upgrade-process-list span {
  display: block;
}

.upgrade-process-list span {
  margin-top: 5px;
  line-height: 1.5;
}

.upgrade-detail-sidebar {
  display: grid;
  gap: 24px;
}

.upgrade-info-card {
  padding: 26px;
  background: #f4f5f6;
  border-radius: 6px;
}

.upgrade-info-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.upgrade-info-card ul {
  padding-left: 20px;
  line-height: 1.7;
}

.upgrade-spec-list {
  margin: 0;
}

.upgrade-spec-list > div {
  padding: 14px 0;
  border-top: 1px solid #d6d6d6;
}

.upgrade-spec-list > div:first-child {
  border-top: 0;
}

.upgrade-spec-list dt {
  font-weight: 700;
}

.upgrade-spec-list dd {
  margin: 5px 0 0;
}

.upgrade-detail-cta {
  padding: 55px 0;
  background: #f4f5f6;
}

@media (max-width: 950px) {
  .upgrade-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upgrade-detail-hero-grid,
  .upgrade-detail-two-column {
    grid-template-columns: 1fr;
  }

  .upgrade-detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .upgrade-directory-grid,
  .upgrade-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .upgrade-directory-cta,
  .upgrade-detail-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .upgrade-directory-hero,
  .upgrade-detail-hero,
  .upgrade-directory,
  .upgrade-detail-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
.upgrade-card-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  color: #0077cc;
  background: transparent;
  border-radius: 0;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.upgrade-directory-card:hover .upgrade-card-link {
  color: #0a1f44;
  background: transparent;
  transform: translateX(3px);
}
/* EMBA PRODUCT DIRECTORY ONLY */

#products .container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* EMBA MACHINE DIRECTORY ONLY */

.emba-machine-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
/*
   ABOUT PAGE*/

.about-page {
  overflow: hidden;
}

.about-page h1,
.about-page h2 {
  font-weight: 700;
}


/* INTRODUCTION */

.about-intro {
  padding: 50px 0 10px;
  background: #ffffff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
  align-items: start;
}

.about-intro-title h1 {
  margin: 0;
  color: #0a1f44;
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.about-intro-title h1 strong,
.about-intro-title h1 span {
  display: block;
}

.about-intro-title h1 strong {
  color: #0077cc;
}

.about-intro-content {
  max-width: 650px;
  padding-top: 35px;
}

.about-intro-content p {
  margin: 0 0 24px;
  color: #454545;
  font-size: 18px;
  line-height: 1.8;
}

.about-intro-content .about-intro-lead {
  margin-bottom: 30px;
  color: #0a1f44;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
}


/* FULL-WIDTH IMAGES */

.about-wide-image {
  background: #ffffff;
}

.about-wide-image .container {
  max-width: 1500px;
}

.about-wide-image img {
  display: block;
  width: 100%;
  height: clamp(340px, 48vw, 650px);
  object-fit: cover;
}

.about-wide-image-bottom {
  padding-top: 0px;
}


/* COMPANY AND HISTORY */

.about-company {
  padding: 0px 0;
  background: #ffffff;
}

.about-history {
  padding: 40px 0 0px;
  background: #ffffff;
}

.about-company-grid,
.about-history-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 75px;
  align-items: start;
}

.about-company-left h2,
.about-history-left h2,
.about-contact h2 {
  margin: 0;
  color: #0a1f44;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.about-company-left h2 {
  margin-bottom: 10px;
}

.about-company-map {
  width: 520px;
  height: 280px;
  object-fit: fill;
}
.about-history-left h2 {
  margin-bottom: 10px;
}

.about-history-image {
  display: block;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 5px;
}

.about-company-copy,
.about-history-copy {
  max-width: 720px;
}

.about-company-copy::after {
  content: "";
  display: block;
  clear: both;
}

.about-company-copy p,
.about-history-copy p {
  margin: 0 0 25px;
  color: #454545;
  font-size: 18px;
  line-height: 1.82;
}

.about-company-logo {
  float: right;
  width: 43%;
  max-width: 310px;
  height: auto;
  margin: 5px 0 28px 42px;
  object-fit: contain;
}


/* CONTACT */

.about-contact {
  padding: 0px 0;
  background: #ffffff;
}

.about-contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  padding-top: 15px;
  border-top: 1px solid #cfd5dd;
}

.about-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  color: #0077cc;
  border-bottom: 2px solid #0077cc;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    gap 0.2s ease;
}

.about-contact-link:hover {
  gap: 20px;
  color: #0a1f44;
  border-color: #0a1f44;
}


/* RESPONSIVE */

@media (max-width: 900px) {
	.about-history-image {
  height: 420px;
}
  .about-intro {
    padding-top: 80px;
  }

  .about-intro-grid,
  .about-company-grid,
  .about-history-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-intro-content {
    max-width: none;
  }

.about-company {
  padding: 75px 0;
}

.about-history {
  padding: 10px 0 20px;
}

  .about-company-copy,
  .about-history-copy {
    max-width: none;
  }
}


@media (max-width: 650px) {
	
.about-history-image {
  height: 340px;
}
  .about-intro {
    padding: 65px 0 50px;
  }

  .about-intro-title h1 {
    font-size: 54px;
  }

  .about-intro-content .about-intro-lead {
    font-size: 21px;
  }

  .about-intro-content p,
  .about-company-copy p,
  .about-history-copy p {
    font-size: 16px;
  }

  .about-wide-image .container {
    width: 100%;
  }

  .about-wide-image img {
    height: 310px;
  }

  .about-company,
  .about-history {
    padding: 60px 0;
  }

  .about-company-logo {
    float: none;
    display: block;
    width: 70%;
    max-width: 300px;
    margin: 0 auto 35px;
  }

  .about-contact {
    padding: 65px 0;
  }

  .about-contact-grid {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 40px;
  }
}
/* CENTER SINGLE RETROFIT DIRECTORY CARD */

.retrofit-product-grid {
  justify-content: center;
}

.retrofit-product-grid .product {
  flex: 0 1 calc((100% - 20px) / 2);
  max-width: 540px;
}
@media (max-width: 768px) {
  .retrofit-product-grid .product {
    flex-basis: 100%;
    max-width: 100%;
  }
}
/* Text directly beneath the EMBA world map */

.about-company-map-copy {
  max-width: 430px;
  margin-top: 28px;
}

.about-company-map-copy p {
  margin: 0 0 22px;
  color: #454545;
  font-size: 18px;
  line-height: 1.82;
}

@media (max-width: 900px) {
  .about-company-map-copy {
    max-width: none;
  }
}

@media (max-width: 650px) {
  .about-company-map-copy p {
    font-size: 16px;
  }
}

/*
   EMBA AROUND THE WORLD*/

.about-company-full-copy {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0px;
}

.about-company-full-copy p {
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  color: #454545;
  font-size: 18px;
  line-height: 1.82;
}

.about-company-full-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .about-company-full-copy {
    grid-column: 1;
    margin-top: -18px;
  }
}

@media (max-width: 650px) {
  .about-company-full-copy {
    margin-top: -10px;
  }

  .about-company-full-copy p {
    font-size: 16px;
  }

  .about-company-copy .about-company-logo {
    width: 60%;
    max-width: 220px;
  }
}
.about-wide-image-bottom .container {
  max-width: 1100px;
}
/* HOME SLIDESHOW RESPONSIVE */

@media (max-width: 768px) {

  .home-slideshow,
  .home-slideshow-content {
    min-height: 500px;
  }

  .home-slideshow-content {
    width: 80%;
    align-items: center;
    text-align: center;
  }

  .home-slideshow-content h1 {
    font-size: 43px;
  }

  .home-slideshow-content p {
    font-size: 18px;
  }

  .home-slide-arrow {
    width: 40px;
    height: 50px;
    font-size: 24px;
  }

  .home-slide-prev {
    left: 5px;
  }

  .home-slide-next {
    right: 5px;
  }

}


@media (max-width: 500px) {

  .home-slideshow,
  .home-slideshow-content {
    min-height: 450px;
  }

  .home-slideshow-content h1 {
    font-size: 36px;
  }

  .home-slideshow-content p {
    font-size: 16px;
  }

}
/*
   MCKINLEY SUPPORT PAGE
 */

.mckinley-support {
  padding: 85px 0;
  background: #eef2f7;
}

.mckinley-support-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 55px;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
}

.mckinley-support-eyebrow {
  margin: 0 0 12px;
  color: #0077cc;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mckinley-support-content h1 {
  max-width: 1100px;
  margin: 0 0 25px;
  color: #0a1f44;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.mckinley-support-content p {
  margin: 0 0 22px;
  color: #454545;
  font-size: 18px;
  line-height: 1.8;
}

.mckinley-support-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 35px;
}

.mckinley-support-buttons .btn {
  margin-top: 0;
  padding: 13px 22px;
  font-weight: 700;
}

.mckinley-support-buttons .btn {
  margin-top: 0;
  padding: 13px 22px;
  background: #0077cc;
  color: #ffffff;
  font-weight: 700;
}

.mckinley-support-buttons .btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 650px) {

  .mckinley-support {
    padding: 50px 0;
  }

  .mckinley-support-content {
    padding: 32px 25px;
  }

  .mckinley-support-content p {
    font-size: 16px;
  }

  .mckinley-support-buttons {
    flex-direction: column;
  }

  .mckinley-support-buttons .btn {
    width: 100%;
    text-align: center;
  }

}

/*
   CONTACT PAGE — BASE LAYOUT
 */

.contact-directory {
  width: 100%;
  background: #fff;
}

.contact-hero {
  color: #fff;
}

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

.contact-eyebrow {
  color: #8ecbff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* Department navigation */

.contact-jump .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.contact-jump a {
  text-decoration: none;
}

/* Main section containers */

.directory-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.directory-heading h2 {
  color: #0a1f44;
}

.directory-heading > span {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
}

/* Headquarters layout */

.directory-hq {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.directory-hq-address,
.directory-routing {
  min-width: 0;
}

.directory-routing {
  background: #f5f8fb;
}

.directory-routing > div {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid #dce5ef;
}

/* Employee directory */

.directory-people {
  width: 100%;
}

.contact-person {
  display: grid;
  align-items: start;
}

.contact-person h3,
.contact-person p {
  margin: 0;
}

.contact-role {
  color: #657487;
}

/* Department information */

.directory-dept-intro {
  margin-bottom: 25px;
}

/* Service department */

.directory-service-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

/* Emergency section */

.directory-emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.directory-emergency-number {
  display: block;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.directory-emergency-button {
  display: inline-block;
  padding: 14px 22px;
  font-weight: 700;
  text-decoration: none;
}

/* International support and careers */

.directory-two-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Responsive adjustments */

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

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

@media (max-width: 750px) {
  .contact-person,
  .directory-two-panels {
    grid-template-columns: 1fr;
  }

  .directory-emergency-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/*
   CONTACT PAGE — CORPORATE REFINEMENT
   Add below the previous Contact CSS
 */

/* OVERALL PAGE */

.contact-directory {
  background: #ffffff;
}

.contact-directory .directory-inner {
  max-width: 1160px;
}

/* REFINED HERO */

.contact-directory .contact-hero {
  padding: 30px 0 20px;
  background: #0a1f44;
  border-bottom: 4px solid #0077cc;
}

.contact-directory .contact-hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.contact-directory .contact-hero p:last-child {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.75;
  color: #dce6f2;
}

/* CLEANER DEPARTMENT NAVIGATION */

.contact-directory .contact-jump {
  background: #ffffff;
  border-bottom: 1px solid #e2e7ed;
}

.contact-directory .contact-jump .container {
  justify-content: center;
  padding: 17px 0;
  gap: 12px 32px;
}

.contact-directory .contact-jump a {
  font-size: 14px;
  font-weight: 600;
  color: #34465b;
  transition: color .2s ease;
}

/* MORE NATURAL SECTION SPACING */

.contact-directory .directory-section {
  padding: 64px 5%;
}

.contact-directory .directory-section:nth-of-type(odd),
.contact-directory .directory-section:nth-of-type(even) {
  background: #ffffff;
}

/* SUBTLE BACKGROUND FOR RELATED DEPARTMENTS */

.contact-directory #management,
.contact-directory #parts {
  background: #f7f9fc;
}

/* SOFTER DEPARTMENT HEADINGS */

.contact-directory .directory-heading {
  border-left: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.contact-directory .directory-heading > span {
  color: #0077cc;
  font-size: 12px;
  letter-spacing: .09em;
  margin-bottom: 8px;
}

.contact-directory .directory-heading h2 {
  font-size: clamp(29px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}

.contact-directory .directory-heading p {
  font-size: 16px;
  color: #617084;
  max-width: 690px;
}

/* HEADQUARTERS */

.contact-directory .directory-hq {
  border: 1px solid #e2e8ef;
  border-radius: 6px;
  overflow: hidden;
}

.contact-directory .directory-hq-address {
  padding: 38px 42px;
}

.contact-directory .directory-routing {
  padding: 38px 42px;
}

.contact-directory .directory-hq-address h3,
.contact-directory .directory-routing h3 {
  font-size: 22px;
}

/* EMPLOYEE DIRECTORY — LESS RIGID */

.contact-directory .contact-person {
  grid-template-columns:
    minmax(190px, .9fr)
    minmax(180px, .9fr)
    minmax(220px, 1.2fr);

  padding: 21px 8px;
  min-height: 80px;
  border-top: 1px solid #e0e6ed;
  gap: 24px;
}

.contact-directory .contact-person:last-child {
  border-bottom: 1px solid #e0e6ed;
}

.contact-directory .contact-person h3 {
  font-size: 18px;
  font-weight: 700;
}

.contact-directory .contact-person .contact-role {
  font-size: 14px;
  color: #657487;
}

.contact-directory .person-contact p {
  font-size: 14px;
  line-height: 1.7;
}

/* PARTS INQUIRIES */

.contact-directory .directory-dept-intro {
  background: #eef4fa;
  border-left: 3px solid #0077cc;
  border-radius: 3px;
  padding: 17px 22px;
}

/* TECHNICAL SERVICE */

.contact-directory .directory-service-layout {
  gap: 45px;
}

.contact-directory .directory-service-cta {
  background: #f5f8fb;
  border-left: 3px solid #0077cc;
  border-radius: 4px;
  padding: 30px;
}

.contact-directory .directory-service-cta h3 {
  font-size: 20px;
}

/* EMERGENCY — PROFESSIONAL RED ACCENT */

.contact-directory .directory-emergency {
  background: #0a1f44 !important;
  padding: 60px 5%;
  border-top: 5px solid #b50000;
}

.contact-directory .directory-emergency .directory-heading {
  margin-bottom: 20px;
}

.contact-directory .directory-emergency .directory-heading > span {
  color: #ff9a9a;
}

.contact-directory .directory-emergency .directory-heading h2 {
  color: #ffffff;
  font-size: clamp(30px, 3.5vw, 42px);
}

.contact-directory .directory-emergency .directory-heading p {
  color: #dce6f2;
}

.contact-directory .directory-emergency-number {
  font-size: clamp(28px, 4vw, 43px);
}

.contact-directory .directory-emergency-button {
  background: #ffffff;
  color: #0a1f44;
  border-radius: 4px;
}

.contact-directory .directory-emergency-button:hover {
  background: #eaf1f8;
}

/* INTERNATIONAL SUPPORT AND CAREERS */

.contact-directory .directory-last {
  background: #f7f9fc !important;
}

.contact-directory .directory-two-panels {
  gap: 45px;
}

.contact-directory .directory-aux {
  background: transparent;
  border-left: none;
  border-top: 2px solid #dce5ef;
  padding: 24px 0;
}

.contact-directory .directory-aux h3 {
  font-size: 20px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

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

  .contact-directory .person-contact {
    grid-column: 1 / -1;
  }

  .contact-directory .directory-service-layout,
  .contact-directory .directory-hq {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 750px) {

  .contact-directory .directory-section {
    padding: 45px 6%;
  }

  .contact-directory .contact-hero {
    padding: 55px 0 60px;
  }

  .contact-directory .contact-person {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 19px 0;
  }

  .contact-directory .person-contact {
    grid-column: auto;
  }

  .contact-directory .directory-hq-address,
  .contact-directory .directory-routing {
    padding: 28px;
  }

  .contact-directory .directory-two-panels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-directory .directory-emergency {
    padding: 48px 6%;
  }

}
.contact-directory .directory-two-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  width: 100%;
}

/* ALIGN HEADQUARTERS AND INTERNATIONAL SECTIONS */

.contact-directory .directory-inner {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}

/* Match both sections' column positions */
.contact-directory .directory-hq,
.contact-directory .directory-two-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
}

/* Align international content with headquarters content */
.contact-directory .directory-two-panels .directory-aux {
    padding: 38px 42px;
    min-width: 0;
}

/* Keep international columns visually consistent */
.contact-directory .directory-two-panels .directory-aux {
    border-top: 2px solid #dce5ef;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .contact-directory .directory-hq,
    .contact-directory .directory-two-panels {
        grid-template-columns: 1fr;
    }

    .contact-directory .directory-two-panels .directory-aux {
        padding: 28px;
    }
}
/* DC to AC Upgrade Card Image */

.upgrade-directory-card .dc-ac-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

/* ==========================================
   DC TO AC — VERTICAL IMAGE SLIDESHOW
========================================== */

.dc-ac-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 504 / 325;
  overflow: hidden;
  background: #eef2f7;
  border-radius: 6px;
}

/* Each image occupies the same fixed area */

.dc-ac-slideshow .dc-ac-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}

.dc-ac-slideshow .dc-ac-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Show the entire vertical image without cropping */

.dc-ac-slideshow .dc-ac-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Previous / Next arrows */

.dc-ac-slideshow .dc-ac-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 38px;
  height: 48px;
  border: none;
  border-radius: 4px;
  background: rgba(10, 31, 68, 0.65);
  color: white;
  font-size: 23px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dc-ac-slideshow .dc-ac-arrow:hover {
  background: #0077cc;
}

.dc-ac-slideshow .dc-ac-prev {
  left: 10px;
}

.dc-ac-slideshow .dc-ac-next {
  right: 10px;
}

/* Slideshow dots */

.dc-ac-slideshow .dc-ac-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dc-ac-slideshow .dc-ac-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 31, 68, 0.35);
  cursor: pointer;
}

.dc-ac-slideshow .dc-ac-dot.active {
  background: #0077cc;
}

/* Match Servo Systems and B&R image dimensions to DC to AC */

.upgrade-directory-card .matching-upgrade-image {
  display: block;
  width: 100%;
  height: 165px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

/* MAGELIS SCREEN - FIT ENTIRE IMAGE IN DIRECTORY CARD */

.upgrade-directory-card .magelis-screen {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
}
/* ADDITIONAL SECTIONS AND BACKSTOP IMAGE FIT */

.upgrade-directory-card img.full-card-image {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
}