@import url("./excon.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.cta-fix {
  border-radius: 50px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2;
}

@media screen and (max-width: 700px) {
  .cta-fix svg {
    width: 20px;
    height: 20;
  }
}

.cta-fix svg {
  color: var(--cta);
  width: 40px;
  height: 40px;
  animation-name: myAnimation;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
}

@keyframes myAnimation {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

:root {
  --font-bold: Excon-Bold;
  --font-medium: Excon-Medium;
  --font-text: "Inter", sans-serif;
}

h2 {
  font-family: var(--font-bold);
}

h5,
h3 {
  font-family: var(--font-medium) !important;
}
p,
li,
a {
  font-family: var(--font-text);
}

:root {
  --primary: #64acaa;
  --primary-500: #499190;
  --primary-600: #3f797b;
  --cta: #bd7776;
  --cta-600: #ac6466;
  --cta-700: #8a464a;
  --border: #2c3237;
  --hover-card: #adb5bd;
  --cta-btn-color: #000000;
  --success: #3b9b5a;
  --text-main: #fff;
  --glow-y: 300px;
  --wallpaper-accent: #386366;
  --wallpaper-accent-transparent: rgba(26, 100, 112, 0.349);
  --card-glow-color: #386366;
  --card-glow-transparent: rgba(26, 100, 112, 0);
}

:root {
  --space4: 4px;
  --space8: 8px;
  --space12: 12px;
  --space16: 16px;
  --space24: 24px;
  --space32: 32px;
  --space48: 48px;
  --space64: 64px;
  --space96: 96px;
  --space128: 128px;
}

:root {
  --h1: clamp(23px, 11.2vw, 112px);
  --h2: clamp(22px, 8.4vw, 84px);
  --h3: clamp(20px, 6.3vw, 63px);
  --h5: clamp(20px, 2.5vw, 25px);
  --p: clamp(16px, 2vw, 20px);
}

/* nav start*/

header {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.55) 0%,
    rgba(20, 22, 22, 0.65) 50%,
    rgba(23, 24, 24, 0.55) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid var(--border);
  position: fixed;
  top: var(--space24);
  width: 1000px;
  padding: 24px;
  border-top-right-radius: 48px;
  border-bottom-left-radius: 24px;
  z-index: 2000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-medium);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav-links ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-primary);
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  padding: 8px 0;
  position: relative;
  transition: all ease-in-out 0.3s;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary);
  transition: all ease-in-out 0.3s;
  border-radius: 50px;
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* WCAG ACC */
.nav-links a:focus,
.view-my-work-btn:focus,
.social-links a:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.lets-connect-btn:focus,
.cta-pack-btn:focus,
.cta-about-me-btn:focus,
#submit-input:focus,
.cta-fix:focus {
  outline: 3px solid var(--cta);
  outline-offset: 2px;
}

.cta-services-btn a:focus,
.cta-project-btn a:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@media screen and (max-width: 1000px) {
  nav {
    width: 95%;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav {
    display: block;
  }

  .nav-mobile {
    display: block !important;
    z-index: 2;
  }
}

/* Mobile Nav Start */

.nav-mobile,
.nav-mobile-links {
  display: none;
}

.nav-mobile button {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  margin-right: 3rem;
}

.nav-mobile-links {
  position: fixed;
  top: 110px;
  z-index: 2;
  width: 95%;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.55) 0%,
    rgba(20, 22, 22, 0.65) 50%,
    rgba(23, 24, 24, 0.55) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid var(--border);
  padding: 24px;
  border-bottom-left-radius: 48px;
  gap: var(--space48);
}

.nav-mobile-links ul,
.nav-mobile-links li {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-direction: column;
  transition: background 0.3s ease;
}

.nav-mobile-links li {
  margin: var(--space24);
  font-family: var(--font-primary);
}

.nav-mobile-links.active {
  pointer-events: auto;
}

.nav-mobile-links a {
  font-family: var(--font-text);
  font-size: var(--h5);
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-mobile-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.nav-mobile-links a:focus-within {
  outline: 2px solid var(--primary);
}

/* Mobile Nav End */

/* nav end */

.site-wallpaper {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #000;
  overflow: hidden;
  pointer-events: none;
}

.slk-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: url(./background/silk-1790365084418.png); /* fallback dacă video-ul nu se încarcă */
}

.site-wallpaper__base {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgb(46, 46, 46) 0%,
    rgb(0, 0, 0) 100%
  );
  -webkit-mask: radial-gradient(
    125% 100% at 0% 0%,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.224) 88.2883%,
    rgba(0, 0, 0, 0) 100%
  );
  mask: radial-gradient(
    125% 100% at 0% 0%,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.224) 88.2883%,
    rgba(0, 0, 0, 0) 100%
  );
}

