@font-face {
    font-family: 'Space Grotesk';
    src: url(../fonts/SpaceGrotesk-VariableFont_wght.ttf);
}
@font-face {
    font-family: 'Panchang';
    src: url(../fonts/Panchang-Variable.ttf);
}
@font-face {
    font-family: 'Onest';
    src: url(../fonts/Onest-VariableFont_wght.ttf);
}

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

:root{
    --thm-font: 'Space Grotesk', 'Onest';
    --thm-font-secondary: 'Panchang';
    --color-dark: #000000;
    --color-white: #ffffff;
    --primary: #7865FF;
    --secondary-dark: #5A3EC1;
    --secondary-light: #C2BAF7;
    --page-bg: #191919;
    --card-bg: #242424;
}

html{scroll-behavior: smooth;font-family: var(--thm-font);background: var(--page-bg);}
html, body {height: 100%; overflow-x: hidden;}
body {color: var(--color-white); line-height: 1.5; -webkit-font-smoothing: antialiased; font-family: var(--thm-font); background: var(--page-bg);}
img{width: 100%;height: 100%;object-fit: contain;}
img, picture, video, canvas, svg {display: block;max-width: 100%;}
input, button, textarea, select {font: inherit;}
a {text-decoration: none; color: inherit; transition: 0.3s;}
a:hover{color: var(--secondary-dark);transition: 0.3s;}
h1, h2, h3, h4, h5 {font-weight: 600; line-height: 1.2;}

.container{width: 98%; max-width: 1200px; margin: 0 auto;}
.section-title{
    font-family: var(--thm-font-secondary);
    font-weight: 600;
    font-size: 56px;
    line-height: 74px;
    color: var(--color-white);
}
.card-title{
    font-family: var(--thm-font);
    font-weight: 700;
    font-size: 24px;
    line-height: 27px;
    color: var(--color-white);
}
.plain-text{
    font-family: var(--thm-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    color: var(--color-white);
}
.card-text{
    font-family: var(--thm-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--color-white);
}
.thm-btn{
  font-family: var(--thm-font);
  color: var(--color-white);
  background: var(--primary);
  padding: 15px 70px;
  display: block;
  width: max-content;
  font-weight: 700;
  font-size: 16px;
  line-height: 27px;
  transition: 0.3s;
}
.thm-btn:hover {background: #6c4fe0;color: var(--color-white);}
.display-flex{display: flex; gap: 20px; align-items: center;padding-top: 90px;}
.display-grid{display: grid;grid-template-columns: 1fr 1fr 1fr;gap: 20px;justify-content: space-between;}
.display-grid-3{display: grid; grid-template-columns: repeat(2, 1fr); align-items: center; gap: 20px;}
.display-grid-2{display: grid; grid-template-columns: 1fr 1fr; gap: 30px;align-items: center;}
.section-padding{padding-top: 128px;}
/* ---------------------------------------
        Preloader
   --------------------------------------- */
#thm-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.thm-spinner-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  transform: scale(1);
  transition: transform .5s ease;
}
.thm-spinner {
  width: 100%;
  height: 100%;
  border: 6px solid var(--secondary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: thm-spin 1s linear infinite;
}
.thm-preloader-logo {
  width: 188px;
  position: absolute;
  top: 45%;
  left: 50%;
  padding: 20px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@keyframes thm-spin {to { transform: rotate(360deg); }}
body.thm-loaded #thm-preloader {opacity: 0; visibility: hidden;}
body.thm-loaded .thm-spinner-wrapper {transform: scale(.8);}

/* --------------------------------------
        tap to top
   -------------------------------------- */
#thm-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--color-white);
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}
#thm-to-top:hover {background-color: var(--secondary-dark); transform: translateY(-4px);}
#thm-to-top.thm-show {opacity: 1; visibility: visible;}

/* ---------------------------------------------
        pagination
   --------------------------------------------- */


/* ---------------------------------------------
        language selector
   --------------------------------------------- */
.lang-menu {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
}
.lang-icon-sbmn svg{width: 13px;margin-left: 5px;}
.selected-language {
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.lang-circle {
    font-family: var(--thm-font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: var(--color-black);
}
.lang-submenu {
  position: absolute;
  top: 50px;
  left: -5px;
  border-radius: 12px;
  box-shadow: 0px 0px 20px rgba(255, 249, 249, 0.43);
  background: var(--page-bg);
  padding: 10px 0;
  display: none;
  z-index: 100;
  transition: 0.3s;
}
.lang-submenu ul {list-style: none;}
.lang-submenu li {padding: 10px 22px; transition: 0.3s;}
.lang-submenu li a:hover {color: var(--primary);}
.lang-submenu a {font-weight: 400; font-size: 16px; line-height: 21px;}

/* ---------------------------------------------
        header
   --------------------------------------------- */
.site-header{border-bottom: 1px solid var(--color-white);}
.header{position: relative;z-index: 2;display: flex;gap: 24px;justify-content: space-between;align-items: center;position: relative;padding: 15px 0;}
.header-navigation{
    display: flex;gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.header-logo img{height: 40px;}
.header-menus{display: flex;gap: 10px;width: 100%;}
.header-menus .nav-menu{display: flex;gap: 20px;align-items: center;list-style: none;margin: 0 auto;padding: 0;}
.header-menus .nav-menu li a{
    font-family: var(--thm-font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: var(--color-black); 
    text-decoration: none;
    transition: 0.3s;
}
.header-menus .nav-menu li a:hover{color: var(--primary);}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-white);
    border-radius: 1.5px;
    transition: all 0.3s ease;
}
.close-menu{display: none;}

/* ---------------------------------------------
        index banner
   --------------------------------------------- */
.head-banner{position: relative;}
.head-banner-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.banner-infos {padding: 80px 0 60px 0;position: relative;z-index: 20;}
.hero-slogan h1 {
  display: flex;
  flex-direction: column;
  gap: 23px;
  font-size: 106px;
  font-family: var(--thm-font-secondary);
  font-weight: 600;
  line-height: 1.5;
  transform: rotate(-1deg);
}
.hero-slogan h1 span {
  width: fit-content;
  position: relative;
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.1;
  text-shadow: 
    0px -2px 0 #5A3EC1, 
    -2px -2px 0 #5A3EC1, 
    0px 0px 0 #5A3EC1, 
    -2px 1px 0 #5A3EC1;
    margin-bottom: 15px;
}
.hero-slogan h1 span::after,
.hero-slogan h1 span::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 1px;
}
.hero-slogan h1 span::after {
  background: #5A3EC1;
  transform: skewX(-10deg);
}
.hero-slogan h1 span::before {
  background: #fff;
  transform: skewX(10deg);
}

.hero-cta p {
  margin: 20px 0;
  color: var(--color-white);
  font-family: 'Space Grotesk';
  font-weight: 400;
  font-size: 32px;
  padding: 40px 0 50px 0;
}
.hero-cta-button a {padding: 20px 70px;font-size: 32px; line-height: 41px;}
.banner-thumb {
  position: absolute;
  width: 813px;
  aspect-ratio: 1/1;
  right: 0;
  top: -50px;
  pointer-events: none;
  perspective: 1200px;
}
.banner-thumb img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
  transform-style: preserve-3d;
  animation: floatPremium 8s ease-in-out infinite;
}
.banner-hero-split {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--secondary-light);
}
.banner-hero-split-track {
  display: flex;
  width: max-content;
  position: relative;
  animation: scroll 15s linear infinite;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.35);
  transform: rotate(1.16deg);
}
.banner-hero-split-card {
  flex: 0 0 auto;
  padding: 20px 50px;
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
}
.banner-hero-split-card img{display: block; height: 17px;}

