/*-----------------------------------------------------------------------------------*/
/*  GRUVIT - MODERN REFRESH (overrides on top of the legacy theme, same markup/sections) */
/*-----------------------------------------------------------------------------------*/
:root {
  --gv-primary: #17a06f;
  --gv-primary-dark: #0f6e4c;
  --gv-primary-light: #6fd9ab;
  --gv-ink: #10211c;
  --gv-ink-soft: #4d5c58;
  --gv-bg: #f6f9f8;
  --gv-bg-dark: #0e1a16;
  --gv-bg-dark-soft: #16241f;
  --gv-border: #e4ece9;
  --gv-radius: 16px;
  --gv-radius-sm: 10px;
  --gv-shadow: 0 10px 30px -12px rgba(15, 60, 45, 0.18);
  --gv-shadow-lg: 0 25px 60px -20px rgba(10, 40, 30, 0.35);
  --gv-font-display: "Poppins", "Raleway", sans-serif;
}

body {
  color: var(--gv-ink-soft);
  background-color: var(--gv-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--gv-font-display);
  color: var(--gv-ink);
  letter-spacing: -0.01em;
}

a,
.colored {
  color: var(--gv-primary);
}
a:hover,
a:focus {
  color: var(--gv-primary-dark);
}

/*----------------------------------- SECTIONS -----------------------------------*/
.light-wrapper {
  background: #ffffff;
  border-bottom: none;
}
.dark-wrapper {
  background: var(--gv-bg);
  border-bottom: none;
}
.black-wrapper {
  background: var(--gv-bg-dark);
}
#works.dark-wrapper {
  background: var(--gv-bg-dark-soft);
}
#works.dark-wrapper h1,
#works.dark-wrapper h2,
#works.dark-wrapper .section-title h2,
#works.dark-wrapper .section-title .icon {
  color: #eef5f1;
}
#works.dark-wrapper p,
#works.dark-wrapper .meta {
  color: #9db3ac;
}

.inner {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-title {
  margin-bottom: 50px;
}
.section-title h2 {
  font-family: var(--gv-font-display);
  font-weight: 700;
  text-transform: none;
  font-size: 34px;
  color: var(--gv-ink);
}
.section-title .icon {
  color: var(--gv-primary);
  width: 110px;
}
.section-title .icon:before,
.section-title .icon:after {
  border-color: var(--gv-border);
}

/*----------------------------------- NAV -----------------------------------*/
.navbar.basic.default,
.navbar.basic.fixed {
  background: transparent;
}
.navbar-header {
  background: var(--gv-bg-dark);
  transition: box-shadow 200ms ease-in;
}
.navbar.basic.fixed .navbar-header {
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4);
}
.navbar-brand {
  padding-top: 22px;
}
.navbar-nav > li > a {
  padding: 28px 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-bottom: 3px solid transparent;
}
.nav > li > a:hover,
.nav > li.active > a {
  color: var(--gv-primary-light) !important;
}

/*----------------------------------- HERO -----------------------------------*/
.hero-modern {
  position: relative;
  padding: 190px 0 120px;
  background: radial-gradient(1100px 550px at 15% -10%, rgba(23, 160, 111, 0.35), transparent 60%), linear-gradient(160deg, var(--gv-bg-dark) 0%, #0b1512 100%);
  overflow: hidden;
}
.hero-modern:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(111, 217, 171, 0.18), transparent 45%);
  pointer-events: none;
}
.hero-modern .container {
  position: relative;
  z-index: 2;
}
.hero-modern .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gv-primary-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-modern .hero-eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gv-primary-light);
  display: inline-block;
}
.hero-modern h1 {
  color: #fdfffe;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  max-width: 720px;
  margin-bottom: 18px;
}
.hero-modern h1 span {
  color: var(--gv-primary-light);
}
.hero-modern p.lead {
  color: #c4d4cd;
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-modern .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-modern .hero-showcase {
  position: relative;
  min-height: 360px;
}
.hero-modern .hero-card {
  position: absolute;
  background: #ffffff;
  border-radius: var(--gv-radius);
  box-shadow: var(--gv-shadow-lg);
  transform: rotate(var(--rot, 0deg));
  border: 6px solid white;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.hero-modern .hero-card img {
  /* fills the card at a fixed ratio so mixed-size screenshots crop consistently */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-modern .hero-card.card-1 {
  top: 0;
  right: 12%;
  width: 80%;
  --rot: -3deg;
  z-index: 2;
}
.hero-modern .hero-card.card-2 {
  top: 68px;
  right: -4%;
  width: 64%;
  --rot: 5deg;
  z-index: 3;
}
.hero-modern .hero-card.card-3 {
  bottom: 0;
  right: 20%;
  width: 58%;
  --rot: -6deg;
  z-index: 4;
}
.hero-modern .hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-modern .hero-stats strong {
  display: block;
  font-family: var(--gv-font-display);
  font-size: 26px;
  color: #fff;
}
.hero-modern .hero-stats span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93a7a0;
}

@media (max-width: 991px) {
  .hero-modern {
    padding: 150px 0 70px;
    text-align: center;
  }
  .hero-modern h1,
  .hero-modern p.lead {
    max-width: 100%;
  }
  .hero-modern .hero-actions,
  .hero-modern .hero-stats {
    justify-content: center;
  }
  .hero-modern .hero-showcase {
    display: none;
  }
}

/*----------------------------------- BUTTONS -----------------------------------*/
.btn,
.parallax .btn-submit,
.btn-submit {
  background: var(--gv-primary);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px -10px rgba(23, 160, 111, 0.55);
  transition:
    all 200ms ease-in,
    transform 150ms ease-in;
}
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.parallax .btn-submit:hover {
  background: var(--gv-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(15, 110, 76, 0.55);
}
.btn-large {
  padding: 15px 30px;
}
.btn-border-dark {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: none;
  color: #fff !important;
}
.btn-border-dark:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/*----------------------------------- SERVICES -----------------------------------*/
#services .col-services .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
#services .col-services .row:before,
#services .col-services .row:after {
  content: none;
  display: none;
}
#services .col-services .row > [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  #services .col-services .row {
    grid-template-columns: 1fr;
  }
}
.service-item {
  background: #fff;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius);
  padding: 34px 26px;
  height: 100%;
  box-shadow: var(--gv-shadow);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--gv-shadow-lg);
}
.service-item .icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gv-primary), var(--gv-primary-dark));
  margin-bottom: 18px;
}
.service-item .icon i.icn {
  color: #fff !important;
  font-size: 24px;
}
.service-item h5 {
  font-size: 16px;
  font-weight: 700;
}

