/* ----- General tag starts -----  */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");

:root {
  /* --blue: #47709b; */
  --blue: #725ac3;
  --blue: #49459f;
  --red: #b12c34;
  --lightred: rgb(255, 250, 250);
  --lightblue: #daeaff;
  --topmargin: 85px;
}
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
}
body {
  background-color: rgb(250, 250, 250);
}
.blue {
  color: var(--blue);
}
.red {
  color: var(--red);
}
.gradient-purple {
  background: linear-gradient(to right, #8b66ce, var(--blue));
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  cursor: pointer;
}
h2 {
  font-size: 1.35em;
  border-bottom: 2px solid #b12c34;
  font-family: sans-serif;
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 14px;
}
.section-heading {
  display: flex;
  justify-content: center;
}
h4 {
  color: black;
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 1.1em;
}
/* ----- General tag ends ----- */

/* ----- Navigation bar starts ----- */

.navbar {
  background-color: rgb(250, 250, 250);
  padding: 8px 0px;
  z-index: 3;
  width: 100%;
  display: flex;
  position: fixed;
  align-items: center;
  top: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.navbar-logo {
  height: 35px;
}
.navbar-menu {
  /* background-color: green; */
  width: 90%;
  display: flex;
  justify-content: center;
}
.navbar-menu-item {
  padding: 0px 18px;
  margin: 12px;
  color: black;
  font-weight: 500;
  font-family: "Segoe UI";
  font-size: 1.05em;
}
.underline-effect {
  display: inline-block;
  position: relative;
}
.underline-effect::after {
  content: "";
  position: absolute;
  width: 46%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 27%;
  background-color: var(--red);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.underline-effect:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.toggle-button {
  width: 52px;
  height: 39px;
  display: none;
  border: none;
  cursor: pointer;
}
.toggle-button div {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #7b68b9;
  border-radius: 4px;
}
.toggle-button div div {
  width: 60%;
  height: 2px;
  margin: 3px;
  background-color: white;
}

/* ----- Navigation bar ends ----- */

/* ----- Home section starts ----- */

#home-section {
  height: 91vh;
  background-image: url("./images/landing page.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.home-content {
  color: white;
  margin: 0px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  height: 100%;
}
#home-primary-text {
  height: 90px;
  font-family: "Segoe UI";
  font-size: 2.5em;
  font-weight: 500;
}
.home-secondary-text {
  position: absolute;
  top: 50%;
  width: 30%;
  font-size: 1.3em;
  font-style: italic;
}

/* ----- Home section ends ----- */

/* ----- About section starts ----- */

#about-section {
  /* height: 40vh; */
  padding-top: 85px;
}
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-heading {
  width: 65%;
  font-size: 1.6em;
  text-align: center;
  font-family: sans-serif;
}
.about-heading h2 {
  border: none;
}
.about-description {
  width: 85%;
  padding: 12px 40px 0px 40px;
}
.about-paragraph {
  font-family: "Segoe UI";
  margin-bottom: 18px;
  font-size: 1.15em;
}

/* ----- About section ends ----- */

/* ----- Service section starts ----- */

#service-section {
  padding-top: 85px;
}
.service-content {
  /* margin-top: 30px; */
  display: flex;
  padding: 0px 30px;
  justify-content: space-evenly;
}
.service-item {
  cursor: pointer;
  font-family: "roboto";
  display: flex;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 24px 10px;
  padding-top: 25px;
  padding-bottom: 25px;
  transition: all 0.3s linear;
  box-shadow: 2px 2px 8px 2px rgb(222, 222, 222);
  width: 100%;
  height: 100%;
}
.service-icon {
  margin: 6px;
  color: var(--blue);
}
.service-item:hover {
  background-color: #725ac3;
  background-color: var(--blue);
}
.service-item:hover .service-icon {
  color: white;
}
.service-item:hover h4 {
  color: white;
}

/* ----- Service section ends ----- */

/* ----- Client section starts ----- */

