* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  /* outline: 1px solid red;  */
}

:root {
  --primary-color: #b4f1f1;
  --secondary-color: #202020;
}

:root {
  --cyan: #b4f1f1;
  --cyan-dim: rgba(180, 241, 241, 0.12);
  --cyan-mid: rgba(180, 241, 241, 0.45);
  --black: #050707;
  --surface: #0c1212;
  --surface2: #121a1a;
  --text: #d6f5f5;
  --muted: rgba(180, 241, 241, 0.45);
  --font-display: "Syne", sans-serif;
  --font-mono: "DM Mono", monospace;
  --accent: #b4f1f1;
  --accent2: #7ee8e8;
  --accent3: #3dd5d5;
  --bg: #000000;
  --bg2: #060a0a;
  --bg3: #0a1212;
  --text: #e8f8f8;
  --muted: #6b9a9a;
  --card: rgba(180, 241, 241, 0.04);
  --border: rgba(180, 241, 241, 0.12);
}

::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* După - fix */

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: 100%;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--black);
}

/*  
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.55;
}
*/

html {
  scroll-behavior: smooth;
}

.nav-left {
  display: inline-block;
}

.language-btn {
  margin-top: 1rem;
}

.lang-toggle-btn {
  background: transparent;
  border: 1px solid rgba(180, 241, 241, 0.4);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10pt;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.lang-toggle-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: #fff;
}

.reup-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1300; /* above other elements */
  display: none !important;
}

.reup-button i {
  color: #000;
  padding: 0;
  font-size: 20pt;
}

/* helper classes used by JS to control visibility relative to the hero section */
.reup-button.hidden {
  display: none !important;
}

.reup-button.visible {
  display: flex !important;
}

/* Navbar Section Start */

nav {
  display: flex;
  align-items: center; /* aliniere verticală centru */
  justify-content: space-between; /* logo în stânga, link-uri în dreapta */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 6px;
  backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(5, 7, 7, 0.7);
  border-bottom: 1px solid rgba(180, 241, 241, 0.07);
  backdrop-filter: blur(8px); /* echivalent cu backdrop-blur-md */
  -webkit-backdrop-filter: blur(8px); /* pentru Safari */
  padding-bottom: 20px;
  box-shadow: 0 8px 15px var(--surface);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  font-size: 11pt;
  font-family: var(--font-mono);
}

/* Liniile sub link */
nav a::before,
nav a::after {
  content: "";
  position: absolute;
  bottom: -11px; /* puțin sub text */
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 50px;
  transition: width 0.4s ease;
}

/* Linia din centru */
nav a::before {
  left: 50%;
  transform: translateX(-50%);
  width: 0;
}

/* Linia din stânga */
nav a::after {
  left: 0;
  width: 0;
}

/* Hover efect */
nav a:hover::before {
  width: 100%;
}

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

/* Stare activă pentru link */
nav a.active {
  color: var(--primary-color); /* evidențiere */
}

nav a:hover {
  color: #fff;
}

nav a.active::before,
nav a.active::after {
  width: 100%; /* menținem liniile active */
}

.nav-links ul,
li {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 3rem;
  margin-top: 10px;
}

.logo h3 {
  font-family: "Pacifico", cursive;
  color: var(--primary-color);
  margin: 0;
  margin-top: 10px;
}

@media screen and (max-width: 1000px) {
  .nav-links {
    display: none;
  }
  .reup-button {
    display: flex;
  }
  .nav-mobile {
    display: block !important;
  }
}
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
  }
}

.nav-mobile-links {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  /* background: url(./images/sidebar/sidebar.png); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  z-index: 40;
  max-height: 90vh;
  overflow-y: auto;

  backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(5, 7, 7, 0.7);
  border-bottom: 1px solid rgba(180, 241, 241, 0.07);
  backdrop-filter: blur(8px); /* echivalent cu backdrop-blur-md */
  -webkit-backdrop-filter: blur(8px); /* pentru Safari */
}

