html {
  scroll-behavior: smooth;
}
h1,h4{
  color: #000B58;
}


/*Back to top*/
#button {
  display: inline-block;
  background-color: #03acd7;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}


/*Navbar*/
.navbar .container{
  justify-content: center !important;
}
.navbar-brand{
  font-weight: 700;
}
.navbar .nav-item{
  margin-bottom: 10px;
}
.navbar-nav .nav-item .nav-link{
  color: black;
  font-weight: 500;
}
.navbar-nav .nav-item:not(:first-child) .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width .3s;
}
.navbar-nav .nav-item .nav-link:hover::after {
  width: 100%;
  transition: width .3s;
}
@media (min-width: 320px) and (max-width: 480px) {
  a#logo.navbar-brand{
    font-size: 12px;
  }
  #searchIcon img{
    width: 50px;
  }
  #navbarToggler.hide{
    display: none;
  }
}
@media (min-width: 481px) and (max-width: 991px) {
  .navbar-nav .nav-item .nav-link{
    padding-left: 10px;
  }
  #navbarToggler.hide{
    display: none;
  }
  a#logo.navbar-brand{
    font-size: medium;
  }
  a#logo.navbar-brand img{
    height: 40px;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  nav.navbar-expand-lg{
    flex-wrap: wrap;
}
}
@media (min-width: 1200px) and (max-width: 1400px) {
  a#logo.navbar-brand{
    font-size: 15px;
  }
  a#logo.navbar-brand img{
    height: 30px;
  }
  .navbar-nav .nav-item .nav-link{
    font-size: 14px;
  }
}
#search-wrap{
  position: relative;
  width:0%; 
  visibility: hidden;   
  opacity: 0;
  transition: all 0.0s;
}
#search-wrap.visible{
  width:75%;
  opacity: 1;
  display: inline-block;
  transition: all 1s;
}
#searchIcon.hide{
  display:none;
}
#logo.hide{
  display:none;
}
#menu.hide{
  display:none;
}
#search {
  color: rgb(0, 0, 0);
  background-color: #e9ecef;
  border: solid 3px cornflowerblue;
  border-radius: 10px;
  width: 0%;
  font-size: 1.5em;
  display: inline-block;
  margin-top: 0.25em;
  padding: 5px;
  outline: none;
  cursor: text; 
}
#search.visible{
  width:100%;
}
#clear { 
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 20px;
}
#clear:hover {
  cursor: pointer;
}
#login{
background-color: cornflowerblue;
color: #fff;
}
#login:hover{
  background-color: rgb(77, 116, 187);
  transition: all 0.3s ease-in;
}







/* Carousel */
.right-part {
  background-color: transparent;
  height: 400px;
  width: 400px;
  margin-right: -14px; 
  flex-shrink: 0;
  position: absolute;
  top: 30%;
  right: 0;
}

.right-part .d-flex {
  height: 100%;
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;  
}

.main-grid {
  position: relative;
}

.box {
  width: calc((100% / 3) - 16px);
  height: calc((100% / 3) - 16px);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555555;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  color: #ffffff;
  border-radius: 120px;
  position: absolute;
  animation: 30s infinite;
}

/* Box nth-child */
.box:nth-child(1) {
  left: 0;
  top: 0;
  animation-name: box-1;
}

.box:nth-child(2) {
  left: calc(100% / 3);
  top: 0;
  animation-name: box-2;
}

.box:nth-child(3) {
  left: calc((100% / 3) * 2);
  top: 0;
  animation-name: box-3;
}

.box:nth-child(4) {
  left: 0;
  top: calc(100% / 3);
  animation-name: box-4;
}

.box:nth-child(5) {
  left: calc((100% / 3) * 2);
  top: calc(100% / 3);
  animation-name: box-5;
}

.box:nth-child(6) {
  left: 0;
  top: calc((100% / 3) * 2);
  animation-name: box-6;
}

.box:nth-child(7) {
  left: calc(100% / 3);
  top: calc((100% / 3) * 2);
  animation-name: box-7;
}

.box:nth-child(8) {
  left: calc((100% / 3) * 2);
  top: calc((100% / 3) * 2);
  animation-name: box-8;
}

/* 1st Child */
@keyframes box-1 {
  0%,
  90%,
  100% {
    left: 0;
    top: 0;
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  27.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  29.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  31.5%,
  33.5% {
    left: calc(100% / 3);
    width: 100%;
  }

  35.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    top: calc(100% / 3);
  }
}

@-webkit-keyframes box-1 {
  0%,
  90%,
  100% {
    left: 0;
    top: 0;
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  27.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  29.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  31.5%,
  33.5% {
    left: calc(100% / 3);
    width: 100%;
  }

  35.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    top: calc(100% / 3);
  }
}

@keyframes box-2 {
  0%,
  90%,
  100% {
    left: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  15%,
  17% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  19%,
  21% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  23%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: 0;
    top: calc(100% / 3);
  }

  77.5%,
  87.5% {
    left: 0;
    top: 0;
  }
}

