/*=====================================
  Trident Eloria - content sections
=====================================*/

/* hero */
.hero-tagline {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--theme-color2);
  letter-spacing: .5px;
}

/* focus / value cards */
.focus-item {
  height: 100%;
  background: var(--color-white);
  border-radius: 20px;
  padding: 35px 28px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.focus-item:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--theme-color);
}

.focus-item .focus-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: 50%;
  background: var(--theme-color-light);
  color: var(--theme-color);
  font-size: 30px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.focus-item:hover .focus-icon {
  background: var(--theme-color);
  color: var(--color-white);
}

.focus-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.focus-item p {
  margin-bottom: 0;
}

/* philosophy / closing banner */
.philosophy-area {
  position: relative;
  background: var(--theme-color2);
  color: rgba(255, 255, 255, .85);
  overflow: hidden;
}

.philosophy-area::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--theme-color);
  opacity: .15;
  right: -160px;
  top: -200px;
}

.philosophy-area .site-title,
.philosophy-area h3 {
  color: var(--color-white);
}

.philosophy-area .site-title-tagline {
  color: var(--theme-color);
}

.philosophy-area blockquote {
  font-size: 24px;
  font-style: italic;
  color: var(--color-white);
  border-left: 4px solid var(--theme-color);
  padding-left: 20px;
  margin: 25px 0;
}

.philosophy-area .container {
  position: relative;
}

/* category chips */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.category-list li {
  background: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 50px;
  padding: 12px 22px;
  font-weight: 500;
  color: var(--color-dark);
}

.category-list li i {
  color: var(--theme-color);
  margin-right: 8px;
}

/* vision & mission */
.vm-item {
  height: 100%;
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--box-shadow);
  border-top: 4px solid var(--theme-color);
}

.vm-item .vm-icon {
  font-size: 40px;
  color: var(--theme-color);
  margin-bottom: 18px;
}

.vm-item h3 {
  margin-bottom: 15px;
  color: var(--color-dark);
}

.vm-item .lead-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--theme-color2);
}

/* approach steps */
.approach-item {
  position: relative;
  height: 100%;
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 28px 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.approach-item .step {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: var(--theme-color);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.approach-item h4 {
  color: var(--color-dark);
  margin-bottom: 10px;
}

.approach-item p {
  margin-bottom: 0;
}

/* partnership highlight */
.partner-box {
  background: var(--theme-color-light);
  border-radius: 20px;
  padding: 35px 40px;
  display: flex;
  gap: 25px;
  align-items: center;
}

.partner-box .focus-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  border-radius: 50%;
  background: var(--theme-color);
  color: var(--color-white);
  font-size: 34px;
}

.partner-box h4 {
  color: var(--color-dark);
}

.partner-box p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .partner-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .vm-item {
    padding: 30px 22px;
  }

  .philosophy-area blockquote {
    font-size: 20px;
  }
}


/*=====================================
  Hero product showcase
=====================================*/
.hero-showcase {
  position: relative;
  height: 520px;
  margin: 40px 0;
}

.hero-showcase .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px dashed rgba(3, 162, 151, .35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-showcase .ring-1 {
  width: 470px;
  height: 470px;
  animation: te-spin 60s linear infinite;
}

.hero-showcase .ring-2 {
  width: 340px;
  height: 340px;
  border: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-showcase .pack {
  position: absolute;
  background: var(--color-white);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(2, 51, 80, .35);
  transition: var(--transition);
}

.hero-showcase .pack img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.hero-showcase .pack-front {
  width: 62%;
  left: 19%;
  top: 30%;
  z-index: 3;
  animation: te-float 6s ease-in-out infinite;
}

.hero-showcase .pack-back-left {
  width: 48%;
  left: 0;
  top: 6%;
  z-index: 2;
  transform: rotate(-8deg);
}

.hero-showcase .pack-back-right {
  width: 48%;
  right: 0;
  top: 2%;
  z-index: 1;
  transform: rotate(7deg);
}

.hero-showcase .pack-back-left:hover,
.hero-showcase .pack-back-right:hover {
  z-index: 4;
  transform: rotate(0) scale(1.03);
}

.hero-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border-radius: 50px;
  padding: 8px 20px 8px 8px;
  box-shadow: var(--box-shadow2);
  font-weight: 600;
  color: var(--color-dark);
}

.hero-badge i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: var(--theme-color);
  color: var(--color-white);
  font-size: 18px;
}

