/*=============== GOOGLE FONTS ===============*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/

  /*========== Font and typography ==========*/
  --body-font: "Outfit", serif;

  /*.5rem = 8px | 1rem = 16px ...*/
  --big-font-size: 3.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;
  --tiny-font-size: 0.625rem;

  /*========== Font weight ==========*/
  --font-normal: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;






}
body {
  /*Color mode HSL(hue, saturation, lightness)*/
  --hue: 0;
  --sat: 0%;
  --title-color: hsl(var(--hue), var(--sat), 20%);
  --title-color-dark: hsl(var(--hue), var(--sat), 0%);
  --text-color: hsl(var(--hue), var(--sat), 46%);
  --body-color: hsl(var(--hue), var(--sat), 98%);
  --container-color: #fff;
}

/* ::selection {
  background-color: var(--title-color);
  color: #fff;
} */
/* body.dark {
  --title-color: white;
  --title-color-dark: white;
  /* --title-color-dark: rgb(10, 135, 218); */
/* --text-color: white;
  --body-color: #1f242d;
  --container-color: #323946;
}  */

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --big-font-size: 2.75rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/*=============== BASE ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  /* cursor: url(./assets/stain-of-paint-cursor.png), auto; */
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}
/* i {
  color: var(--text-color);
} */

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 6rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: 4rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--title-color);
  color: var(--container-color);
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  font-weight: var(--font-medium);
}

.button:hover {
  background-color: var(--title-color-dark);
  color: var(--container-color);
}

.button__icon {
  margin-left: var(--mb-0-5);
}

.button--flex {
  display: inline-flex;
  align-items: center;
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .button {
    padding: 1rem 1.75rem;
  }

  .button__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  body {
    margin: 0 0 var(--header-height) 0;
  }

  .section {
    padding: 2rem 0 4rem;
  }

  .section__subtitle {
    margin-bottom: var(--mb-3);
  }
}

@media screen and (max-width: 576px) {
}

/* For small devices */
@media screen and (max-width: 350px) {
  :root {
    --big-font-size: 2.25rem;
  }

  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
}
/* header section */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

.nav {
  height: calc(var(--header-height) + 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
}
.nav__logo,
.nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}
.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.nav__icon,
.nav__close,
.nav__toggle {
  display: none;
}

/* Active-link */

.active-link,
.nav__link:hover {
  color: var(--title-color-dark);
  font-weight: 800;
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (max-width: 768px) {
  .header {
    top: initial;
    bottom: 0;
  }
  .nav {
    height: var(--header-height);
  }
  .nav__menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: 0.3s;
  }
  .show-menu {
    bottom: 0;
  }

  .nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .nav__icon {
    font-size: 1.2rem;
  }
  .nav__icon,
  .nav__close,
  .nav__toggle {
    display: block;
  }
  .nav__close {
    position: absolute;
    right: 1.3rem;
    bottom: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--title-color);
  }
  .nav__close:hover {
    color: var(--title-color-dark);
  }
  .nav__toggle {
    font-size: 1.1rem;
    cursor: pointer;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }
  .nav__list {
    column-gap: 0;
  }
}

.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 1px 4px hsla(0, 4%, 15%, 0.1);
}

/* --------------------------home section------------------------------------------ */
.home__container {
  row-gap: 7rem;
}

.home__content {
  grid-template-columns: 116px repeat(2, 1fr);
  padding-top: 5.5rem;
  column-gap: 2rem;
  align-items: center;
}
.home__social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}
.home__social-icon {
  font-size: 1.25rem;
  color: var(--title-color);
}
.home__social-icon:is(:focus-visible, :hover) {
  color: var(--title-color-dark);
}

.home__title {
  font-size: 2.5rem;
  margin-bottom: var(--mb-0-25);
}
.home__hand {
  width: 34px;
  height: 34px;
  margin-left: 0.4rem;
}
.home__subtitle {
  position: relative;
  font-size: var(--h3-font-size);
  padding-left: 5.4rem;
  font-weight: var(--font-normal);
  margin-bottom: var(--mb-1);
}
.home__subtitle:before {
  position: absolute;
  content: '';
  width: 70px;
  height: 1px;
  background-color: var(--text-color);
  left: 0;
  top: 1rem;
}
.home__description {
  max-width: 400px;
  margin-bottom: var(--mb-3);
}
.home__subtitle span {
  color: var(--title-color);
}