@-webkit-keyframes box-2 {
  0%,
  90%,
  100% {
    left: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  15%,
  17% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  19%,
  21% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  23%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: 0;
    top: calc(100% / 3);
  }

  77.5%,
  87.5% {
    left: 0;
    top: 0;
  }
}

@keyframes box-3 {
  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  4.5%,
  10.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  6.5%,
  8.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: 0;
  }
}

@-webkit-keyframes box-3 {
  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  4.5%,
  10.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  6.5%,
  8.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: 0;
  }
}

@keyframes box-4 {
  0%,
  90%,
  100% {
    top: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: 0;
    top: 0;
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  40%,
  42%,
  48%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  44%,
  46% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
}

@-webkit-keyframes box-4 {
  0%,
  90%,
  100% {
    top: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: 0;
    top: 0;
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  40%,
  42%,
  48%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  44%,
  46% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-5 {
  0%,
  90%,
  92%,
  98%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc(100% / 3);
  }

  52.5%,
  62.5% {
    left: 0;
    top: 0;
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  94%,
  96% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

@-webkit-keyframes box-5 {
  0%,
  90%,
  92%,
  98%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc(100% / 3);
  }

  52.5%,
  62.5% {
    left: 0;
    top: 0;
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  94%,
  96% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

@keyframes box-6 {
  0%,
  90%,
  100% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc(100% / 3);
  }

  15%,
  25% {
    left: 0;
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: 0;
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  52.5%,
  54.5%,
  60.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  56.5%,
  58.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
}

@-webkit-keyframes box-6 {
  0%,
  90%,
  100% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc(100% / 3);
  }

  15%,
  25% {
    left: 0;
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: 0;
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  52.5%,
  54.5%,
  60.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  56.5%,
  58.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-7 {
  0%,
  90%,
  100% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc(100% / 3);
  }

  27.5%,
  37.5% {
    left: 0;
    top: 0;
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  65%,
  67%,
  73%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  69%,
  71% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
}

@-webkit-keyframes box-7 {
  0%,
  90%,
  100% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc(100% / 3);
  }

  27.5%,
  37.5% {
    left: 0;
    top: 0;
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  65%,
  67%,
  73%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  69%,
  71% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-8 {
  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc(100% / 3);
  }

  40%,
  50% {
    left: 0;
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
    top: 0;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  77.5%,
  79.5%,
  85.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  81.5%,
  83.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

@-webkit-keyframes box-8 {
  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc(100% / 3);
  }

  40%,
  50% {
    left: 0;
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
    top: 0;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  77.5%,
  79.5%,
  85.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
    border-radius: 100%;
  }

  81.5%,
  83.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

/* Box Text */
.box span {
  position: absolute;
  display: block;
  opacity: 0.8;
  z-index: 5;
}

.box:nth-child(1) span {
  top: 43%;
  left: -27px;
  transform: translateY(-50%);
}

.box:nth-child(3) span {
  left: -10px;
  bottom: 2px;
}

.box:nth-child(4) span {
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.box:nth-child(8) span {
  top: 50%;
  transform: translate(-50%, -50%);
  left: 15%;
}

/* Box Background-Image */
.box .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 120px;
  overflow: hidden;
}

.box .bg-img,
.box .bg-img img {
  height: 100%;
}

.box .bg-img img {
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}


#hero a.partnerLink {
  position: absolute;
  background-color: cornflowerblue;
  color: #fff;
}
#hero a.btn-outline-primary:hover{
  background-color: coral;
}
.main{
  margin-top: 0;
  position: relative;
}
#hero .carousel-item{
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#hero .carousel-item::before{
content: '';
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
z-index: -1;
}

#hero .carousel-item .container{
 position: absolute;
 left: 33%;
 top: 50%;
 transform: translate(-50%, -50%);
 width: 50%;

}

.name h2 {
  font-size: 4em;
  color: #ffffff;
  font-weight: bold;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #000000;
  margin: 0;
  opacity: 0;
}

.name p {
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  -webkit-text-stroke-width: .5px;
  -webkit-text-stroke-color: #000000;
  margin: 0;
  opacity: 0;
}

.name a.btn{
  background-color: cornflowerblue;
  color: #fff;
  -webkit-text-stroke-width: 0;
  -webkit-text-stroke-color: none;
}
.name a.btn-outline-primary{
  border-color: cornflowerblue !important;
}

#hero .carousel-item.active h2 {
  animation: fadeInLeft 0.5s ease forwards;
}

#hero .carousel-item.active p {
  animation: fadeInRight 0.5s ease forwards;
}

@keyframes fadeInLeft {
  0% {
      opacity: 0;
      transform: translateX(-30px);
  }
  100% {
      opacity: 1;
      transform: translateX(0px);
  }
}

@keyframes fadeInRight {
  0% {
      opacity: 0;
      transform: translateX(30px);
  }
  100% {
      opacity: 1;
      transform: translateX(0px);
  }
}


/*=== Responsive ===*/


@media (min-width: 320px) and (max-width: 411px) {
  #hero .main{
    margin-top: 20px;
  }
}
@media(max-width: 767px) {
  #hero a.partnerLink{
    right: 30%;
    top: 100%;
  }
}
@media(max-width: 425px) { 
  .right-part{
    height: 250px;
    width: 250px;
    top: 60%;
    right: 22%;
  }
}
@media (min-width: 426px) and (max-width: 767px) { 
  .right-part{
    height: 250px;
    width: 250px;
    top: 60%;
    right: 35%;
  }
}
@media (max-width: 767px) {
  #hero .carousel-item h2 {
      font-size: 45px;
  }

  #hero .carousel-item p {
      font-size: 22px;
  }
  #hero .carousel-item .container{
      top: 35%;
      left: 50%;
      width: 60%;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .right-part{
    height: 250px;
    width: 250px;
    top: 40%;
  }
  #hero a.partnerLink{
    right: 27%;
  }
}

