@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
:root {
  --rale: "Raleway", sans-serif;
  --green: #22c353;
}
/* ======================================= */
.back {
  background-color: black;
  color: #ddd;
  margin: 0.5rem 0.5rem;
  position: sticky;
  top: 12rem;
  padding: 15px;
  border-radius: 50%;
  transition: all 400ms ease;
}
.back:hover {
  background-color: #ddd;

  color: #000;
}
/* ================================== */
.wrapper {
  font-family: var(--rale);
  background-color: var(--green);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0;
  overflow-x: hidden;
}
.testimonials {
  background-color: #fff;
  max-width: 1000px;
  margin: 0 32px;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 2px 20px 6px rgba(0, 0, 0, 0.2);
}
.title {
  text-align: center;
  /* margin-top: 15px; */
}
.title h2 {
  font-weight: 300;
  color: var(--green);
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 32px;
}
.title h2 span {
  font-weight: 600;
}

.content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 1rem;
  margin-top: 3rem;
}
.client-thumbnail img {
  width: 100%;
}
.client-thumbnail {
  overflow: hidden;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  border-radius: 50%;
}
.clients-tabs {
  margin-bottom: 24px;
}
.client-intro .client-name {
  color: var(--green);
  margin-top: 1rem;
}
.client-intro .client-designation {
  font-size: 12px;
  color: #b1b1b1;
}
.client-intro .client-description {
  display: none;
}
.client-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.client-item:first-child {
  margin-top: 0;
}
.client-item:last-child {
  margin-bottom: 0;
}
.client-item:hover {
  background-color: var(--green);
}
.client-item:hover .client-intro * {
  color: #fff;
}
.client-item:active {
  transform: translateY(3px);
}
.client-item.active {
  background-color: var(--green);
}
.client-item.active .client-intro * {
  color: #fff;
}

.show-img img {
  border-radius: 2px;
}
.show-text > div {
  padding: 12px 0;
}
.show-text .show-name {
  font-size: 20px;
  color: var(--green);
}
.show-text .show-designation {
  color: #b1b1b1;
}
.show-text .show-description {
  margin: 20px 0;
  font-weight: 300;
  color: #686868;
  line-height: 1.4;
}
.show-text a {
  background-color: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  display: inline-block;
  margin-top: 8px;
  text-transform: uppercase;
  transition: background-color 0.3s ease-in-out;
}
.show-text a:hover {
  background-color: #18a040;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 20px 40px;
  }
  .content {
    flex-direction: row;
  }
  .clients-list {
    width: 30%;
  }
  .show-info {
    width: calc(70% - 30px);
    margin-left: 30px;
  }
  .clients-tabs {
    margin-bottom: 0px;
  }
}

@media (min-width: 992px) {
  .show-info {
    display: flex;
    align-items: flex-start;
  }
  .show-img {
    margin-right: 30px;
    height: 70%;
  }
  .show-img img {
    width: 280px;
    object-fit: cover;
    height: 70%;
    margin-top: 5rem;
  }
}
/* ========================================================================= */
/* =============nav bar ====================== */
.container {
  width: 80%;
  margin: auto;
}
nav {
  background: transparent;
  width: 100vw;
  height: 5rem;
  /* 5rem=80px */
  position: fixed;
  top: 0;
  z-index: 11;
}

.nav__container {
  font-family: "montserrat", sans-serif;
  line-height: 1.7;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  margin: 0 auto 0;
}
nav button {
  display: none;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4rem;
  /* 464px=4rem*/
}
.nav__menu a {
  font-size: 0.9rem;
  /* 0.9 rem=14.4px */
  color: #000000;
  transition: all 400ms ease;
}
.nav__menu a:hover {
  color: white;
}
/* here im changing value..... */
.logo-title {
  margin-right: 15rem;
  font-size: 1rem;
}
/* =============change navbar style on scroll===================== */
.window_scroll {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
  background-color: #f6fba2;
  background-image: linear-gradient(315deg, #f6fba2 0%, #20ded3 74%);
}
footer {
  font-family: "montserrat", sans-serif;
  line-height: 1.7;
  background: #88bd8c;
  padding-top: 5rem;
  font-size: 0.9rem;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
}
.footer__container > div h4 {
  margin-bottom: 1.2rem;
}
.footer__1 p {
  margin: 0 0 2rem;
}
/* 😓-==================doubt========NOT WORKING🙄============💡*/
.footer,
a {
  color: #000000;
}
.footer,
a:hover {
  color: #000000;
}

.footer__socials {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
  margin-top: 2rem;
}
.social-icon {
  color: black;
}
.footer__copyright {
  text-align: center;
  margin-top: 4rem;
  padding: 1.2rem 0;
  /* border-top: 1px solid var(--color-bg2); */
  border-top: 1px solid black;
}
/* ====================media query section 😅💡=================================== */

@media screen and (max-width: 1024px) {
  .container {
    width: 90%;
  }
  .image1 {
    width: 300px;
    height: min-content;
    margin: auto;
    /* align-self: center; */
  }
  nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: var(--color-white);
    cursor: pointer;
  }
  nav button#close-menu-btn {
    display: none;
  }
  .logo {
    width: 4.5rem;
    height: 4.5rem;
    /* border-radius: 50%; */
    overflow: hidden;
    margin: auto;
  }
  .logo-title {
    margin-right: 20rem;
    font-size: 1rem;
  }
  .nav__menu {
    position: fixed;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 18rem;
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav__menu li {
    width: 100%;
    height: 5.8rem;
    animation: animatenavitems 400ms linear forwards;
    transform-origin: top right;
    opacity: 0;
  }
  .nav__menu li a {
    background-color: #f6fba2;
    background-image: linear-gradient(315deg, #f6fba2 0%, #20ded3 74%);

    box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  .nav__menu li a:hover {
    background: linear-gradient(to top left, #000000, #55efc4);

    color: white;
  }
  /* ====================nth child chnages================== */
  .nav__menu li:nth-child(2) {
    animation-delay: 200ms;
  }
  .nav__menu li:nth-child(3) {
    animation-delay: 400ms;
  }
  .nav__menu li:nth-child(4) {
    animation-delay: 600ms;
  }
  .nav__menu li:nth-child(5) {
    animation-delay: 800ms;
  }
  /* ====================animation================================== */
  @keyframes animatenavitems {
    0% {
      transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
    }
    100% {
      transform: rotateZ(0) rotateX(0) scale(1);
      opacity: 1;
    }
  }
/* ====================footer============================ */
.footer__container {
  grid-template-columns: 1fr 1fr;
}
}
/* =======================media queries for phones 📱========= */

@media screen and (max-width: 600px) {
  .container {
    width: 94%;
  }
  h4 {
    font-size: 1rem;
  }
  /* ====================navbar=======================}==== */
  .nav__menu {
    right: 3%;
  }
  .logo {
    width: 5rem;
    height: 5rem;
    overflow: hidden;
    margin: auto;
  }
  .logo-title {
    margin-right: 3rem;
  }
  /* ====================footer=====================}==== */

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer__1 p {
    margin: 1rem auto;
  }
  .footer__socials {
    justify-content: center;
  }
}