.home__img {
  background: url(../../assets/profile.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 330px;
  height: 300px;
  box-shadow: inset 0 0 0 9px rgb(225 225 225 / 30%);
  order: 1;
  justify-self: center;
  animation: Profile__animate 8s ease-in-out infinite 1s;
}
@keyframes Profile__animate {
  0% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
}

/* =======Scroll Down=========== */
.home__scroll {
  margin-left: 9.25rem;
}

.home__scroll .wheel {
  animation: scroll 2s ease infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(3.75rem);
  }
}

.home__scroll-name {
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
  margin-left: 2px;
}
.home__scroll-arrow {
  font-size: 1.25rem;
  color: var(--title-color);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .home__content {
    grid-template-columns: 100px repeat(2, 1fr);
    column-gap: 1.25rem;
  }
  .home__hand {
    width: 26px;
    height: 26px;
  }
  .home__subtitle {
    padding-left: 3.75rem;
    margin-bottom: var(--mb-1);
  }
  .home__subtitle:before {
    width: 42px;

    top: 0.8rem;
  }
  .home__description {
    max-width: initial;
    margin-bottom: var(--mb-2-5);
  }
  .home__img {
    width: 250px;
    height: 250px;
    box-shadow: inset 0 0 0 8px rgb(225 225 225 / 30%);
  }
  .home__scroll {
    margin-left: 7.5rem;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .home__content {
    grid-template-columns: 0.5fr 3fr;
    padding-left: 3.5rem;
  }
  .home__img {
    order: initial;
    justify-self: initial;
  }
  .home__data {
    grid-column: 1/3;
  }

  .home__img {
    box-shadow: inset 0 0 0 6px rgb(225 225 225 / 30%);
    width: 200px;
    height: 200px;
  }
  .home__scroll {
    display: none;
  }
  .home__title {
    font-size: 2rem;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .home__img {
    width: 180px;
    height: 180px;
  }
  .home__hand {
    width: 22px;
    height: 22px;
  }
  .home__title {
    font-size: 1.5rem;
  }
}
/* ---==-===============================about section================ */
.about__container {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  column-gap: 4rem;
}
.about__img {
  width: 350px;
  border-radius: 1.5rem;
  justify-self: center;
}
.about__info {
  grid-template-columns: repeat(3, 140px);
  gap: 0.5rem;
  margin-bottom: var(--mb-2);
}
.about__box {
  background-color: var(--container-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  text-align: center;
  transition: 0.3s;
}
/* .about__box:is(:focus-visible, :hover) {
  box-shadow: 0 0 0 8px rgb(225 225 225 / 30%);
} */
.about__icon {
  font-size: 1.5rem;
  color: var(--title-color);
  margin-bottom: var(--mb-0-5);
}

.about__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.about__subtitle {
  font-size: var(--tiny-font-size);
}

.about__description {
  padding: 0 4rem 0 0;
  margin-bottom: var(--mb-2-5);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .about__container {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  .about__img {
    width: 220px;
  }
  .about__box {
    padding: 0.75rem 0.5rem;
  }
  .about__data {
    text-align: center;
  }
  .about__info {
    justify-content: center;
  }
  .about__description {
    padding: 0 5rem;
    margin-bottom: 2rem;
  }
}

/* For medium devices */

@media screen and (max-width: 576px) {
  .about__info {
    grid-template-columns: repeat(3, 1fr);
  }
  .about__description {
    padding: 0;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .about__info {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===================skills section============== */
.skills__container {
  grid-template-columns: repeat(2, 400px);
  column-gap: 3rem;
  justify-content: center;
}
.skills__content {
  background-color: var(--container-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2rem 4rem;
  border-radius: 1.25rem;
  transition: 0.3s;
}
.skills__content:is(:focus-visible, :hover) {
  box-shadow: 0 0 0 8px rgb(225 225 225 / 30%);
}
.skills__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  text-align: center;
  margin-bottom: var(--mb-1-5);
}

.skills__box {
  display: flex;
  justify-content: center;
  column-gap: 2.5rem;
}

.skills__group {
  display: grid;
  align-items: flex-start;
  row-gap: 1rem;
}
.skills__data {
  display: flex;
  column-gap: 0.5rem;
}

.skills .bx-badge-check {
  font-size: 1rem;
  color: var(--title-color);
}
.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  line-height: 18px;
}
.skills__level {
  font-size: var(--tiny-font-size);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .skills__container {
    grid-template-columns: max-content;
    row-gap: 2rem;
  }
}

/* For medium devices */

@media screen and (max-width: 576px) {
  .skills__container {
    grid-template-columns: 1fr;
  }
  .skills__content {
    padding: 1.5rem;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .skills__box {
    column-gap: 1.25rem;
  }
  .skills__name {
    font-size: var(--small-font-size);
  }
}

/* ================================ Service section ============================ */
.service__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}
.service__card {
  background-color: var(--container-color);
  padding: 3rem 1.5rem 1.5rem;
  border-radius: 1rem;
  transition: 0.3s;
}
.service__card:is(:focus-visible, :hover) {
  box-shadow: 0 0 0 8px rgb(225 225 225 / 30%);
}
.service__button {
  color: var(--title-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: pointer;
}
.service__icon {
  font-size: 1rem;
  transition: 0.4s ease;
}
.service__button:hover .service__icon {
  transform: translateX(0.25rem);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: 2.5rem;
}
/* ==== service__model========== */

.service__modal {
  position: fixed;
  inset: 0;
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.4s;
  z-index: var(--z-modal);
}

.service__modal-content {
  position: relative;
  background-color: var(--container-color);
  padding: 4.5rem 1.5rem 2.5rem;
  border-radius: 1.5rem;
}
.service__modal-title,
.service__modal-description {
  text-align: center;
}
.service__modal-title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
}
.service__modal-description {
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
  text-align: center;
}
.service__modal-list {
  display: grid;
  row-gap: 0.75rem;
}
.service__modal-item {
  display: flex;
  align-items: flex-start;
  column-gap: 0.5rem;
  /* justify-content: center; */
}
.service__modal-icon {
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}
.service__modal-info {
  font-size: var(--small-font-size);
}
.service__modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* ===========active-model=========== */
.active-modal {
  opacity: 1;
  visibility: visible;
}

/* ========break points============ */

/* small devices */
@media screen and (max-width: 320px) {
  .service__container {
    grid-template-columns: 145px;
    justify-content: center;
  }
}
/* medium devices */
@media screen and (min-width: 576px) {
  .service__container {
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }
  .service__modal-content {
    width: 500px;
    padding: 4.5rem 2.5rem 2.5rem;
  }
  .service__modal-description {
    padding: 0 3.5rem;
  }
}
/* larger devices */
@media screen and (min-width: 992px) {
  .service__container {
    grid-template-columns: repeat(3, 192px);
    column-gap: 3rem;
  }

  .service__card {
    padding: 5rem 2rem 1.5rem;
  }
}

/* ================================  Portfolio section ============================ */
.work__container {
  grid-template-columns: repeat(3, 330px);
  gap: 1.8rem;
  padding-top: 1rem;
  justify-content: center;
}
.work__filters {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;
  margin-bottom: 2rem;
}
.work__item {
  cursor: pointer;
  color: var(--title-color);
  padding: 0.25rem 0.75rem;
  font-weight: var(--font-medium);
  border-radius: 0.5rem;
}
.work__card {
  background-color: var(--container-color);
  padding: 1.25rem;
  border-radius: 0.5rem;
  transition: 0.4s;
}
.work__card:is(:focus-visible, :hover) {
  box-shadow: 0 0 0 8px rgb(225 225 225 / 30%);
}
.portfolio__item-details {
  display: none;
}

.work__img {
  border-radius: 0.5rem;
  margin-bottom: var(--mb-1);
}
.work__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-5);
}
.work__button {
  color: var(--title-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: pointer;
  transition: 0.3s;
}
.work__button:is(:focus-visible, :hover) {
  color: var(--title-color-dark);
}

.work__button-icon {
  font-size: 1rem;
  transition: 0.3s;
}

.work__button:is(:focus-visible, :hover) .work__button-icon {
  transform: translateX(0.25rem);
}

/* Active work item */
.active-work {
  background-color: var(--title-color);
  color: #fff;
  transition: 0.3s;
}
.active-work:is(:focus-visible, :hover) {
  background-color: var(--title-color-dark);
}

/* ================     portfolio popup        ===================== */
.portfolio__popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}
/* portfolio open */
.portfolio__popup.open {
  opacity: 1;
  visibility: visible;
}
/* - */
.portfolio__popup-inner {
  background-color: var(--container-color);
  width: 900px;
  border-radius: 0.5rem;
  padding: 2.5rem;
  position: relative;
}
.portfolio__popup-content {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  column-gap: 3rem;
}
.portfolio__popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}
.portfolio__popup-img {
  border-radius: 0.5rem;
}

.portfolio__popup-subtitle {
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-25);
}
.details__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

.details__description {
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-2);
}
.details__info li {
  margin-bottom: var(--mb-0-75);
  text-transform: capitalize;
  font-size: var(--small-font-size);
}
.details__info li:last-child {
  margin-bottom: 0;
}
.details__info li span {
  font-weight: normal;
}
.details__info li a {
  text-transform: lowercase;
  color: var(--title-color);
  transition: 0.3s;
}
.details__info li a:is(:focus-visible, :hover) {
  text-decoration: underline;
  color: var(--title-color-dark);
  font-weight: 700;
}

/* media */
/* large screen */

@media screen and (min-width: 1216px) {
  .work__container {
    grid-template-columns: repeat(2, 330px);
    gap: 3rem;
  }
}
@media screen and (man-width: 1024px) {
  .work__container {
    padding: 1rem;
  }
  .work__img {
    margin-bottom: var(--mb-0-75);
  }
  .work__title {
    margin-bottom: var(--mb-0-25);
  }
  .portfolio__item-details {
    margin-bottom: var(--mb-1-5);
  }
  .details__info li {
    margin-bottom: var(--mb-0-5);
  }
  .details__title {
    margin-bottom: var(--mb-0-75);
  }
}
@media screen and (max-width: 768px) {
  .work__container {
    grid-template-columns: 330px;
  }
  .portfolio__popup-inner {
    width: 420px;
    padding: 2.8rem 1.5rem 2.5rem;
  }
  .portfolio__popup-content {
    grid-template-columns: 1fr;
    row-gap: 1.6rem;
  }
  .details__title {
    font-size: var(--normal-font-size);
  }
  .portfolio__popup-close {
    top: 0.5rem;
  }
}
@media screen and (max-width: 576px) {
  .work__container {
    grid-template-columns: 300px;
  }
}
@media screen and (max-width: 350px) {
  .work__item {
    font-size: var(--small-font-size);
  }
  .work__filters {
    column-gap: 0.25rem;
  }
}
/* ================================ Testimonial section ============================ */

.testimonial {
  width: 80%;
  max-width: 800px;
  margin: auto;
}
.testimonial-text {
  background: var(--container-color);
  color: var(--text-color);
  width: 100%;
  height: 350px;
  position: relative;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 0.5rem;
  z-index: -100;
}
.user-text {
  width: 70%;
  text-align: center;
  line-height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.user-text .bx {
  font-size: 30px;
  margin-bottom: 50px;
  margin-top: 20px;
  color: var(--title-color);
}
.user-text span {
  display: block;
  font-size: 11px;
  margin-top: 70px;
  font-weight: 500;
  text-transform: uppercase;
}
.testi-pic {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-pic {
  width: 65px;
  height: 65px;
  object-fit: cover;
  padding: 5px;
  border-radius: 50%;
  margin: 10px;
  cursor: pointer;
}
.user-text.active-text {
  display: block;
  animation: moveup 0.5s linear forwards;
}
@keyframes moveup {
  0% {
    margin-top: 75px;
  }
  100% {
    margin-top: 0px;
  }
}
.user-pic.active-pic {
  border: 3px solid var(--title-color);
  width: 80px;
  height: 80px;
}
@media screen and (max-width: 576px) {
  .user-pic {
    width: 50px;
    height: 50px;
  }
  .user-pic:nth-child(3) {
    display: none;
  }
  .user-text {
    width: 80%;
    line-height: 20px;
    padding: 0;
  }
  .testimonial-text p {
    font-size: 12px;
  }
  .user-text span {
    margin-top: 30px;
  }
}
/* contact us section*/
.contact__container {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  column-gap: 6rem;
  padding-bottom: 3rem;
}
.contact__info {
  display: grid;
  row-gap: 1rem;
  grid-template-columns: 300px;
}

.contact__title {
  text-align: center;
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

.contact__card {
  background-color: var(--container-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: 0.3s;
}
.contact__card:is(:focus-visible, :hover) {
  box-shadow: 0 0 0 8px rgb(225 225 225 / 30%);
}
.contact__card-icon {
  font-size: 2rem;
  color: var(--skin-color);
  margin-bottom: var(--mb-0-25);
}
.contact__card-title,
.contact__card-data {
  font-size: var(--small-font-size);
}

.contact__card-title {
  font-weight: var(--font-medium);
}
.contact__card-data {
  display: block;
  margin-bottom: var(--mb-0-75);
}
.contact__button {
  color: var(--text-color);
  font-size: var(--small-font-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.25rem;
  transition: 0.3s;
}
.contact__button:is(:focus-visible, :hover) {
  color: var(--title-color-dark);
}
.contact__button-icon {
  font-size: 1rem;
  transition: 0.3s;
}
.contact__button:is(:focus-visible, :hover) .contact__button-icon {
  transform: translate(00.25rem);
}

.contact__form {
  width: 360px;
}
.contact__form-div {
  position: relative;
  margin-bottom: var(--mb-2);
  height: 4rem;
}
.contact__form-input:is(:focus, :focus-visible) {
  border-color: var(--title-color);
}
.contact__form-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color);
  background-color: transparent;
  color: var(--text-color);
  outline: none;
  border-radius: 0.75rem;
  padding: 1.5rem;
  z-index: 1;
  transition: 0.3s;
}
.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  font-size: var(--smaller-font-size);
  padding: 0.25rem;
  background-color: var(--body-color);
  z-index: var(--z-tooltip);
}

.contact__form-area {
  height: 11rem;
}
.contact__form-area textarea {
  resize: none;
}

.contact__form .button__icon {
  color: white;
}
/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .contact__container {
    column-gap: 3rem;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .contact__container {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
  .contact__info {
    justify-content: center;
  }
  .contact__form {
    margin: 0 auto;
  }
}

@media screen and (max-width: 576px) {
  .contact__info {
    grid-template-columns: 1fr;
  }
  .contact__form {
    width: 100%;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
}

/* ================footer section============== */
.footer {
  background-color: var(--container-color);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.footer__container {
  padding: 2rem 0 6rem;
}
.footer__title,
.footer__link {
  color: var(-title-color);
}
.footer__title {
  text-align: center;
  margin-bottom: var(--mb-2);
}
.footer__link {
  color: var(--title-color-dark);
}
.footer__list {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
  margin-bottom: var(--mb-2);
}
.footer__socials {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}
.footer__social-link {
  background-color: var(--title-color);
  color: #fff;
  font-size: 1.25rem;
  padding: 0.4rem;
  border-radius: 0.5rem;
  display: inline-flex;
  transition: 0.3s;
}
.footer__social-link:hover {
  background-color: var(--title-color-dark);
  color: var(--container-color);
}

.footer__copy {
  display: block;
  margin-top: 4.5rem;
  color: var(--title-color);
  text-align: center;
  font-size: var(--smaller-font-size);
}
.footer__brand {
  margin-top: 1.5rem;
  display: block;

  color: var(--title-color);
  text-align: center;
  font-size: var(--smaller-font-size);
}
.footer__brand a {
  color: var(--title-color);
  transition: 0.3s;
}
.footer__brand a:hover {
  /* color: var(--title-color-dark); */
  font-weight: var(--font-medium);
}
.footer__brand a:hover .arrow {
  transform: translateX(0.12rem);
}
.brand__icon {
  padding-right: 0.5rem;
  font-size: 1rem;
}
.brand__name {
  color: var(--title-color-dark);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .footer__social-link {
    padding: 0.25rem;
    border-radius: 0.25rem;
    font-size: 1rem;
  }
}

/* ====================scroll up ================= */
.scrollup {
  position: fixed;
  right: 2.5rem;
  bottom: 3rem;
  background-color: var(--title-color);
  opacity: 0.8;
  padding: 0.3rem 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: 0.3s;
}
.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}
.scrollup:hover {
  color: #fff;
  transform: translateY(-0.5rem);
  background-color: var(--title-color-dark);
}
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .scrollup {
    right: 1.5rem;
    padding: 0.25rem 0.4rem;
  }
  .scrollup__icon {
    font-size: 1.25rem;
  }
}

/* For medium devices */

@media screen and (max-width: 576px) {
  .scrollup {
    right: 0.75rem;
    bottom: 4rem;
    padding: 0.25rem 0.4rem;
  }
  .scrollup__icon {
    font-size: 1rem;
  }
}

/* =================get-in================== */
/* .get-in {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  margin-top: 50px;
}

.content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 200px;
  padding-bottom: 50px;
  height: 250px;
  background: var(--container-color);
  padding: 100px 180px;
  align-items: center;
  border-radius: 3rem;
  transition: all ease 0.5s;
}
.content:is(:focus-visible, :hover) {
  border: 1px solid var(--text-color);
}

.title {
  display: flex;
  align-items: start;
  flex-direction: column;
  font-weight: var(--font-semi-bold);
}

.title h4 {
  font-size: var(--h3-font-size);
  mix-blend-mode: 10px;
}

@media screen and (max-width: 992px) {
  .get-in {
    display: none;
  }
} */

/* =================== qualification__section ===================  */
.qualification__tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-3);
}
.qualification__button {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: 0.3s;
}

.qualification__button:hover {
  color: var(--title-color-dark);
}
.qualification__icon {
  font-size: 1.4rem;
  margin-right: var(--mb-0-25);
}
.qualification__data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}

.qualification__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.qualification__subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification__calender {
  font-size: var(--smaller-font-size);
  color: var(--text-color);
}
.qualification__rounder {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--title-color);
  border-radius: 50%;
}

