* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  color: white;
  border: none;
  outline: none;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
:root {
  --Main-font: "Manrope", sans-serif;
  --primary-bg: rgba(7, 7, 8, 1);
  --secondary-color: rgba(87, 58, 238, 1);
  --primary-font-color: rgba(196, 196, 196, 1);
  --secondary-font-color: rgba(255, 255, 255, 1);
  --main-font-color: rgba(121, 124, 134, 1);
}

body {
  background: var(--primary-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}

header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 5rem;
  background-color: var(--primary-bg);
  backdrop-filter: blur(5px);
  padding: 3rem 5%;
  border-bottom: solid 1px rgba(28, 28, 33, 1);
  align-items: center;
  justify-content: center;
  animation: dropIn 1s ease-out forwards;
  z-index: 1000;
}

@keyframes dropIn {
  from {
    transform: translateY(-100px);
    opacity: 0.5;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 5rem;
  z-index: 10000;
}

nav p {
  color: var(--secondary-font-color);
  font-family: var(--Main-font);
  text-transform: uppercase;
  font-size: clamp(20px, 2vw, 40px);
  font-weight: 700;
}

nav p:hover {
  scale: 1.05;
}

nav p:active {
  scale: 0.95;
}

nav ul {
  display: flex;
  gap: 4rem;
  list-style: none;
}

nav a {
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: var(--primary-font-color);
  font-family: var(--Main-font);
  transition: all 0.3 ease;
  position: relative;
  cursor: pointer;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--secondary-font-color);
  font-size: 18.3px;
}

nav a:active {
  font-size: 17.5px;
}

nav a.active::after {
  width: 100%;
}
nav a:hover::after {
  width: 100%;
}

nav button {
  background: rgba(28, 28, 33, 1);
  border: 3px solid rgba(47, 47, 55, 0);
  color: var(--secondary-font-color);
  font-size: 18px;
  padding: 16px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease-out;
  /* width: 148px;
    height: 59px; */
}

nav button:hover {
  background: rgb(45, 45, 53);
  scale: 1.02;
}

nav button:active {
  background: rgb(72, 72, 84);
  scale: 0.95;
}

.hero_section {
  width: 80vw;
  height: 520px;
  margin-top: 30vh;
  justify-self: center;
  background-image: url(../assets/hero2.png);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
  position: relative;
  padding: 0;
  animation: fadeIn 0.5s 1s linear backwards;
  z-index: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.hero-text {
  width: 84%;
  background: transparent;
  position: absolute;
  right: 0;
  padding: 0 1px 0 25px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  top: 14px;
}
.hero-text h6 {
  color: var(--primary-font-color);
  font-family: var(--Main-font);
  font-weight: bold;
  font-size: 21px;
  /* align-self: self-start; */
  text-transform: capitalize;
}
.hero-text h2 {
  color: var(--secondary-font-color);
  font-family: var(--Main-font);
  font-weight: 600;
  font-size: 2.3rem;
  text-transform: uppercase;
}

.hero-text p {
  color: var(--primary-font-color);
  font-family: var(--Main-font);
  font-weight: lighter;
  font-size: 16px;
  text-transform: capitalize;
  line-height: 1.6;
}

.hero-img {
  background: transparent;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.hero-command {
  height: 14%;
  background: transparent;
  position: absolute;
  right: 2px;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 30px;
  width: 20%;
}

.hero-command span {
  text-transform: uppercase;
  font-size: 22px;
  font-family: var(--Main-font);
  color: var(--primary-font-color);
  font-weight: lighter;
}

.portrait {
  display: flex;
  gap: 10px;
  width: 80vw;
  margin-top: 9rem;
  justify-self: center;
  margin-bottom: 2rem;
}

.portrait-text {
  display: flex;
  flex-direction: column;
  justify-items: left;
  justify-content: space-between;
  gap: 1.5rem;
  width: 50%;
  min-height: 270px;
}

.portrait-text h3 {
  text-transform: uppercase;
  font-size: 2rem;
  font-family: var(--Main-font);
  color: var(--main-font-color);
  font-weight: 700;
}

.portrait-text p {
  text-transform: capitalize;
  font-size: 0.9rem;
  font-family: var(--Main-font);
  color: var(--main-font-color);
  font-weight: 400;
  line-height: 25px;
  word-wrap: break-word;
  word-break: keep-all;
}

.portrait-text button {
  background-color: var(--primary-bg);
  padding: 15px 20px;
  width: max-content;
  cursor: pointer;
  transition: all 0.3s ease-out;
  font-size: 15px;
  color: var(--primary-font-color);
  text-transform: uppercase;
}

.portrait-text button:hover {
  background: #1b1a1a;
  scale: 1.1;
}

.portrait-text button:active {
  background: #404040;
  scale: 0.95;
}

.portrait-img {
  background-image: url(../assets/Image.png);
  border-radius: 10px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: cover;
  /* overflow: hidden; */
  position: relative;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: 45%;
  height: 200px;
}

.port-button-cointainer button {
  display: flex;
  justify-items: center;
  align-items: center;
  background: inherit;
  border-radius: 50%;
  background: #4040402f;
  border: solid 1px rgba(128, 128, 128, 0.111);
  cursor: pointer;
}

.port-button-cointainer button img {
  height: 30px;
  width: 30px;
}

#faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 50px auto;
}

.book-call-button:hover {
  cursor: pointer;
}

footer {
  background: var(--primary-bg);
  padding: 60px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Top footer sections */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 40px;
}

.cta {
  grid-column: span 1;
}

.cta p {
  font-size: 14px;
  color: var(--main-font-color);
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 500;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--secondary-font-color);
  font-weight: 700;
}

