/* PolyStaff overlays on the Revive Tech theme */

textarea:focus,
input:focus,
.form-control:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.bg-img1 {
  background-image: url('/images/bg-image/row-bgimage-8.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.ttm-page-title-row {
  background-image: url('/images/home/slider-mainbg-001.jpg');
}

.jobs-page .ttm-page-title-row {
  background-image: url('/images/services/services_banner.webp');
}

@media only screen and (min-width: 1200px) {
  .ps-funnel-header-offset {
    height: 93px;
  }
}

.ttm-page-title-row .container-xl {
  position: relative;
  z-index: 2;
}

.ttm-page-title-row .title-box .page-title-heading h1,
.ttm-page-title-row .breadcrumb-wrapper,
.ttm-page-title-row .breadcrumb-wrapper a,
.ttm-page-title-row .page-title-desc {
  color: #fff;
}

.ttm-page-title-row .breadcrumb-wrapper span:last-child {
  color: #fff;
}

.site-branding .home-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  text-decoration: none;
}

.ps-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.ps-brand-mark {
  width: 72px;
  height: 61px;
  display: block;
  flex-shrink: 0;
}

.ps-brand-word {
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ps-brand-poly {
  color: #2d4a8a;
}

.ps-brand-staff {
  color: #263045;
}

.ttm-stickable-header.fixed-header .ps-brand-mark {
  width: 58px;
  height: 49px;
}

.ttm-stickable-header.fixed-header .ps-brand-word {
  font-size: 20px;
}

.site-branding #logo-img,
.site-branding .ps-brand-mark {
  max-height: none;
}

@media only screen and (max-width: 1199px) {
  .ps-brand-mark {
    width: 58px;
    height: 49px;
  }

  .ps-brand-word {
    font-size: 18px;
    letter-spacing: 0.02em;
  }
}

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

.ps-mobile-nav {
  display: none;
}

@media only screen and (max-width: 1199px) {
  .ps-mobile-nav {
    display: block;
    position: absolute;
    right: 16px;
    top: 18px;
    z-index: 30;
  }

  .ps-mobile-nav button {
    width: 44px;
    height: 44px;
    border: 0;
    background: #2d4a8a;
    color: #fff;
    font-size: 18px;
  }

  .ps-mobile-panel {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 30px rgba(38, 48, 69, 0.12);
    z-index: 40;
  }

  .ps-mobile-panel a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid #eaeff5;
    color: #263045;
    font-weight: 600;
    text-decoration: none;
  }

  .ps-mobile-panel a.active,
  .ps-mobile-panel a:hover {
    color: #2d4a8a;
  }
}

#Home_banner .carousel-item:not(.active) {
  display: none;
}

#Home_banner .carousel-control-prev,
#Home_banner .carousel-control-next {
  cursor: pointer;
  background: transparent;
  border: 0;
}

.ttm-page-title-row .page-title-desc {
  max-width: 640px;
  margin: 8px auto 0;
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.85);
}

.featured-icon-box.style1 .featured-title h5,
.featured-icon-box.style1 .featured-desc p {
  margin-bottom: 0;
}

.ps-client-logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}

.page .widget-footer a {
  color: inherit;
}

.faq-details {
  border: 1px solid #eaeff5;
  background: #fff;
  margin-bottom: 12px;
}

.faq-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #263045;
}

.faq-details summary::-webkit-details-marker,
.faq-details summary::marker {
  display: none;
  content: none;
}

.faq-details summary span {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
}

.faq-details summary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #2d4a8a;
  transition: transform 0.3s ease;
}

.faq-details[open] summary {
  color: #2d4a8a;
}

.faq-details[open] summary svg {
  transform: rotate(180deg);
}

.faq-details p {
  margin: 0 22px 18px;
  padding-top: 4px;
  line-height: 1.7;
  color: #5a667a;
}

.ps-guidelines > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #263045;
}

.ps-guidelines > summary::-webkit-details-marker,
.ps-guidelines > summary::marker {
  display: none;
  content: none;
}

.ps-guidelines > summary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #2d4a8a;
  transition: transform 0.3s ease;
}

.ps-guidelines[open] > summary svg {
  transform: rotate(180deg);
}

.ps-job-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 16px 28px;
  list-style: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d4a8a;
}

.ps-job-details > summary::-webkit-details-marker,
.ps-job-details > summary::marker {
  display: none;
  content: none;
}

.ps-job-details > summary:hover {
  background: #f7f9fe;
}

.ps-job-details > summary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #2d4a8a;
  transition: transform 0.3s ease;
}