.site-wallpaper__streak {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: linear-gradient(
    var(--wallpaper-accent) 0%,
    var(--wallpaper-accent-transparent) 100%
  );
  transform: skewX(45deg);
}

.site-wallpaper__streak--1 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__streak--2 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 11%,
    rgb(0, 0, 0) 25%,
    rgba(0, 0, 0, 0.55) 41%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 11%,
    rgb(0, 0, 0) 25%,
    rgba(0, 0, 0, 0.55) 41%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__streak--3 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
}

/* Streak-urile 4 și 5 sunt vizual foarte apropiate de 1 și 2 -
   dacă vrei performanță maximă poți renunța la ele. Le las opționale: */
.site-wallpaper__streak--4 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 17%,
    rgba(0, 0, 0, 0.55) 26%,
    rgb(0, 0, 0) 35%,
    rgba(0, 0, 0, 0) 47%,
    rgba(0, 0, 0, 0.13) 69%,
    rgb(0, 0, 0) 79%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 17%,
    rgba(0, 0, 0, 0.55) 26%,
    rgb(0, 0, 0) 35%,
    rgba(0, 0, 0, 0) 47%,
    rgba(0, 0, 0, 0.13) 69%,
    rgb(0, 0, 0) 79%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__streak--5 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 27%,
    rgb(0, 0, 0) 42%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 74%,
    rgb(0, 0, 0) 82%,
    rgba(0, 0, 0, 0.47) 88%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 27%,
    rgb(0, 0, 0) 42%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 74%,
    rgb(0, 0, 0) 82%,
    rgba(0, 0, 0, 0.47) 88%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__dots {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.5) 1px,
    transparent 0
  );
  background-size: 20px 20px;
}

.site-wallpaper__highlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(30, 41, 59, 0.2) 0%,
    transparent 60%,
    transparent 100%
  );
}

.hero-section {
  padding: var(--space96) 0;
  background-size: cover;
  background-position: center;
  max-width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.my-presentation {
  width: 1000px;
  min-height: 700px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all ease-in-out 0.3s;
}

.presentation-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  width: 800px;
  text-align: center;
}
.presentation-wrapper h1 {
  font-family: var(--font-bold);
  font-size: var(--h1);
  color: var(--text-main);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 0 8px 4px #ffffff2a;
}

.presentation-wrapper h2 {
  margin-top: var(--space24);
  font-size: var(--h2);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 8px 4px #00b7ff39;
}

.presentation-wrapper p {
  margin-top: var(--space24);
  font-size: var(--p);
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 500;
}

.cta-btns {
  margin-top: var(--space48);
  display: inline-block;
}

.cta-btns a {
  text-decoration: none;
  font-weight: 600;
}

.view-my-work-btn {
  border: 1px solid var(--primary);
  padding: 12px 24px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 20px;
  background: transparent;
  margin-right: 2rem;
  color: #fff;
  box-shadow: inset 0 -3px 3px 0 var(--primary);
  transition: all ease-in-out 0.3s;
}

.view-my-work-btn:hover {
  box-shadow: inset 0 -50px 50px 0 var(--primary);
  color: #000;
}

.lets-connect-btn {
  box-shadow: 0 4px 16px var(--cta-600);
  /* background-color: var(--cta); */
  background-color: var(--cta);
  padding: 12px 24px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 20px;
  transition: all ease-in-out 0.3s;
  color: var(--cta-btn-color);
}

.lets-connect-btn:hover {
  background-color: var(--cta-700);
  box-shadow: 0 4px 16px var(--cta-700);
}

.social-links {
  /* margin-top: 4rem; */
  margin-top: var(--space48);
}

.social-links svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.insta-icon,
.tiktok-icon,
.yt-icon,
.github-icon,
.facebook-icon {
  font-weight: 500;
  padding: 8px 8px;
  border: 1px solid var(--primary);
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: inset 0 -3px 3px 0 var(--primary);
  transition: all ease-in-out 0.3s;
  cursor: pointer;
}

.insta-icon:hover,
.tiktok-icon:hover,
.yt-icon:hover,
.github-icon:hover,
.facebook-icon:hover {
  box-shadow: inset 0 -50px 50px 0 var(--primary);
}

.insta-icon:hover svg,
.tiktok-icon:hover svg,
.yt-icon:hover svg,
.github-icon:hover svg,
.facebook-icon:hover svg {
  color: #000;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-direction: row;
}

@media screen and (max-width: 1140px) {
  .my-presentation img {
    width: 300px;
    height: 300px;
    left: -100px;
    border: none;
  }
}