.hero-badge.badge-top {
  right: 2%;
  top: 44%;
  animation: te-float 5s ease-in-out infinite reverse;
}

.hero-badge.badge-bottom {
  left: 0;
  bottom: 4%;
  animation: te-float 7s ease-in-out infinite;
}

.hero-badge.badge-bottom i {
  background: var(--theme-color2);
}

@keyframes te-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes te-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase *,
  .hero-badge {
    animation: none !important;
  }
}

@media (max-width: 1199px) {
  .hero-showcase { height: 440px; }
  .hero-showcase .ring-1 { width: 400px; height: 400px; }
}

@media (max-width: 991px) {
  .hero-showcase {
    height: 460px;
    max-width: 560px;
    margin: 10px auto 60px;
  }
}

@media (max-width: 575px) {
  .hero-showcase { height: 300px; margin-bottom: 40px; }
  .hero-showcase .ring-1 { width: 280px; height: 280px; }
  .hero-showcase .ring-2 { width: 220px; height: 220px; }
  .hero-badge { font-size: 13px; padding: 6px 14px 6px 6px; }
  .hero-badge i { width: 32px; height: 32px; line-height: 32px; font-size: 15px; }
  .hs-1 .hero-single { padding: 25px 15px; }
  .hero-btn { flex-wrap: wrap; }
}


/*=====================================
  Pillar strip (overlaps hero)
=====================================*/
.pillar-area {
  position: relative;
  z-index: 2;
  margin-top: -50px;
}

.pillar-wrap {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 28px 25px;
  height: 100%;
  border-right: 1px solid var(--border-info-color);
  transition: var(--transition2);
}

.pillar-wrap .col-lg-3:last-child .pillar-item {
  border-right: none;
}

.pillar-item:hover {
  background: var(--theme-color-light);
}

.pillar-item i {
  flex-shrink: 0;
  font-size: 34px;
  color: var(--theme-color);
}

.pillar-item h5 {
  margin: 0;
  font-size: 17px;
  color: var(--color-dark);
}

@media (max-width: 991px) {
  .pillar-area { margin-top: 0; padding-top: 40px; }
  .pillar-item { border-bottom: 1px solid var(--border-info-color); }
  .pillar-wrap .col-6:nth-child(2n) .pillar-item { border-right: none; }
}

@media (max-width: 575px) {
  .pillar-item { flex-direction: column; text-align: center; padding: 22px 12px; gap: 10px; }
  .pillar-item h5 { font-size: 15px; }
}


/*=====================================
  Approach steps - connecting line
=====================================*/
.approach-item {
  transition: var(--transition);
}

.approach-item:hover {
  transform: translateY(-6px);
}

.approach-item .step {
  position: relative;
  box-shadow: 0 0 0 8px var(--theme-color-light);
}

@media (min-width: 992px) {
  .approach-steps {
    position: relative;
  }

  .approach-steps::before {
    content: "";
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 70px;
    border-top: 2px dashed rgba(3, 162, 151, .4);
    z-index: 0;
  }

  .approach-area .approach-item {
    z-index: 1;
  }
}


/*=====================================
  Closing CTA
=====================================*/
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 60px;
  background: linear-gradient(120deg, var(--theme-color2) 0%, #04566f 55%, var(--theme-color) 100%);
  color: rgba(255, 255, 255, .85);
}

.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .06);
}