#client-section {
  padding-top: 85px;
  /* height: 92vh; */
}
.client-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.client-row {
  margin: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.client-row img {
  margin: 6px 24px;
  width: 9%;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.scrollable-clients {
  --d: 40s;
  display: grid;
  grid-template-columns: repeat(8, 160px);
  gap: 30px;
  overflow: hidden;
}

.scrollable-clients > img {
  grid-area: 1/1;
  width: 70%;
  aspect-ratio: 1.5;
  object-fit: contain;
  animation: r var(--d) linear infinite;
  overflow-x: hidden;
}

.scrollable-clients > img:nth-child(2) {
  animation-delay: calc(-0.1 * var(--d));
}

.scrollable-clients > img:nth-child(3) {
  animation-delay: calc(-0.2 * var(--d));
}

.scrollable-clients > img:nth-child(4) {
  animation-delay: calc(-0.3 * var(--d));
}

.scrollable-clients > img:nth-child(5) {
  animation-delay: calc(-0.4 * var(--d));
}
.scrollable-clients > img:nth-child(6) {
  animation-delay: calc(-0.5 * var(--d));
}

.scrollable-clients > img:nth-child(7) {
  animation-delay: calc(-0.6 * var(--d));
}

.scrollable-clients > img:nth-child(8) {
  animation-delay: calc(-0.7 * var(--d));
}

.scrollable-clients > img:nth-child(9) {
  animation-delay: calc(-0.8 * var(--d));
}

.scrollable-clients > img:nth-child(10) {
  animation-delay: calc(-0.9 * var(--d));
}
@keyframes r {
  17.8572428571% {
    transform: translate(-300%);
  }
  17.8572429571% {
    transform: translate(1360%);
  }
}

.client-testimony {
  margin-top: 20px;
  width: 100%;
  /* border:2px solid red; */
}

.client-testimony-slideshow-container {
  display: flex;
  position: relative;
  justify-content: center;
}
.client-testimony-slides {
  padding: 20px;
  display: none;
}
.client-testimony-slides img {
  width: 25%;
  aspect-ratio: 3/2;
  object-fit: contain;
  padding-bottom: 8px;
}
.client-testimony-slides div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 50%;
}
.testimony-dot-container {
  text-align: center;
  padding: 10px;
}
.testimony-dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active,
.testimony-dot:hover {
  background-color: #717171;
}
q {
  font-size: 1.1em;
  font-style: italic;
}
.author {
  font-size: 1.1em;
  color: var(--blue);
  text-align: center;
}

/* ----- Client section ends ----- */

/* ----- Work section starts ----- */

#work-section {
  padding: 4px 0px;
}
.work-content {
  margin-top: 8px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.work-navbar {
  width: 100%;
  background-color: rgb(255, 250, 250);
  background-color: rgb(255, 250, 250);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0px;
}
.work-navbar ul {
  display: flex;
  justify-content: space-evenly;
}
.work-navbar ul a {
  padding: 14px 56px 2px 56px;
  margin-bottom: 12px;
  color: black;
  font-weight: 500;
  font-family: "Segoe UI";
  font-size: 1.2em;
  transition: all 0.2s ease-in-out;
}
.work-navbar ul a:hover {
  color: var(--red);
}
.work-event-description {
  margin-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* border: 2px solid red; */
}
.event-description {
  height: 100%;
  width: 28%;
  background-color: white;
  box-shadow: 2px 2px 10px 2px rgb(227, 227, 227);
  transition: all 0.3s linear;
  border-radius: 10px;
}
.event-description:hover {
  transform: scale(1.02);
}
.event-description img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.event-description h3 {
  font-size: 1.02em;
  margin: 6px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  text-align: center;
}
.hidden-display {
  display: none;
}

/* ----- Work section ends ----- */

/* ----- Our Team section starts ----- */

#team-section {
  padding-top: 55px;
}
.team-content {
  display: flex;
  justify-content: space-evenly;
}
.team-member {
  height: 280px;
  width: 210px;
  border: 4px solid var(--blue);
  border-radius: 5px;
  margin: 18px;
  transition: all 0.2s linear;
}
.team-member img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  transition: all 0.2 linear;
}
.team-member-name {
  position: relative;
  bottom: 53.5px;
  padding: 14px;
  background-color: #735ac369;
  color: white;
}
.team-member h3 {
  font-family: "Segoe UI";
  font-size: 1.06em;
  font-weight: 500;
  text-align: center;
}

.team-member-description {
  visibility: hidden;
  position: relative;
  display: flex;
  align-items: center;
  top: 4px;
  opacity: 0;
  transform: translateY(-110%);
  transition: opacity 0.5s, transform 0.8s;
  display: none;
}
.team-button {
  display: none;
}

/* ----- Our Team section ends ----- */

/* ----- Contact section starts ----- */

