
/* COLOR CONFIG */
:root {
  --bs-dark:#15162C!important;
}

.btn-dark{
  color:#fff;
  background-color:#15162C!important;
  border-color:#15162C!important
}

.btn-dark:hover, .btn-dark:focus {
  background-color: #4966a5 !important;
  border-color: #4966a5 !important;
}

.btn-outline-dark {
  color:#15162C!important;
  border-color:#15162C!important
}

.btn-outline-dark:hover, .btn-outline-dark:focus {
  color:white!important;
  background-color:#15162C!important;
  border-color:#15162C!important
}

.bg-dark {
  background-color: #15162C !important;
}

.bg-soft-dark {
  background-color: rgba(21, 22, 44, 0.8) !important;
}

.bg-bl {
  background-color: rgba(21, 22, 44, 0.4);
}

.bg-bl-gradient {
  background: linear-gradient(to right, #15162C, rgba(21, 22, 44, 0.4));
}

.bg-soft-white {
  background-color: rgba(255, 255, 255, 0.9)
}

.bg-soft-media {
  background-color: rgba(255, 255, 255, 0.1)
}

.nav-segment {
  background-color: #15162C;
}

.nav-segment .nav-link {
  color: #ffffff!important;
}

.nav-segment .nav-link:hover {
  color: #4966a5!important;
}

.nav-segment .nav-link.active {
  color: #15162C!important;
}

.text-dark{
  color: #15162C!important;
}

.text-justify {
  text-align: justify;
}

/*HERO*/

#heroNav {    
  height: calc(100vh - 75px) ;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 75px;
}

#heroNavProject{
  height: 75vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#heroNavTeam {    
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* NAVBAR*/
.navbar {
  background-color: #15162C;
}

.navbar-dark .navbar-nav .nav-link {
  color: white !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #4966a5 !important;
}

.navbar.navbar-scrolled.navbar-dark {
  background-color: rgba(21, 22, 44, 0.87) !important;
}

.navbar-toggler{
  border: none;
  font-size: 1.5rem;
  align-items: center;
}

/* COMPONENTS */

@media (max-width: 991.98px) {
  .navbar-expand-lg.navbar-dark .navbar-nav, .navbar-expand-lg.navbar-dark.navbar-topbar-collapse {
    background-color: rgba(21, 22, 44, 0.87);
  }
  .navbar-expand-lg .navbar-collapse {
    background-color: transparent !important;
  }
}

.gallery-item {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all .4s ease-in-out;
}

@media (max-width: 576px) {
  .gallery-item {
   max-width: 100%;
   height: 250px;
  }
}

.gallery-item:hover{  
  opacity: 0.8;
  transition: all .4s ease-in-out;
}

.media-viewer {
  transition: all .4s ease-in-out;
}

.media-viewer:hover {
  -webkit-transform:translateY(-.1875rem)!important;
  transform:translateY(-.1875rem)!important;
  transition: all .4s ease-in-out;
}

.media-viewer-icon {
  background-color: #15162C;
  width: 2rem;
  height: 2rem;
  font-size: .9rem;
}

#gallery-videos > a > img:hover {
  cursor: pointer;
  opacity: 0.9;
  -webkit-transform:translateY(-.1875rem)!important;
  transform:translateY(-.1875rem)!important;
  transition: all .4s ease-in-out;
}

/*TEAM*/
.h-gallery{
  height: 15rem;
}

.h-team {
  height: 25rem;
}

.img-team {
  height: 90vh;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.position-text{
  position: absolute;
  bottom: 40px;
}

.js-shuffle-item .card-img-top {
  height: 550px;
}

.swiper-pagination-bullet-active  {
  border-color:#15162C!important
}

.swiper-pagination-bullet:hover {
  border-color:#4966a5!important
}

.swiper-pagination-bullet-active::before, .swiper-pagination-bullet-active:hover::before {
  background-color: #15162C!important;
}

.swiper-pagination-bullet:hover::before {
  background-color: rgba(21, 22, 44, 0.8) !important;
}

/* SERVICES */

@media (max-width: 600px) {
  .img-team {
    height: 50vh;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }
}

#nav-services.nav-segment{
  background-color: #15162C !important;
}

#nav-services.nav-segment .nav-link {
  color: #ffffff!important;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

#nav-services.nav-segment .nav-link:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

#nav-services.nav-segment .nav-link.active {
  background-color: transparent!important;
  color: white !important;
  box-shadow: none;
  opacity: 1;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

#nav-services.nav-segment .nav-link img {
  width: 80px;
}

/* CARD SERVICES */
.card-front, .card-back {
  transition: transform 1s ease; 
}

.card:hover .card-front {
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  transform: rotateY(-180deg);
}

.card:hover .card-back {
  transform: rotateY(0deg);
  visibility: visible; 
}

.card-img-overlay-b {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem 2rem;
}

.card-transition .text-dark {
  transition: 0.5s ease; 
}

.card-transition:hover .text-dark {
  opacity: 0.8;
  transition: 0.5s ease; 
}

/* CARD PROJECT */
.card-project .card-img-overlay {
  visibility: hidden;
}

.card-project:hover .card-img-overlay {
  visibility: visible;
  transition: all 0.5s ease-in-out;
}

.card-project:hover .card-img-overlay-b {
  visibility: hidden;
}

.card-project:hover a {
  border-bottom: #fff 1px solid;
  transition: all 0.5s ease-in-out;
}

/* NAV MEDIA */
#media .nav-segment{
  background-color: white !important;
  padding: 2px !important;
}

#media .nav-segment .nav-link {
  color: #15162C!important;
}

#media .nav-segment .nav-link:hover {
  background-color: #4966a5!important;
  color: white !important;
}

#media .nav-segment .nav-link.active {
  background-color: #15162C!important;
  color: white !important;
}

/* BORDER RADIUS */
.rounded-b-2 {
  border-bottom-left-radius: 0.5rem!important;
  border-bottom-right-radius: 0.5rem!important;
}

.rounded-t-2 {
  border-top-left-radius: 0.5rem!important;
  border-top-right-radius: 0.5rem!important;
}

/* SWIPER */
.swiper-pagination-bullet {
  border: 0;
}

/* FOOTER */
footer a:hover {
  color: #4966a5 !important;
}

/* GO TO */
.go-to {
  color: #15162C;
}

.go-to:focus:hover, .go-to:hover {
  color: #fff;
  background-color: #4966a5;
  opacity: 1;
}

/* OFFCANVAS */
.offcanvas-body .nav-link {
  color: white !important;
}

.offcanvas-body .nav-link.active {
  color: #4966a5 !important;
}

/* TRANSITION */
.fade {
  transition: opacity .3s ease !important;
}

.tab-transition {
  transition: all .3s ease !important;
}

/* CARD */
.card {
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,.12);
}