.nav-mobile-links.active {
  display: block;
  animation: slideDownFade 0.3s ease-in-out forwards;
}

.nav-mobile-links.closing {
  animation: slideUpFade 0.3s ease-in-out forwards;
}

.nav-mobile-links a {
  color: #b4f1f1;
  text-decoration: none;
  display: block;
  padding: 10px 4px;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}
.nav-mobile-links a:hover {
  background: rgba(180, 241, 241, 0.06);
}

.nav-mobile-links a.active {
  background: rgba(180, 241, 241, 0.12);
  color: #fff;
  font-weight: 600;
  border-right: 3px solid #b4f1f1;
  padding-left: 8px; /* compensează border-ul */
}

.nav-mobile-links ul,
.nav-mobile-links li {
  padding: 1rem;
}

.nav-mobile-links ul {
  display: block;
  text-align: center;
}

.nav-mobile-links li {
  display: block;
}

.nav-mobile {
  display: none;
}

#mobilenavToggle {
  position: fixed;
  right: 12px;
  top: 12px;
  z-index: 1001;
  color: #b4f1f1;
  border: none;
  padding: 8px 10px;
  font-size: 25px;
  border-radius: 6px;
  background-color: transparent;
}

/* Navbnar Section End */

/* Hero Section */

#home {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--cyan-dim);
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 241, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 241, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
  to {
    background-position: 60px 60px;
  }
}

/* glow blob */
#home::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(180, 241, 241, 0.09) 0%,
    transparent 70%
  );
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  animation: blobPulse 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blobPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.avatar-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 1px solid var(--surface);
  box-shadow: 0 8px 15px var(--surface);
}

.my-presentation h1,
.my-presentation h3 {
  margin: 10px;
}

.my-presentation {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35pt;
  flex-direction: column;
  height: 120vh;
  position: relative;
  scroll-margin-top: 150px;
}

@media screen and (max-width: 1400px) {
  .my-presentation {
    margin-top: 10rem;
    padding: 4rem 1rem;
    width: 100%;
    height: auto;
    /* padding-bottom: 10rem; */
  }
  .my-presentation h3 {
    font-size: 20pt;
  }
  .links-buttons a {
    font-size: 10pt;
  }
  .icons-webdev-wrapper {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
}

#html5,
#css3,
#javascript,
#react,
#typescript {
  font-size: 20pt;
  margin-top: 2rem;
}
#html5 {
  color: #e34c26;
  text-shadow: 0 0 5px #e34c26;
}

#css3 {
  color: #264de4;
  text-shadow: 0 0 5px #264de4;
}
#javascript {
  /* color: #f0db4f; */
  /* text-shadow: 0 0 5px #f0db4f; */
  color: #202020;
  text-decoration: line-through;
  text-decoration-color: red;
}

#react {
  /* color: #61dafb; */
  color: #202020;
  text-decoration: line-through;
  text-decoration-color: red;
  /* text-shadow: 0 0 5px #61dafb; */
}

.icons-webdev-wrapper {
  display: flex;
  justify-content: space-between;
  align-self: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.icons-webdev {
  margin-top: -1rem;
}

.my-presentation h1 {
  color: #fff;
  text-align: center;
  /* position: relative; */
}
.my-presentation h3 {
  /* color: #bbbbbb; */
  font-size: 25pt;
  font-weight: 400;
  color: var(--primary-color);
}

.my-presentation p {
  margin-top: 2rem;
  color: #bbbbbb;
  font-size: 15pt;
  text-align: center;
  line-height: 1.5;
}

span {
  color: #b4f1f1;
}

.links-buttons {
  font-size: 12pt;
}
.links-buttons a {
  margin-top: 4rem;
  text-decoration: none;
  position: relative;
  /* top: 50px; */
  display: inline-block;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.contact-me::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--cyan-mid);
  border-radius: 10px;
  transition: all 0.5s ease;
  z-index: -1;
}

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