@media (max-width: 1199px) {
  #hero .carousel-item h2 {
    font-size: 45px;
}

#hero .carousel-item p {
    font-size: 22px;
}
}
@media screen and (max-width: 1199px) {
  .main-grid::before,
  .box {
    height: 70px;
  }

  .box {
    width: 70px;
    font-size: 8px;
  }
}
@media (min-width: 1200px){
  #hero a.partnerLink{
    right: 35%;
  }
}



/* Our Story */

#ourStory:hover {
      opacity: 0.6;
      cursor: pointer;
}
#modalImg {
      width: 60%;
      margin: auto;
      display: block;
      padding-bottom: 50px;
}
#our_story .btn-outline-primary{
      border-color: cornflowerblue !important;
      border-width: 3px;
}
#our_story .btn{
  color: cornflowerblue;
}
#our_story .btn:hover{
  background-color: cornflowerblue;
  color: #fff;
}






/* Products */

#product .nav-link{
  color: #000;
}
#product .nav-link:hover{
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
#product .nav-link.active{
  color: #ffffff;
  background-color:   cornflowerblue  ;
}
#product .card{
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  transition: transform ease .3s, box-shadow ease .3s;
}
#product .card:hover{
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
}
#product .card-title,#product .card-link{
  color:cornflowerblue;
}



/* Services */

#services .card{
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
#services .card-title,#services .card-link{
  color:cornflowerblue;
}
#services p{
  color: #6C6D6C;
  line-height: 2rem;
  font-size: large;
}
#services hr{
  opacity: 100%;
}
#services a{
  font-size: large;
}
#services .card:hover{
  background-color: cornflowerblue;
  color: #fff;
  transition: background-color ease .3s;
  & h4,p,a{
    color:#fff;
  }
}




/* Solutions */

@media (min-width: 1024px) and (max-width: 1439px) {
  #solutions h4{
    font-size: 18px;
  }
  #solutions .row>*{
    padding-left: 0;
  }
}
#solutions .card{
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
#solutions .btn{
  background-color: cornflowerblue;
  color: #fff;
  font-weight: bold;
}
#solutions .btn:hover{
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}


/* Achievement */

#myCarousel{
  width: 300px;
}
#myCarousel img{
  width: 300px;
}





/* Gallery */

#gallery img {
  width: 60%;
  margin: auto;
  display: block;
}

/* Position the image container (needed to position the left and right arrows) */
#gallery.container {
  position: relative;
}

/* Hide the images by default */
#gallery .mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
#gallery .prev,
#gallery .next {
  cursor: pointer;
  position: absolute;
  top: 30%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
#gallery .next {
  right: 15%;
  border-radius: 3px 0 0 3px;
}
/* Position the "prev button" to the left */
#gallery .prev {
  left: 15%;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
#gallery .prev:hover,
#gallery .next:hover {
  color: rgba(0, 221, 255, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 20%;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 1px 16px;
  color: white;
}
@media (max-width: 991px) {
  #caption {
    margin: 0;
    margin-top: 0 !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #caption {
    margin: 0 !important;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

#gallery .row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
#gallery .column {
  float: left;
  width: 16.66%;
  padding-left: 0;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

#gallery .active,
.demo:hover {
  opacity: 1;
}




/*contact */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: none;
  border-bottom: 2px solid rgb(128, 126, 126);
  background: transparent;
  outline: none;
  width: 100%;
  text-transform: capitalize;
  padding: 1rem 0.4rem;
}
.aside {
  background-image: linear-gradient(
    to left bottom,
    #051937,
    #002350,
    #002d69,
    #003684,
    #01409f
  );
  background-size: 400%;
}



/* Footer */

#footer{
  color:white;
  background-color: #05547b;
}
@media (min-width: 768px) and (max-width: 1024px) {
  #footer h4{
    font-size: 20px;
  }
}
#footer svg{
  width: 2em;
  height: 2em;
}
.links li a{
  text-decoration:none;
  color: white;
}
.links li a:hover{
color: cornflowerblue;
}
.links li{
padding-bottom: 20px;
}