/* ----------------------------------------------------------------
	Canvas: Finance
-----------------------------------------------------------------*/

:root {
  --cnvs-themecolor: #264653;
  --cnvs-themecolor-rgb: 38, 70, 83;
  --cnvs-secondary-color: #e9c46a;
  --cnvs-secondary-color-rgb: 233, 196, 106;

  --cnvs-body-font: 'Manrope', sans-serif;
  --cnvs-primary-font: 'DM Serif Text', serif;
}

.color-2,
.h-color-2:hover {
  color: var(--cnvs-secondary-color) !important;
}

.bg-color-2,
.h-bg-color-2:hover {
  background-color: var(--cnvs-secondary-color) !important;
}

@media (max-width: 991.98px) {
  .top-links-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.dark .top-links-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.iconlist > li {
  line-height: 24px;
}

.iconlist > li [class^='icon-']:first-child,
.iconlist > li [class*=' icon-']:first-child {
  width: 24px;
  height: 24px;
  text-align: center;
  border-radius: 50%;
}

.dotted-bg:before {
  content: '';
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 100%;
  background-size: 12px 12px;
  background-position: center;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(
    rgba(var(--cnvs-themecolor-rgb), 0.3) 14%,
    transparent 14%
  );
  -webkit-mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
  mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
  z-index: 0;
}

.services-grid .feature-box {
  padding: 2rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  border: 1px solid var(--cnvs-secondary-color);
}

.services-grid .feature-box:hover {
  background-size: cover;
}

.hover-button {
  display: block;
  margin-top: 20px;
  font-weight: 600;
}

.dark .hover-button {
  color: #fff;
}

.services-grid .feature-box {
  background-color: var(--cnvs-themecolor);
}

.dark .services-grid .feature-box .fbox-icon i {
  background-color: rgba(255, 255, 255, 0.15);
}

.services-grid .feature-box,
.services-grid .feature-box .fbox-icon,
.services-grid .feature-box .fbox-content,
.hover-button {
  transition:
    all 0.4s ease,
    border-color 0s ease;
}

.heading-block h3 {
  font-size: 2.1rem;
  line-height: 1.3 !important;
}

.form-widget label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 5px;
}

@media (min-width: 992px) {
  .services-grid .feature-box {
    padding: 3rem;
    background-size: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .services-grid .feature-box:hover {
    transform: translateY(-6px);
    border-color: var(--cnvs-themecolor);
  }

  .services-grid .feature-box:not(:hover) .hover-button {
    opacity: 0;
    transform: translateY(-5px);
  }

  .services-grid .feature-box .fbox-icon,
  .services-grid .feature-box .fbox-content {
    transform: translateY(20px);
  }

  .services-grid .feature-box:hover .fbox-icon,
  .services-grid .feature-box:hover .fbox-content {
    transform: translateY(0px);
  }

  .dark .services-grid .feature-box:hover .fbox-icon i {
    background-color: #fff;
  }

  .heading-block h3 {
    font-size: 2.5rem;
    line-height: 1.3 !important;
  }

  .hero-title.display-3 {
    font-size: 4.25rem;
    letter-spacing: -3px;
  }
}

@media (max-width: 991.98px) {
  .services-grid .feature-box .fbox-icon i {
    background-color: #fff;
  }
}
