/* font-family: "Space Grotesk", serif; */

:root {
  --primary-color: #1e0a3f;
  --secondry-color: #44c5f3;
  --heading-font: "Space Grotesk", serif;
}

p {
  font-family: var(--heading-font);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--heading-font);
  font-weight: bold;
  color: var(--primary-color);
}

.logo {
  position: relative;
  max-height: 80px;
  max-width: 257px;
  overflow: hidden;
  left: 35px;
}

nav {
  transition: 0.5s;
}
.hidden {
  display: none;
}

.logo span {
  transition: 0.3s;
}
.logo span:nth-child(1) {
  position: absolute;
  transform: translateY(-80px);
}
.scrolled {
  background: var(--primary-color) !important;
}
.scrolled a {
  color: #fff;
}
.dropdown-scrolled {
  background: var(--primary-color) !important;
}
.dropdown-scrolled a {
  color: rgb(255, 255, 255);
}
.toggler-scrolled {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.scrolled span:nth-child(1) {
  transform: translateY(0);
}

.scrolled span:nth-child(2) {
  transform: translateY(35px);
}

.navbar-light .navbar-toggler-icon {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 30, 63, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-light .navbar-toggler {
  border: 1px solid rgba(30, 10, 63, 0.5);
}

nav ul {
  padding-top: 20px;
}

nav li {
  display: inline;
  list-style: none;
  line-height: 32px;
  margin-left: 40px;
  font-size: 19px;
  font-family: var(--heading-font);
  font-weight: bold;
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 100ms ease-in-out;
}

nav li.active a {
  color: var(--secondry-color);
}

nav a:hover {
  color: var(--secondry-color);
}
.dropdown-menu a:hover {
  color: var(--secondry-color);
}

.btn-contact {
  background: var(--secondry-color);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
}

.btn-contact:hover {
  color: var(--secondry-color);
  border: 1px solid var(--secondry-color);
  background: #fff;
  border-radius: 20px;
}

.hero {
  min-height: 60dvh;
  background-size: cover;
  position: relative;
}

.color-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background: linear-gradient(
    45deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(30, 10, 63, 0.9) 49%,
    rgba(68, 197, 243, 0.6) 100%
  );
}

.hero .content {
  position: absolute;
  width: 50%;
  height: 100%;
  left: 80px;
  top: 80px;
}
.hero .homepage-content {
  position: absolute;
  width: 80%;
  height: 100%;
  left: 80px;
  top: 80px;
}

.hero h1 {
  font-size: 50px;
  color: #f9fafb;
  line-height: 70px;
}

.hero p {
  color: #f9fafb;
  font-size: 18px;
  line-height: 30px;
}

.btn-schedule {
  background: #f9fafb;
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: bold;
}

.btn-schedule:hover {
  color: var(--secondry-color);
  border: 1px solid var(--secondry-color);
  border-radius: 20px;
}

/* Services & Solutions */
.card {
  height: 100%;
  border: 1px solid #f9fafb;
  box-shadow: 0px 0px 20px -10px rgba(68, 197, 243, 0.8);
  transition: 0.5s;
}
.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-text {
  flex-grow: 1;
}

/* Services & Solutions */
.services-solutions .card:hover {
  background: linear-gradient(0deg, rgba(30, 10, 63, 0.86) 28.9%, #1e0a3f 100%);
  color: #f9fafb;
}
.services-solutions .card:hover .card-title {
  color: #f9fafb;
}

.services-solutions .card li:hover {
  text-decoration: underline;
  cursor: pointer;
}

.services-solutions .card:hover .btn {
  background: #ebedf5;
}

/* What sets us apart */
.CT-Speciality {
  min-height: 60vh;
  background: url("../images/background.png");
  background-size: cover;
}

.CT-Speciality p {
  font-size: 20px;
}

/* portfolio */
.projects {
  position: relative;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  cursor: pointer;
  background: linear-gradient(
    180deg,
    #1e0a3f,
    #1f0e43 2.4%,
    #221d51 47.51%,
    #44c5f3
  );
  opacity: 0;
  transition: 1s;
}
.projects:hover .overlay {
  opacity: 0.8;
}
.project-description {
  color: #f9fafb;
  font-size: 1.5rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  opacity: 0;
  transform: translateX(-50%);
  transition: 1s;
}
.projects:hover .project-description {
  bottom: 40%;
  opacity: 1;
}

/* Industries we serve */
.Industries {
  min-height: 55dvh;
  background-color: rgba(68, 197, 243, 0.08);
}

.industry-icon i {
  font-size: 60px;
  color: var(--secondry-color);
  padding: 14px 16px;
}
.industry-icon-even i {
  font-size: 60px;
  color: var(--primary-color);
  padding: 14px 16px;
}

.industry-icon {
  background-color: #fff;
  width: 120px;
  height: 120px;
  margin: 10px 10px;
}
.industry-icon p {
  color: var(--secondry-color);
}
.industry-icon-even p {
  color: var(--primary-color);
}
.contact-info {
  margin: 0 120px;
  width: 80%;
  box-shadow: 0px 0px 22px -8px rgba(68, 197, 243, 0.5);
  background-color: #ffffff;
  height: 600px;
}

.map-area iframe {
  position: absolute;
  width: 100%;
  height: 400px;
  top: 0;
}
.contact-item {
  display: flex;
  align-items: center;
}

.contact-item i {
  margin: 0 20px;
  color: #f9fafb;
  background: var(--primary-color);
  padding: 14px 16px;
}

.item-text {
  color: var(--primary-color);
  font-size: 15px;
}

.contact-form {
  width: 70vw;
  color: var(--primary-color);
}

.btn-submit {
  background: var(--secondry-color);
  color: var(--primary-color);
  padding: 8px 16px;
}

/* clients */

.slider {
  max-width: 1200px;
  padding: 0 100px;
  width: 95%;
}
.slider-wrapper {
  position: relative;
}

.slider-wrapper .slide-button {
  position: absolute;
  height: 50px;
  width: 50px;
  font-size: 30px;
  color: var(--primary-color);
  cursor: pointer;
  transform: translateY(-50%);
}
.slider-wrapper .slide-button:hover {
  color: #444;
}

.slider-wrapper .slide-button#prev-slide {
  right: 20px;
  top: 230px;
  /* display: none; */
}
.slider-wrapper .slide-button#next-slide {
  right: -20px;
  top: 230px;
}