.cta-box::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -160px;
}

.cta-box::after {
  width: 220px;
  height: 220px;
  left: 35%;
  bottom: -150px;
}

.cta-box .row {
  position: relative;
  z-index: 1;
}

.cta-box h6 {
  color: var(--theme-color);
  background: var(--color-white);
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cta-box h2 {
  color: var(--color-white);
  font-size: 40px;
  margin: 18px 0 15px;
}

.cta-box .cta-sign {
  display: block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--color-white);
}

.cta-box .cta-btn {
  background: var(--color-white);
  color: var(--theme-color2);
}

.cta-box .cta-btn:hover {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .cta-box { padding: 40px 24px; border-radius: 20px; }
  .cta-box h2 { font-size: 28px; }
}


/*=====================================
  Home product strip
=====================================*/
.product-area .product-item .product-img img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  width: 100%;
}


/*=====================================
  Brand accent
  The template's secondary accent is coral red; map it to the
  Trident Eloria navy so buttons, links and badges stay on-brand.
=====================================*/
:root {
  --color-red: #023350;
}

/* on dark sections a navy hover fill would vanish - fill white instead */
.philosophy-area .theme-btn::before,
.cta-box .theme-btn::before {
  background: var(--color-white);
}

.philosophy-area .theme-btn:hover,
.cta-box .cta-btn:hover {
  color: var(--theme-color2);
}

.cta-box .cta-btn::before {
  background: var(--theme-color);
}

.cta-box .cta-btn:hover {
  color: var(--color-white);
}

/* room under the hero for the overlapping pillar strip */
@media (min-width: 992px) {
  .hs-1 .hero-single {
    padding-bottom: 80px;
  }
}

/* the logo is navy - give it a white plate on the navy footer */
.footer-logo {
  display: inline-block;
  background: var(--color-white);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 190px;
  margin-bottom: 0;
}

/* product page copy */
.shop-single-subtitle {
  font-weight: 500;
  color: var(--color-dark);
  margin: 10px 0 8px;
}

.shop-single-tagline {
  font-size: 18px;
  font-style: italic;
  color: var(--theme-color);
  margin-bottom: 20px;
}

.shop-single-highlights-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.shop-single-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.shop-single-highlights li {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.shop-single-highlights li i {
  color: var(--theme-color);
  margin-top: 4px;
}



/* portfolio at a glance (home) */
.portfolio-area {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(3, 162, 151, .35), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(3, 162, 151, .22), transparent 40%),
    var(--theme-color2);
  color: rgba(255, 255, 255, .78);
}

.portfolio-area .site-title {
  color: var(--color-white);
}

.portfolio-area .site-title span {
  color: #5fd6cc;
}

.portfolio-area .site-title-tagline {
  color: #5fd6cc;
}

.portfolio-stats {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-stats li {
  flex: 1;
  max-width: 150px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.portfolio-stats strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  color: var(--color-white);
  font-weight: 700;
}

.portfolio-stats span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.3;
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-head,
.portfolio-row {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.2fr) minmax(0, 1.6fr) 44px;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.portfolio-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  padding-bottom: 4px;
}