.cta button {
  background: var(--secondary-color);
  color: var(--secondary-font-color);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(87, 58, 238, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--Main-font);
}

.cta button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 58, 238, 0.4);
}

.cta button:active {
  transform: translateY(0);
}

.footer-links h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--secondary-font-color);
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 8px;
  font-weight: 600;
}

.footer-links h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--primary-font-color);
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 400;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Bottom footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  font-size: 14px;
  color: var(--main-font-color);
}

.footer-bottom .socials {
  display: flex;
  gap: 20px;
}

.footer-bottom .socials a {
  color: var(--primary-font-color);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.footer-bottom .socials a:hover {
  color: var(--secondary-font-color);
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom .legal {
  display: flex;
  gap: 20px;
}

.footer-bottom .legal a {
  color: var(--primary-font-color);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 400;
}

.footer-bottom .legal a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  width: 100%;
  margin-top: 15px;
  font-size: 13px;
  color: var(--main-font-color);
}

.DAMIEN {
  font-size: 10rem;
  font-family: var(--Main-font);
  color: rgba(121, 124, 134, 0.3);
  text-transform: uppercase;
  display: flex;
  justify-self: flex-start;
  justify-content: flex-end;
  width: 95%;
  font-weight: 600;
  margin-top: -3rem;
}

@keyframes scrollleft {
  to {
    left: -250px;
  }
}
.infinite-scroll {
  width: 100%;
  overflow: hidden;
  background: rgba(14, 14, 16, 1);
  border: solid 1px rgba(28, 28, 33, 1);
}

.infinite-scroll ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  height: 43px;
  position: relative;
  width: 100%;
  justify-content: center;
}

.infinite-scroll ul :nth-child(1) {
  animation-delay: calc((30s / 7) * (7 - 1) * -1);
}

.infinite-scroll ul :nth-child(2) {
  animation-delay: calc((30s / 7) * (7 - 2) * -1);
}

.infinite-scroll ul :nth-child(3) {
  animation-delay: calc((30s / 7) * (7 - 3) * -1);
}

.infinite-scroll ul :nth-child(4) {
  animation-delay: calc((30s / 7) * (7 - 4) * -1);
}

.infinite-scroll ul :nth-child(5) {
  animation-delay: calc((30s / 7) * (7 - 5) * -1);
}

.infinite-scroll ul :nth-child(6) {
  animation-delay: calc((30s / 7) * (7 - 6) * -1);
}

.infinite-scroll ul :nth-child(7) {
  animation-delay: calc((30s / 7) * (7 - 7) * -1);
}

.infinite-scroll li {
  position: absolute;
  animation: scrollleft 30s linear infinite;
  left: 100%;
  width: 100%;
}