@media screen and (max-width: 1000px) {
  .my-presentation img {
    width: 150px;
    height: 150px;
    left: 50%;
    top: 20px;
    transform: translate(-50%, 0);
    border: none;
  }
  .my-presentation {
    width: 550px;
    height: 750px;
  }
  .presentation-wrapper {
    margin-top: 3rem;
  }
}
@media screen and (max-width: 700px) {
  .social-links svg {
    width: 20px;
    height: 20px;
  }
  .hero-section {
    padding: var(--space64) 0;
  }
  .insta-icon,
  .tiktok-icon,
  .yt-icon,
  .github-icon,
  .facebook-icon {
    padding: 4px 8px;
  }

  .my-presentation h1 {
    margin-top: 1rem;
  }
  .my-presentation h3 {
    margin-top: 1rem;
  }
  .my-presentation {
    width: 95%;
    height: auto;
    min-height: 600px;
    padding: 20px;
  }

  .presentation-wrapper {
    transform: translate(0, 50px);
    width: 100%;
  }

  .cta-btns {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-btns a {
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 12px 24px;
    font-size: 14px;
  }

  .view-my-work-btn {
    margin-right: 0;
  }

  .social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media screen and (max-width: 350px) {
  .my-presentation {
    padding: 15px;
  }

  .presentation-wrapper h1 {
    font-size: 20px;
  }

  .presentation-wrapper h3 {
    font-size: 16px;
  }

  .presentation-wrapper p {
    font-size: 12px;
  }

  .cta-btns a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .social-links {
    gap: 5px;
  }

  .social-links a {
    padding: 6px;
    font-size: 12px;
  }
}

/* Pentru secțiuni, asigură-te că au poziționare relativă și z-index setat */
.services-section,
.my-projects-section,
.about-me-section {
  position: relative;
  z-index: 1; /* Peste stratul de fundal */
}

/* Hero section trebuie să fie deasupra */
.hero-section {
  position: relative;
  z-index: 1;
}

/* Services Section */

.services-section {
  scroll-margin-top: 2rem;
  padding: var(--space96) 0;
  position: relative;
  overflow: hidden;
}

.title-services h2 {
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 8px 4px #ffffff2a;
}

.title-services p {
  font-weight: 500;
  font-family: var(--font-text);
  font-size: var(--p);
  line-height: 1.6;
  margin-top: var(--space12);
  color: #fff;
}

.title-services {
  margin-left: var(--space48);
  width: 95% !important;
}

.Services h3,
.service-icon {
  display: inline-block;
  margin-left: 1rem;
}

.service-1,
.service-2,
.service-3,
.service-4 {
  padding: 24px 48px;
  border-top-right-radius: 48px;
  height: max-content;
  position: relative;
  transition:
    transform 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
  border-bottom: 2px solid var(--border);
  z-index: 1;
}

.service-1::before,
.service-2::before,
.service-3::before,
.service-4::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  z-index: 2;
  border-bottom-left-radius: 20px;
  background-color: var(--hover-card);
  transition: all ease 1s;
}

.service-1:hover::before,
.service-2:hover::before,
.service-3:hover::before,
.service-4:hover::before {
  width: 100%;
}

.service-1:hover .service-icon svg,
.service-2:hover .service-icon svg,
.service-3:hover .service-icon svg,
.service-4:hover .service-icon svg {
  color: var(--primary-600);
}

.Services {
  margin-top: var(--space48);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: var(--space32);
}

.Services h3 {
  font-size: var(--h3);
  font-size: 600;
  color: #fff;
  line-height: 1.6;
}

.Services p {
  margin-top: var(--space4);
  font-weight: 500;
  font-family: var(--font-text);
  color: #fff;
  line-height: 1.6;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.3s ease;
  transition: all ease-in-out 0.5s;
}

.service-1:hover .service-card-text p,
.service-2:hover .service-card-text p,
.service-3:hover .service-card-text p,
.service-4:hover .service-card-text p {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-card-text p > span {
  min-height: 0; /* necesar ca grid-ul să poată colapsa la 0 real */
}

.service-icon {
  width: max-content;
  display: flex;
  align-items: center;
}

.service-card-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}

.service-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon svg {
  width: 60px;
  height: 60px;
  color: var(--primary);
  font-size: 30px;
  width: max-content;
  opacity: 0.5;
  transition: all ease-in-out 0.3s;
}

.services-package-wrapper {
  margin-top: var(--space32);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space32);
}

.services-package-section {
  padding: var(--space64) 0;
}

.service-packs-title {
  margin-left: var(--space48);
  max-width: 1200px;
  width: 95%;
}

.service-packs-title h2 {
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 8px 4px #ffffff2a;
}

.service-packs-title p {
  font-weight: 500;
  font-family: var(--font-text);
  font-size: var(--p);
  line-height: 1.6;
  margin-top: var(--space12);
  color: #fff;
}