.qualification__line {
  display: block;
  width: 1px;
  height: 100%;
  transform: translate(6px, -7px);
  background-color: var(--title-color);
}
.qualification [data-content] {
  display: none;
}

.qualification__active[data-content] {
  display: block;
}

.qualification__button.qualification__active {
  color: var(--title-color);
}

/* ==========small devices =========== */
@media screen and (max-width: 350px) {
  .qualification__data {
    gap: 0.5rem;
  }
  .project {
    display: none;
  }
}
/* ==========medium devices =========== */
@media screen and (min-width: 568px) {
  .qualification__sections {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }
}
@media screen and (min-width: 768px) {
  .qualification__tabs {
    justify-content: center;
  }
  .qualification__button {
    margin: 0 var(--mb-1);
  }
  .qualification__sections {
    grid-template-columns: 0.5fr;
  }
}
/* ================= project section  ======================= */

.project {
  text-align: center;
}
.project__bg {
  background-color: var(--container-color);
  padding: 3rem;
  width: 60%;
  margin: auto;
  border-radius: 1.5rem;
}
.project__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-75);
}
.project__description {
  margin-bottom: var(--mb-1-5);
}
.project__title,
.project__description {
  color: var(--title-color);
}

.button--white {
  background-color: var(--title-color);
  color: var(--container-color);
}

/* ===========dark mode variables ==================*/

.dark .button {
  color: white;
  transition: 0.3s ease-in-out;
}
** * #testimonials */ .testimonials {
  margin-bottom: 30px;
}

.testimonials-title {
  margin-bottom: 20px;
}

.testimonials-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px 15px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.testimonials-item {
  min-width: 100%;
  scroll-snap-align: center;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, -25px);
  background: var(--bg-gradient-onyx);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}

.testimonials-item-title {
  margin-bottom: 7px;
}

.testimonials-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