.slider-wrapper .client-list {
  display: grid;
  font-size: 0;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  grid-template-columns: repeat(6, 1fr);
}
.slider-wrapper .client-list::-webkit-scrollbar {
  display: none;
}

.client-item {
  width: 230px;
  height: 150px;
  padding: 20px 15px;
  margin: 20px 10px;
  background-color: #ffffff;
  box-shadow: 0px 0px 8px -2px #44c5f380;
}
.slider .slider-scrollbar {
  height: 24px;
  width: 90%;
  display: flex;
  align-items: center;
}
.slider-scrollbar .scrollbar-track {
  position: relative;
  height: 2px;
  width: 100%;
  background: #ccc;
  border-radius: 4px;
}
.slider-scrollbar:hover .scrollbar-track {
  height: 4px;
}
.slider-scrollbar .scrollbar-thumb {
  position: absolute;
  height: 100%;
  width: 50%;
  background: var(--primary-color);
  border-radius: inherit;
  cursor: grab;
}
.slider-scrollbar .scrollbar-thumb:active {
  cursor: grabbing;
  height: 8px;
  top: -2px;
}
.slider-scrollbar .scrollbar-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10;
  bottom: -10;
}

/* Blogs */

.blogs {
  min-height: 80vh;
  background: rgba(68, 197, 243, 0.08);
}

.arrow-icon i {
  color: var(--secondry-color);
  font-size: 25px;
}
.blogs .card:hover {
  background: linear-gradient(0deg, rgba(30, 10, 63, 0.86) 28.9%, #1e0a3f 100%);
  color: #f9fafb;
}

.blogs .card:hover .card-title {
  color: #f9fafb;
}

.blogs .card:hover .arrow-icon i {
  color: #fff;
}

/*  */

.client-message {
  min-width: 60rem;
  height: 300px;
  margin: 20px 20px;
  background-color: #ffffff;
  box-shadow: 0px 0px 8px -2px #44c5f380;
}

.slider-wrapper .slide-button#Prev-slide {
  right: 30px;
  top: 380px;
  /* display: none; */
}
.slider-wrapper .slide-button#Next-slide {
  right: -10px;
  top: 380px;
}

.slider-wrapper .quote-mark i {
  color: var(--secondry-color);
}

/* lets talk */
.letsTalk {
  position: relative;
  min-height: 50vh;
  margin-left: 50px;
  background: url("../images/lets-talk.png") center no-repeat;
  background-size: cover;
}

.letsTalk .content {
  position: absolute;
  width: 40%;
  height: 100px;
  left: 80px;
  top: 40%;
}

/* footer */

.footer {
  background: var(--primary-color);
  color: #f9fafb;
  padding: 40px 0;
}

.footer a {
  color: #f9fafb;
  text-decoration: none;
  font-size: 15px;
}

footer h6 {
  font-size: 20px;
}

footer p {
  font-size: 15px;
}

.social-links i {
  font-weight: bold;
  font-size: 20px;
  margin: 0 10px;
  color: var(--primary-color);
  background: #f9fafb;
  padding: 10px 12px;
}

/* About page */
.main .card-icon {
  background-color: #44c5f3;
  width: 100px;
  height: 100px;
  padding: 10px 10px;
}

/* Services pages */
.main-services .services-icon {
  font-size: 40px;
  margin: 0 20px;
  color: #44c5f3;
  background: hsla(196, 88%, 61%, 0.331);
  padding: 20px 24px;
}
.main-services .card:hover {
  background: linear-gradient(0deg, rgba(30, 10, 63, 0.86) 28.9%, #1e0a3f 100%);
  color: #f9fafb;
}
.main-services .card:hover .services-icon {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.main-services .card:hover .arrow-icon i {
  color: #fff;
}
/*  */
.services-2 .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
}
.read-more-btn a {
  font-size: 15px;
  color: #44c5f3;
  text-decoration: none;
}
.read-more-btn a:hover {
  text-decoration: underline;
}

.services-2 .card:hover .arrow-icon i {
  font-size: 28px;
}

@media (max-width: 768px) {
  body p {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero .homepage-content {
    left: 20px;
    top: 20px;
  }
  .hero h1 {
    font-size: 1.5rem;
    line-height: 40px;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .CT-Speciality p {
    font-size: 0.8rem;
  }

  .card-title {
    font-size: 1.25rem;
  }
  .card-text {
    font-size: 0.8rem;
  }

  .slider .slider-scrollbar {
    width: 80%;
  }
}