.view-my-work {
  /*  
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  color: black;
*/

  color: var(--black);
  background: var(--cyan);
  border: 1px solid var(--cyan);

  padding: 13px 25px;
  margin-right: 10px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease 0.3s;
}

.contact-me {
  /*  
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
*/
  color: var(--cyan);
  background: transparent;
  border: 1px solid rgba(180, 241, 241, 0.3);

  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
}

.view-my-work:hover {
  box-shadow: 0 2px 10px 0 var(--cyan);
  transform: translateY(-3px); /* ridică puțin butonul */
}

.social-media-links a {
  margin-top: 4rem;
  font-size: 16pt;
  /* position: relative; */
  display: inline-block;
  /* top: 80px; */
  color: var(--primary-color);
  margin-right: 1rem;
  border: 1px solid var(--border);
  padding: 10px 10px;
  border-radius: 50px;
  transition: all ease-in-out 0.3s;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.social-media-links a:hover {
  background-color: var(--primary-color);
  color: black;
  transform: translateY(-10px);
}

/*  
.fa-tiktok:hover,
.fa-instagram:hover,
.fa-youtube:hover,
.fa-facebook:hover,
.fa-github:hover {
  

}
*/
/* Hero Section End */

/* My Services Section */
.my-services h1 {
  color: #fff;
  font-size: 31pt;
}
.my-services p {
  margin-top: 2rem;
  color: #bbbbbb;
}

.my-services {
  scroll-margin-top: 150px;
  margin-top: 100px;
}
.my-services-title-subtitile {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.Services {
  display: flex;
  justify-content: center; /* le centrează pe orizontală */
  align-items: stretch; /* ca să aibă aceeași înălțime */
  gap: 2rem; /* spațiu între ele */
  margin-top: 2rem;
  flex-wrap: wrap; /* permite să treacă pe linie nouă pe ecrane mici */
}

@media screen and (max-width: 1000px) {
  .Services {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
  }
  .service-1,
  .service-2,
  .service-3 {
    width: 100% !important;
    height: max-content;
  }
  .what-i-offer,
  .custom-offer {
    padding: 1rem 0.75rem; /* mai puțin pe lateral */
  }
}

.service-note p {
  font-size: 14px;
  color: var(--primary-color);
}

.tech-stack-section h3 {
  color: #fff;
}

.learning-title {
  margin-top: 2rem;
}

.tools-title {
  margin-top: 2rem;
}

/* What i offer & Custom Offer Section End */

/* === SCROLL ANIMATIONS === */
.fade-in-element {
  opacity: 0;
  transform: translateX(-80px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-element.show {
  opacity: 1;
  transform: translateX(0);
}

.custom-offer-wrapper {
  transition:
    border 0.2s ease-in,
    transform 0.2s ease-in,
    box-shadow 0.2s ease-in !important;
}

.fade-in-element.show:hover {
  transform: translateY(-5px) !important;
}

/* Servicii — apar unul câte unul */
.service-1.fade-in-element {
  transition-delay: 0s;
}
.service-2.fade-in-element {
  transition-delay: 0.15s;
}
.service-3.fade-in-element {
  transition-delay: 0.3s;
}
.service-note.fade-in-element {
  transition-delay: 0.45s;
}

/* Proiecte — apar unul câte unul */
.card-1-project.fade-in-element {
  transition-delay: 0s;
}
.card-2-project.fade-in-element {
  transition-delay: 0.2s;
}
.card-3-project.fade-in-element {
  transition-delay: 0.4s;
}

/* Blog */
.blog-1.fade-in-element {
  transition-delay: 0s;
}
.blog-2.fade-in-element {
  transition-delay: 0.2s;
}
.blog-3.fade-in-element {
  transition-delay: 0.4s;
}
.blog-4.fade-in-element {
  transition-delay: 0s;
}
.blog-5.fade-in-element {
  transition-delay: 0.2s;
}
.blog-6.fade-in-element {
  transition-delay: 0.4s;
}

.service-1,
.service-2,
.service-3 {
  border-radius: 20px;
  position: relative;
  margin-top: 3rem;
  padding-bottom: 6rem;
  transition: all ease-in 0.2s;
  border: 1px solid var(--border);
  background-color: var(--black);
  padding-right: 5rem;
  /* max-width: 480px; */
  flex: 0.2 0 400px;
  max-height: 700px;
  flex-shrink: 0;
}

.btn-store {
  text-decoration: none;
  display: inline-block;
  margin-top: 2rem;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%);
}

.btn-store:hover {
  background-color: var(--primary-color);
  color: black;
  box-shadow: 0 2px 10px 0 var(--cyan);
}

/* Custom Offer Wrapper */
.custom-offer-wrapper {
  margin-top: 3rem;
}

.custom-offer-wrapper {
  border-radius: 20px;
  position: relative;
  margin-top: 3rem;
  padding-bottom: 6rem;
  transition: all ease-in 0.2s;
  border: 1px solid var(--border);
  background-color: var(--black);
  padding-right: 5rem;
  /* max-width: 480px; */
  flex: 0.2 0 400px;
  max-height: 700px;
  flex-shrink: 0;
}

.custom-offer-wrapper:hover {
  border: 1px solid var(--cyan-mid);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(180, 241, 241, 0.07);
}

.fa-cogs {
  color: var(--primary-color);
  background-color: var(--surface);
  font-size: 20pt;
  padding: 1rem;
  position: absolute;
  left: 30px;
  top: 20px;
  border-radius: 20px;
}

.custom-offer-wrapper h3 {
  color: #fff;
  margin-left: 2rem;
  margin-top: 6rem;
}

.custom-offer-wrapper p {
  color: #bbbbbb;
  margin-left: 2rem;
}

.get-offer-btn {
  text-decoration: none;
  display: inline-block;
  margin-top: 2rem;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%);
}

.get-offer-btn:hover {
  background-color: var(--primary-color);
  color: black;
  box-shadow: 0 2px 10px 0 var(--cyan);
}

.service-1 h3,
.service-2 h3,
.service-3 h3 {
  color: #fff;
  margin-left: 2rem;
  margin-top: 6rem;
}
.service-1 p,
.service-2 p,
.service-3 p {
  margin-left: 2rem;
}

.fa-rocket,
.fa-briefcase,
.fa-globe {
  color: var(--primary-color);
  background-color: var(--surface);
  font-size: 20pt;
  padding: 1rem;
  position: absolute;
  left: 30px;
  top: 20px;
  border-radius: 20px;
}

.details-service p {
  margin-top: 1rem;
  font-size: 10pt;
  color: var(--primary-color);
}

.service-1:hover,
.service-2:hover,
.service-3:hover {
  border: 1px solid var(--cyan-mid);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(180, 241, 241, 0.07);
  /* background: var(--surface); */
}

/* My Services Section End */

/* My Projects Section */
.my-projects-title-subtitle h1 {
  color: #fff;
  font-size: 31pt;
}
.my-projects-title-subtitle p {
  color: #bbbbbb;
  margin-top: 2rem;
  text-align: center;
}

.my-projects-title-subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.my-projects-section {
  padding: 120px 0px;
  scroll-margin-top: 80px;
  padding-bottom: 8rem;
}

.card-1-project,
.card-2-project,
.card-3-project,
.card-4-project,
.card-5-project,
.card-6-project {
  position: relative;
  padding-bottom: 5rem;
  transition: all ease 0.3s;
  margin-top: 3rem;
  flex: 0.2 0 400px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background-color: var(--black);
}
.card-1-project h3,
.card-2-project h3,
.card-3-project h3,
.card-4-project h3,
.card-5-project h3,
.card-6-project h3 {
  color: #fff;
  padding-left: 2rem;
  margin-top: 1rem;
}
.card-1-project p,
.card-2-project p,
.card-3-project p,
.card-4-project p,
.card-5-project p,
.card-6-project p {
  color: #bbbbbb;
  margin-top: 1rem;
  padding-left: 2rem;
  font-size: 11pt;
}

.title-subject-my-projects {
  margin-left: 2rem;
  color: var(--muted);
  margin-top: 1rem;
}

@media screen and (max-width: 1000px) {
  .card-1-project,
  .card-2-project,
  .card-3-project,
  .card-4-project,
  .card-5-project,
  .card-6-project {
    /* width: 100% !important; */
    flex: 0.3 0 300px;
  }
  .my-projects {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4rem 2rem;
  }
}

.my-projects {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
}

.card-1-project img,
.card-2-project img,
.card-3-project img,
.card-4-project img,
.card-5-project img,
.card-6-project img {
  display: block;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
  overflow: hidden;
  transition: all ease-in-out 0.3s;
  position: relative;
}

.card-1-project:hover,
.card-2-project:hover,
.card-3-project:hover,
.card-4-project:hover,
.card-5-project:hover,
.card-6-project:hover {
  transform: translateY(-3px); /* ridică puțin butonul */
  border-bottom: 1px solid var(--cyan-mid);
  /* background-color: var(--card); */
  box-shadow: 0 20px 60px rgba(180, 241, 241, 0.07);
}

.card-1-project:hover a {
  opacity: 1;
}
.card-1-project:hover img {
  filter: brightness(0.4);
}

.view-project,
.view-code-project {
  display: inline-block;
}

.links-projects {
  position: absolute;
  bottom: 30px;
  left: 30px;
}

.card-1-project-btn,
.card-1-code-project-btn,
.card-2-project-btn,
.card-2-code-project-btn,
.card-3-project-btn,
.card-3-code-project-btn {
  position: relative;
  text-decoration: none;
  color: var(--accent);
  transition: opacity 0.3s;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}
.card-1-project-btn::before,
.card-1-code-project-btn::before,
.card-2-project-btn::before,
.card-2-code-project-btn::before,
.card-3-project-btn::before,
.card-3-code-project-btn::before {
  content: "";
  height: 2px;
  background-color: var(--accent);
  width: 0px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: all 0.5s ease;
}
.card-1-project-btn:hover::before,
.card-1-code-project-btn:hover::before,
.card-2-project-btn:hover::before,
.card-2-code-project-btn:hover::before,
.card-3-project-btn:hover::before,
.card-3-code-project-btn:hover::before {
  width: 100%;
}

.card-2-project:hover img {
  filter: brightness(0.4);
}

.card-3-project:hover img {
  filter: brightness(0.4);
}

.card-4-project:hover img {
  filter: brightness(0.4);
}

.card-5-project:hover a {
  opacity: 1;
}
.card-5-project:hover img {
  filter: brightness(0.4);
}

.card-6-project:hover a {
  opacity: 1;
}
.card-6-project:hover img {
  filter: brightness(0.4);
}
.card-7-project:hover a {
  opacity: 1;
}
.card-7-project:hover img {
  filter: brightness(0.4);
}
.card-8-project:hover a {
  opacity: 1;
}
.card-8-project:hover img {
  filter: brightness(0.4);
}
.card-9-project:hover a {
  opacity: 1;
}
.card-9-project:hover img {
  filter: brightness(0.4);
}

.card-4-project-btn {
  text-decoration: none;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid#b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: var(--primary-color);
  cursor: pointer;
}

.card-4-project-btn:hover {
  box-shadow: 0 2px 10px 0 #b4f1f1;
}

.card-5-project-btn {
  text-decoration: none;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid#b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: var(--primary-color);
  cursor: pointer;
}

.card-5-project-btn:hover {
  box-shadow: 0 2px 10px 0 #b4f1f1;
}

.card-6-project-btn {
  text-decoration: none;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid#b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: var(--primary-color);
  cursor: pointer;
}

.card-6-project-btn:hover {
  box-shadow: 0 2px 10px 0 #b4f1f1;
}

.card-7-project-btn {
  text-decoration: none;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid#b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: var(--primary-color);
  cursor: pointer;
}

.card-7-project-btn:hover {
  box-shadow: 0 2px 10px 0 #b4f1f1;
}

.card-8-project-btn {
  text-decoration: none;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid#b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: var(--primary-color);
  cursor: pointer;
}

.card-8-project-btn:hover {
  box-shadow: 0 2px 10px 0 #b4f1f1;
}

.card-9-project-btn {
  text-decoration: none;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid#b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: var(--primary-color);
  cursor: pointer;
}

.card-9-project-btn:hover {
  box-shadow: 0 2px 10px 0 #b4f1f1;
}

.hidden-cards {
  display: none;
}

/* Stil pentru buton (opțional) */
.btn-container {
  text-align: center;
  margin-top: 20px;
}

.extra-project.hidden {
  display: none;
}

/* Stil de bază pentru buton */
.btn-container {
  text-align: center;
  margin: 30px 0;
}

.github-link-my-projects,
.tiktok-link-my-projects {
  color: var(--primary-color);
  font-size: 1rem; /* Ajustează mărimea iconiței */
  margin-top: 1rem; /* Să fie la același nivel cu titlul */
  transition: opacity 0.3s;
  padding-left: 1rem;
}

.github-link-my-projects:hover {
  opacity: 0.7;
}

.title-subject-my-projects {
  color: var(--primary-color);
  margin-top: 1rem;
  margin-bottom: 0; /* Important pentru flex */
}

.flex-wrapper-my-projects {
  display: flex;
  align-items: center;
  /* padding-right: 2rem; */
}

.tech-project {
  margin-left: 0.5rem;
}

.fa-html5,
.fa-css3-alt,
.fa-js,
.fa-figma {
  display: inline-block;
  /* margin-right: 5px; */
  color: var(--cyan);
  padding: 5px 10px;
  border-radius: 20px;
  /* width: fit-content; */
  font-size: 13pt;
  margin-top: 1rem;
}

@media screen and (max-width: 700px) {
  .fa-html5,
  .fa-css3-alt,
  .fa-js,
  .fa-figma {
    font-size: 10pt;
    padding: 3px 6px;
  }
}

#toggle-btn {
  border: 1px solid#b4f1f1;
  color: #b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: transparent;
  cursor: pointer;
}

#toggle-btn:hover {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px 0 var(--cyan);
  color: black;
}