.services-package-wrapper h4 {
  color: var(--primary);
  margin-top: var(--space24);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--h5);
}

.services-package-wrapper ul {
  color: #fff;
  margin-top: var(--space16);
  margin-left: var(--space24);
}

.services-package-wrapper li {
  margin-top: var(--space12);
}

.cta-pack {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-pack-btn {
  box-shadow: 0 4px 16px var(--cta-600);
  background-color: var(--cta);
  padding: 12px 24px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 20px;
  transition: all ease-in-out 0.3s;
  color: var(--cta-btn-color);
  text-decoration: none;
  font-weight: 600;
}

.cta-pack-btn:hover {
  box-shadow: 0 4px 8px 0 var(--cta-700);
  background-color: var(--cta-700);
}

.pack-1,
.pack-2,
.pack-3 {
  display: flex;
  flex-direction: column;
  padding: 24px 48px;
  width: 100%;
  max-width: 500px;
  height: 750px;
  border-bottom: 2px solid var(--border);
  border-top-right-radius: 48px;
  position: relative;
  transition:
    transform 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out;
  box-sizing: border-box;
  isolation: isolate;
  z-index: 1;
  overflow: hidden;
  /* background-color: #0d0d0d; */
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.pack-1::before,
.pack-2::before,
.pack-3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  z-index: 3;
  background-color: var(--hover-card);
  transition: all ease 1s;
}

.pack-1:hover::before,
.pack-2:hover::before,
.pack-3:hover::before {
  width: 100%;
}

.pack-1:hover,
.pack-2:hover,
.pack-3:hover {
  transform: translateY(-5px);
}

.glow-card__light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-card__streak {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background: linear-gradient(
    var(--card-glow-color) 0%,
    var(--card-glow-transparent) 100%
  );
  transform: skewX(45deg);
}

.glow-card__streak--1 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
}

.glow-card__streak--2 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
}

.pack-1 h3,
.pack-2 h3,
.pack-3 h3 {
  font-family: var(--font-primary);
  color: #fff;
  font-size: var(--h3);
  font-size: 600;
  letter-spacing: 0.02em;
}

.pack-1 p,
.pack-2 p,
.pack-3 p {
  font-family: var(--font-text);
  font-size: var(--p);
  margin-top: var(--space24);
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
}

.card-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  pointer-events: none;
}

@media screen and (max-width: 1250px) {
  .service-1,
  .service-2,
  .service-3,
  .service-4 {
    max-width: 800px;
  }
  .service-packs-title {
    max-width: 800px;
  }
}

@media screen and (max-width: 1000px) {
  .service-1,
  .service-2,
  .service-3,
  .service-4,
  .pack-1,
  .pack-2,
  .pack-3 {
    padding: 16px 24px;
    width: 95% !important;
  }

  .pack-1,
  .pack-2,
  .pack-3 {
    height: 700px;
  }

  .Services {
    gap: var(--space24);
  }
  .services-section {
    padding: var(--space64) var(--space24);
  }
  .services-package-wrapper {
    gap: var(--space24);
  }
}

@media screen and (max-width: 700px) {
  .cta-services-btn svg {
    width: 35px;
    height: 35px;
  }
  .service-icon svg {
    width: 40px;
    height: 40px;
    margin-right: var(--space12);
  }
  .pack-1,
  .pack-2,
  .pack-3 {
    height: 550px;
  }
  .service-card-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .Services h3 {
    font-size: var(--h5);
  }
  .title-services,
  .service-packs-title {
    margin-left: var(--space12);
  }

  .service-icon {
    margin-left: 0;
  }

  .service-card-text {
    flex: 1; /* Permite textului să ocupe spațiul liber */
  }

  .Services h3 {
    font-size: 1.1rem;
    margin-left: 0.5rem;
    word-break: break-word;
  }

  .cta-services-btn svg {
    width: 32px;
    height: 32px;
  }

  .Services img {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  .hidden-text-cta-service-card,
  .hidden-text-cta-project-card {
    display: none;
  }
}

/* Process Section Start */

/* Process Section */

.title-process {
  margin-left: var(--space48);
  width: 95%;
  max-width: 1200px;
}

.title-process h2 {
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 8px 4px #ffffff2a;
}

.title-process p {
  font-weight: 500;
  font-family: var(--font-text);
  font-size: var(--p);
  margin-top: var(--space12);
  line-height: 1.6;
  color: #fff;
}

.process-section {
  scroll-margin-top: 2rem;
  padding: var(--space96) 0;
  position: relative;
  overflow: hidden;
}

.Process {
  margin-top: var(--space64);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space32);
  list-style: none;
}

