:root {
  /* definim varianta hex */
  --primary-bg: #121212;
  --primary-btn: #B9955F;
  --primary-text: #161E2D;
  --sec-bg: #3C3124;
  --text-white: #ffffff;
  --border-blue: #394761;
  --text-gray: #757575;
    --cnvs-secondary-color: #040d1d;
    --primary-font: 'Manrope', sans-serif;
    --primary-font-size: 16px;
    --opacity7: 0.7;
     --bs-navbar-nav-link-padding-x2: 1rem;
}

html {
    scroll-behavior: smooth;
}
body{
    font-family:  var(--primary-font);
    font-size:  var(--primary-font-size);
}
/* Elimina tranzi?iile peste tot */
#mainNavbar {
  transition: none !important;
  height: auto !important;
}

/* start header */

.bg-dark {
  background-color:var(--primary-bg) !important;
}
  .brand-logo img {
     max-width:160px;
 }
.brand-logo:hover {
    opacity: var(--opacity7);
 }
 /* start hamburger */
.custom-toggler {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 19px;
  padding: 0;
}

.custom-toggler span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s;
}

.custom-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}
  /* end hamburger */
 .navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.navbar-nav .nav-link {
text-transform:uppercase;
color: var(--text-white);
font-size:.9rem;
font-weight: 700;
 }

.navbar-nav .nav-link:hover {
opacity: var(--opacity7);
 }
.navbar-nav .nav-item.curent .nav-link {
color: var(--primary-btn);
text-decoration:underline;
 }


@media (min-width: 992px) {
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x2);
    padding-left: var(--bs-navbar-nav-link-padding-x2);
  }
 }

/* end header */


/* footer */
footer,#copyrights {
  background-color: var(--primary-bg);
  color: var(--text-white);
}
footer .fontFooter a{
 color: var(--text-white);
 text-decoration:none;
}

footer .fontFooter2 a{
 color: var(--primary-btn);
 text-decoration:none;
}
footer .fontFooter2 a:hover{
opacity: var(--opacity7);
}

#copyrights {
padding: 1rem 0;
color: var(--text-gray);
font-size:.9rem;
border-top:1px solid #394761;
}
.phone-custom {
 font-size:1.5rem;
}
#gotoTop {
background-color: var(--primary-btn);
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 1.2rem;
  padding: 6px 13px;
  cursor: pointer;
  display: none;
  z-index: 9999;
  border-radius: 100%;
  transition: background-color 0.2s linear, opacity 0.4s ease;
}
#gotoTop:hover {
     background-color: var(--primary-btn);
 transform: scale(1.1);
}

.bg-facebook,
.bg-linkedin {
  background-color: #0e1624;
  border: 1px solid #1c283b;
  border-radius: 100%;
  color: #c5c7ca;
   margin-right: 10px;
  width: 40px;
  height: 40px;
  justify-content: center;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.bg-facebook:hover,
 .bg-linkedin:hover {
 opacity: var(--opacity7);
}

/* footer */


.custom-btn,.custom-btn:hover{
   color: var(--primary-btn);
   border:1px solid  var(--primary-btn);
   margin-top:15px;
}

.custom-btn:hover{
    opacity: var(--opacity7);
}


.btn-primary,.btn-primary:hover {
   background-color: var(--primary-btn);
   color: var(--primary-text);
   border:1px solid  var(--primary-btn);
}
.btn-primary:hover {
   opacity: var(--opacity7);
}
.navbar-nav .nav-link.letsBtn,.navbar-nav .nav-item.curent .nav-link.letsBtn {
   color: var(--primary-text);
   text-decoration: none;
}

/* start hero */
.heroBg {
 position: relative;
 overflow: hidden;
 min-height:500px;
}

.heroBg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:var(--primary-bg) url('../images/hero.png') center center / cover no-repeat;
  transform: scale(1.2);
  animation: zoomHero 6s forwards;
}

@keyframes zoomHero {
  to { transform: scale(1); }
}

.hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    height: 100%;
    color: #fff;
}
 .hero-title h1 {
    color: #fff;
    font-size:6rem;
    font-weight:700;
    text-align:center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
     transform: translateY(20px);
  transition: all 1s ease-out;
   opacity: 0;
}

 .hero-title h1 span {
  font-weight:400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out 0.5s;
}
/* Active state */
.hero-title h1.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-title h1.show span {
  opacity: 1;
  transform: translateY(0);
}

/* end hero */
.primary-bg {
   background-color: var(--primary-bg);
}
.outline-btn-sub {
  color: var(--primary-btn);
  border:1px solid var(--primary-btn);
  border-radius:38px;
  padding: 4px 24px;
  text-align:center;
  display:flex;
  justify-content: center;
  align-items:center;
  width: fit-content;
}
.about-right  {
    padding-bottom:1rem;
}

.solution-box {
  align-items:center;
  display:flex;
  padding:2rem 0 25% 0;
  flex-direction:column;

}
.solution-box h2{
    margin-bottom: 0;
    font-size:2.5rem;
    font-weight: 500;
}

.custom-solution-box {
    align-items:center;
  display:flex;
  padding:3rem 0;
  flex-direction:column;
}
.lg-h2 {
   font-size:2.5rem;
}

.custom-solution-box h2{
    margin-bottom: 5px;
    font-size:2.5rem;
    font-weight: 500;
}
.custom-solution-box .desc {
  margin-bottom: 15px;
}
.desc-subtitle{
  max-width:800px;
}
.radius-bottom {
   border-radius: 0 0 15%  15%
}

 .btn {
  --bs-btn-padding-x: 1.3rem;
  }
/* start how tit works */
.hoWorks  h2{
    margin-top: 15px;
    font-size:6rem;
    line-height:6.5rem;
    font-weight: 500;
}
.progress-box {
  align-items:start;
  display:flex;
  flex-direction:row;
  height:100%;
  padding-bottom:5rem;
 }
 .progress-box:last-child{
  padding-bottom: 0;
 }

.progress-item {
  align-items:start;
  display:flex;
  flex-direction:column;
 }
.progress-item .title{
    font-size:2rem;
    font-weight: 500;
    color: var(--primary-btn);
    line-height: 2.5rem;
}
.progress-item .desc{
    font-size:1rem;
    font-weight: 400;
    margin-bottom:20px;
    line-height:1.5rem
}

  .number-slider {
  display:flex;
  background-color: var(--primary-bg);
  font-weight: 400;
 font-size:5rem;
  height:100%;
  line-height:1.5rem;
  width:160px;
  z-index:1;
  }

.number-slider .nb{
padding:30px 40px;
}

.progress-container {
  position: relative;
}

.progress-container::before {
  content: "";
  position: absolute;
  left: 85px;
  top: 0;
  width: 2px;
  height: 100%;
  background: transparent;
  z-index: 0;
}

.progress-bar-active {
  position: absolute;
  left: 85px;
  top: 0;
  width: 2px;
  height: 0;
  background-color: var(--primary-btn);
  z-index: 1;
  transition: height 0.2s linear;
}

.number-slider .nb {
  display:flex;
  background-color: var(--primary-bg);
  font-weight: 400;
 font-size:5rem;
  height:100%;
  line-height:1.5rem;
  width:160px;
  z-index:1;
  position: relative;
}

 .sticky-box {
  position: sticky;
  top: 100px;
  padding-bottom: 30px;
}
/* end how tit works */

.mind-form {
  background-color: var(--primary-bg);
border-radius:24px;
padding:1.5rem 2.5rem 2.5rem 2.5rem;
}
.mind-form label {
    color:var(--text-white);
    font-size:1rem;
}
.mind-form h3 {
    color:var(--text-white);
    font-size:2.5rem;
    font-weight:500;
    margin-bottom:20px
}
.mind-form button {
 margin-top:10px;
}