@keyframes floatPremium {
  0% {transform: translateY(0px) rotateX(0deg) rotateY(0deg);}
  50% {transform: translateY(-20px) rotateX(2deg) rotateY(-3deg);}
  100% {transform: translateY(0px) rotateX(0deg) rotateY(0deg);}
}
/* --- (RIBBONS) --- */
.banner-ribbons-wrapper {
  position: relative;
  width: 100%;
  z-index: 10;
}
.ribbon {
  position: absolute;
  width: 100%;
  background: var(--secondary-light, #C2BAF7);
  padding: 15px 0;
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.ribbon-1 {
  transform: rotate(2deg);
  top: 15px;
  z-index: 2;
}
.ribbon-2 {
  transform: rotate(-1deg);
  top: 10px;
  z-index: 1;
}
.ribbon-track {
  display: flex;
  width: max-content;
  align-items: center;
}
.track-left {animation: scroll-marquee 30s linear infinite;}
.track-right {animation: scroll-marquee 30s linear infinite reverse;}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ribbon-item {
  color: var(--color-dark, #000);
  font-family: var(--thm-font-secondary, 'Panchang', sans-serif);
  font-weight: 700;
  font-size: 15px;
  padding: 0 40px;
  white-space: nowrap;
  letter-spacing: 1px;
}
.ribbon-item img{width: 24px;}

/* ------------------------------------
      About us
   ----------------------------------- */
.about-us-container{gap: 60px;display: grid;grid-template-columns: 1.5fr 1fr;align-items: center; padding-top: 150px;} 
.about-us-thumb img{width: 100%;}
.about-us-text{padding: 0; flex-direction: column;gap: 48px;align-items: baseline;}

/* ------------------------------------
     Services
   ----------------------------------- */
.service-container h1{padding-bottom: 48px;}
.services-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;align-items: stretch;}
.service-item{
  display: flex;
  gap: 45px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  padding: 54px;
  transition: 0.3s;
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.service-item .card-title{padding-bottom: 0; font-size: clamp(20px, 2vw, 28px); text-align: center;}
.service-item-card-thumb a img{width: 100%;height: 180px;object-fit: contain;}
.services-grid .service-item:last-child{display: none;}

/* ------------------------------------
     Projects
   ----------------------------------- */
.section-projects-container .section-title { padding-bottom: 50px; }
.hero-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 20px;
}
.properties-carousel-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box; 
  position: relative;
}
.properties-carousel {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none; 
  gap: 20px;
}
#properties-carousel::-webkit-scrollbar {display: none;}
.margin-cont {
  flex: 0 0 auto;
  width: calc(((100vw - 1200px) / 2) - 31px);
  height: 260px;
  position: relative;
  overflow: hidden; 
  transition: 0.3s; 
}
.property-item {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  transition: 0.3s;
  user-select: none; 
  -webkit-user-select: none; 
  -moz-user-select: none;
  -ms-user-select: none;
}
.property-item:active {cursor: grabbing; transform: scale(0.98);}
.projects-carousel-card {
  width: 100%;
  max-width: 590px;
  box-sizing: border-box;
  background: #242424;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.projects-carousel-card .property-card-thumb img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.carousel-card-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  gap: 20px;
}
.carousel-card-category-link a img {
  width: 37px;
  height: 55px;
  object-fit: contain;
}
.carousel-card-category p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
}
.carousel-card-category h1 { font-weight: 700; font-size: 24px; }
.projects-cta-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: blue;
  padding: 20px;
  min-width: 0;
  box-sizing: border-box;
  z-index: 10;
  padding: clamp(12px, 2vw, 20px);
}
.all-projects-link-ht { display: flex; gap: 20px; align-items: center; }
.all-projects-link-ht-tp { display: flex; flex-direction: column; }
.all-projects-link { 
  display: inline-block; 
  text-decoration: none; 
  color: inherit; 
  transition: transform .3s; 
}
.all-projects-link:hover { transform: translateX(5px); }

