/********** Template CSS **********/

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
  border-radius: 50px;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: inherit;
}

.btn-primary {
  color: var(--bs-white);
}

/*** Navbar ***/
.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 25px;
  padding: 40px 0;
  color: var(--bs-white);
  font-size: 17px;
  text-transform: uppercase;
  outline: none;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link,
  .navbar.bg-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 8px;
    border-top: 1px solid var(--bs-light);
  }
}

@media (min-width: 992px) {
  .navbar.bg-dark .navbar-nav .nav-link {
    padding: 20px 0;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 100px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 550px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  padding-top: 200px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/gpt-crop.webp) top center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-white);
}

/*** Title ***/
.title {
  margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
  display: inline-block;
  text-transform: uppercase;
  overflow: hidden;
}

.title .title-center {
  text-align: center;
}

.title .title-right {
  text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
  position: relative;
  display: inline-block;
  font-size: 18px;
  font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
  position: absolute;
  content: "";
  width: 500%;
  height: 0;
  top: 9px;
  border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
  left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
  right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
  border-bottom: 1px solid var(--bs-white);
}

/*** Service ***/
.service-item {
  position: relative;
  margin-top: 2.5rem;
  overflow: hidden;
}

.service-item .service-img {
  position: relative;
  display: inline-block;
}

.service-item .service-img::before {
  position: absolute;
  content: "";
  width: calc(100% - 12rem);
  height: calc(100% - 12rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3rem solid rgba(0, 0, 0, 0.5);
  border-radius: 300px;
  z-index: 1;
}

.service-item.service-item-left {
  border-radius: 500px 0 0 500px;
  background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
  border-radius: 0 500px 500px 0;
  background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
  .service-item.service-item-left,
  .service-item.service-item-right {
    border-radius: 500px 500px 0 0;
    background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
    text-align: center;
  }
}

/*** Team ***/
.team-item {
  position: relative;
}

.team-item .team-name {
  position: absolute;
  width: 100%;
  height: 60px;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}

/* Company name */
.project-company {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  min-height: 2.6em;
}

/* Project title */
.project-title {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 600;
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  color: var(--bs-primary);
}

/* Description text */
.project-desc {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  line-height: 1.45;
  color: #979797;
}

/* Visit button text */
.team-name h6 {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  margin: 0;
}

/* spacing safety */
.team-item {
  margin-bottom: 0.5rem;
}

/*** Testimonial ***/
.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-carousel .owl-dots {
  margin-top: 35px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
  width: 60px;
  height: 60px;
  margin: 0 5px;
  padding: 10px;
  background: var(--bs-dark);
  border-radius: 100px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
  opacity: 0.1;
  transition: 0.5s;
  border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

/*** Footer ***/
@keyframes footerAnimatedBg {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -1000px 0;
  }
}

.footer {
  background-image: url(../img/tt.png);
  background-position: 0px 0px;
  background-repeat: repeat-x;
  animation: footerAnimatedBg 50s linear infinite;
}

/* PROCESS SECTION */

.process-box {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 25px;
  border-radius: 15px;
  transition: 0.3s;
}

.process-box:hover {
  transform: translateY(-8px);
  border-color: var(--bs-primary);
}

.process-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 15px;
}

/* SERVICE IMAGE BOX */

.service-image-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.service-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
}

/* FEATURE BOX */

.feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: 0.3s;
}

.feature-box:hover {
  border-color: var(--bs-primary);
  transform: translateY(-3px);
}

.feature-box i {
  color: var(--bs-primary);
  font-size: 18px;
}

/* DASHBOARD PREVIEW */

.dashboard-preview {
  position: relative;
}

.dashboard-glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: 0 0 80px rgba(0, 255, 120, 0.15);
  pointer-events: none;
}

/* SERVICE LIST */

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.industry-card {
  background: var(--bs-dark);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: var(--bs-primary);
}

.industry-icon {
  font-size: 26px;
  color: var(--bs-primary);
  margin-bottom: 15px;
}

.industry-card ul {
  padding-left: 18px;
  margin-top: 10px;
}

.industry-card ul li {
  font-size: 14px;
  opacity: 0.8;
}

.about-image-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.about-image-box img {
  transition: 0.4s;
}

.about-image-box:hover img {
  transform: scale(1.05);
}
