/* =========================================================
   deployment page styles.
   Loaded after styles/global.css on deployment.html only.
   ========================================================= */

/*deployment*/
.custom-card {
  border: 2px solid var(--blue);
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.custom-card-header {
  background-color: var(--blue);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.custom-card .card-body {
  background-color: white;
  color: var(--blue);
  flex-grow: 1;
}

.custom-card .card-body li {
  padding: 0.25rem 0;
}

.deployment-btn {
  background-color: white;
  color: var(--blue);
  position: relative;
  overflow: hidden;
  max-width: fit-content;
}

/* Arrow box */
.deployment-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background-color: var(--blue);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  transition: width 0.3s, content 0.3s;
  font-weight: bold;
}

/* Active button: show arrow */
.deployment-btn.active {
  padding-right: 2.5rem;
}

.deployment-btn.active::after {
  width: 2rem;
  content: "→";
}

/* Hover effect */
.deployment-btn:hover {
  background-color: var(--blue);
  color: white;
}

.header-subs {
  font-size: 0.75rem;
}

.view-more {
  color: var(--orange);
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: auto;
  padding-left: 20px;
  transition: opacity 0.2s;
}

.view-more:hover {
  opacity: 0.7;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.leveldots {
  display: block;
  margin: 0 auto 10px;
  height: 50px;
  width: auto;
}

/* ===== DEPLOYMENT/SPEC CARDS ===== */
.custom-card {
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.custom-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
  border-color: var(--orange);
}

.custom-card-header {
  background: linear-gradient(135deg, var(--blue), #001741);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Shown by js/pages/deployment.js once the package details are filled in */
#specs-section {
  display: none;
}

/* Headings inside the package details modal */
#modal-body .spec-modal-heading {
  text-decoration: underline;
  font-weight: 500;
}


/* Phones and tablets: the fixed header is taller here (the certification bar wraps),
   so push the hero wordmark (not the footer one) down to clear it, in line with the other pages */
@media (max-width: 991px) {
  .transparent-logo:not(.tran-logo-footer) {
    padding-top: 116px !important;
  }
}


/* Desktop: the hero starts under the fixed header, so push its content down to clear it */
@media (min-width: 992px) {
  .header-grad > .content-wrapper {
    padding-top: 110px;
  }
}
