@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

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

html {
  background-color: #222428;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins";
  overflow-x: hidden;
}

.header {
  position: absolute;
  background-color: #222428;
  z-index: 5;
  display: flex;
  gap: 298px;
  padding-left: 87px;
  padding-right: 42px;
  border-radius: 0px 0px 60px 0px;
  height: 93px;
  align-items: center;
}

.nav-ul {
  display: flex;
  list-style: none;
  gap: 68px;
}

.link {
  text-decoration: none;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: #f1f4f9;

  z-index: 11;
}

.link.selected {
  font-weight: 700;
}

.link.selected::after {
  display: inline-block;
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background-color: #f1f4f9;
  position: relative;
  right: 50%;
  top: 13px;
}

.wrapper {
  padding: 75px 97px;

  width: 100%;
}

.main {
  background: #f1f4f9;
  border-radius: 0px 60px 60px 60px;
  background-image: url("./images/background.png");
  background-repeat: no-repeat;
  background-position: calc(100% + 10px) -150px;

  padding-bottom: 45px;
}

.main-flex {
  display: flex;
  gap: 155px;
}

.big-text {
  font-style: normal;
  font-weight: 600;
  font-size: 104px;
  line-height: 96.5%;
  color: #44586a;

  margin-bottom: 40px;
  z-index: 11;
}

.light-text {
  color: #a2b4c3;
  z-index: 11;
}

.main__left {
  margin-left: 89px;
  margin-top: 307px;
  width: 560px;
  z-index: 11;
}

.main__right {
  margin-top: 200px;
  z-index: 11;
  display: flex;
  justify-content: center;
  flex: 1;
  margin-bottom: -50px;
}

.subtext {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  color: #44586a;
  opacity: 0.8;
  margin-bottom: 53px;
  z-index: 11;
}



.subtext img {
  position: relative;
  top: 6px;
  left: 5px;
  z-index: 11;
}

.my-works-link {
  position: relative;
  font-style: normal;
  font-weight: 700;
  font-size: 21.7195px;
  line-height: 33px;

  color: #44586a;
  text-transform: uppercase;
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 11px;
  padding-left: 25px;
  margin-bottom: 140px;
  z-index: 11;
}

.my-works-link span {
  z-index: 2;
}
.my-works-link img {
  z-index: 2;
}

.arrow-down {
  display: block;
  width: 24px;
  margin: 0 auto;
  z-index: 11;
}

.link-circle {
  width: 59px;
  height: 59px;
  border-radius: 100%;
  background-color: #ffffff;
  position: absolute;
  left: -25px;
  transform: translateX(50%);
  z-index: 1;
}

.subtitle {
  font-style: normal;
  font-weight: 600;
  font-size: 48px;
  line-height: 72px;

  text-align: center;
  z-index: 11;
}

.card-1-mobile {
  display: none;
}

.subtitle-light {
  color: #ffffff;
}

.subtitle-dark {
  color: #44586a;
}

.subtitle__description {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  z-index: 11;
  opacity: 0.8;
  width: 40%;
  text-align: center;
  margin: 0 auto;
}

.dark-bg-text {
  color: #ebebeb;
}

.light-bg-text {
  color: #44586a;
}

.clients-section {
  padding: 150px 100px 158px 100px;
}

.menu-btn,
.menu {
  display: none;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  align-items: center;
  margin-top: 67px;
  z-index: 11;
}

.client-logos div {
  flex-basis: 20%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Make client logos smaller and consistent */
.client-logos img {
  height: 46px;
  width: auto;
}

.logo-antler {
  max-width: 120px;
  flex: 1 0 auto;
}

.section-light {
  background-color: #f1f4f9;
}

.skillset-section {
  padding: 127px 162px 127px 162px;
}

.skillset-section .subtitle-dark {
  color: #44586a;
}

.skillset-section .light-bg-text {
  color: #44586a;
}

.skill-flex {
  display: flex;
  margin-top: 60px;
  justify-content: space-around;
  gap: 20px;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  width: 287px;
  z-index: 11;
}

.skill-title {
  margin-top: 5px;
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 39px;
  text-align: center;
  color: #44586a;
  z-index: 11;
}

.skill-description {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
  color: #44586a;
  opacity: 0.8;
  z-index: 11;
}

.design-section {
  padding: 150px 98px 150px 98px;
  width: 100vw;
}

.showreel {
  margin: 0 auto;

  margin-top: 55px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 55px;
}

.card-1 {
  flex: 1;
  max-width: 100%;
  display: block;
  z-index: 11;
}

.card-1-mobile {
  z-index: 11;
}

.card-2,
.card-3,
.card-4,
.card-5 {
  z-index: 11;
  display: block;
  width: calc((100% - 55px) / 2);
}
.card-2 img,
.card-3 img,
.card-4 img {
  display: block;
  width: 100%;
}

.feedback-section {
  padding: 0 230px;
  position: relative;
}

.carousel {
  display: flex;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 144px;
  gap: 107px;

  position: relative;
  height: max(400px, 100%);
}

.carousel p {
  font-style: normal;
  text-align: center;
  color: #ebebeb;
  opacity: 0.8;
  z-index: 11;
}

.review {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  z-index: 11;
}

.author {
  font-weight: 700;
  font-size: 24px;
  line-height: 122.5%;
  z-index: 11;
}

.company {
  font-weight: 400;
  font-size: 22px;
  line-height: 122.5%;
  margin-top: -20px;
  z-index: 11;
}

.carousel-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 11;
}

