#portfolio-section {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

.portfolio-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
  width: min(100%, 1304px);
  max-width: 1304px;
  margin: 0 auto;
  box-sizing: border-box;
}

.portfolio-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 120px;
}

.portfolio-headline h1 {
  font-size: 90px;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

.headline-line {
  height: 4px;
  background: #8a3ffc;
  border-radius: 999px;
}

.headline-line-left {
  width: 90px;
}

.headline-line-right {
  width: 90px;
  position: relative;
}

.headline-line-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: inherit;
  border-radius: inherit;
}

p {
  text-align: center;
  margin-right: 100px;
  margin-top: 40px;
  font-size: 16px;
}

.portfolio-section p {
  font-size: 20px;
  margin-top: 15px;
  margin-right: 0;
  max-width: 100%;
}

.portfolio-projects {
  width: min(100%, 1304px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.portfolio-project {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
}

.portfolio-project .project-media {
  order: 1;
  flex: 0 0 620px;
}

.portfolio-project.reverse .project-media {
  order: 2;
}

.portfolio-project .project-content {
  order: 2;
  flex: 1 1 auto;
  max-width: 520px;
}

.portfolio-project.reverse .project-content {
  order: 1;
}

.portfolio-project .project-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.crm-media {
  position: static;
  overflow: visible;
}

.crm-shadow {
  position: absolute;
  left: calc(50% - 50vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.crm-media .crm-photo {
  position: relative;
  z-index: 1;
}

h2 {
  color: #8a3ffc;
  font-size: 32px;
}

h3 {
  color: #70E61C;
  z-index: 10;
}

.p-txt {
  text-align: start;
}

.project-actions {
  margin-top: 30px;
  display: flex;
  gap: 24px;
}

.project-btn {
  color: #ffffff;
  text-decoration: none;
}

.live-btn {
  background-color: #8a3ffc;
  padding: 15px 30px 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 23px;
}

.live-btn:hover {
  background-color: #70E61C;
}

.github-btn {
  background: transparent;
  padding: 15px 30px 15px 30px;
  border: 1px solid #70E61C;
  border-radius: 10px;
  font-size: 23px;
}

.github-btn:hover {
  background-color: #70E61C;
}

.portfolio-reference {
  margin: 140px auto 0;
  width: min(1171.5px, 100%);
  min-height: 344px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.testimonial-card-wrap {
  position: relative;
  flex: 0 0 851.5px;
  max-width: 851.5px;
}

.testimonial-quote {
  position: absolute;
  top: -34px;
  left: -58px;
  width: 96px;
  z-index: 2;
}

.testimonial-card {
  max-width: 851.5px;
  min-height: 272px;
  padding: 50px 72px;
  border: 4px solid #70E61C;
  border-radius: 40px;
  background: transparent;
}

.testimonial-text {
  margin: 0;
  text-align: left;
  color: #ffffff;
  font-size: 37px;
  line-height: 1.3;
  max-width: 820px;
}

.testimonial-footer {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-line {
  width: 320px;
  height: 3px;
  border-radius: 999px;
  background: #8a3ffc;
}

.testimonial-author {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
}

.testimonial-person-wrap {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  position: relative;
}

.testimonial-green-shadow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 600px;
  z-index: 0;
  pointer-events: none;
}

.testimonial-person {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #8a3ffc;
  position: relative;
  z-index: 2;
}

.testimonial-person-line {
  height: 4px;
  border-radius: 999px;
  background: #8a3ffc;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw;
  z-index: 10;
}

.testimonial-nav {
  margin-top: 46px;
  margin-bottom: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.nav-arrow {
  border: none;
  background: transparent;
  color: #70E61C;
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8a3ffc;
}

.nav-dot.active {
  background: #70E61C;
}

@media (min-width: 1100px) and (max-width: 1199px) {
  .portfolio-headline h1 {
    font-size: 70px;
  }

  .portfolio-reference {
    width: min(100%, 980px) !important;
  }

  .testimonial-card {
    max-width: 670px;
  }

  .headline-line-right {
    width: 40px;
  }

  .green-shadow-2 {
    width: 200px;
    height: 600px;
  }

  .portfolio-project {
    gap: 0;
  }

  .crm-shadow {
    left: 0;
    height: 700px;
    width: 350px;
  }

  .testimonial-card {
    max-width: 650px;
  }

  .portfolio-reference {
    width: min(100%, 940px) !important;
  }
}

@media (min-width: 1000px) and (max-width: 1099px) {
  .portfolio-headline h1 {
    font-size: 60px;
  }

  .portfolio-reference {
    width: min(100%, 870px) !important;
  }

  .testimonial-card {
    padding: 20px 30px;
  }

  .testimonial-card-wrap {
    max-width: 600px !important;
  }

  .crm-shadow {
    left: 0;
    height: 600px;
    width: 300px;
  }

  .testimonial-card {
    min-height: 250px;
  }

  .portfolio-project {
    gap: 0;
  }

  .testimonial-card {
    max-width: 530px;
  }
}

@media (min-width: 900px) and (max-width: 999px) {
  .portfolio-headline h1 {
    font-size: 60px;
  }

  .portfolio-project .project-content {
    max-width: 300px;
  }

  .portfolio-project .project-media {
    flex: 0 0 400px !important;
  }

  .portfolio-project {
    margin-top: 20px;
    gap: 0;
  }

  .crm-shadow {
    height: 400px !important;
    width: 300px !important;
  }

  .testimonial-card {
    max-width: 550px;
    padding: 20px 36px;
  }

  .testimonial-card-wrap {
    flex: 0 0 500px !important;
    max-width: 500px !important;
  }

  .portfolio-reference {
    gap: 0;
    width: min(100%, 800px) !important;
  }

  .contact-headline-container h2 {
    font-size: 60px;
  }
}

@media (min-width: 800px) and (max-width: 899px) {
  .portfolio-headline h1 {
    font-size: 50px;
  }

  .portfolio-project {
    gap: 0;
    margin-top: 40px;
  }

  .testimonial-card-wrap {
    flex: 0 0 500px !important;
    max-width: 430px !important;
  }

  .portfolio-reference {
    gap: 0 !important;
    width: min(100%, 700px) !important;
  }

  .portfolio-project .project-media {
    flex: 0 0 320px !important;
  }

  .crm-shadow {
    height: 400px !important;
    width: 300px !important;
  }

  .portfolio-section p {
    font-size: 18px;
  }

  h2 {
    font-size: 28px;
  }

  .testimonial-card {
    max-width: 400px;
    padding: 20px 31px;
    min-height: 170px;
  }

  .testimonial-quote {
    width: 60px !important;
    top: -26px !important;
    left: -21px !important;
  }

  .testimonial-person {
    width: 200px !important;
    height: 200px !important;
  }

  .testimonial-person-wrap {
    flex: 0 0 200px !important;
  }

  .portfolio-project .project-content {
    max-width: 390px !important;
  }
}

@media (min-width: 700px) and (max-width: 799px) {
  .portfolio-headline h1 {
    font-size: 40px;
  }

  .portfolio-project {
    gap: 0;
    margin-top: 40px;
  }

  .testimonial-card-wrap {
    flex: 0 0 400px !important;
    max-width: 400px !important;
  }

  .portfolio-reference {
    gap: 0 !important;
    width: min(100%, 650px) !important;
    margin-top: 60px !important;
  }

  .portfolio-project .project-media {
    flex: 0 0 320px !important;
  }

  .testimonial-nav {
    margin-top: -25px !important;
  }

  .crm-shadow {
    height: 400px !important;
    width: 300px !important;
  }

  .txt-portfolio {
    margin: 20px 140px 0px 140px !important;
  }

  .portfolio-section p {
    font-size: 16px !important;
  }

  .reverse {
    margin: 50px 60px 0px 60px !important;
  }

  .live-btn,
  .github-btn {
    font-size: 16px !important;
  }

  h2 {
    font-size: 24px;
  }

  .testimonial-card {
    padding: 10px 16px 10px 16px;
    min-height: 100px;
  }

  .testimonial-author {
    font-size: 18px;
  }

  .testimonial-quote {
    width: 50px !important;
    top: -17px !important;
    left: -14px !important;
  }

  .testimonial-person-line {
    left: 89% !important;
  }

  p {
    margin-right: 10px;
  }

  .testimonial-person {
    width: 180px !important;
    height: 180px !important;
  }

  .testimonial-person-wrap {
    flex: 0 0 200px !important;
  }

  .portfolio-project .project-content {
    max-width: 390px !important;
  }
}

@media (min-width: 600px) and (max-width: 699px) {
  .portfolio-headline h1 {
    font-size: 35px;
  }

  .portfolio-project {
    gap: 0;
    margin-top: 40px;
  }

  .testimonial-card-wrap {
    flex: 0 0 365px !important;
    max-width: 400px !important;
  }

  .portfolio-reference {
    gap: 0 !important;
    width: min(100%, 525px) !important;
    margin-top: 60px !important;
  }

  .portfolio-project .project-media {
    flex: 0 0 280px !important;
  }

  .project-media img {
    width: 90% !important;
  }

  .portfolio-projects {
    width: min(100%, 570px);
  }

  .testimonial-nav {
    margin-top: -25px !important;
  }

  .crm-shadow {
    height: 400px !important;
    width: 300px !important;
  }

  .txt-portfolio {
    margin: 20px 140px 0px 140px !important;
  }

  .portfolio-section p {
    font-size: 14px !important;
  }

  .reverse {
    margin: 50px 0px 0px 0px !important;
  }

  .live-btn,
  .github-btn {
    font-size: 16px !important;
  }

  h2 {
    font-size: 24px;
  }

  .testimonial-card {
    padding: 0px 20px 12px 20px !important;
    min-height: 100px !important;
    max-width: 320px !important;
  }

  .testimonial-author {
    font-size: 16px !important;
  }

  .testimonial-footer {
    margin-top: 35px !important;
  }

  .testimonial-quote {
    width: 50px !important;
    top: -17px !important;
    left: -14px !important;
  }

  .testimonial-person-line {
    left: 89% !important;
  }

  p {
    margin-right: 10px;
  }

  .testimonial-person {
    width: 150px !important;
    height: 150px !important;
  }

  .testimonial-person-wrap {
    flex: 0 0 165px !important;
  }

  .portfolio-project .project-content {
    max-width: 390px !important;
  }
}

@media (min-width: 500px) and (max-width: 599px) {
  .portfolio-headline h1 {
    font-size: 28px;
  }

  .portfolio-project {
    gap: 0;
    margin-top: 40px;
  }

  .testimonial-card-wrap {
    flex: 0 0 365px !important;
    max-width: 310px !important;
  }

  .portfolio-reference {
    gap: 0 !important;
    width: min(100%, 510px) !important;
    margin-top: 60px !important;
  }

  .portfolio-project .project-media {
    flex: 0 0 220px !important;
  }

  .portfolio-section {
    max-width: 450px;
  }

  .project-media img {
    width: 90% !important;
  }

  .portfolio-projects {
    width: min(100%, 570px);
  }

  .testimonial-nav {
    margin-top: -25px !important;
  }

  .crm-shadow {
    height: 400px !important;
    width: 300px !important;
  }

  .txt-portfolio {
    margin: 20px 50px 0px 50px !important;
  }

  .portfolio-section p {
    font-size: 14px !important;
  }

  .reverse {
    margin: 50px 0px 0px 0px !important;
  }

  .live-btn,
  .github-btn {
    font-size: 16px !important;
    padding: 8px 18px !important;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .testimonial-card {
    padding: 0px 20px 12px 20px !important;
    min-height: 100px !important;
    max-width: 290px !important;
  }

  .testimonial-author {
    font-size: 16px !important;
  }

  .testimonial-footer {
    margin-top: 35px !important;
  }

  .testimonial-quote {
    width: 50px !important;
    top: -17px !important;
    left: -14px !important;
  }

  .testimonial-person-line {
    left: 78% !important;
  }

  .nav-arrow {
    font-size: 35px;
  }

  p {
    margin-right: 10px;
  }

  .testimonial-person {
    width: 130px !important;
    height: 130px !important;
  }

  .testimonial-person-wrap {
    flex: 0 0 165px !important;
  }

  .portfolio-project .project-content {
    max-width: 390px !important;
  }
}


@media (max-width: 499px) {
  .portfolio-headline h1 {
    font-size: 28px;
  }

  .portfolio-project {
    gap: 0;
    margin-top: 40px;
  }

  .testimonial-card-wrap {
    flex: 0 0 365px !important;
    max-width: 310px !important;
  }

  .portfolio-reference {
    gap: 0 !important;
    width: min(100%, 510px) !important;
    margin-top: 60px !important;
  }

  .portfolio-project .project-media {
    flex: 0 0 220px !important;
  }

  .portfolio-section {
    max-width: 450px;
  }

  .project-media img {
    width: 90% !important;
  }

  .portfolio-projects {
    width: min(100%, 570px);
  }

  .testimonial-nav {
    margin-top: 30px !important;
  }

  .crm-shadow {
    height: 400px !important;
    width: 300px !important;
  }

  .txt-portfolio {
    margin: 20px 50px 0px 50px !important;
  }

  .portfolio-section p {
    font-size: 14px !important;
  }

  .reverse {
    margin: 50px 0px 0px 0px !important;
  }

  .live-btn,
  .github-btn {
    font-size: 16px !important;
    padding: 8px 18px !important;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .testimonial-card {
    padding: 0px 20px 12px 20px;
    min-height: 100px;
    max-width: 290px;
  }

  .testimonial-author {
    font-size: 16px !important;
  }

  .testimonial-footer {
    margin-top: 35px !important;
  }

  .testimonial-quote {
    width: 50px !important;
    top: -17px !important;
    left: -14px !important;
  }

  .testimonial-person-line {
    left: 78% !important;
  }

  .nav-arrow {
    font-size: 35px;
  }

  p {
    margin-right: 10px;
  }

  .testimonial-person {
    width: 130px !important;
    height: 130px !important;
  }

  .testimonial-person-wrap {
    flex: 0 0 165px !important;
  }

  .portfolio-project .project-content {
    max-width: 390px !important;
  }
}

@media (max-width: 499px) {
  .portfolio-headline {
    margin-top: 60px !important;
  }

  .headline-line-left {
    width: 50px;
  }

  .portfolio-headline h1 {
    font-size: 45px;
  }

  .headline-line-right {
    width: 20px;
    position: relative;
  }

  .portfolio-project,
  .portfolio-project.reverse {
    flex-direction: column !important;
    gap: 30px !important;
    margin-top: 60px !important;
  }

  .portfolio-project .project-media,
  .portfolio-project.reverse .project-media {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
  }

  .portfolio-project .project-content,
  .portfolio-project.reverse .project-content {
    order: 2 !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .portfolio-project .project-content h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 10px;
  }

  .portfolio-project .project-content h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .portfolio-project .project-content .p-txt {
    text-align: center;
    margin-right: 0 !important;
    font-size: 16px;
    line-height: 1.4;
  }

  .project-actions {
    display: flex;
    justify-content: center;
    gap: 15px !important;
    width: 100%;
    margin-top: 30px;
  }

  .project-media img {
    width: 100% !important;
  }

  .crm-shadow {
    content: url("../assets/images/Vector 4.png") !important;
    height: 400px !important;
    width: 400px !important;
    left: 7% !important;
    top: 110px;
  }

  .live-btn,
  .github-btn {
    flex: 1;
    max-width: 160px;
    padding: 12px 0px !important;
    font-size: 18px !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .portfolio-reference {
    flex-direction: column;
  }

  .testimonial-person-wrap {
    order: -1;
  }

  .testimonial-green-shadow {
    transform: translate(30%, -60%);
  }

  .testimonial-person {
    width: 140px !important;
    height: 140px !important;
  }

  .testimonial-person-line {
    width: 160px !important;
    left: 100% !important;
  }

  .testimonial-card {
    max-width: 350px;
    margin-top: 12px;
    padding: 0px 20px 12px 20px;
    min-height: 150px;
  }

  .testimonial-quote {
    top: 0px !important;
    left: -23px !important;
  }

  .testimonial-footer {
    margin-top: 40px !important;
  }

  .testimonial-card-wrap {
    flex: 0 0 280px !important;
  }

  p {
    margin-right: 40px;
  }
}

@media (max-width: 399px) {
  .portfolio-headline h1 {
    font-size: 38px;
  }

  .portfolio-project .project-media,
  .portfolio-project.reverse .project-media {
    width: 86% !important;
  }

  .portfolio-project .project-content h3 {
    text-align: center;
    font-size: 17px;
    margin-bottom: 5px;
    line-height: 1.4;
  }

  .portfolio-project .project-content h2 {
    font-size: 34px;
  }

  .live-btn,
  .github-btn {
    max-width: 130px;
  }

  .portfolio-project .project-content .p-txt {
    margin-right: 15px !important;
    margin-left: 15px !important;
  }
}

@media (max-width: 370px) {
  .portfolio-headline h1 {
    font-size: 34px;
  }

  .portfolio-project,
  .portfolio-project.reverse {
    margin-top: 18px !important;
  }

  .portfolio-project .project-media,
  .portfolio-project.reverse .project-media {
    width: 86% !important;
  }

  .portfolio-project .project-content h3 {
    text-align: center;
    font-size: 17px;
    margin-bottom: 5px;
    line-height: 1.4;
  }

  .portfolio-project .project-content h2 {
    font-size: 34px;
  }

  .live-btn,
  .github-btn {
    max-width: 130px;
  }

  .testimonial-card {
    max-width: 300px;
    padding: 0px 30px 0px 30px;
  }

  .testimonial-nav {
    margin-top: 20px !important;
  }

  .testimonial-author {
    font-size: 15px !important;
  }

  .testimonial-footer {
    margin-top: 38px !important;
  }

  .testimonial-card-wrap {
    flex: 0 0 200px !important;
  }
}

@media (max-width: 340px) {
  .testimonial-quote {
    width: 38px !important;
    left: -4px !important;
  }
}

@media (max-width: 320px) {
  .portfolio-headline h1 {
    font-size: 30px;
  }

  .portfolio-project .project-content h2 {
    font-size: 28px;
  }

  .portfolio-project .project-content h3 {
    font-size: 15px;
  }

  .live-btn,
  .github-btn {
    max-width: 120px;
    font-size: 14px !important;
    padding: 8px 0px !important;
  }

  .testimonial-card {
    max-width: 270px !important;
    padding: 0px 20px 0px 20px;
  }
}

.portfolio-headline {
  font-size: 90px;
  margin-top: 100px;
}

.portfolio-headline::after {
  justify-self: stretch;
}

.portfolio-project .project-media {
  flex: 0 0 520px;
}

.portfolio-project .project-content {
  max-width: 440px;
}

.live-btn,
.github-btn {
  font-size: 20px;
  padding: 12px 24px;
}

.portfolio-reference {
  margin-top: 100px;
  width: min(100%, 1050px);
  gap: 30px;
}

.testimonial-card-wrap {
  flex: 0 0 700px;
  max-width: 700px;
}

.testimonial-card {
  max-width: 700px;
  padding: 30px 20px;
}

.testimonial-text {
  font-size: 30px;
}

.testimonial-author {
  font-size: 24px;
}

.testimonial-line {
  width: 240px;
}

.testimonial-person {
  width: 230px;
  height: 230px;
}

.testimonial-person-wrap {
  flex: 0 0 230px;
}

.testimonial-quote {
  width: 76px;
  top: -28px;
  left: -44px;
}