.process-card {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space32);
  width: 100%;
  max-width: 900px;
  padding: 24px 48px;
  border-top-right-radius: 48px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 2px solid var(--border);
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
  position: relative;
  transition: transform 0.4s ease-in-out;
  transition: all ease-in-out 0.3s;
}

.process-card::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hover-card);
  transition: all ease 1s;
}

.process-card:hover::before {
  width: 100%;
}

.process-card:hover {
  transform: translateY(-5px);
}

.process-card:hover .process-number {
  color: var(--primary-600);
}

.process-number {
  font-family: var(--font-medium);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
  opacity: 0.5;
  flex-shrink: 0;
  line-height: 1;
  transition: all ease-in-out 0.3s;
}

.process-text h3 {
  font-size: var(--h5);
  color: #fff;
  margin-bottom: var(--space8);
}

.process-text p {
  font-family: var(--font-text);
  font-size: var(--p);
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
}

@media screen and (max-width: 700px) {
  .title-process {
    margin-left: var(--space12);
  }
  .process-section {
    padding: var(--space64) var(--space24);
  }
  .process-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: var(--space24);
  }
}
@media screen and (max-width: 1000px) {
  .process-card {
    width: 95% !important;
  }
}

/* My Projects Start */

.title-my-projects {
  /* text-align: center; */
  margin-left: var(--space48);
  width: 95%;
  max-width: 1200px;
}

.title-my-projects h2 {
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  letter-spacing: 0.05em;
  font-size: var(--h2);
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 8px 4px #ffffff2a;
}
.title-my-projects p {
  margin-top: var(--space12);
  font-size: var(--p);
  font-family: var(--font-text);
  line-height: 1.6;
  color: #fff;
}

.my-projects-section {
  scroll-margin-top: 2rem;
  padding: var(--space96) 0;
  position: relative;
  overflow: hidden;
}

.project-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  height: max-content;
  position: relative;
  overflow: hidden;
  border-top-right-radius: 48px;
  transition: all ease-in-out 0.3s;
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
}

.project-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  z-index: 2;
  background-color: var(--hover-card);
  transition: all ease 1s;
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  z-index: 2;
  background-color: var(--hover-card);
  transition: all ease 1s;
}

.project-card:hover::after {
  width: 50%;
}

.project-card:hover::before {
  width: 50%;
}

.project-card:hover {
  transform: translateY(-5px);
}

.My-projects {
  margin-top: var(--space64);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space32);
}

.My-projects h3,
.My-projects p {
  color: #fff;
}

.My-projects h3 {
  margin-top: var(--space12);
  font-size: var(--h5);
}

.card-overlay {
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: absolute;
  bottom: 0;
  height: max-content;
  padding: 24px 48px;
  border-bottom: 2px solid var(--border);
  width: 100%;
}

.My-projects p {
  margin-top: 1rem;
  line-height: 1.6;
  font-size: var(--p);
  flex-grow: 1; /* Împinge butoanele jos */
  margin-bottom: 1rem;
}

.project-card img {
  object-fit: cover;
  width: 100%;
  height: 700px;
  border-top-right-radius: 48px;
  position: relative;
}

@media screen and (min-width: 700px) {
  .card-overlay .glow-card__light {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .my-projects-section {
    padding: var(--space64) var(--space24);
  }

  .title-my-projects {
    margin-left: var(--space12);
  }
  .project-card img {
    width: 100% !important;
    height: max-content;
  }
  .card-overlay {
    position: relative;
    background: #0d0d0d;
  }
}

@media screen and (max-width: 1000px) {
  .project-card {
    width: 95% !important;
  }
  .card-overlay {
    padding: 16px 24px;
  }
  .My-projects {
    gap: var(--space24);
  }
}

.project-type {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.55) 0%,
    rgba(20, 22, 22, 0.65) 50%,
    rgba(23, 24, 24, 0.55) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 16px;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
  font-weight: 600;
  display: none;
}

.cta-project-btn {
  display: flex;
  align-items: center;
  transition: all ease-in-out 0.3s;
  position: relative;
}

.cta-project-btn:hover svg {
  transform: scale(1.2);
}
.cta-project-btn:hover .hidden-text-cta-project-card,
.cta-project-btn:focus-within .hidden-text-cta-project-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hidden-text-cta-project-card {
  position: absolute;
  left: -30px;
  top: -40px;
  width: 100px;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 6px;
  background-color: var(--primary);
  border-radius: 50px;
  font-family: var(--font-text);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.85);
  transition:
    opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0.35s;
  pointer-events: none;
}

.cta-project-btn svg {
  width: 35px;
  height: 35px;
  color: var(--primary);
}

.project-card-text-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 1250px) {
  .project-card {
    max-width: 800px;
  }
}

.cta-project-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: var(--space48);
}