.all-projects-link .all-projects-link-text {
  font-family: var(--thm-font-secondary);
  font-weight: 600;
  font-size: 45px;
  line-height: 60px;
  text-transform: uppercase;
  color: var(--color-white);
}

.all-projects-link-arrows { display: flex; animation: arrows-move 3s ease-in-out infinite; }
.all-projects-link-arrows img { width: 100%; height: 90px; object-fit: contain; }

@keyframes arrows-move {
  0% { transform: translateX(0); opacity:1; }
  50% { transform: translateX(12px); opacity:0.6; }
  100% { transform: translateX(0); opacity:1; }
}

/* ---------------------------------------
      Review's section
  ---------------------------------------- */
.section-rewiews-container .section-title {margin-bottom: 48px;}
.reviews-slider {overflow: hidden; position: relative;}
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}
.reviews-grid-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: var(--card-bg);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.reviews-grid-card-head{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.review-icon-rght img{width: 100%;height: 48px; object-fit: contain;}
.review-card-head h3{
  font-weight: 700;
  font-size: 24px;
  line-height: 27px;
  color: var(--color-white);
  padding-bottom: 8px;
}
.review-card-head .review-site {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  color: #C2BAF7;
}
.review-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  padding: 35px 0;
}
.review-author {display: flex; align-items: center; gap: 30px;}
.review-author img {width: 100px;height: 100px;object-fit: contain;}
.review-author strong {
  display: block;
  font-weight: 700;
  font-size: 24px;
  line-height: 27px;
  color: var(--color-white);
}
.review-author span {font-weight: 400; font-size: 16px; line-height: 27px;}
.reviews-grid-card .review-text {flex-grow: 1;}
.reviews-grid-card .review-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px; 
}
.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  cursor: grab;
}
.reviews-track.dragging {transition: none; cursor: grabbing;}

/* ------------------------------------
     Main cta section
   ----------------------------------- */
