/*----------------------------------------*/
/*  Astroshipx header & footer
/*----------------------------------------*/

/* ============ HEADER ============ */
.pd-header {
  position: relative;
  z-index: 50;
}

/* ---- utility strip ---- */
.pd-header__top {
  background: #080e1f;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  font-size: 13.5px;
}

.pd-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  padding: 6px 0;
}

.pd-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-header__meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #94a3b8;
}

.pd-header__meta i { color: var(--tp-theme-1); font-size: 14px; }
.pd-header__meta a { color: #94a3b8; transition: color .25s ease; }
.pd-header__meta a:hover { color: var(--tp-theme-1); }

.pd-header__top-right {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #64748b;
  white-space: nowrap;
}

.pd-header__social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-header__social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 50%;
  color: #cbd5e1;
  font-size: 12px;
  transition: all .25s ease;
}

.pd-header__social a:hover {
  border-color: transparent;
  background: var(--tp-theme-2);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- main bar ---- */
.pd-header__main {
  background: rgba(8, 13, 22, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.pd-header__main.header-sticky {
  background: rgba(8, 13, 22, .94);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .9);
}

.pd-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}

.pd-header__main.header-sticky .pd-header__inner { min-height: 72px; }

.pd-header__logo { flex: 0 0 auto; line-height: 0; }

.pd-header__logo img {
  width: auto !important;
  height: 42px !important;
  max-width: 190px;
  transition: height .3s ease;
}

.pd-header__main.header-sticky .pd-header__logo img { height: 38px !important; }

/* ---- primary navigation ---- */
.pd-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.pd-header .tp-main-menu-content > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-header .tp-main-menu-content > ul > li {
  position: relative;
  list-style: none;
}

.pd-header .tp-main-menu-content > ul > li > a {
  display: block;
  padding: 30px 16px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.pd-header .tp-main-menu-content > ul > li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--tp-theme-2);
  transform: translateX(-50%);
  transition: width .3s ease;
}

.pd-header .tp-main-menu-content > ul > li:hover > a,
.pd-header .tp-main-menu-content > ul > li.active > a {
  color: #fff;
}

.pd-header .tp-main-menu-content > ul > li:hover::after,
.pd-header .tp-main-menu-content > ul > li.active::after { width: 24px; }

.pd-header .tp-main-menu-content > ul > li.has-dropdown > a::after {
  content: "\f107";
  font-family: var(--tp-ff-fontawesome);
  margin-left: 7px;
  font-size: 12px;
  font-weight: 400;
  opacity: .7;
}

/* ---- dropdown ---- */
.pd-header .tp-main-menu-content .tp-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  min-width: 244px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  background: #0d1526;
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.pd-header .tp-main-menu-content > ul > li:hover > .tp-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.pd-header .tp-main-menu-content .tp-submenu li { list-style: none; }

.pd-header .tp-main-menu-content .tp-submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 9px;
  color: #b6c2d6;
  font-size: 14.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: all .22s ease;
}

.pd-header .tp-main-menu-content .tp-submenu li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tp-theme-2);
  opacity: .45;
  transition: all .22s ease;
}

.pd-header .tp-main-menu-content .tp-submenu li a:hover {
  background: var(--tp-theme-soft);
  color: #fff;
  transform: translateX(3px);
}

.pd-header .tp-main-menu-content .tp-submenu li a:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

/* ---- right side actions ---- */
.pd-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 6px;
  background: var(--tp-theme-2);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 26px -12px rgba(0, 128, 255, .9);
  transition: transform .25s ease, box-shadow .25s ease;
}

.pd-header__cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(0, 128, 255, 1);
}

/* ---- burger ---- */
.pd-header__burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 10px;
  background: rgba(148, 163, 184, .07);
  color: #e2e8f0;
  cursor: pointer;
  padding: 0;
}

.pd-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: all .25s ease;
}

.pd-header__burger span:nth-child(2) { width: 14px; margin-left: 13px; }
.pd-header__burger:hover { border-color: var(--tp-theme-1); color: var(--tp-theme-1); }
.pd-header__burger:hover span:nth-child(2) { width: 20px; margin-left: auto; }

@media (max-width: 1199px) {
  .pd-header__nav { display: none; }
  .pd-header__burger { display: block; }
  .pd-header__inner { min-height: 74px; justify-content: space-between; }
}

@media (max-width: 991px) {
  .pd-header__top { display: none; }
}

@media (max-width: 575px) {
  .pd-header__cta { padding: 12px 18px; font-size: 12.5px; }
  .pd-header__logo img { height: 34px !important; }
}

/* ============ OFFCANVAS (mobile menu) ============ */
.tpoffcanvas.pd-offcanvas {
  width: min(400px, 86vw);
  padding: 30px 26px 40px;
  background: #101829;
  border-left: 1px solid rgba(148, 163, 184, .14);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .9);
}

.pd-offcanvas .tpoffcanvas__close-btn { display: flex; justify-content: flex-end; }

.pd-offcanvas .close-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 50%;
  background: transparent;
  color: #e2e8f0;
  font-size: 16px;
  transition: all .25s ease;
}

.pd-offcanvas .close-btn:hover {
  border-color: transparent;
  background: var(--tp-theme-2);
  color: #fff;
  transform: rotate(90deg);
}

.pd-offcanvas .tpoffcanvas__logo { margin: 6px 0 26px; }
.pd-offcanvas .tpoffcanvas__logo img { width: auto !important; height: 40px !important; }

.pd-offcanvas .tp-main-menu-mobile ul { margin: 0; padding: 0; list-style: none; }