.contact-box {
  display:flex;
  flex-direction: column;
  justify-content:center;

}
.max-width-box{
  max-width:500px;
}

.contact-box h2 {
    margin: 15px  0 30px;
    font-size:3rem;
    line-height:3.5rem;
    font-weight: 700;
}
.contact-box h2 span {
    font-weight: 400;
}

/* start cards */
 .topNegative {
  margin-top:-18%;
 }

 .solutionBoxTitle {
     padding-bottom: 2rem
 }

.cards-box {
   display: flex;
  align-items: center;
  justify-content:center;
  flex-direction:row;

}
.cards-item {
  position: relative;
  overflow: hidden;
}

.cards-item:hover .hover-text {
  bottom: 0;   /* apare de jos */
}

.no-underline {
    text-decoration: none;
}

.discovery-box,.reviews-box,.game-box {
  background:
  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('../images/mindbugsDiscovery.jpg') center center no-repeat;
  background-size: cover;
  min-height:400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:column;
  border-radius:12px;
  height:100%;
  border:1px solid var(--primary-btn);
  width:100%;
  cursor:pointer;
}


.game-box {
  background:
  linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
  url('../images/mindbugsGame.jpg') center center no-repeat;
  background-size: cover;
}

.reviews-box {
  background:
  linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
  url('../images/mindbugsReviews.jpg') center center no-repeat;
    min-height:500px;
     background-size: cover;
}
.reviews-box::after,.game-box::after,.discovery-box::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #433321;
  opacity: 0.4;
  z-index:1;
}


.box-visible {
  display: flex;
  align-items: center;
  justify-content:center;
  flex-direction:column;
  padding:0 2rem;
  flex: 1;
  height:100%;
  position: relative;
  transition: transform 0.4s ease;
  z-index:2;
}
.cards-item:hover .box-visible {
  transform: translateY(-20%); /* se ridica la hover */
}
.hover-text {
  text-align:left;
  line-height:1.5rem;
  margin-top:10px;
  padding:20px 20px 30px 20px;
  background-color: var(--text-white);
  border-radius: 0 0 10px 10px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;
    -webkit-transition: bottom .4s ease-in-out;
    transition: bottom .4s ease-in-out;
  z-index: 2;
  align-items: center;
  display: flex;
  flex-direction: column;

}


.hover-text .btn-primary {
    margin-top:10px
}
.hover-text .btn-primary:hover {
  opacity: var(--opacity7);
}

.cards-box h3  {
    text-align: center;
    font-size:2rem;
    font-weight:500;
    margin-bottom:10px;
}

.cards-box .desc  {
    text-align: center;
    font-size:1rem;
    font-weight:400;
    margin-bottom:20px
}

.btn-white {
  color: var(--text-white);
  background-color: transparent;
  border:1px solid var(--text-white);
  border-radius:38px;
  padding: 4px 24px;
  text-align:center;
  display:flex;
  justify-content: center;
  align-items:center;
  width: fit-content;
}

.btn-white:hover {
  color: var(--primary-bg);
  border:1px solid var(--text-white);
  background-color: var(--text-white);
}
/* end cards */

/* start about */
.about-us .card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #0D0D0D;
  text-align:left;
  color:  var(--text-white);
  padding: 1.5rem 1rem .5rem 1rem;
  border:1px solid var(--primary-btn);
}
.about-us .card:hover {
  transform: translateY(-5px);
  }

  .about-us h3 {
  margin: 10px 0;
}

.about-us h5 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight:500;
}

.about-us p {
  font-size: 1rem;
}
.about-us .card p {
  font-size: .9rem;
}

.about-us img {
  object-fit: cover;
}
.avatar-md {
    width: 140px;
    border:4px solid  var(--primary-btn);
}
/* end about */

@media (max-width: 991.98px) {
  #mainNavbar.collapse {
    display: none !important;
  }

  #mainNavbar.collapse.show {
    display: block !important;
  }

  #mainNavbar.collapsing {
    display: block !important;
    height: auto !important;
    transition: none !important;
  }
}