.pricing-card {
  width: 80%;
  margin: auto;
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px rgba(128, 128, 128, 0.218);
  padding-top: 20px;
  padding-bottom: 20px;
}

.pricing-info-card {
  border: solid rgba(128, 128, 128, 0.207) 1px;
  border-radius: 5px;
  padding: 15px;
  font-size: small;
  color: rgba(128, 128, 128, 0.664);
  margin: 20px 10px;
  max-width: 600px;
  transition: all 0.3s ease-out;
}

.pricing-info-card:hover {
  scale: 1.03;
  cursor: pointer;
}

.portrait-img-v2 {
  width: 50%;
}
.portrait-img-v2 img {
  position: relative;
  width: 100%;
}
.port-button-cointainer {
  align-self: center;
  justify-self: center;
  position: relative;
  bottom: 25px;
}
.faq {
  margin: 70px auto 16px auto;
  width: 80%;
}

section {
  overflow-x: hidden;
}

@media (max-width: 1100px) {
  .hero_section {
    height: 390px;
  }

  .hero-text {
    width: 84%;
    gap: 0.5rem;
    top: 25px;
  }
  .hero-text h6 {
    font-size: 18px;
  }

  .hero-text h2 {
    font-size: 25px;
  }

  .hero-text p {
    font-size: 11px;
  }
  .hero-img {
    background: transparent;
    position: absolute;
    left: 0;
    bottom: 0;
    margin-left: 10px;
  }

  .hero-command {
    padding-left: 25px;
  }

  .hero-command span {
    font-size: 16px;
  }

  .hero-img img {
    width: 65px;
    height: 65px;
    object-fit: cover;
  }
  nav p {
    font-size: clamp(15px, 2.5vw, 40px);
  }

  nav ul {
    gap: 2rem;
  }

  nav a {
    font-size: 15px;
  }

  nav a:hover {
    font-size: 15.3px;
  }
  nav button {
    font-size: 15px;
    padding: 13px 17px;
  }

  .portrait-text h3 {
    font-size: 25px;
  }

  .portrait-text p {
    font-size: 13px;
    line-height: 20px;
  }

  .portrait-text button {
    padding: 0px 0px;
    font-size: 13px;
  }

  .portrait-text {
    gap: 1rem;
  }

  .view-proj {
    font-size: 12px !important;
  }

  .view-proj-img {
    width: 12px !important;
  }

  .portrait {
    gap: 20px;
  }

  .port-button-cointainer button img {
    height: 25px;
    width: 25px;
  }
  .portrait-text {
    width: 100%;
    min-height: 180px;
  }

  .port-button-cointainer {
    bottom: 17px;
  }
  .portrait-img {
    width: 100%;
    height: 100px;
    padding-bottom: 300px;
  }
  /* .pricing-info-card */

  .portrait-img-v2 {
    width: 90%;
    margin: auto;
  }
  #faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 35px;
    margin: 50px auto;
    justify-items: stretch;
    align-items: center;
    align-content: center;
  }

  .faq {
    width: 90%;
  }

  .DAMIEN {
    font-size: 7.5rem;
  }

  .infinite-scroll li {
    font-size: 12.5px;
  }
}