.portfolio-row {
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  color: inherit;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.portfolio-row:hover {
  color: inherit;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(95, 214, 204, .6);
  transform: translateX(6px);
}

.portfolio-product {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.portfolio-thumb {
  flex: 0 0 92px;
  height: 64px;
  border-radius: 12px;
  background: var(--color-white);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.portfolio-name {
  display: block;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
}

.portfolio-tagline {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
}

.portfolio-form {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(3, 162, 151, .18);
  color: #8fe7df;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.portfolio-focus {
  color: var(--color-white);
  font-weight: 500;
}

.portfolio-go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--color-white);
  transition: background .25s ease, border-color .25s ease;
}

.portfolio-row:hover .portfolio-go {
  background: var(--theme-color);
  border-color: var(--theme-color);
}

@media (max-width: 991px) {
  .portfolio-stats {
    justify-content: flex-start;
    margin-top: 25px;
  }

  .portfolio-stats li {
    max-width: none;
  }

  .portfolio-head {
    display: none;
  }

  /* rows become cards: product on top, form + positioning below */
  .portfolio-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 14px 16px;
    padding: 18px;
  }

  .portfolio-product {
    grid-column: 1 / -1;
  }

  .portfolio-form {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .portfolio-focus {
    grid-column: 1;
    grid-row: 3;
  }

  .portfolio-go {
    grid-column: 2;
    grid-row: 3;
  }

  .portfolio-row:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 575px) {
  .portfolio-stats li {
    padding: 14px 12px;
  }

  .portfolio-stats strong {
    font-size: 26px;
  }

  .portfolio-thumb {
    flex-basis: 76px;
    height: 54px;
  }

  .portfolio-name {
    font-size: 18px;
  }
}

/* product card (home, products page, related items) */
.product-card {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid rgba(2, 51, 80, .08);
  border-radius: 18px;
  box-shadow: var(--box-shadow);
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(3, 162, 151, .45);
  box-shadow: 0 16px 40px rgba(2, 51, 80, .12);
}

.product-card-img {
  flex: 0 0 116px;
  height: 116px;
  padding: 8px;
  border-radius: 14px;
  background: var(--theme-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.product-card-name {
  font-family: var(--heading-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

.product-card-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--theme-color-light);
  color: var(--theme-color);
  font-size: 12px;
  font-weight: 600;
}

.product-card-subtitle {
  font-size: 13px;
  line-height: 1.45;
  color: #6b7789;
}

.product-card-focus {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-dark);
}

.product-card-more {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color);
}

.product-card-more i {
  margin-left: 4px;
  transition: transform .25s ease;
}

.product-card:hover .product-card-more i {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .product-card {
    gap: 14px;
    padding: 14px;
  }

  .product-card-img {
    flex-basis: 96px;
    height: 96px;
  }

  .product-card-name {
    font-size: 17px;
  }
}

/* developer credit under the footer copyright */
.copyright .copyright-credit {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--footer-text-color);
}

/* white + teal underline: plain teal is too close to the navy footer to read */
.copyright .copyright-text a,
.copyright .copyright-credit a {
  color: var(--color-white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--theme-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.copyright .copyright-text a:hover,
.copyright .copyright-credit a:hover {
  color: #5fd6cc;
}

/* careers - job cards */
.job-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: var(--box-shadow);
  border-top: 4px solid var(--theme-color);
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-6px);
}

.job-card h4 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--color-dark);
}

.job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.job-card .job-meta li {
  background: var(--theme-color-light);
  color: var(--color-dark);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 500;
}

.job-card .job-meta li i {
  color: var(--theme-color);
  margin-right: 4px;
}

.job-card .job-points {
  margin: 15px 0 25px;
  padding: 0;
  list-style: none;
}

.job-card .job-points li {
  margin-bottom: 8px;
}

.job-card .job-points li i {
  color: var(--theme-color);
  margin-right: 6px;
}

.job-card .theme-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* careers - application form */
.careers-file-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-dark);
}

#careers-resume {
  padding-top: 12px;
  height: auto;
}

.careers-hp {
  position: absolute;
  left: -9999px;
}

#apply {
  scroll-margin-top: 100px;
}

.job-card .job-dept {
  display: block;
  margin: -8px 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color);
}

.job-card .job-salary {
  margin: 0 0 20px;
  font-weight: 600;
  color: var(--color-dark);
}

.job-card .job-salary i {
  color: var(--theme-color);
  margin-right: 4px;
}

.job-card.job-empty {
  align-items: center;
}

.job-card.job-empty .focus-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  background: var(--theme-color-light);
  color: var(--theme-color);
  font-size: 30px;
  margin-bottom: 20px;
}