@media (max-width:1200px) {
    .container,
    .container-md,
    .container-sm {
        max-width: 100%;
        padding-left:3%;
        padding-right:3%;
      }
      .hero-title h1 {
      font-size: 4rem;
        }
      .heroBg {
      min-height: 300px;
      }
     .cards-box h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }
    .hoWorks h2 {
      margin-top: 15px;
      font-size: 3rem;
      line-height: 3.5rem;
    }
    .progress-item .title {
      font-size: 1.5rem;
      font-weight: 500;
      line-height: 2rem;
    }

    .number-slider .nb {
      font-size: 4rem;
      line-height: 1.5rem;
      width: 125px;
    }
}

@media (max-width: 767.98px) {
       .container,
       .container-md,
       .container-sm {
        max-width: 100%;
        padding-left:3%;
        padding-right:3%;
      }
      .hero-title h1 {
      font-size: 4rem;
        }
      .heroBg {
      min-height: 100%;
        }
      .cards-box h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }
    .hoWorks h2 {
      margin-top: 15px;
      font-size: 2.5rem;
      line-height: 3rem;
    }
    .progress-item .title {
      font-size: 1.5rem;
      font-weight: 500;
      line-height: 2rem;
      margin-bottom:10px;
    }

    .number-slider .nb {
      font-size: 3rem;
      line-height: 2rem;
      width:84px;
    }

    .hover-text {
      position:static
    }
    .cards-item:hover .box-visible {
      transform: none;
    }
    .progress-bar-active {
      transition: height 0.8s linear;
    }
     .topNegative {
      margin-top:-20%;
     }
     .solutionBoxTitle {
      padding-bottom: 1rem;
    }
    .cards-box {
      flex-direction: column;
      width: 100%;
    }
    .discovery-box, .reviews-box, .game-box {
        min-height:auto;
    }
    .box-visible {
        padding:2rem 2rem 0rem 2rem
        }

    .cards-box h3 br {
    display:none;
      }
    .small-gray {
        margin-bottom:15px;
    }
    .number-slider .nb {
      padding: 10px 0;
    }
    .progress-box {
      padding-bottom: 2rem;
    }
    .sticky-box {
      position: static;
      text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #394761;
        padding-bottom: 18px;
    }
    .outline-btn-sub {
    font-size:.9rem;
    }
    .progress-bar-active {
        display:none;
    }
    .radius-bottom {
      border-radius: 0;
    }

    .contact-box h2 {
      margin: 15px 0;
      font-size: 2rem;
      line-height: 2.5rem;
    }
    .mind-form h3 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .solution-box .desc br {
        display: none;
    }
    .custom-solution-box h2 {
       font-size:2rem
    }
    .custom-solution-box .lead {
       font-size:1rem
    }
    .custom-solution-box h2 br{
       display: none;
    }
    .custom-solution-box .lead br {
        display: none;
    }

    .about-left {
        text-align:center;
        justify-content: center !important;
    }
    .about-right {
        border-top:1px solid var(--border-blue);
        margin-top: 15px;
        padding-top:30px;
        padding-bottom: 0
    }

     #mainNavbar.navbar-collapse.show {
         margin-top:10px;
         padding-bottom:10px
     }
    .navbar-nav .nav-link.letsBtn,
    .navbar-nav .nav-item.curent .nav-link.letsBtn {
      display: inline-block;
      padding-left: 10px;
      padding-right: 10px;
    }
}

  @media (max-width: 580px) {
  .col-5, .col-7  {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .hero-title h1 br {
   display:none;
  }
    .hero-title h1 {
    font-size: 2.5rem;
  }
  .custom-solution-box {
  padding: 3rem;
    }
    .solution-box h2 {
      font-size: 2rem;
    }
    .solution-box {
      padding: 2rem 2rem 25% 2rem;
    }
}