@media (max-width: 780px) {
  header {
    padding: 2rem 5%;
  }

  nav a {
    font-size: 12px;
  }

  nav a:hover {
    font-size: 12.3px;
  }
  nav button {
    font-size: 12px;
    padding: 9px 11px;
  }
  .hero_section {
    height: 300px;
  }

  .hero-text h6 {
    font-size: 13px;
  }
  .hero-text h2 {
    font-size: 18px;
  }

  .hero-text p {
    font-size: 8px;
  }

  .hero-text {
    width: 86%;
  }
  .hero-img img {
    width: 48px;
    height: 48px;
    object-fit: cover;
  }

  .hero-img {
    margin-left: 4px;
  }

  .hero-command {
    bottom: 12px;
    width: 22%;
  }

  .hero-command span {
    font-size: 11px;
  }

  .portrait {
    margin-top: 5rem;
    flex-direction: column;
  }

  .portrait-img-v2 {
    width: 100%;
  }

  .port-button-cointainer-sub {
    position: relative !important;
    gap: 15px !important;
    padding: 5px 8px !important;
    border-radius: 25px !important;
    bottom: 5px !important;
  }

  .port-button-cointainer button img {
    height: 35px;
    width: 35px;
  }
  .pricing-card {
    flex-direction: column;
  }

  .pricing-card-item-left {
    width: 100%;
  }

  body
    > section.category1
    > section
    > div:nth-child(1)
    > div.pricing-card-item-left
    > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .grid-prob {
    display: grid !important;
    grid-template-columns: 3fr 1fr !important;
    align-items: baseline;
    gap: 10px;
  }

  body > section.faq > p:nth-child(2) {
    font-size: 23px !important;
  }

  .js-prob {
    font-size: 13px !important;
  }

  .js-prob2 {
    font-size: 10px !important;
  }

  .DAMIEN {
    font-size: 5.5rem;
  }

  .infinite-scroll li {
    font-size: 10px;
  }

  .infinite-scroll ul {
    height: 30px;
  }
  .cta p {
    font-size: 10px;
  }

  .cta h2 {
    font-size: 25px;
  }

  .cta button {
    padding: 12px 22px;
    font-size: 13px;
  }

  .footer-links h3 {
    font-size: 14px;
  }

  .footer-links ul li a {
    font-size: 13px;
  }

  .copyright {
    font-size: 11px;
  }
}

@media (max-width: 500px) {
  .menu {
    display: block !important;
  }
  nav ul {
    gap: 2rem;
    position: fixed;
    top: 0;
    border: white solid 1px;
    right: -100%;
    height: fit-content;
    padding: 10px 10px 30px 10px;
    margin-top: 25vh;
    border-radius: 20px;
    width: 50vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    transition: all 0.6s ease-in-out;
  }

  nav a.active::after {
    width: 0%;
  }

  nav a.active {
    color: var(--secondary-color);
    font-weight: 700;
  }

  .Xmenu {
    display: flex;
    width: 14%;
    height: 25px;
    align-items: center;
    justify-content: center;
    display: flex !important;
    justify-content: right;
    width: 100%;
  }
  .Xmenu-icon {
    height: 30px;
    width: 30px;
  }

  .backdrop-overlay {
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.526);
    display: none;
  }
  nav a {
    font-size: 15px;
  }

  nav button {
    font-size: 12px;
    padding: 10px 28px;
    position: absolute;
    top: 85vh;
    right: 33%;
    display: none;
  }

  .hero_section {
    height: 200px;
    margin-top: 120px;
    background-image: url(../assets/hero.png);
    overflow: visible;
    margin-bottom: 13rem;
    width: 95%;
    background-size: cover;
  }

  .hero-text {
    gap: 0.7rem;
    top: 120%;
    position: relative;
    width: 100%;
    padding: 0;
  }

  .hero-text h6 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
  }

  .hero-text h2 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 13px;
  }
  .hero-img img {
    width: 27px;
    height: 27px;
    display: none;
  }

  .hero-command {
    display: none;
    bottom: 0px;
    width: 24%;
  }

  .hero-command span {
    font-size: 7px;
  }

  .port-button-cointainer button img {
    height: 25px;
    width: 25px;
  }

  .port-button-cointainer-sub {
    bottom: 15px !important;
  }
  .pricing-card {
    width: 95%;
  }
  .faq {
    width: 95%;
  }
  .portrait {
    width: 95%;
  }
  .portrait-img-v2 {
    width: 100%;
  }
  .port-button-cointainer {
    bottom: -20%;
  }
  .grid-prob {
    grid-template-columns: 2fr 1fr !important;
  }

  #faq-container {
    grid-template-columns: 1fr;
  }

  .DAMIEN {
    font-size: 4rem;
  }

  .infinite-scroll li {
    font-size: 7.5px;
  }

  .infinite-scroll ul {
    height: 25px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    font-size: 11px;
    gap: 20px;
    flex-direction: column;
  }

  .copyright {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .hero-text {
    width: 90%;
    gap: 0.2rem;
  }

  .hero-text h2 {
    font-size: 25px;
  }

  .hero-command span {
    font-size: 6px;
  }

  .grid-prob {
    grid-template-columns: 1.5fr 1fr !important;
  }
}