.cta-section {
  background: radial-gradient(41.67% 151.24% at 118.48% 217.24%, #FF00E6 0%, rgba(255, 0, 229, 0) 100%), radial-gradient(47.11% 101.4% at 64.36% 120.5%, #00B3FF 0%, rgba(0, 178, 255, 0) 100%), linear-gradient(90deg, #B931F9 0%, #7865FF 50.4%, #2641D0 100%);
  padding: 48px;
  text-align: center;
  margin-top: 120px;
}
.cta-title {
  font-family: var(--thm-font-secondary);
  font-weight: 600;
  font-size: 56px;
  color: var(--color-white);
  margin-bottom: 12px;
}
.cta-subtitle {
font-family: var(--thm-font);
font-weight: 400;
font-size: 16px;
line-height: 27px;
color: var(--thm-font);
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 48px;
}
.cta-actions .cta-arrow img{width: 27px;height: 51px;object-fit: contain;}
.cta-actions .cta-arrow {display: flex;gap: 20px;}
.cta-btn {
  background: var(--secondary-dark);
  color: var(--color-white);
  padding: 20px 70px;
  transition: 0.3s;
  font-weight: 700;
  font-size: 30px;
  line-height: 41px;
  transition: 0.3s;
}
.cta-btn:hover {color: var(--color-white); transform: translateY(-1px); box-shadow: 0 8px 10px rgba(0,0,0,0.25);}
.cta-arrow.cta-arrow-left {animation: arrow-left 1.4s infinite ease-in-out;}
@keyframes arrow-left {0%, 100% { transform: translateX(0); opacity: 0.8; } 50% { transform: translateX(3px); opacity: 1; }}
.cta-arrow.cta-arrow-right {animation: arrow-right 1.4s infinite ease-in-out;}
@keyframes arrow-right {0%, 100% { transform: translateX(0); opacity: 0.8; } 50% { transform: translateX(-3px); opacity: 1; }}

/* ------------------------------------
     About Us page
   ----------------------------------- */
.about-us-page {position: relative;}
.section-ab-us-backg {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    pointer-events: none;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ab-us-svg-layer {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
    will-change: transform, opacity; 
    animation: premiumBgFloat 25s ease-in-out infinite;
}
.about-us-top, .about-us-midle, .about-us-bottom {position: relative; z-index: 1;}

@keyframes premiumBgFloat {
    0% {transform: translate(0, 0) scale(1);opacity: 0.5;}
    25% {transform: translate(1%, 1%) scale(1.02);opacity: 0.7;}
    50% {transform: translate(-1%, 0.5%) scale(1.04);opacity: 0.6;}
    75% {transform: translate(0.5%, -1%) scale(1.02);opacity: 0.7;}
    100% {transform: translate(0, 0) scale(1);opacity: 0.5;}
}

.about-us-top{display: grid;grid-template-columns: 1fr 1fr;}
.ab-us-top-title{margin-bottom: 48px;}

.diff-grid {
  padding-top: 48px;
    column-gap: 40px;
    row-gap: 30px;
}
.diff-content .card-text{color: var(--color-white);}
.diff-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid transparent; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.diff-card:hover {
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(120, 101, 255, 0.15); 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
}
.diff-icon-wrapper {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}
.diff-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.diff-card:hover .diff-icon-wrapper {transform: scale(1.1) translateY(-3px);}
.diff-content .card-title {margin-bottom: 12px;}

/* --- about team --- */
.about-us-bottom {
    position: relative;
    z-index: 2;
}
.team-main-title {margin-bottom: 48px;}
.team-grid {gap: 30px;}
.team-card {
   background-color: var(--card-bg, #242424);
   padding: 24px;
   border: 1px solid transparent;
   transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.team-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #333;
}
.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.team-info .card-title {margin-bottom: 5px;}
.team-card:hover {
    transform: translateY(-12px);
    background-color: rgba(36, 36, 36, 0.9);
    border: 1px solid rgba(120, 101, 255, 0.25);
}
.team-card:hover .team-img-wrapper img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* ------------------------------------
     Services page
   ----------------------------------- */
/* =========================================
   PAGINA SERVICII - STILURI PREMIUM
   ========================================= */

/* --- HERO SECTION --- */
.srv-hero-section {
    position: relative;
    padding-bottom: 80px;
}

.srv-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.srv-hero-desc {
    margin-top: 30px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.srv-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.srv-bg-lines svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- LISTA SERVICII (Z-PATTERN) --- */
.srv-list-section {
    padding-bottom: 60px;
}

.srv-item {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.srv-item:last-child {
    border-bottom: none;
}

/* Stiluri Text Conținut */
.srv-title {
    font-family: var(--thm-font-secondary);
    font-size: 40px;
    color: var(--color-white);
    margin-bottom: 25px;
}

.srv-content .plain-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

/* Lista cu bife (Features) */
.srv-features {
    list-style: none;
    padding: 0;
}

.srv-features li {
    font-family: var(--thm-font);
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.srv-features li i {
    color: var(--primary); /* Bifele mov */
    font-size: 14px;
}

/* Elementul Vizual & Animații */
.srv-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.srv-wireframe-box {
    background: var(--card-bg);
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.srv-wireframe-box img {
    width: 70%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(120, 101, 255, 0.2));
    transition: transform 0.6s ease;
}

/* Numărul uriaș din spate (ex: 01, 02) */
.srv-number {
    position: absolute;
    font-family: var(--thm-font-secondary);
    font-size: 180px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
    top: -20%;
    left: -10%;
    user-select: none;
    transition: color 0.5s ease, -webkit-text-stroke 0.5s ease;
}

/* Hover Effects Premium */
.srv-item:hover .srv-wireframe-box {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(120, 101, 255, 0.3);
}

.srv-item:hover .srv-wireframe-box img {
    transform: scale(1.1);
}

.srv-item:hover .srv-number {
    -webkit-text-stroke: 1px var(--primary);
    color: rgba(120, 101, 255, 0.05);
}


/* --- RESPONSIVITATE --- */
@media (max-width: 1024px) {
    .srv-title { font-size: 32px; }
    .srv-number { font-size: 120px; top: -10%; left: 0; }
    
    .srv-gradient-cta { padding: 60px 30px; }
    .srv-cta-content h2 { font-size: 36px; }
}

@media (max-width: 768px) {
    /* Pe mobil, scoatem inversarea stânga/dreapta ca să arate curat, una sub alta */
    .srv-item.display-grid-3, 
    .srv-item.display-grid-3.srv-reverse {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Asigurăm că imaginea apare prima, textul al doilea pe mobil, chiar dacă era reverse */
    .srv-item.srv-reverse .srv-visual {
        order: -1;
    }

    .srv-hero-section h1 {
        font-size: 40px;
    }
    
    .srv-cta-btn-wrapper {
        flex-direction: column; /* Pe mobil butonul stă singur */
    }
}

/* =========================================
   PAGINA PORTOFOLIU - STILURI
   ========================================= */

.prt-hero-section {
    position: relative;
    padding-bottom: 60px;
}

.prt-glow-bg {
    position: absolute;
    top: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(120, 101, 255, 0.15) 0%, rgba(25, 25, 25, 0) 70%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}

.prt-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.prt-subtitle {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.6;
}

/* --- FILTRE --- */
.prt-main-section {
    padding-bottom: 120px;
}

.prt-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.prt-filter-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--thm-font);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prt-filter-btn:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.prt-filter-btn.active {
    background: var(--primary);
    color: var(--color-white);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(120, 101, 255, 0.3);
}

/* --- GRID PROIECTE (2 Coloane) --- */
.prt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px; /* gap vertical 50px, orizontal 40px */
}

.prt-card {
    display: block;
    /* Animație pentru filtrare */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.prt-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.prt-card-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

/* Imaginea Proiectului */
.prt-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* Raport cinematic / wide pentru poze de portofoliu */
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--card-bg);
    margin-bottom: 20px;
}

.prt-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Overlay la Hover */
.prt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.prt-view-btn {
    background: var(--primary);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--thm-font);
    font-size: 14px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Efecte Hover Card */
.prt-card-link:hover .prt-img-wrapper img {
    transform: scale(1.05); /* Zoom in */
}

.prt-card-link:hover .prt-overlay {
    opacity: 1; /* Apare fundalul negru transparent */
}

.prt-card-link:hover .prt-view-btn {
    transform: translateY(0); /* Butonul glisează în sus */
}

/* Detalii Text (Sub imagine) */
.prt-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-family: var(--thm-font);
    font-size: 14px;
}

.prt-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prt-tech {
    color: rgba(255, 255, 255, 0.4);
}

.prt-title {
    font-family: var(--thm-font-secondary);
    font-size: 26px;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.prt-card-link:hover .prt-title {
    color: var(--primary); /* Titlul devine mov la hover */
}

/* --- BUTON ÎNCĂRCARE MAI MULTE --- */
.prt-load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .prt-grid {
        gap: 40px 30px;
    }
    .prt-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .prt-grid {
        grid-template-columns: 1fr; /* O singură coloană pe telefoane */
        gap: 50px;
    }
    
    .prt-hero-section h1 {
        font-size: 40px;
    }

    .prt-filters {
        overflow-x: auto; /* Filtrele se pot da stânga-dreapta pe mobil */
        white-space: nowrap;
        padding-bottom: 15px;
    }
}

/* =========================================
   PAGINA SINGLE PROJECT - STILURI
   ========================================= */

.sp-hero-section {
    position: relative;
    padding-bottom: 60px;
}

.sp-glow-bg {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 101, 255, 0.15) 0%, rgba(25, 25, 25, 0) 70%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(80px);
}

/* Header Text */
.sp-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 2;
}

.sp-category {
    font-family: var(--thm-font);
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.sp-main-title {
    font-family: var(--thm-font-secondary);
    font-size: 64px;
    color: var(--color-white);
    margin-bottom: 30px;
    line-height: 1.1;
}

.sp-intro {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Imagine Principală (Hero Image) */
.sp-featured-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sp-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Informații Meta (Grid-ul de date) */
.sp-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.sp-meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-meta-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sp-meta-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
}

/* --- SECȚIUNEA DE POVESTE --- */
.sp-story-section {
    padding: 100px 0;
}

.sp-content-block {
    margin-bottom: 120px;
}

.sp-content-block:last-child {
    margin-bottom: 0;
}

.sp-title {
    font-family: var(--thm-font-secondary);
    font-size: 36px;
    color: var(--color-white);
    margin-bottom: 30px;
}

.sp-text-area p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 18px;
}

.sp-image-area {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sp-image-area img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- GALERIE --- */
.sp-gallery-section {
    padding-bottom: 100px;
}

.sp-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.sp-gallery-item, .sp-gallery-full {
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg); /* Placeholder dacă nu e poză */
}

/* --- REZULTATE --- */
.sp-results-section {
    padding-bottom: 100px;
}

.text-center {
    text-align: center;
}

.sp-results-wrapper {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 80px 40px;
}

.sp-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-top: 50px;
}

