body {
  background-color: #080808;
  font-family: "Raleway";
}

p,
a,
button {
  font-family: "IBM Plex Mono", monospace;
  color: #9c9c9c;
  font-weight: 400;
  font-size: 14px;
}

/* --- Navbar --- */
.navbar {
  min-height: 70px;
  width: 75%;
  margin: 0 auto;
  border-radius: 8px;
  background-color: #1b1b1b;
}

.navbar .nav-link {
  color: #9c9c9c !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffffff !important;
}
.navbar .nav-link img {
  transition: all 0.3s;
}
.navbar .nav-link img:hover {
  transform: translateY(-5px);
}

/* --- General --- */
section {
  padding: 80px 20px;
}

#home {
  width: 75%;
  padding: 20px;
  margin: 20px auto 50px;
}

.intro-text {
  color: #9c9c9c;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 20px 0;
}

/* --- Buttons --- */
.cta-btn {
  background-color: #3f8e00;
  color: #ffffff;
  border: 1px solid #62ba1b;
  padding: 15px 35px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0px 8px 10px 0px rgba(63, 142, 0, 0.3);
  transition: all 0.5s;
}
.cta-btn:hover {
  transform: translateX(30px);
  background-color: #4ea300;
}

/* --- Home --- */
#myPic {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.5s;
}
#myPic:hover {
  transform: rotate(30deg);
}

#workedWith p {
  color: #fff;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 180px;
  text-align: center;
  padding: 16px 44px;
  border: 1px solid #1b1b1b;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.5s;
}
.logo:hover {
  transform: scale(1.05);
}

/* --- Section Header --- */
.section-header {
  width: 60%;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-header p {
  line-height: 1.8;
  max-width: 570px;
  margin: 0 auto;
}

/* --- Case Studies --- */
.case-card {
  width: 75%;
  margin-bottom: 50px;
  transition: all 0.5s;
  border-radius: 10px;
}
.case-card:hover {
  box-shadow: 0px 8px 10px grey;
  transform: scale(1.05);
}

.case-tag {
  /* display: inline-block; */
  background-color: #fff6e9;
  color: #ffa217;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  width: fit-content;
}

.case-btn {
  background-color: #ffa217;
  color: #fff;
  padding: 12px 28px;
  font-weight: 700;
  width: fit-content;
  transition: all 0.5s;
}
.case-btn:hover {
  background-color: #ffa217ef;
  color: white;
  transform: translateX(30px);
}

.case-card-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.tag-edtech {
  background-color: #d0e6ff;
  color: #000aff;
}
.tag-pharma {
  background-color: #e0fff8;
  color: #2ab090;
}
.btn-edtech {
  background-color: #000aff;
  color: white;
}
.btn-edtech:hover {
  background-color: #0008ffd2;
}
.btn-pharma {
  background-color: #2ab090;
}
.btn-pharma:hover {
  background-color: #2ab091c0;
}

/* --- Testimonials --- */
.testimonials-grid {
  width: 75%;
  margin: 0 auto;
}

.testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  margin-bottom: 20px;
  height: 100%;
  background:
    linear-gradient(#080808, #080808) padding-box,
    linear-gradient(90deg, #484848 1.24%, rgba(27, 27, 27, 0) 100%) border-box;
  border: 1px solid transparent;
  transition: all 0.5s;
}
.testimonial-card:hover {
  border: 1px solid #484848;
  box-shadow: 0px 8px 20px #484848;
}

.quote-icon {
  font-size: 100px;
  color: white;
  margin: -80px 0;
}

.testimonial-card p {
  color: #9c9c9c;
  font-size: 0.85rem;
  line-height: 1.8;
  flex: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.client-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.client-info span {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* --- Recent Work --- */
#recent .card-img-top {
  height: 300px;
  object-fit: cover;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: transparent;
  font-size: 1.2rem;
  color: #080808;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s;
}
.carousel-arrow:hover {
  background-color: #080808;
  color: #fff;
  border-color: #080808;
}

/* --- Form & Footer --- */
form {
  width: 30%;
  margin: 5px auto;
}
form .btn {
  background-color: rgba(63, 142, 0, 1);
  height: 50px;
  border: 1px solid rgba(98, 186, 27, 1);
}
form .btn:hover {
  background-color: rgba(64, 142, 0, 0.742);
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1b1b1b;
  height: 70px;
  padding-top: 10px;
}

.mobile {
  display: none;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .navbar {
    width: 95%;
  }

  .navbar,
  header,
  .testimonials-grid,
  #workedWith,
  .section-header,
  .case-card {
    width: 95%;
  }

  .logos-grid {
    justify-content: center;
  }
  .mobile,
  .case-card {
    display: block;
  }
  .case-card-img img,
  #recentCarousel .col:last-child {
    display: none;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  #recent .card-img-top {
    height: 200px;
  }
  #recentCarousel .row {
    margin: 0;
  }

  form {
    width: 90%;
  }
}