.pd-offcanvas .tp-main-menu-mobile > .tp-main-menu-content > ul > li {
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.pd-offcanvas .tp-main-menu-mobile > .tp-main-menu-content > ul > li > a {
  position: relative;
  display: block;
  padding: 15px 0;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pd-offcanvas .tp-main-menu-mobile a:hover { color: var(--tp-theme-1); }

.pd-offcanvas .tp-main-menu-mobile .dropdown-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 8px;
  background: transparent;
  color: #cbd5e1;
  transition: all .25s ease;
}

.pd-offcanvas .tp-main-menu-mobile .dropdown-toggle-btn.dropdown-opened {
  background: var(--tp-theme-2);
  border-color: transparent;
  color: #fff;
  transform: translateY(-50%) rotate(90deg);
}

.pd-offcanvas .tp-main-menu-mobile .tp-submenu { display: none; padding: 0 0 12px 14px; }

.pd-offcanvas .tp-main-menu-mobile .tp-submenu li a {
  display: block;
  padding: 9px 0;
  color: #94a3b8;
  font-size: 14px;
  text-transform: none;
}

.pd-offcanvas__cta {
  display: block;
  margin: 26px 0 24px;
  padding: 15px;
  border-radius: 8px;
  background: var(--tp-theme-2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

.pd-offcanvas__cta:hover { color: #fff; }

.pd-offcanvas__contact { margin-bottom: 22px; }

.pd-offcanvas__contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 14px;
  list-style: none;
}

.pd-offcanvas__contact i { color: var(--tp-theme-1); margin-top: 4px; }
.pd-offcanvas__contact a { color: #94a3b8; }
.pd-offcanvas__contact a:hover { color: var(--tp-theme-1); }

.pd-offcanvas .pd-header__social a { color: #cbd5e1; }

/* ============ FOOTER ============ */
.pd-footer {
  position: relative;
  padding-top: 80px;
  background: #0c1220;
  border-top: 1px solid rgba(148, 163, 184, .1);
}

/* ---- call to action band ---- */
.pd-footer__cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 0 0 66px;
  padding: 40px 46px;
  border-radius: 18px;
  background: var(--tp-theme-2);
  box-shadow: 0 30px 60px -30px rgba(0, 128, 255, .8);
  overflow: hidden;
}

.pd-footer__cta::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  pointer-events: none;
}

.pd-footer__cta h3 {
  position: relative;
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.01em;
}

.pd-footer__cta p { position: relative; margin: 0; color: rgba(255, 255, 255, .85); }

.pd-footer__cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

.pd-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #101829;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.pd-footer__cta-btn:hover { color: #fff; transform: translateY(-3px); }

.pd-footer__cta-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
}

.pd-footer__cta-btn--outline:hover { background: #fff; color: var(--tp-theme-2); }

/* ---- widgets ---- */
.pd-footer__main { padding-bottom: 60px; }

.pd-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.pd-footer__logo { display: inline-flex; margin-bottom: 22px; }

.pd-footer__about {
  margin: 0 0 24px;
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.8;
}

.pd-footer__title {
  margin: 6px 0 24px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
}

.pd-footer__title::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: var(--tp-theme-2);
}

.pd-footer__links { margin: 0; padding: 0; list-style: none; }
.pd-footer__links li { margin-bottom: 12px; }

.pd-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 14.5px;
  transition: all .25s ease;
}

.pd-footer__links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(0, 128, 255, .5);
  transition: all .25s ease;
}

.pd-footer__links a:hover { color: var(--tp-theme-1); transform: translateX(4px); }
.pd-footer__links a:hover::before { background: var(--tp-theme-1); }

.pd-footer__contact { margin: 0; padding: 0; list-style: none; }

.pd-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 15px;
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.65;
}

.pd-footer__contact .ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 128, 255, .3);
  border-radius: 9px;
  background: var(--tp-theme-soft);
  color: var(--tp-theme-1);
  font-size: 13px;
}

.pd-footer__contact a { color: #94a3b8; word-break: break-word; }
.pd-footer__contact a:hover { color: var(--tp-theme-1); }

/* ---- newsletter ---- */
.pd-footer__form { position: relative; margin-bottom: 22px; }

.pd-footer__form input {
  width: 100%;
  height: 54px;
  padding: 0 130px 0 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  background: rgba(8, 13, 22, .7);
  color: #f1f5f9;
  font-size: 14.5px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.pd-footer__form input::placeholder { color: #64748b; }

.pd-footer__form input:focus {
  border-color: var(--tp-theme-1);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, .15);
}

.pd-footer__form button {
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  padding: 0 20px;
  border: none;
  border-radius: 6px;
  background: var(--tp-theme-2);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .25s ease;
}

.pd-footer__form button:hover { filter: brightness(1.12); }

.pd-footer__note { margin: 0 0 22px; color: #64748b; font-size: 13px; }

.pd-footer .gtranslate_wrapper { margin-bottom: 20px; }

.pd-footer__social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }

.pd-footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
  transition: all .25s ease;
}

.pd-footer__social a:hover {
  border-color: transparent;
  background: var(--tp-theme-2);
  color: #fff;
  transform: translateY(-3px);
}

/* ---- bottom bar ---- */
.pd-footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, .12);
  padding: 22px 0;
}

.pd-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pd-footer__bottom p { margin: 0; color: #64748b; font-size: 14px; }
.pd-footer__bottom strong { color: #cbd5e1; font-weight: 600; }

.pd-footer__bottom-links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.pd-footer__bottom-links a { color: #64748b; font-size: 14px; transition: color .25s ease; }
.pd-footer__bottom-links a:hover { color: var(--tp-theme-1); }

@media (max-width: 1199px) {
  .pd-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .pd-footer__cta { margin: 0 0 46px; padding: 30px 24px; }
  .pd-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .pd-footer__bottom-inner { justify-content: center; text-align: center; }
}