.cta-project-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 24px 48px;
  gap: var(--space32);
  width: 100%;
  border-top-left-radius: 48px;
  border-bottom: 2px solid var(--border);
  max-width: 1200px;

  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  position: relative;
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
}

.cta-project-wrapper::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hover-card);
  transition: all ease 1s;
}
.cta-project-wrapper:hover::before {
  width: 100%;
}

.cta-project-wrapper h3 {
  color: var(--text-main);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--h3);
}

.cta-project-wrapper p {
  color: #fff;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: var(--p);
  line-height: 1.6;
}

.cta-project-wrapper a {
  box-shadow: 0 4px 16px var(--cta-700);
  background-color: var(--cta);
  padding: 12px 24px;
  font-weight: 600;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 20px;
  transition: all ease-in-out 0.3s;
  color: var(--cta-btn-color);
  text-decoration: none;
}

.cta-project-wrapper a:hover {
  box-shadow: 0 4px 8px 0 var(--cta-700);
  background-color: var(--cta-700);
}

.cta-project-wrapper a:focus {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

/* My Projects End */

/* About Me Section */

.title-about-me {
  margin-left: var(--space48);
}
.title-about-me h2 {
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 8px 4px #ffffff2a;
}

.title-about-me p {
  font-weight: 500;
  font-family: var(--font-text);
  font-size: var(--p);
  margin-top: var(--space12);
  line-height: 1.6;
  color: #fff;
}

.About-Me {
  margin-top: var(--space64);
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-stack-content {
  border-top-left-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: none;
}

.img-stack-content img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 20px;
}

.about-me-section {
  scroll-margin-top: 2rem;
  padding: var(--space96) 0;
  position: relative;
  overflow: hidden;
}

.stack-content h5 {
  font-size: var(--p);
  color: #fff;
}

.about-me-description-content {
  width: 100%;
  max-width: 800px;
  padding: 24px;
  border-top-left-radius: 48px;
  border-bottom: 2px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: relative;
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
  z-index: 2;
}

.about-me-description-content::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hover-card);
  transition: all ease 1s;
}
.about-me-description-content:hover::before {
  width: 100%;
}

.about-me-description-content p {
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  font-family: var(--font-text);
  font-size: var(--p);
}

.cta-about-me {
  margin-top: var(--space32);
  margin-bottom: var(--space32);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-about-me-btn {
  font-weight: 600;
  box-shadow: 0 4px 16px var(--cta-700);
  background-color: var(--cta);
  padding: 12px 24px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 20px;
  transition: all ease-in-out 0.3s;
  color: var(--cta-btn-color);
  text-decoration: none;
}

.cta-about-me-btn:hover {
  box-shadow: 0 4px 8px 0 var(--cta-700);
  background-color: var(--cta-700);
}

@media screen and (max-width: 1300px) {
  .About-Me {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .about-me-description-content,
  .cta-about-me {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 500px) {
  .about-me-section {
    padding: var(--space64) var(--space24);
  }
  .img-stack-content img {
    width: 95% !important;
  }

  .stack-content {
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100% !important;
  }
}

@media screen and (max-width: 700px) {
  .title-about-me {
    margin-left: var(--space12);
  }
}

@media screen and (max-width: 1000px) {
  .img-stack-content,
  .about-me-description-content {
    border-top-left-radius: 30px;
  }
}

@media screen and (max-width: 1000px) {
  .about-me-description-content {
    width: 95% !important;
  }
}

/* About Me end */

/* Faq section start */

.title-faq {
  margin-left: var(--space48);
  width: 95%;
  max-width: 1200px;
}

.title-faq h2 {
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  letter-spacing: 0.05em;
  font-size: var(--h2);
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 8px 4px #ffffff2a;
}
.title-faq p {
  margin-top: var(--space12);
  font-size: var(--p);
  font-family: var(--font-text);
  line-height: 1.6;
  color: #fff;
}

.faq-section {
  scroll-margin-top: 2rem;
  padding: var(--space96) 0;
  position: relative;
}

.faq-wrapper {
  margin-top: var(--space64);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space32);
}

.faq-item {
  width: 100%;
  max-width: 900px;
  height: max-content;
}

.faq-q {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  width: 100%;

  display: flex;
  align-items: center;
  gap: var(--space32);
  padding: 24px 48px;
  border-top-right-radius: 48px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
  border-bottom: 2px solid var(--border);
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.faq-q:hover {
  transform: translateX(6px);
}

.faq-q:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.faq-toggle {
  margin-left: auto;
  font-family: var(--font-primary);
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg); /* + devine × */
}
.faq-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border-width: 0;
  border-style: solid;
  border-color: var(--border);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    border-width 0.25s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
  opacity: 1;
  border-width: 0.5px 0.5px 2px 0.5px;
  border-bottom-left-radius: 20px;
}

.faq-a-inner {
  display: flex;
  align-items: center;
  gap: var(--space32);
  padding: 24px 48px;
}

.faq-wrapper p {
  color: #fff;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: var(--p);
  line-height: 1.6;
}

.question-span {
  color: var(--primary);
  font-family: var(--font-primary);
  opacity: 0.5;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  flex-shrink: 0;
}

@media (scripting: none) {
  .faq-a {
    grid-template-rows: 1fr !important;
    opacity: 1 !important;
    border-width: 0.5px 0.5px 2px 0.5px !important;
  }
  .faq-q {
    border-top-right-radius: 30px;
  }
}

@media screen and (max-width: 700px) {
  .faq-q,
  .faq-a-inner {
    padding: 16px 24px;
    gap: var(--space16);
  }
  .title-faq {
    margin-left: var(--space12);
  }
  .faq-section {
    padding: var(--space64) var(--space24);
  }
}

.faq-q::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  z-index: 2;
  background-color: var(--hover-card);
  transition: all ease 1s;
}

