/*-- Body Reset --*/
body {
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #616971;
}

/*============= TOP BAR HEADER =============*/

.top-bar {
  background: #7aaec4;
  height: 2.8rem;
  padding: .5rem 0;
}

/*============= NAVIGATION =============*/

.navbar-brand img {
  height: 3rem;
}
.navbar {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.navbar2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.nav-item {
  padding: .5rem;
}

.nav-link {
  color: #5b5555! important;
}

.nav-link.active,
.nav-link:hover {
  color: #4981b3! important;
}
/*============= CAROUSEL =============*/

#carousel {
  box-shadow: 0 1rem .5rem rgba(0, 0, 0, 0.1);
}

.carousel-inner {
  max-height: 60rem!important;
}

.takeUpSpace {
  min-height: 30rem!important;
}

/*---Change Carousel Transition Speed --*/

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transition: transform 0.75s ease;
}

/*-- Carousel Content --*/

/*============= Project cards =============*/
  .project-card {
    width: 300px;
    border-radius: 16px;
    overflow: hidden;
    border: 0.5px solid rgba(0,0,0,0.1);
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.35s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.35s, border-color 0.35s;
  }
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px -12px rgba(0,0,0,0.13);
    border-color: rgba(0,0,0,0.2);
  }
  .card-image-wrap {
    width: 100%; height: 190px; overflow: hidden; position: relative; background: #e8e3dc;
  }
  .card-image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25,0.8,0.25,1), filter 0.55s;
    filter: saturate(0.88);
  }
  .project-card:hover .card-image-wrap img { transform: scale(1.05); filter: saturate(1); }
  .card-tag {
    position: absolute; top: 12px; left: 14px;
    font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: #3C3489; background: rgba(238,237,254,0.92); padding: 4px 10px;
    border-radius: 20px; border: 0.5px solid rgba(174,169,236,0.5);
  }
  .card-body { padding: 1.25rem 1.4rem 1.5rem;}
  .card-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: #1a1a1a; margin: 0 0 0.5rem; }
  .card-divider { height: 0.5px; background: rgba(0,0,0,0.08); margin: 0 0 1.1rem; }
  .card-description { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 300; color: #666; line-height: 1.65; margin: 0 0 1.25rem; }
  .card-footer-row { display: flex; align-items: center; justify-content: space-between; }
  .card-link-text { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #534AB7; }
  .card-arrow {
    width: 28px; height: 28px; border-radius: 50%; border: 0.5px solid #AFA9EC;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
  }
  .project-card:hover .card-arrow { background: #534AB7; border-color: #534AB7; transform: translateX(2px); }
  .project-card:hover .card-arrow svg { stroke: #fff; }
  .card-arrow svg { transition: stroke 0.25s; }

/*============= FOOTER =============*/

footer {
  background-color: #383838;
  padding: 1rem 2rem 3rem;
}
footer img {
  height: 3.5rem;
  margin: 1.5rem auto;
}

footer p, footer a, .socket a {
  color: white;
  text-decoration: none;
}

ul.social {
  list-style-type: none;
  display: flex;
  max-width: 16rem;
  margin: 0 auto;
  padding: 0;
}

ul.social li {
  margin: 0 auto;
}

footer .svg-inline--fa {
  font-size: 2.3rem;
 }

 footer.svg-inline--fa:hover {
  color: #68a0d2;
 }
/*============= SOCKET =============*/

.socket {
  background-color: #222222;
  border-top: .1rem solid #4981b3;
}

/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {

}
/* Devices under 768px (md) */
@media (max-width: 767.98px) {

}


/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*-- Bootstrap Mobile Gutter Fix --*/
.row, .container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/*-- Fixed Background Image --*/
.fixed-background {
  position: relative;
  width: 100%;
  z-index: 1000!important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}
.fixed {
  z-index: -999!important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}