.contact-content {
  color: white;
  font-family: "Segoe UI";
  display: flex;
  /* grid-template-rows: 1fr 1fr; */
  flex-direction: column;
  background: var(--blue);
  background: linear-gradient(to top, #9478cf, var(--blue));
}
.contact-content-leftside {
  padding: 30px 150px 12px 150px;
  display: flex;
  flex-direction: column;
}
.contact-content-leftside h1 {
  font-size: 2.3em;
  border-bottom: 1px solid white;
}
.contact-content-leftside-bigger-heading {
  font-weight: 400;
}

.contact-icons {
  display: inline-flex;
  font-size: medium;
}

.contact-icons i {
  margin: 2px 6px;
  color: white;
  transition: all 0.3s;
}
.contact-icons i:hover {
  transform: scale(1.1);
}
.contact-content-rightside {
  display: flex;
  flex-direction: column;
  padding: 30px 150px;
  padding-bottom: 0;
}
.contact-content-rightside-content {
  display: flex;
  justify-content: space-evenly;
}
.contact-content-rightside-subdivison {
  display: flex;
  flex-direction: column;
  /* margin: 12px 0px; */
  /* padding: 12px 36px; */
  width: 27%;
  flex-wrap: wrap;
  /* border-right: 2px solid white; */
}
.noborder {
  border-right: none;
}
.contact-content-rightside-subdivison i {
  color: white;
}
.contact-content-rightside-subdivison-heading {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.contact-content-rightside-subdivison-heading h3 {
  font-size: 1.4em;
  margin: 0px 12px;
  font-weight: 400;
}
.contact-content-rightside-logo {
  padding: 12px 32px;
  display: flex;
  font-size: 2em;
  font-weight: 500;
  justify-content: flex-end;
  /* margin-top: 24px; */
}

/* ----- Contact section ends ----- */

/* ----- Media section starts ----- */

@media screen and (max-width: 1490px) {
  #home-primary-text {
    font-size: 2.1em;
  }
  .scrollable-clients {
    grid-template-columns: repeat(7, 160px);
  }
}

@media screen and (max-width: 1300px) {
  .home-secondary-text {
    font-size: 1.1em;
  }
  .scrollable-clients {
    grid-template-columns: repeat(7, 150px);
  }
}
@media screen and (max-width: 1250px) {
  .about-heading {
    width: 75%;
  }
  .about-paragraph {
    font-size: 1.05em;
  }
  .service-item h4 {
    font-size: 0.9em;
  }
  .scrollable-clients {
    grid-template-columns: repeat(6, 160px);
    gap: 15px;
  }
  .team-member {
    height: 240px;
    width: 180px;
  }
  .team-member h3 {
    font-size: 1.02em;
  }
}
@media screen and (max-width: 1050px) {
  .navbar {
    flex-direction: column;
  }
  .toggle-button {
    display: inherit;
    border-radius: 12px;
  }
  .mobile-navbar {
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin: 0px 120px; */
  }
  #navmenu {
    display: none;
  }
  .navbar-menu {
    margin-top: 12px;
    flex-direction: column;
    width: 100%;
  }
  .navbar-menu-item {
    padding: 0px 15px;
    color: white;
    color: #725ac3;
    transition: all;
  }
  .navbar-menu li:hover {
    background-color: #725ac3;
  }
  .navbar-menu li:hover .navbar-menu-item {
    color: white;
  }
  #home-section {
    margin-top: 20px;
  }
  .home-content {
    width: 80%;
  }
  #home-primary-text {
    font-size: 1.9em;
    font-size: 32px;
  }
  .home-secondary-text {
    font-size: 0.95em;
  }
  #about-section {
    padding-top: 60px;
  }
  .about-heading {
    font-size: 1.4em;
  }
  .about-paragraph {
    font-size: 1em;
  }
  #service-section {
    padding-top: 60px;
  }
  .service-item h4 {
    font-size: 0.75em;
  }
  #client-section {
    padding-top: 60px;
  }
  .scrollable-clients {
    grid-template-columns: repeat(6, 120px);
  }
  .work-navbar ul {
    justify-content: space-between;
  }
  .work-navbar ul a {
    padding: 8px 30px 2px 30px;
    margin-bottom: 0px;
  }
  .team-member {
    height: 180px;
    width: 135px;
  }
  .team-member h3 {
    font-size: 0.75em;
  }
  .contact-content-leftside h1 {
    font-size: 1.8em;
  }
  .contact-content-rightside-subdivison {
    font-size: 0.8em;
  }
  .contact-content-rightside-logo {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 900px) {
  #home-section {
    background-image: url("./images/landing\ page\ tablet.png");
  }
  #home-primary-text {
    font-size: 30px;
  }
  .about-heading {
    font-size: 1.25em;
  }
  .service-content {
    padding: 4px;
  }
  .service-item {
    margin: 4px;
  }
  .service-icon {
    font-size: 3em;
  }
  .client-row img {
    margin: 6px 18px;
    width: 11%;
  }
  .scrollable-clients img {
    width: 70%;
  }
  .client-testimony-slides div {
    margin: 0px 12px;
  }
  .work-navbar ul a {
    font-size: 0.9em;
  }

  .contact-content-leftside {
    padding: 30px 80px 12px 80px;
  }
  .contact-content-rightside {
    padding: 30px 70px;
  }

  .contact-content-rightside-subdivison {
    width: 30%;
  }
}