.sp-result-number {
    display: block;
    font-family: var(--thm-font-secondary);
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(120, 101, 255, 0.4);
}

.sp-result-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- NAVIGARE PROIECT URMĂTOR --- */
.sp-next-project {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sp-next-link {
    display: block;
    padding: 80px 0;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sp-next-link:hover {
    background: rgba(255, 255, 255, 0.02);
}

.sp-next-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.sp-next-title {
    font-family: var(--thm-font-secondary);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s ease;
}

.sp-next-link:hover .sp-next-label {
    color: var(--primary);
}

.sp-next-link:hover .sp-next-title {
    color: var(--color-white);
    transform: translateX(10px);
}

.sp-next-link:hover .sp-next-title i {
    color: var(--primary);
}

.sp-live-link-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Folosim stilul de 'Outline' pentru un aspect tehnic și curat */
.sp-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--color-white);
    padding: 15px 40px;
    transition: all 0.3s ease;
}

/* Efect de umplere cu glow mov la hover */
.sp-live-btn:hover {
    background: var(--primary);
    color: var(--color-white);
    box-shadow: 0 10px 25px rgba(120, 101, 255, 0.4);
    transform: translateY(-3px);
}

.sp-live-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Animație subtilă pe iconiță - sare spre colțul dreapta-sus */
.sp-live-btn:hover i {
    transform: translate(3px, -3px);
}

/* --- RESPONSIVITATE --- */
@media (max-width: 1024px) {
    .sp-main-title { font-size: 48px; }
    .sp-meta-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-result-number { font-size: 48px; }
}

@media (max-width: 768px) {
    .sp-main-title { font-size: 36px; }
    .sp-intro { font-size: 16px; }
    
    .sp-content-block.display-grid-2, 
    .sp-content-block.display-grid-2.sp-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
      .sp-live-link-wrapper {
        margin-top: 30px;
    }
    .sp-live-btn {
        width: 100%;
        justify-content: center;
    }
    /* Asigură-te că imaginea e sub text pe mobil */
    .sp-content-block.sp-reverse .sp-image-area {
        order: 2;
    }
    .sp-content-block.sp-reverse .sp-text-area {
        order: 1;
    }

    .sp-gallery-grid { grid-template-columns: 1fr; }
    .sp-results-grid { grid-template-columns: 1fr; gap: 50px; }
    .sp-next-title { font-size: 28px; }
}

/* =========================================
   PAGINA 404 - STILURI PREMIUM
   ========================================= */

.error-404-section {
    position: relative;
    /* Face ca secțiunea să ocupe toată înălțimea ecranului */
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--page-bg);
    text-align: center;
}

/* Glow-ul central masiv */
.error-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(120, 101, 255, 0.15) 0%, rgba(25, 25, 25, 0) 70%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(80px);
}

.error-container {
    position: relative;
    z-index: 2;
}