/* Blog Section Start */

.blog-title-subtitle h1 {
  color: #fff;
  font-size: 31pt;
}
.blog-title-subtitle p {
  color: #bbbbbb;
  margin-top: 2rem;
}

.blog-title-subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.blog-section {
  scroll-margin-top: 150px;
  position: relative;
  margin-top: 220px;
  /* top: 800px; */
}

.blog-1,
.blog-2,
.blog-3,
.blog-4,
.blog-5,
.blog-6 {
  margin-top: 3rem;
  position: relative;
  /* background-color: #202020; */
  background-color: var(--black);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all ease 0.3s;
  padding-bottom: 4rem;
  flex: 0.26 0 300px;
  /* width: 25%; */
  transition: all ease-in 0.2s;
}

/*  
.blog-1,
.blog-2,
.blog-3 {
  margin-top: 3rem;
  position: relative;
  background-color: #202020;
  border-radius: 20px;
  transition: all ease 0.3s;
  padding-bottom: 4rem;
  width: 21%;
  transition: all ease-in 0.2s;
}

.blog-4,
.blog-5,
.blog-6 {
  position: relative;
  margin-top: 3rem;
  background-color: #202020;
  border-radius: 20px;
  transition: all ease 0.3s;
  padding-bottom: 4rem;
  width: 21%;
  transition: all ease-in 0.2s;
}
  */