.arrow-left {
  position: absolute;
  left: -156px;
  z-index: 11;
}

.arrow-right {
  position: absolute;
  right: -156px;
  z-index: 11;
}

.connect-section {
  background: url("./images/card-bg.png") no-repeat;
  background-color: #f1f4f9;
  background-position: right;
  border-radius: 40px;
  margin: 0 264px;

  padding: 30px 64px;
  position: relative;
  z-index: 12;
}

.connect-section p,
.connect-section h3 {
  text-align: left;
  margin: 0;
  width: 100%;
  z-index: 12;
}

.connect-section p {
  width: 65%;
  margin-top: 12px; /* space between title and subtitle */
  margin-bottom: 24px;
  z-index: 12;
}

.btn {
  font-style: normal;
  font-weight: 600;
  font-size: 23.0997px;
  line-height: 35px;
  z-index: 12;
  background: #4281d4;
  box-shadow: 0px 4.81106px 12.0276px rgba(44, 43, 43, 0.25);
  border-radius: 10px;
  text-decoration: none;
  color: white;
  padding: 18px 43px;

  display: inline-block;
}

.footer {
  position: relative;
  padding-bottom: 147px;
}

.footer-text {
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 39px;
  text-align: center;
  color: #ffffff;
  opacity: 0.8;

  margin-top: 75px;
}

.footer::before {
  content: "";
  display: block;
  background: #44586a;
  border-top-right-radius: 48px;
  border-top-left-radius: 48px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 500px;
  z-index: -1;
}

.social-icons img {
  height: 24px;
  width: auto; /* keeps aspect ratio */
}

.social-icons {
  margin: 0 auto;
  width: fit-content;
  display: flex;
  gap: 40px;
  margin-top: 34px;
}

.copyright {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 11;
  text-align: center;
  background: #ffffff;
  padding: 18px 0;
  color: #44586ad0;
}

.line {
  z-index: 10;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100px;
  width: 0.2px;
  background-color: rgba(165, 165, 165, 0.2);
}

@media (max-width: 1600px) {
  /* DESKTOP */
  .wrapper {
    padding: 75px 73px;
  }

  .main__right img {
    width: 512px;
  }

  .main-flex {
    gap: 40px;
  }

  .design-section {
    padding-left: 160px;
    padding-right: 160px;
  }

  .subtitle__description {
    width: 60%;
  }

  .connect-section p {
    font-size: 16px;
    line-height: 24px;
    width: 80%;
  }

  .connect-section {
    padding: 45px 45px;
  }
}

@media (max-width: 1340px) {
  /* TABLET */

  .header {
    height: 58px;
    padding-left: 54px;
    padding-right: 25px;
    gap: 110px;
    border-radius: 0px 0px 36px 0px;
  }

  .wrapper {
    padding: 55px 88px 0 88px;
  }

  .link {
    font-size: 12px;
  }

  .nav-ul {
    gap: 42px;
  }

  .link.selected::after {
    width: 4px;
    height: 4px;
  }

  .logo {
    width: 29px;
  }

  .main__right img {
    width: 350px;
    margin-right: 68px;
  }

  .main__right {
    margin-top: 130px;
  }

  .big-text {
    font-size: 64px;
    margin-bottom: 0;
  }

  .subtext {
    font-size: 16px;
    line-height: 22px;
    margin: 26px 0;
  }

  .main__left {
    max-width: 350px;
    margin-top: 190px;
    margin-left: 55px;
  }

  .subtext .star {
    height: 16px;
    top: 3px;
    left: 0;
  }

  .my-works-link {
    font-size: 16px;
    padding-left: 14px;
    margin-bottom: 94px;
  }

  .link-circle {
    width: 36px;
    height: 36px;
    left: -20px;
  }

  .my-works-link img {
    width: 14px;
  }

  .arrow-down img {
    width: 20px;
  }

  .clients-section {
    padding: 100px 84px;
  }

  .subtitle {
    font-size: 34px;
    line-height: 36px;
    margin-bottom: 15px;
  }

  .subtitle__description {
    font-size: 16px;
    line-height: 24px;
    width: 100%;
  }

  .client-logos {
    margin-top: 50px;
    gap: 56px 12px;
    justify-content: space-evenly;
  }

  .client-logos div {
    height: 32px;
  }

  .skillset-section {
    padding: 90px 85px;
    
  }



  .skill-card {
    width: calc((100% - 30px) / 4);
  }

  .skill-title {
    font-size: 18px;
    line-height: 28px;
    color: #44586a;
  }

  .skill-description {
    font-size: 14px;
    line-height: 19px;
    color: #44586a;
  }

  .skill-dot {
    width: 7px;
    height: 7px;
  }

  .skill-icon {
    height: 28px;
  }

  .design-section {
    padding: 100px 85px;
  }

  .review {
    font-size: 14px;
    line-height: 22px;
  }

  .author,
  .company {
    font-size: 18px;
  }

  .carousel {
    gap: 30px;
    justify-content: space-around;
    margin-bottom: 100px;
  }

  .quotes {
    width: 28px;
  }

  .arrow-right,
  .arrow-left {
    width: 24px;
  }

  .btn {
    font-size: 16px;
    padding: 13px 30px;
  }

  .connect-section p {
    font-size: 16px;
    line-height: 24px;
    width: 80%;
  }

  .connect-section {
    padding: 45px 45px;
  }

  .footer-text {
    font-size: 18px;
    margin-top: 57px;
  }

  .social-icons {
    gap: 26px;
    margin-top: 22px;
  }

  .footer::before {
    border-radius: 0;
    height: 400px;
  }

  .footer {
    padding-bottom: 105px;
  }

  .feedback-section {
    padding: 0 150px;
  }

  .arrow-left {
    left: -86px;
  }
  .arrow-right {
    right: -86px;
  }
}