/* Cifra 404 Uriașă & Animația de Levitație */
.error-code {
    font-family: var(--thm-font-secondary);
    /* 'clamp' o face perfect responsive: masivă pe PC, rezonabilă pe telefon */
    font-size: clamp(120px, 20vw, 250px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    
    /* Efectul Tech Premium: Transparent cu margine mov */
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    text-shadow: 0 0 40px rgba(120, 101, 255, 0.3);
    
    /* Animația fină de plutire pe care am folosit-o și la obiectele 3D */
    animation: float404 6s ease-in-out infinite;
}

.error-title {
    font-family: var(--thm-font-secondary);
    font-size: clamp(24px, 4vw, 40px);
    color: var(--color-white);
    margin-bottom: 20px;
}

.error-desc {
    max-width: 500px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.6;
}

.error-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* Adăugăm iconița în interiorul butonului tău existent */
.error-btn-wrapper .thm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* --- ANIMAȚIE PLUTIRE --- */
@keyframes float404 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* --- RESPONSIVITATE MICA --- */
@media (max-width: 576px) {
    .error-code {
        -webkit-text-stroke: 1.5px var(--primary); /* Margine mai subțire pe mobil */
    }
    .error-desc {
        font-size: 16px;
        padding: 0 15px;
    }
}

/* =========================================
    Contact page
   ========================================= */

.contact-page-section {
    position: relative;
}
.contact-glow-bg {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 101, 255, 0.15) 0%, rgba(25, 25, 25, 0) 70%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(50px);
}

.contact-hero-header {
    max-width: 700px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    font-size: 18px;
}

.contact-main-grid {
    position: relative;
    z-index: 2;
    align-items: start; /* Aliniem sus */
    gap: 60px;
}