.blog-1:hover,
.blog-2:hover,
.blog-3:hover,
.blog-4:hover,
.blog-5:hover,
.blog-6:hover {
  /* background: var(--surface); */
  border: 1px solid var(--cyan-mid);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(180, 241, 241, 0.07);
}

.blog-1 h3,
.blog-2 h3,
.blog-3 h3,
.blog-4 h3,
.blog-5 h3,
.blog-6 h3 {
  color: #fff;
  margin-top: 1rem;
  margin-left: 2rem;
  font-size: 16pt;
}
.blog-1 p,
.blog-2 p,
.blog-3 p,
.blog-4 p,
.blog-5 p,
.blog-6 p {
  color: #bbbbbb;
  margin-top: 0.5rem;
  margin-left: 2rem;
  line-height: 1.6;
}

.blogs h4 {
  color: #777777;
  margin-top: 1rem;
}

.blogs-2 {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
}

.blogs {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
}

@media screen and (max-width: 1000px) {
  .blogs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4rem 2rem;
  }
  .blogs-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4rem 2rem;
  }
  .blog-1,
  .blog-2,
  .blog-3,
  .blog-4,
  .blog-5,
  .blog-6 {
    margin-top: 5rem;
    width: 100% !important;
  }
}

.blog-1 img,
.blog-2 img,
.blog-3 img,
.blog-4 img,
.blog-5 img,
.blog-6 img {
  display: block;
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.blog-1 a,
.blog-2 a,
.blog-3 a,
.blog-4 a,
.blog-5 a,
.blog-6 a {
  text-decoration: none;
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: var(--primary-color);
}

.blog-1 a:hover,
.blog-2 a:hover,
.blog-3 a:hover,
.blog-4 a:hover,
.blog-5 a:hover,
.blog-6 a:hover {
  text-decoration: underline;
}

.more-blogs-btn {
  border: 1px solid#b4f1f1;
  color: #b4f1f1;
  padding: 13px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all ease-in-out 0.3s;
  background-color: transparent;
  cursor: pointer;
  text-decoration: none;
  position: absolute;
  margin-top: 2rem;
  left: 50%;
  transform: translate(-50%);
}

.more-blogs-btn:hover {
  background-color: var(--primary-color);
  color: black;
}

/* blog section end */

/* About Me section Start */

.about-me-section {
  margin-top: 100px;
  scroll-margin-top: 80px;
  border-bottom: 1px solid var(--cyan-dim);
  padding-top: 5rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(
      ellipse 90% 60% at 50% 100%,
      rgba(180, 241, 241, 0.05) 0%,
      transparent 65%
    ),
    var(--bg);
}

@media screen and (max-width: 1000px) {
  .about-me {
    margin-top: 3rem;
    padding: 4rem 2rem;
    height: auto;
  }
}

.about-me h1 {
  color: #fff;
  font-size: 31pt;
  text-align: center;
}
.about-me p {
  margin-top: 2rem;
  color: #bbbbbb;
}
.about-me h2 {
  color: #fff;
  margin-top: 2rem;
}

.about-me-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}