.ps-job-details[open] > summary svg {
  transform: rotate(180deg);
}

.footer-nav-menu button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.ps-card {
  background: #fff;
  border: 1px solid #eaeff5;
}

.ps-card-head {
  background: #f7f9fe;
  border-bottom: 1px solid #eaeff5;
  padding: 22px 28px;
}

.ps-card-body {
  padding: 28px;
}

.ps-kicker {
  color: #2d4a8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ps-step {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  background: #f7f9fe;
  color: #263045;
}

.ps-step.is-active {
  background: #2d4a8a;
  color: #fff;
}

.ps-step.is-done {
  background: #263045;
  color: #fff;
}

.ps-progress {
  height: 6px;
  background: #eaeff5;
}

.ps-progress > span {
  display: block;
  height: 100%;
  background: #2d4a8a;
}

.ps-link {
  color: #2d4a8a;
  font-weight: 600;
}

.ps-link:hover {
  color: #263045;
}

.ps-alert-error {
  border: 1px solid #f5c2c7;
  background: #f8d7da;
  color: #842029;
  padding: 16px;
}

.ps-upload {
  width: 100%;
  border: 2px dashed #c5d0e0;
  background: #f7f9fe;
  padding: 32px 16px;
  text-align: center;
  color: #263045;
}

.ps-upload:hover {
  border-color: #2d4a8a;
  background: #eef3fb;
}

.admin-shell {
  min-height: 100vh;
  background: #f7f9fe;
  color: #263045;
}

.admin-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-topbar {
  background: #263045;
  color: #fff;
}

.admin-stat,
.admin-panel,
.admin-device {
  background: #fff;
  border: 1px solid #eaeff5;
}

.hero-btn-primary,
.hero-btn-outline {
  border-radius: 0;
}

#Home_banner .carousel-caption-inner h1 {
  line-height: 70px;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 62px;
  position: relative;
}

#Home_banner .carousel-caption-inner h1::before {
  content: '';
  height: 4px;
  width: 55px;
  background-color: #2d4a8a;
  position: absolute;
  top: -15px;
  left: 3px;
}

.section-title h1.title {
  font-size: 34px;
  line-height: 44px;
  margin-bottom: 0;
}

.section-title h1.title span {
  font-style: italic;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1.2px;
  color: #2d4a8a;
}

@media (max-width: 1199px) {
  #Home_banner .carousel-caption-inner h1 {
    font-size: 50px;
    line-height: 55px;
  }
}

@media (max-width: 991px) {
  #Home_banner .carousel-caption-inner h1 {
    font-size: 35px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  #Home_banner .carousel-caption-inner h1 {
    font-size: 30px;
    line-height: 35px;
  }

  #Home_banner .carousel-caption-inner h1::before {
    content: none;
  }
}

.ps-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #263045;
}

.ps-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(38, 48, 69, 0.7);
  cursor: pointer;
}

.ps-contact-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  color: #263045;
  box-shadow: 0 24px 64px rgba(38, 48, 69, 0.25);
}

.ps-contact-modal-panel,
.ps-contact-modal-panel h2,
.ps-contact-modal-panel p,
.ps-contact-modal-panel label,
.ps-contact-modal-panel span,
.ps-contact-modal-panel input,
.ps-contact-modal-panel textarea {
  color: #263045;
}

.ps-contact-modal-panel h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.ps-contact-modal-lede,
.ps-contact-modal-panel .ps-contact-modal-lede {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5a667a;
}

.ps-contact-modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.ps-contact-modal-close {
  flex-shrink: 0;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}

.ps-contact-modal-close svg {
  display: block;
  width: 20px;
  height: 20px;
}

.ps-contact-modal-panel form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-contact-modal-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 576px) {
  .ps-contact-modal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ps-contact-modal-panel label {
  display: block;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #263045;
}

.ps-contact-modal-panel label span {
  font-weight: 400;
  color: #64748b;
}

.ps-contact-modal-panel input,
.ps-contact-modal-panel textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 14px;
  border: 1px solid #eaeff5;
  background: #fff;
  color: #263045;
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: none;
}

.ps-contact-modal-panel input::placeholder,
.ps-contact-modal-panel textarea::placeholder {
  color: #94a3b8;
}

.ps-contact-modal-panel input:focus,
.ps-contact-modal-panel textarea:focus {
  outline: none;
  border: 1px solid #2d4a8a;
  box-shadow: none;
  color: #263045;
  background: #fff;
}

.ps-contact-modal-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  padding-top: 4px;
}

@media (min-width: 576px) {
  .ps-contact-modal-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