.faq-q:hover::before {
  width: 100%;
}

.faq-q:hover {
  transform: translateX(-5px);
}

.faq-wrapper {
  margin-top: var(--space64);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space32);
}

/* Contact Section  Start */

.title-contact {
  margin-left: var(--space48);
  width: 95%;
  max-width: 1000px;
}

.title-contact h2 {
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 8px 4px #ffffff2a;
}

.title-contact p {
  font-weight: 500;
  font-family: var(--font-text);
  font-size: var(--p);
  margin-top: var(--space12);
  line-height: 1.6;
  color: #fff;
}

.contact-section {
  scroll-margin-top: 2rem;
  padding: var(--space96) 0;
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-contact h3 {
  font-family: var(--font-medium);
  font-size: var(--h5);
  color: var(--text-main);
}

.contact-direct a {
  text-decoration: none;
  margin-top: var(--space12);
  color: var(--text-main);
  font-family: var(--font-text);
  font-size: var(--p);
  transition: all ease 0.3s;
  position: relative;
}

.contact-direct a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary);
  transition: all ease 0.3s;
}

.contact-direct a:hover::before {
  width: 100%;
}

.contact-direct a:hover {
  color: var(--primary);
}

.social-media {
  margin-top: var(--space24);
}

.social-media ul {
  margin-top: var(--space12);
  list-style: none;
}

.social-media li {
  margin-top: var(--space8);
}

.social-media a {
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-text);
  font-size: var(--p);
  font-weight: 500;
  transition: all ease 0.3s;
  position: relative;
}

.social-media a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary);
  transition: all ease 0.3s;
}

.social-media a:hover::before {
  width: 100%;
}

.social-media a:hover {
  color: var(--primary);
}

.social-media a:focus {
  outline: 2px solid var(--primary);
}

.left-contact {
  display: none;
  flex-direction: column;
  padding: 48px;
  border-top-right-radius: 48px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  width: max-content;
  border-bottom: 2px solid var(--border);
  margin: 4rem auto;
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
}

.cta-left-contact {
  margin-top: var(--space48);
}

.cta-left-contact svg {
  width: 16px;
  height: 16px;
  margin-right: var(--space12);
}

.cta-left-contact a {
  text-decoration: none;
  width: 100%;
  color: var(--cta-btn-color);
  font-family: var(--font-text);
  background-color: var(--cta);
  outline: none;
  padding: 12px 24px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(253, 51, 112, 0.4);
  transition: all ease-in-out 0.3s;
  font-weight: 600;
}

.cta-left-contact a:hover {
  box-shadow: 0 4px 8px var(--cta);
}

.cta-left-contact a:focus-within {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.contact-wrapper {
  display: flex;
  padding: 48px;
  border-top-left-radius: 48px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  width: max-content;
  border-bottom: 2px solid var(--border);
  margin: 4rem auto;
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
}

.contact-wrapper::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hover-card);
  transition: all ease 1s;
}
.contact-wrapper:hover::before {
  width: 100%;
}

.email-subiect-bussines-textarea {
  display: flex;
  flex-direction: column;
}

label {
  color: #fff;
  font-size: var(--p);
  font-family: var(--font-text);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.first-name-last-name input,
.email-subiect-bussines-textarea input,
form textarea {
  padding: 16px 24px;
  border-top-right-radius: 48px;
  border-bottom-left-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.55) 0%,
    rgba(20, 22, 22, 0.65) 50%,
    rgba(23, 24, 24, 0.55) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  outline: none;
  color: #fff;
}

.packs-select {
  padding: 16px 24px;
  border-top-right-radius: 48px;
  border-bottom-left-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.55) 0%,
    rgba(20, 22, 22, 0.65) 50%,
    rgba(23, 24, 24, 0.55) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  outline: none;
  color: var(--text-main);
}