.about-me-img img {
  max-width: 500px;
  max-height: 450px;
  border-radius: 10px;
  filter: grayscale(0.5);
  box-shadow: 0 20px 60px rgba(180, 241, 241, 0.163);
}

.about-me,
.about-me-img {
  display: inline-block;
}

.my-journey {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
}

.title-journey-wrapper {
  font-size: 20pt;
}

.dot,
.year {
  display: inline-block;
}

.timeline {
  display: inline-block;
  position: relative;
}

.year {
  color: var(--cyan);
}

.my-journey h3 {
  color: #fff;
}

.title-jn,
.desc-jn {
  margin-top: 1rem;
}

.my-journey p {
  color: var(--muted);
}

.jn-1-content {
  margin-left: 2rem;
  flex: 1;
}

.line {
  /* padding: 1px; */
  background: var(--border);
  display: block;
  width: 1px;
  height: 120px;
  position: absolute;
  margin-top: 2px;
  margin-left: 5px;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 12px rgba(180, 241, 241, 0.4);
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
}

.jn-1,
.jn-2,
.jn-3,
.jn-4,
.jn-5 {
  margin-top: 3rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About me Section End */

/* Contact Section Start */

.get-in-touch-section {
  margin-top: 100px;
  scroll-margin-top: 150px;
  padding-bottom: 15rem;
}

.get-in-touch-title-subtitle h1 {
  color: #fff;
  font-size: 31pt;
}
.get-in-touch-title-subtitle p {
  margin-top: 2rem;
  color: #bbbbbb;
}

.get-in-touch-title-subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.get-in-touch {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.get-in-touch h3 {
  color: #777777;
  margin-top: 1rem;
}

label {
  color: #fff;
}

.form-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr; /* două coloane egale */
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column; /* label deasupra input-ului */
  margin-bottom: 1rem;
}

.form-group-email {
  margin-bottom: 1rem;
}
.form-group-subject {
  margin-bottom: 1rem;
}

form input,
textarea {
  margin-top: 10px;
  background-color: #1e1e1e;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid #2d2d2d;
  color: #fff;
  width: 100%;
  transition: all ease-in-out 0.2s;
  caret-color: var(--accent);
}

form input:focus {
  outline: 1px solid var(--primary-color);
  box-shadow: 0 2px 10px 0 var(--primary-color);
}

.form-group-message {
  margin-top: 2rem;
}

.services-offer {
  margin-top: 1rem;
  background-color: #1e1e1e;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid #2d2d2d;
  color: #fff;
  width: 50%;
  outline: none;
  margin-bottom: 1rem;
}

.services-offer:focus {
  outline: 1px solid var(--primary-color);
  box-shadow: 0 2px 10px 0 var(--primary-color);
}

#email,
#subject,
#message {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

textarea {
  resize: none;
  height: 100px;
  background-color: #1e1e1e;
}

#message:focus {
  outline: 1px solid var(--primary-color);
  box-shadow: 0 2px 10px 0 var(--primary-color);
}

