/* Teams page CSS */
.team-header {
  width: 100%;
  height: 50vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/page-header-bg.avif");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.team-header-content {
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 20px; */
}
.team-header-content h1 {
  font-size: 48px;
}
.team-header-content .border-bottom::before {
  width: 40% !important;

  background-color: #fff;
}
.team-header-content .header-title {
  color: white !important;
}
.team-header-content p {
  color: white;
  text-align: center;
}

.skills-sec {
  width: 100%;
  height: 80vh;
  display: flex;
  gap: 8%;
  /* background-color: linear-gradient(rgba(59, 130, 246, 0.05),rgba(59, 130, 246, 0.2)); */
  background: linear-gradient(
    rgba(59, 130, 246, 0.05),
    rgba(59, 130, 246, 0.2)
  );
  padding-top: 35px;
}
.team-skills-img {
  height: 100%;
  width: 45%;
  /* background-color: yellow; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.team-skills-img img {
  height: 80%;
  width: 80%;
}
.team-skills {
  height: 100%;
  width: 45%;
  /* background-color: red; */
  padding: 20px;
  display: flex;
  flex-direction: column;
  /* gap: 30px; */
  justify-content: space-between;
}
.team-skills h1 {
  text-transform: capitalize;
  text-align: left;
  font-size: 2.5rem;
  color: #1e293b;
}
.team-skills .border-bottom {
  margin: 0 !important;
}
.team-skills .border-bottom::before{
  left: 0% !important;
  transform: translateX(0) !important; 
}
.team-skills p {
  font-size: 1.2rem;
  text-align: justify;
  color: var(--light-slate);
}
.range-heading {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
/* .skills-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
  transition: background 0.3s ease;
  margin-bottom: 20px;
}

.skills-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.skills-range input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
} */

.skills-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
  margin-bottom: 20px;
  transition: background 0.3s ease;
  background-image: linear-gradient(to right, var(--bar-color) 0%, #ddd 0%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Thumb styling */
.skills-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: none;
}
.skills-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: none;
}

/* Custom bar colors using CSS variables */
.range.seo {
  --bar-color: #16a34a; /* green */
  color: #16a34a;
}
.range.web {
  --bar-color: #2563eb; /* blue */
  color: #2563eb;
}
.range.wordpress {
  --bar-color: #f59e0b; /* amber */
  color: #f59e0b;
}

.team-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
}
.team-section .border-bottom::before {
  width: 50% !important;
}

.team-heading {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.team-description {
  color: #666;
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.team-container {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  row-gap: 50px !important;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.team-member {
  display: flex;
  justify-content: center;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 0 0 24px 0;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 350px;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.team-member-img-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 16px;
}

.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-member-img {
  transform: scale(1.05);
}

.team-member-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1e293b;
  padding: 0 16px;
}

.team-member-role {
  color: #007bff;
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
  padding: 0 16px;
}

.team-card p {
  color: #555;
  font-size: 0.95rem;
  text-align: center;
  margin: 0 0 16px 0;
  line-height: 1.6;
  padding: 0 16px;
}

.team-member-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-member-socials a i {
  height: 36px;
  width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  background-color: #1e293b;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.team-member-socials a i:hover {
  background-color: #007bff;
  transform: translateY(-3px);
}
/* .swiper-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
} */

/* testimonials page  */
.testimonial-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;
  background-color: #f8f9fa;
}
.testimonial-heading {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}
.testimonial-section-container {
  width: 100%;
  display: flex;
  gap: 0px !important;
  /* flex-direction: column; */
  /* align-items: center; */
  justify-content: space-around;
  /* padding: 0px 20px; */
  position: relative;
}
.testi-sidebar {
  position: sticky;
  top: 60px;
  width: 30%;
  height: 85vh;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.testimonial-sidebar-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: start;
  margin-bottom: 20px;
}
.testi-sidebar button {
  width: 90%;
  padding: 10px 20px;
  /* background-color: #007bff; */
  background-color: #fff;
  /* color: white; */
  border: 1px solid gray;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  margin: 20px 0px;
  transition: background-color 0.3s ease;
}
.testi-sidebar button:hover {
  background-color: #3b82f6;
  color: white;
}
.testimonial-container {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  gap: 20px;
  width: 60%;
  max-width: 1200px;
  /* margin-top: 20px; */
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 24px;
  /* text-align: center; */
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}
.img-heading-section {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: start;
  /* margin-bottom: 16px; */
}
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.client-name {
  font-size: 1.7rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}
.client-feedback {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.review-imgs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.cstmr-review-img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .team-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .testimonial-section-container {
    flex-direction: column-reverse;
    gap: 30px !important;
  }
  .testimonial-sidebar-header {
    width: 50%;
    height: 100%;
    flex-direction: column;
    gap: 30px;
    /* align-items: center; */
    justify-content: center;
  }
  .testimonial-sidebar-header hr {
    display: none;
  }

  .testi-sidebar,
  .testimonial-container {
    flex-direction: row;
    width: 100%;
  }

  .testi-sidebar {
    position: relative;
    top: 0;
    height: auto;
  }
}
@media (max-width: 992px) {
  .skills-sec {
    flex-direction: column;
    height: auto;
  }
  .team-skills-img,
  .team-skills {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .team-heading {
    font-size: 2rem;
  }

  .team-description {
    font-size: 1rem;
  }

  .team-container {
    gap: 20px;
  }

  .team-member-img-container {
    height: 180px;
  }
  .team-header-content {
    width: 100%;
    padding: 0px 10px 0px 10px;
  }
  .team-header-content h1 {
    font-size: 36px;
  }
  .testimonial-heading {
    font-size: 2rem;
  }
  .testi-sidebar {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    padding: 20px;
  }

  .client-name {
    font-size: 1.4rem;
  }

  .testimonial-img {
    width: 60px;
    height: 60px;
  }

  .cstmr-review-img {
    width: 60px !important;
    height: 60px !important;
  }
}
@media (max-width: 576px) {
  .team-header-content h1 {
    font-size: 28px;
  }
  .team-header-content p {
    font-size: 1rem;
    /* text-align: left; */
  }
  .testimonial-section {
    padding: 30px 15px;
  }

  .testimonial-heading {
    font-size: 1.8rem;
  }

  .img-heading-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .team-skills h1 {
    font-size: 1.8rem;
  }
  .team-skills p {
    margin-bottom: 25px;
  }
  .testimonial-img {
    margin-bottom: 8px;
  }

  .client-name {
    font-size: 1.3rem;
  }

  .review-imgs {
    flex-wrap: wrap;
  }

  .cstmr-review-img {
    width: 50px !important;
    height: 50px !important;
  }

  .testi-sidebar button {
    width: 100%;
  }

  .service-item {
    flex-direction: column;
  }

  .service-item img {
    width: 100%;
    height: auto;
  }
  .testimonial-container {
    grid-template-columns: 1fr;
  }

  .service-link .service-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
  }

  .service-link .service-item:hover {
    background-color: #f0f0f0;
  }
  .testimonial-sidebar-header {
    width: 100%;
    text-align: center;
  }
  .testimonial-sidebar-header hr {
    display: block;
  }
  .service-link .service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }

  .service-link .service-item .service h2 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .service-link .service-item .service p {
    font-size: 0.9rem;
    color: #666;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 30px 15px;
  }

  .team-heading {
    font-size: 1.8rem;
  }

  .team-container {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  .team-card {
    max-width: 100%;
  }

  .team-member-img-container {
    height: 220px;
  }
}