.packs-select option {
  padding: 16px 24px;
  border-top-right-radius: 48px;
  border-bottom-left-radius: 24px;
  background-color: #0d0d0d;
  color: var(--text-main);
}

.packs-select--highlight {
  animation: packSelectPulse 1.5s ease;
}

@keyframes packSelectPulse {
  0% {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  100% {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
}

.first-name-last-name input:focus,
.email-subiect-bussines-textarea input:focus,
form textarea:focus,
.packs-select:focus {
  color: var(--primary);
  outline: 1px solid var(--primary);
}

form textarea {
  height: 150px;
  resize: none;
}

form input::placeholder,
form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.data-cookie label {
  font-size: var(--p);
  font-family: var(--font-text);
}

.data-cookie {
  margin-bottom: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.checkbox-div {
  display: flex;
  gap: var(--space12);
  justify-content: space-between;
}

#data-cookie-input {
  accent-color: var(--primary);
}

.checkbox-div p {
  color: var(--text-main);
  font-size: 16px;
}

.submit {
  margin-top: 1rem;
}

#submit-input {
  width: 100%;
  color: var(--cta-btn-color);
  font-family: var(--font-text);
  font-size: 16px;
  background-color: var(--cta);
  outline: none;
  padding: 12px 24px;
  border-top-left-radius: 48px;
  border-bottom-right-radius: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--cta-700);
  transition: all ease-in-out 0.3s;
  font-weight: 600;
}

#submit-input:hover {
  box-shadow: 0 4px 8px var(--cta-700);
  background-color: var(--cta-700);
}

#submit-input:focus-within {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

@media screen and (max-width: 700px) {
  .contact-wrapper {
    width: 100%;
  }
  .contact-section {
    padding: var(--space64) var(--space24);
  }
  #first-last-name-input {
    margin-top: 1rem;
  }
  .title-contact {
    margin-left: var(--space12);
  }
  .cta-left-contact a {
    padding: 12px 12px;
  }
  .left-contact {
    width: 95%;
  }
}

@media screen and (max-width: 1000px) {
  .contact-wrapper {
    border-top-left-radius: 30px;
    order: -1;
  }
  .contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}

/* Footer */

footer {
  background-color: #0d0d0d;
  padding: 24px 48px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.footer-container {
  margin-top: var(--space24);
}

.footer-wrapper-2 {
  border-top: 0.5px solid var(--border);
  margin-top: var(--space64);
  display: flex;
  justify-content: space-around;
}

.footer-wrapper-1 {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.links-footer,
.social-links-footer,
.legal-links-footer {
  margin-top: var(--space32);
  height: max-content;
  width: max-content;
}

.links-footer ul,
.social-links-footer ul,
.legal-links-footer ul {
  margin-top: var(--space12);
  list-style: none;
}

.links-footer li,
.social-links-footer li,
.legal-links-footer li {
  margin-top: var(--space8);
}
.footer-wrapper-1 p {
  font-weight: 600;
  font-family: var(--font-bold);
  font-size: var(--h5);
  color: #fff;
}

.links-footer a,
.social-links-footer a,
.legal-links-footer a {
  text-decoration: none;
  color: #fff;
  font-size: var(--p);
  font-weight: 500;
  font-family: var(--font-text);
  transition: all ease 0.3s;
  position: relative;
}

.links-footer a::before,
.social-links-footer a::before,
.legal-links-footer a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary);
  transition: all ease 0.3s;
}

.links-footer a:hover::before,
.social-links-footer a:hover::before,
.legal-links-footer a:hover::before {
  width: 100%;
}

@media screen and (max-width: 700px) {
  .footer-wrapper-1,
  .footer-wrapper-2 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
  }
}

.links-footer a:hover,
.social-links-footer a:hover,
.legal-links-footer a:hover {
  color: var(--primary);
}

.links-footer a:focus-within,
.social-links-footer a:focus-within,
.legal-links-footer a:focus-within {
  outline: 2px solid var(--primary);
}

.copyright,
.available-for-work {
  margin-top: var(--space24);
}

.available-for-work {
  display: flex;
  align-items: center;
  gap: var(--space8);
}

@media screen and (max-width: 700px) {
  .available-for-work-hero-content {
    padding: 12px 16px;
  }
}

.copyright p,
.available-for-work p {
  /* text-align: center; */
  color: #fff;
  font-size: var(--p);
  font-weight: 500;
  font-family: var(--font-text);
  line-height: 1.6;
}

.circle-avail-span {
  background-color: var(--success);
  box-shadow: 0 0 8px 4px color-mix(in srgb, var(--success) 50%, transparent);
  border-radius: 50px;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-right: var(--space12);
}