/* --- Partea Stângă: Info Contact --- */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.c-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: block ruby;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-info-item:hover .c-icon {
    background: var(--primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(120, 101, 255, 0.3);
}

.c-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.c-label {
    font-family: var(--thm-font);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-text {
    font-family: var(--thm-font-secondary);
    font-size: 18px;
    color: var(--color-white);
    font-weight: 600;
}

/* Socials */
.contact-socials {
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-family: var(--thm-font-secondary);
    font-size: 28px;
    margin-bottom: 30px;
}

.cyber-form .form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cyber-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.cyber-form label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

/* Stil Input-uri (Dark mode sleek) */
.cyber-form input,
.cyber-form textarea {
    width: 100%;
    background: var(--page-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    padding: 15px 20px;
    border-radius: 4px;
    font-family: var(--thm-font);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.cyber-form textarea {
    resize: vertical;
}

.cyber-form input:focus,
.cyber-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(120, 101, 255, 0.15);
}

.cyber-form input::placeholder,
.cyber-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Checkbox GDPR */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.form-checkbox input {
    margin-top: 4px;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
}

/* Buton 100% width */
.w-100 {
    width: 100% !important;
    text-align: center;
    cursor: pointer;
    border: none;
}

/* Stări de Eroare */
.cyber-form .error-msg {
    color: #ff4d4d;
    font-size: 12px;
    position: absolute;
    bottom: -18px;
    left: 0;
    display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ff4d4d;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-status-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* --- RESPONSIVITATE --- */
@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr; /* O singură coloană pe tablete/mobile */
        gap: 50px;
    }
    
    .contact-info-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .contact-info-item {
        width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .contact-hero-header h1 {
        font-size: 40px;
    }
    .contact-info-item {
        width: 100%;
    }
    .cyber-form .form-group-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* =========================================
   POLITICA DE CONFIDENȚIALITATE - STILURI
   ========================================= */

.policy-hero-section {
    position: relative;
    padding-bottom: 60px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-glow-bg {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 101, 255, 0.1) 0%, rgba(25, 25, 25, 0) 70%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}

.policy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.policy-subtitle {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 1.6;
}

/* --- LAYOUT GRID (Sidebar + Text) --- */
.policy-content-section {
    padding: 80px 0 120px 0;
}

.policy-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
}

/* --- SIDEBAR NAVIGARE --- */
.policy-sidebar {
    position: sticky;
    top: 120px; /* Se oprește frumos sub header-ul site-ului la scroll */
    padding-right: 20px;
}

.policy-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-link {
    font-family: var(--thm-font);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.policy-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.03);
}

/* Starea Activă (Setată automat de JS la scroll) */
.policy-link.active {
    color: var(--primary);
    background: rgba(120, 101, 255, 0.1);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* --- CONȚINUT TEXT --- */
.policy-text-area {
    max-width: 800px;
}

.policy-block {
    margin-bottom: 60px;
    scroll-margin-top: 120px; /* Spațiu sus pentru scroll-ul pe ancore */
}

.policy-block h2 {
    font-family: var(--thm-font-secondary);
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-block p {
    font-family: var(--thm-font);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7); /* Text ușor estompat pentru lizibilitate optimă pe dark mode */
    margin-bottom: 20px;
}

.policy-block strong {
    color: var(--color-white);
    font-weight: 600;
}

.policy-block ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.policy-block ul li {
    font-family: var(--thm-font);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
    list-style: none;
}

/* Bullet-uri custom (linii sau puncte mov) */
.policy-block ul li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Cutia de contact de la final */
.policy-contact-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 20px;
}

.policy-contact-box p {
    margin-bottom: 10px;
    color: var(--color-white);
}

.policy-contact-box p:last-child {
    margin-bottom: 0;
}

/* --- RESPONSIVITATE --- */
@media (max-width: 1024px) {
    .policy-layout {
        grid-template-columns: 250px 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .policy-layout {
        grid-template-columns: 1fr; /* Transformăm în o singură coloană */
        gap: 40px;
    }

    .policy-sidebar {
        position: relative;
        top: 0;
        padding-right: 0;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .policy-nav {
        flex-direction: row;
    }

    .policy-link {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 15px;
    }

    .policy-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary);
    }

    .policy-block h2 {
        font-size: 24px;
    }
}

/* =========================================
   TERMENI ȘI CONDIȚII - STILURI
   ========================================= */

.terms-hero-section {
    position: relative;
    padding-bottom: 60px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-glow-bg {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 101, 255, 0.1) 0%, rgba(25, 25, 25, 0) 70%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.terms-subtitle {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 1.6;
}

/* --- LAYOUT GRID (Sidebar + Text) --- */
.terms-content-section {
    padding: 80px 0 120px 0;
}

.terms-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
}

/* --- SIDEBAR NAVIGARE --- */
.terms-sidebar {
    position: sticky;
    top: 120px; /* Offset pentru scroll, ca să nu lovească sus */
    padding-right: 20px;
}

.terms-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terms-link {
    font-family: var(--thm-font);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.terms-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.03);
}

.terms-link.active {
    color: var(--primary);
    background: rgba(120, 101, 255, 0.1);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* --- CONȚINUT TEXT --- */
.terms-text-area {
    max-width: 800px;
}

.terms-block {
    margin-bottom: 60px;
    scroll-margin-top: 120px; /* Offset pentru ancore, să nu ascundă titlul sub header-ul site-ului */
}

.terms-block h2 {
    font-family: var(--thm-font-secondary);
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-block p {
    font-family: var(--thm-font);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.terms-block strong {
    color: var(--color-white);
    font-weight: 600;
}

.terms-block ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.terms-block ul li {
    font-family: var(--thm-font);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
    list-style: none;
}

/* Stil pentru listele cu puncte, ca să arate tech/custom */
.terms-block ul li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Cutia specială pentru contact la final */
.terms-contact-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 30px;
}

.terms-contact-box p {
    margin-bottom: 10px;
    color: var(--color-white);
}

.terms-contact-box p:last-child {
    margin-bottom: 0;
}

/* --- RESPONSIVITATE --- */
@media (max-width: 1024px) {
    .terms-layout {
        grid-template-columns: 250px 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .terms-layout {
        grid-template-columns: 1fr; 
        gap: 40px;
    }

    .terms-sidebar {
        position: relative;
        top: 0;
        padding-right: 0;
        /* Meniul devine scrollabil pe orizontală pe telefoane */
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .terms-nav {
        flex-direction: row;
    }

    .terms-link {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 15px;
    }

    .terms-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary);
    }

    .terms-block h2 {
        font-size: 24px;
    }
}

/* ------------------------------------
     Footer
   ----------------------------------- */
.section-footer{border-top: 1px solid var(--color-white); margin-top: 128px;}
.footer-copyright p{text-align: center;}
.footer-copyright{padding: 20px 0;border-top: 1px solid #ffffff30;}
.footer-container{padding: 72px 0;grid-template-columns: 2fr 1fr 1fr;}
.footer-contacts{
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
}
.footer-main h1{
font-weight: 400;
font-size: 32px;
line-height: 27px;
}
.footer-nav-menu li a img{width: 13px;}
.footer-nav-menu li a{
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-nav-menu{list-style: none;}
.footer-nav-menu{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
}
.footer-nav h1{
  font-weight: 500;
  font-size: 32px;
  line-height: 27px;
}
.footer-selected-language{
  padding: 10px 30px;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 32px;
  line-height: 27px;
  min-width: 140px;
}
.footer-social a{padding: 8px; background: var(--primary); width: max-content;}
.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
}
.footer-social a:hover img {transform: scale(1.2);}
.footer-social a img{width: 24px;object-fit: contain;}
.footer-controls-content{display: flex;flex-direction: column;gap: 48px;align-items: end;}
.footer-social{display: flex;gap: 16px;}
.footer-logo img{width: 100%; max-width: 390px;}
.footer-contacts a:hover, .footer-nav-menu li a:hover{margin-left: 5px;}
.footer-lang-menu {position: relative;display: inline-block;}
.footer-lang-submenu {
  display: none;
  width: 100%;
  position: absolute;
  background: var(--secondary-dark);
  color: var(--color-white);
  margin-top: 3px;
  z-index: 10;
}
.footer-lang-submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-lang-submenu li a {
  display: block;
  padding: 8px 12px;
  color: var(--color-white);
}
.footer-lang-submenu li a:hover {background: var(--primary);}
.footer-logo{display: flex;flex-direction: column;gap: 20px;}

/* ---------------------------------------------
        media queres
   --------------------------------------------- */
@media (max-width: 1200px) {
  
}

@media (max-width: 1170px) {
  .all-projects-link-arrows img{height: 80px;}
  .all-projects-link .all-projects-link-text {font-size: 40px;}
}

@media (max-width: 1170px) {
  .all-projects-link-arrows img{height: 75px;}
  .all-projects-link .all-projects-link-text {font-size: 35px;}
}

@media (max-width: 1170px) {
  .all-projects-link-arrows img{height: 70px;}
  .all-projects-link-ht{gap: 10px;}
  .all-projects-link .all-projects-link-text {font-size: 30px;}
}

@media (max-width: 1080px) {
  .hero-slogan h1{font-size: 80px;}
  .banner-thumb{width: 600px;}
  .hero-cta p{font-size: 25px;}
  .hero-cta-button a{font-size: 20px;padding: 10px 51px;}
}

@media (max-width: 1024px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch; }
  .service-item {padding: 40px; gap: 28px;}
  .service-item-card-thumb a img {height: 160px;}
  .services-grid .service-item:last-child{display: flex;}

  .team-grid.display-grid {grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 992px) {
  .diff-grid.display-grid-2 {grid-template-columns: 1fr; gap: 20px;}
}

@media (max-width: 900px) {
 .section-projects{width: 100% !important;}
 .container{width: 95%;}
 .close-menu{display: block;}
 .menu-toggle {display: flex;order: 2;z-index: 1001;}
 .header-logo {order: 1;}
 .header-menus {
    position: fixed;
    left: -100%;
    top: 0;
    width: 90%;
    max-width: 300px;
    height: 100vh;
    background: var(--page-bg);
    z-index: 1002;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    transition: 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    border-right: 1px solid #ffffff30;
    display: flex;
  }
  .section-title{font-size: 45px;}
  .about-us-container{gap: 45px;}
  .header-menus.active {left: 0;}
  .close-menu {
    align-self: flex-end;
    font-size: 45px;
    font-weight: 100;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
  }
  .header-menus .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    width: 100%;
  }
  .header-menus .nav-menu li a {font-size: 18px; padding: 8px 0; }

  .banner-infos,.banner-ribbons-wrapper{z-index: 1;}

  .about-us-top{display: block;}
  .ab-us-top-title h1{padding-bottom: 10px;}
}

@media (max-width: 864px){
  .all-projects-link .all-projects-link-text {font-size: 25px;}
  .all-projects-link-arrows img {height: 60px;}
}

@media (max-width: 840px){
  .footer-container {
  grid-template-columns: auto;
  justify-content: space-around;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-main{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding-bottom: 50px;
}
.cta-title{font-size: 45px;}
.cta-btn{font-size: 25px;}
.cta-actions .cta-arrow img{height: 40px;}
.cta-btn{padding: 15px 60px;}
}

@media (max-width: 780px){
  .about-us-container{grid-template-columns: 1fr;}
  .about-us-text{gap: 35px;padding: 0;}
  .about-us-thumb img{display: none;}
  .section-padding {padding-top: 100px;}
  .services-grid .service-item:last-child{display: block;}
  .banner-thumb{width: 400px;top: -20px;}
  .hero-slogan h1{font-size: 65px;}
  .hero-cta p{margin: 5px 0;padding: 25px 0;}
  .hero-cta p {font-size: 20px;}
}

@media (max-width: 768px) {
  .projects-carousel { grid-template-columns: 1fr; }
  .projects-carousel-viewport { overflow: visible; }
  .projects-carousel-card { flex: 0 0 100%; }
  .all-projects-link .all-projects-link-text { font-size: 32px; line-height: 40px; }
  .section-projects-container .section-title{margin-left: 20px;}
  .services-grid {grid-template-columns: 1fr;}
  .services-grid .service-item:last-child {display: flex;}
  .service-item {padding: 32px; gap: 24px;width: 90%;margin: 0 auto;}
  .service-item-card-thumb a img {height: 150px;}
  .hero-cta-button a{padding: 15px 60px;}
  .section-title{font-size: 35px;line-height: 40px;}
  .ribbon-item{font-size: 14px;}
  .selected-language .lang-icon-sbmn{width: 20px;}
  .ribbon-2{transform: rotate(-5deg);}
  .ab-us-svg-layer {animation-duration: 40s;}

  .diff-main-title {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 40px;
    text-align: center;
  }
  .diff-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }
  .diff-card:hover {transform: translateY(-5px);}
  .contact-info-wrapper{flex-direction: column;}

}

@media (max-width: 760px){
  .cta-title{font-size: 35px;}
  .cta-btn{font-size: 20px;text-wrap: nowrap;}
}

@media (max-width: 640px){
  .cta-btn{font-size: 16px;}
  .cta-btn {padding: 10px 50px;}
  .cta-actions .cta-arrow img{height: 35px;}
  .projects-carousel-card {max-width: 490px;}
  .ribbon-item{font-size: 13px;}
  .cta-section{padding: 48px 20px;}
  .footer-logo img{margin: 0 auto;width: 85%;}
  .footer-social a img{width: 32px;}
}

@media (max-width: 600px) {
  .team-grid.display-grid {grid-template-columns: 1fr;}
  .team-card {padding: 20px;text-align: center;}
  .footer-social{gap: 20px;}
}

@media (max-width: 560px){
  .footer-main {display: block;}
  .footer-selected-language{font-size: 25px;width: initial;padding: 10px 50px;}
  .footer-lang-submenu li a{padding: 10px 20px;font-size: 18px;}
  .footer-lang-icon-sbmn svg{width: 14px;}
  .hero-slogan h1{font-size: 45px;}
  .banner-thumb{width: 350px;top: 0;}
}

@media (max-width: 540px){
  .cta-actions{padding-top: 30px;}
  .cta-actions .cta-arrow{gap: 0;}
  .cta-btn{display: block ruby;}
  .cta-actions .cta-arrow img {height: 25px;}
  .cta-title {font-size: 27px;}
  .cta-btn {padding: 10px 40px;display: block;}
  .projects-carousel-card {max-width: 400px;}
}

@media (max-width: 480px) {
  .projects-carousel-card a img { height: 250px; }
  .carousel-card-category h1 { font-size: 20px; }
  .all-projects-link .all-projects-link-text { font-size: 26px; line-height: 32px; }
  .carousel-card-category-link{height: 10vh;}
  .service-item {padding: 24px; gap: 20px;}
  .service-item-card-thumb a img {height: 130px;}
  .service-item .card-title {font-size: 20px;}
}

@media (max-width: 460px){
  .footer-container{gap: 0; flex-direction: column;}
  .footer-controls-content{align-items: baseline; flex-wrap: wrap;flex-direction: column; margin-top: 40px;}
}

@media (max-width: 380px){
  .banner-thumb{width: 250px;}  
  .hero-slogan h1{font-size: 30px;}
  .hero-cta p{font-size: 16px;}
}

@media (min-width: 768px) {
  .reviews-grid-card {flex: 0 0 50%; max-width: 50%;}
}

@media (min-width: 1024px) {
  .reviews-grid-card {flex: 0 0 32%; max-width: 33.33%;}
}