/*----------------------------------- ABOUT / ADVANTAGES -----------------------------------*/
#about .lead {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.col-services .bm20 {
  background: #fff;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-sm);
  padding: 20px 20px 6px;
}
.col-services .bm20 .icon {
  display: inline-flex;
  margin-right: 14px;
}
.col-services .icon i.icn {
  color: var(--gv-primary);
  font-size: 26px;
}
.panel-default {
  border: none;
  margin-bottom: 10px;
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-list li {
  background: #fff;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-sm);
  padding: 8px 14px;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--gv-ink);
}
.why-list li:before {
  content: "\2192";
  color: var(--gv-primary);
  margin-right: 10px;
  font-weight: 900;
}

/*----------------------------------- PORTFOLIO -----------------------------------*/
.filter {
  text-align: center;
  margin-bottom: 40px;
}
.filter li {
  display: inline-block;
  margin: 0 4px;
}
.filter li a {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfe3da;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.filter li a.active,
.filter li a:hover {
  background: var(--gv-primary);
  border-color: var(--gv-primary);
  color: #fff;
}
.items.col3 li {
  background: #fff;
  border-radius: var(--gv-radius);
  overflow: hidden;
  box-shadow: var(--gv-shadow);
  border: 3px solid var(--gv-border);
}
.items.col3 li .image-caption {
  padding: 14px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.items.col3 li .image-caption h3 {
  font-size: 17px;
  margin-bottom: 2px;
  color: var(--gv-ink);
}
.items.col3 li .image-caption .tech {
  display: flex;
  gap: 8px;
}
.items.col3 li .image-caption .meta {
  color: var(--gv-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: #f1f1f1;
  padding: 0px 10px;
  border-radius: 4px;
}
.icon-overlay img {
  transition: transform 400ms ease;
}
.icon-overlay:hover img {
  transform: scale(1.06);
}

/*----------------------------------- TECH -----------------------------------*/
#tech .col-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#tech .col-services > [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
}
@media (max-width: 767px) {
  #tech .col-services {
    grid-template-columns: repeat(2, 1fr);
  }
}
#tech .col-services > div > div {
  background: #fff;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
#tech .col-services > div > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--gv-shadow);
}

/*----------------------------------- CLIENTS -----------------------------------*/
.owl-clients .item {
  background: #fff;
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-sm);
  padding: 26px 16px;
  margin: 8px;
}
.owl-clients .item img {
  max-height: 60px;
  width: auto;
  margin: 0 auto 12px;
  opacity: 1;
  filter: grayscale(35%);
}
.owl-clients .item:hover img {
  filter: grayscale(0);
}
.owl-clients .item h5 {
  color: var(--gv-ink-soft);
  font-weight: 600;
}

/*----------------------------------- CONTACT -----------------------------------*/
.parallax.contact {
  background-image: none;
  background: linear-gradient(160deg, var(--gv-bg-dark) 0%, #0b1512 100%);
}
.form-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--gv-radius);
  padding: 40px;
}
.parallax input,
.parallax textarea {
  border-radius: var(--gv-radius-sm);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.parallax input:focus,
.parallax textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gv-primary-light);
}

/*----------------------------------- FOOTER -----------------------------------*/
footer.black-wrapper {
  background: var(--gv-bg-dark);
  padding: 10px 0;
}
footer.black-wrapper img {
  opacity: 0.9;
}