@media (max-width: 950px) {
  /* TABLET_MINI */

  .main {
    background-position: calc(100% + 10px) 100px;
  }

  .main-flex {
    flex-direction: column;
    justify-content: center;
  }

  .main__left {
    width: 100%;
    max-width: 100%;
    margin-top: 134px;
    margin-left: 0;

    padding: 0 44px;
  }

  .main__right {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main__right img {
    margin: 0;
    margin-bottom: 190px;
    width: 312px;
  }

  .my-works-link {
    margin-bottom: 0;
  }

  .carousel-card {
    padding: 0;
    height: 240px;
  }

  .carousel-card:not(:first-of-type) {
    display: none;
  }

  .arrow-left {
    left: -24px;
  }

  .arrow-right {
    right: -24px;
  }
}

@media (max-width: 600px) {
  /* MOBILE */
  .nav-ul {
    display: none;
  }

  .header {
    width: calc(100% - 110px);
  }

  .wrapper {
    padding: 0;
  }

  .subtitle {
    font-size: 24px;
  }

  .main {
    border-radius: 0;
  }

  .main__right,
  .main__right img {
    max-width: 100%;
    margin-bottom: -20px;
    

  }

  .client-logos {
    justify-content: space-evenly;
    gap: 20px;
  }

  .clients-section {
    padding: 80px 44px;
  }

  .client-logos div {
    max-width: 150px;
    transform: scale(0.6);
    width: fit-content;
    height: 24px;
  }

  .skillset-section {
    padding: 74px 44px;
    
  }

  .skill-flex {
    flex-direction: column;
    gap: 34px;
  }

  .skill-card {
    width: 100%;
    gap: 10px;
  }

  .feedback-section {
    padding: 0 44px;
  }

  .connect-section {
    margin: 0 24px;
    padding: 24px 46px;
    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 24px;
  }

  .connect-section p,
  .connect-section h3 {
    text-align: center;
  }

  .connect-section p {
    width: 100%;
    margin: 20px 0;
  }

  .btn {
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
  }

  .connect-section h3 {
    font-size: 24px;
  }

  .footer::before {
    border-top-right-radius: 37px;
    border-top-left-radius: 37px;
  }

  .footer-text {
    margin-top: 42px;
  }

  .header {
    height: 67px;
  }

  .menu-btn {
    display: block;
    position: absolute;
    right: 44px;
    top: 21px;
  }

  .menu {
    display: block;
    width: 100vw;
    height: 100vh;
    background-color: #222428;
    position: fixed;

    padding: 54px 44px;

    top: -100vh;
    z-index: 12;
    transition: 1s;
  }

  .menu-nav-ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 55px;
  }

  .menu-nav-ul li a {
    font-size: 25px;
  }

  .menu .logo {
    width: 54px;
    margin-bottom: 15px;
    margin-top: 146px;
  }

  .link.selected::after {
    width: 10px;
    height: 10px;
    position: static;
    margin-left: 13px;
    margin-bottom: 3px;
  }

  .back-btn {
    background: transparent;
    border: none;

    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;

    color: #f1f4f9;

    display: flex;
    align-items: center;
    gap: 8px;
  }

  .back-btn img {
    height: 26px;
  }

  .design-section {
    padding: 80px 44px;
  }

  .card-1 {
    display: none;
  }

  .card-1-mobile {
    display: block;
  }

  .showreel {
    flex-direction: column;
    gap: 44px;
  }

  .card {
    width: 100%;
  }
}

@media (min-width: 1600px) {
  .main__right img,
    .main__right img {
    width: 512px;
  }

  .main {
    background-size: 70%;
  }
}