.form-submit input {
  margin-top: 2rem;
  padding-right: 1rem;
  background-color: var(--primary-color);
  color: #000;
  font-weight: 600;
  width: 100%;
  outline: none;
  cursor: pointer;
  transition: all ease-in-out 0.2s;
  border: 1px solid var(--primary-color);
}

.form-submit input:hover {
  box-shadow: 0 2px 10px 0 var(--primary-color);
}

@media screen and (max-width: 1000px) {
  .form-row {
    grid-template-columns: 1fr; /* de la 2 coloane → 1 coloană */
  }
  .get-in-touch-section {
    padding: 4rem 2rem;
    height: auto;
  }
}

/* footer start*/

footer {
  border-top: 1px solid var(--cyan-dim);
  width: 100%;
  background: url(./images/footer/footer-4.png) no-repeat center center/cover;
  padding: 60px 0 100px 0; /* Spațiu sus și jos */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5rem;
}

.social-media-links-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 4rem;
}

.social-media-links-footer a {
  font-size: 1.2rem; /* Mai scalabil decât pt */
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  width: 50px; /* Dimensiune fixă pentru cerc perfect */
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animație tip "bounce" */
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Efectul de Hover - Glow și Scalare */
.social-media-links-footer a:hover {
  color: #fff;
  border-color: #fff;
  transform: translateY(-10px); /* Se ridică puțin */
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5); /* Glow folosind culoarea ta primary */
  background: var(--cyan-mid); /* Se umple cu culoare la hover */
}
.social-media-links-footer i:hover {
  color: #fff;
}

.footer-legal {
  text-align: center;
}
.footer-legal a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all ease-in-out 0.3s;
}

.footer-legal a:hover {
  text-decoration: underline;
  color: var(--cyan-mid);
}

.get-in-touch p {
  margin-top: 1rem;
  color: #fff;
}

.social-media-links-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 2rem 0;
}

.coffee-btn .icon {
  font-size: 1.2rem;
}

@media screen and (max-width: 600px) {
  footer {
    height: auto;
    padding-bottom: 150px;
  }
}
footer p {
  color: #fff;
  margin-top: 4rem;
  position: static; /* Scoatem absolut-ul care îl bloca pe ecran */
  transform: none;
  text-align: center;
}