@media screen and (max-width: 820px) {
  .scrollable-clients {
    grid-template-columns: repeat(6, 110px);
  }
  .client-row img {
    margin: 6px 12px;
    width: 12%;
  }
  .scrollable-clients img {
    width: 75%;
  }
  .client-testimony {
    width: 100%;
  }
  .client-testimony-slides div {
    width: 70%;
  }

  .event-description h3 {
    font-size: 0.85em;
    margin: 3px;
  }
  #team-section {
    overflow: hidden;
  }

  .team-content {
    justify-content: start;
    transition: transform 1.5s ease-in-out;
  }
  .team-member {
    min-width: 27vw;
    height: 33.3vw;
    margin: 2.4vw;
  }
  .team-buttons {
    display: flex;
  }
  .team-button {
    display: block;
    background: #333;
    color: #fff;
    border: none;
    padding: 10px;
    transform: translateY(-23vw);
    cursor: pointer;
    font-size: 16px;
  }
  #prevBtn {
    float: left;
  }
  #nextBtn {
    float: right;
  }
}

@media screen and (max-width: 768px) {
  #service-section {
    padding-top: 40px;
  }
  .service-content {
    padding: 24px 156px;
    gap: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .service-item {
    padding: 12px;
    padding-bottom: 0;
    margin: 0;
  }
  .scrollable-clients {
    grid-template-columns: repeat(6, 95px);
    gap: 12px;
  }
  .work-navbar ul a {
    font-size: 0.77em;
    padding: 14px 18px 2px 18px;
    justify-content: space-evenly;
  }
  .work-content {
    overflow: hidden;
    width: 100%;
  }

  .work-event-description {
    justify-content: start;
    transition: transform 2.5s ease-in-out;
  }
  .event-description {
    margin: 0 15%;
    min-width: 70%;
  }
}
@media screen and (max-width: 650px) {
  .scrollable-clients {
    grid-template-columns: repeat(5, 95px);
    gap: 12px;
  }

  .contact-content-leftside h1,
  .contact-icons i,
  .contact-content-rightside-subdivison i {
    font-size: 1.7em;
  }
  .contact-content-rightside {
    padding: 12px 90px;
  }
  .contact-content-rightside-content {
    flex-direction: column;
    /* border: 2px solid red; */
  }
  .contact-content-rightside-subdivison {
    width: 100%;
    margin-bottom: 20px;

    /* border: 2px solid blue; */
  }
  .contact-content-rightside-subdivison-heading {
    margin-bottom: 6px;
  }
}
@media screen and (max-width: 530px) {
  .navbar-logo {
    height: 30px;
  }
  .toggle-button {
    width: 44px;
    height: 39px;
  }
  #home-section {
    background-image: url("./images/landing\ page\ mobile.png");
  }
  .home-secondary-text {
    width: 60%;
  }
  .about-description {
    width: 85%;
    padding: 12px 12px 0px 12px;
  }
  .client-row {
    display: none;
  }
  .client-row img {
    margin: 6px 8px;
  }
  .scrollable-row {
    display: inherit;
  }
  .scrollable-clients {
    grid-template-columns: repeat(4, 105px);
  }
  .scrollable-clients img {
    width: 100%;
  }
  .client-testimony-slideshow-container {
    justify-content: center;
  }
  .client-testimony-slides {
    display: flex;
    flex-direction: column-reverse;
    width: 80%;
    padding: 0px;
  }
  .client-testimony-slides div {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
  }
  .testimony-dot-container{
    display: none;
  }
  q,
  .author {
    font-size: 0.8em;
    text-align: center;
  }
  .work-navbar ul a {
    padding: 14px 12px 2px 12px;
  }
}

@media screen and (max-width: 460px) {
  .service-content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    padding: 24px 46px;
    gap: 12px;
  }
  .service-item {
    padding: 0px;
    padding-bottom: 0;
  }
  .service-icon {
    font-size: 2em;
  }
  .service-item h4 {
    font-size: 0.65em;
  }
  .scrollable-clients {
    grid-template-columns: repeat(3, 95px);
    gap: 12px;
  }
  .team-member {
    min-width: 60vw;
    height: 80vw;
    margin: 0 20vw;
  }
  .team-button {
    transform: translateY(-45vw);
  }
  .contact-content-leftside {
    padding: 24px 50px;
    padding-bottom: 6px;
  }
  .contact-content-rightside {
    padding: 12px 60px;
  }
}

@media screen and (max-width: 420px) {
  .contact-content-leftside h1,
  .contact-icons i,
  .contact-content-rightside-subdivison i {
    font-size: 1.4em;
    margin: 2px;
  }
}

/* ----- Media section ends ----- */
