  /* Reset și variabile CSS */
  /* 1. ÎMBUNĂTĂȚIRI FONT LOADING */
  @font-face {
      font-family: 'AKONY';
      src: url('font/AKONY.woff2') format('woff2'),
          url('font/AKONY.woff') format('woff');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
      /* Previne FOIT */
  }

  @font-face {
      font-family: "Font Awesome 6 Free";
      font-style: normal;
      font-weight: 900;
      /* fa-solid-900 */
      src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2") format("woff2"),
          url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff") format("woff");
      font-display: swap;
  }




  /* --------------------------------------------------------------------------------------ROOT + BODY------------------------------------------ */


  :root {
      /* 🌈 Culori */
      --color-bg: #121212;
      --color-secondary: #e9e9e9;
      --color-accent: #73bf44;
      --color-text: #111111;
      --color-muted: #444444;

      /* ✍️ Fonturi */
      --font-heading: "Poppins", sans-serif;
      --font-body: 'Inter', sans-serif;

      /* 🔠 Dimensiuni text (responsive cu clamp) */
      --fs-h1: clamp(2.5rem, 5vw, 4rem);
      --fs-h2: clamp(1.75rem, 4vw, 3rem);
      --fs-h3: clamp(1.5rem, 3vw, 2.25rem);
      --fs-body: clamp(1rem, 2.5vw, 1.125rem);

      --fs-small: clamp(0.875rem, 1vw, 1rem);
      --fs-xxs: clamp(0.625rem, 0.7vw, 0.75rem);

      /* 📏 Border */


      /* 🖋️ Grosime text */
      --fw-light: 300;
      --fw-normal: 400;
      --fw-medium: 500;
      --fw-bold: 700;
  }


  /* --------------------------------------------------------------------------------------NAVBAR------------------------------------------ */



  .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;

      width: 60%;
      position: fixed;
      top: 20px;
      /* distanța de sus */
      left: 50%;
      /* poziționează la jumătatea ecranului */
      transform: translateX(-50%);
      /* îl centrează pe orizontală */

      border-bottom: 1px solid #12121225;
      padding: 8px 2%;
      /* mai mic sus-jos, lași lateralul neschimbat */

      background: linear-gradient(135deg,
              #e5e5e5 0%,
              #f6f6f6 15%,
              #e0e0e0 25%,
              #f5f5f5 45%,
              #dcdcdc 70%,
              #f2f2f2 100%);
      border-radius: 50px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      z-index: 10;
      box-sizing: border-box;
      border: 1px solid rgb(194, 194, 194);
  }

  nav .logo {
      height: 30px;
      width: auto;
  }

  .navbar .desktopnav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
      color: var(--color-muted);
      height: 90%;
      transition: 0.3s, color 0.3s;
      gap: 2rem;
  }



  .desktopnav li a {
      text-decoration: none;
      font-family: var(--font-body);
      font-weight: var(--fw-light);
      font-size: var(--fs-body);
      color: var(--color-muted);
      padding: 0.5rem 1rem;
      display: block;
      transition: color 0.3s;
      /* doar pentru culoare */
  }

  .desktopnav li a:hover {

      color: var(--color-secondary);
      /* aici se schimbă culoarea la hover */
      background-color: gray;
      border-radius: 20px;
      height: 100%;
      width: 100%;
  }

  /* dropdown ascuns inițial */
  .desktopnav li {
      position: relative;
  }

  .desktopnav .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      /* imediat sub "Servicii" */
      left: 0;
      backdrop-filter: blur(25px) saturate(180%);
      -webkit-backdrop-filter: blur(25px) saturate(180%);
      background-color: rgba(255, 255, 255, 0.593);
      box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.084);
      min-width: 180px;
      z-index: 1;
      width: 15rem;

  }

  .desktopnav .dropdown-menu li {
      width: 100%;
      text-decoration: none;
      list-style: none;

  }

  .desktopnav .dropdown-menu li a {
      display: block;
      padding: 0.5rem 1rem;
      font-family: var(--font-body);
      font-weight: var(--fw-light);
      font-size: var(--fs-body);
      color: var(--color-muted);
      text-decoration: none;
      transition: 0.2s ease;
      list-style: none;
  }

  .desktopnav .dropdown-menu li a:hover {
      background: var(--color-muted);
      color: var(--color-secondary);
      border-radius: 0.5rem;
  }

  /* arată meniul doar la hover */
  .desktopnav li:hover>.dropdown-menu {
      display: block;
  }

  .navbar .desktopnav li {
      font-family: var(--font-body);
      font-weight: var(--fw-light);
      font-size: var(--fs-body);
      position: relative;
      /* necesar pentru dropdown */
  }

  .navbar a {
      text-decoration: none;

      font-family: "Inter", sans-serif;
  }



  .sidebar {
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      width: 250px;

      background: linear-gradient(135deg,
              #e5e5e5 0%,
              #f6f6f6 15%,
              #e0e0e0 25%,
              #f5f5f5 45%,
              #dcdcdc 70%,
              #f2f2f2 100%);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      border-left: 0.5px solid #b3b3b3;
      z-index: 9999;
      display: none;
      padding-left: 2rem;
      padding-top: 2rem;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      backdrop-filter: blur(10px);
      gap: 60px;
  }





  .sidebar li {
      width: 80%;
      text-decoration: none;
      font-family: var(--font-body);
      font-size: var(--fs-h3);
      color: var(--color-muted);
      list-style: none;
      border-bottom: 1px solid #66656583;
      padding-bottom: 10px;
  }

  .sidebar li a {
      text-decoration: none;
      color: var(--color-muted);

  }




  .sidebar a i {
      font-size: 1.2rem;
      width: 20px;
      /* aliniere uniformă */
      text-align: center;
      margin-right: 10px;
  }

  .sidebar .dropdown-menu {
      display: none;
      flex-direction: column;
      padding-left: 1rem;
      /* indent pentru submeniuri */
  }

  .sidebar .dropdown.open .dropdown-menu {
      display: flex;
      gap: 2rem;
      padding: 1rem;
      justify-content: space-around;
      height: auto;
      background-color: #8080801a;
      margin-top: 10px;
  }

  .dropdown-toggle {
      cursor: pointer;

  }

  /* Optional: săgeată care se rotește când meniul e deschis */
  .dropdown-toggle::after {
      content: ' \25BC';
      /* săgeată jos */
      display: inline-block;
      margin-left: 5px;
      transition: transform 0.3s;
      font-size: 0.7em;
      /* dimensiune mai mică */
  }

  .dropdown-menu {
      display: none;
  }

  .dropdown.open .dropdown-menu {
      display: block;
  }

  .dropdown.open .dropdown-toggle::after {
      transform: rotate(180deg);
  }

  /* dropdown menu */
  .dropdown-menu li a {
      display: block;

      text-decoration: none;
      color: var(--color-muted);
      /* culoarea normală */
      transition: 0.3s, color 0.3s;
  }

  .dropdown-menu {
      border-radius: 0.5rem;
  }

  /* la hover */
  .dropdown-menu li a:hover {
      background-color: #f0f0f0;
      /* fundal la hover */
      color: var(--color-bg);
      /* text la hover */
  }



  /* ====== ANIMAȚII SIDEBAR ====== */

  /* starea inițială (ascunsă) */
  .sidebar {
      opacity: 0;
      transform: translateX(100%);
      transition: all 0.4s ease;
  }

  /* când JS-ul setează display:flex, sidebarul se animă */
  .sidebar[style*="display: flex"] {
      opacity: 1;
      transform: translateX(0);
  }

  /* ====== Linkurile din sidebar ====== */
  .sidebar li {
      opacity: 0;
      transform: translateX(20px);
      transition: all 0.4s ease;
  }

  /* când sidebar-ul e vizibil, li-urile apar treptat */
  .sidebar[style*="display: flex"] li {
      opacity: 1;
      transform: translateX(0);
  }

  /* efect de întârziere pe fiecare link pentru un look fluid */
  .sidebar li:nth-child(1) {
      transition-delay: 0.1s;
      border-bottom: none;
  }

  .sidebar li:nth-child(2) {
      transition-delay: 0.2s;
  }

  .sidebar li:nth-child(3) {
      transition-delay: 0.3s;
  }

  .sidebar li:nth-child(4) {
      transition-delay: 0.4s;
  }

  .sidebar li:nth-child(5) {
      transition-delay: 0.5s;
  }

  /* ====== Efect la hover (și tap pe mobil) ====== */
  .sidebar li a {
      display: flex;
      align-items: center;
      gap: 14px;
      transition: transform 0.2s ease, color 0.3s ease;
  }

  .sidebar li a:hover {
      transform: translateX(6px) scale(1.03);
      color: var(--color-bg);
  }


  .dropdown .dropdown-menu li {
      border-bottom: none;
      font-size: 1.2rem;
  }

  .menubuton {
      display: none;
  }

  @media (max-width: 800px) {


      .sidebar {
          top: -20px;
          right: -80px;
          width: 100%;
      }


      .navbar {
          width: 90%;
      }

      nav .logo {
          height: 20px;
          padding-left: 15px;
      }

      .hideonmobile {
          display: none;
      }

      .menubuton {
          display: block;
      }
  }

  @media (max-width: 1200px) {
      .navbar {
          width: 90%;
      }
  }









  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }

  html,
  body {
      width: 100%;
      height: 100%;
      overflow: hidden;
      /* împiedică scroll-ul clasic */
      font-family: var(--font-body);
      background-color: var(--color-secondary);
  }

  /* Asigură-te că secțiunile nu depășesc viewport-ul */
  .section {
      position: absolute;
      inset: 0;
      /* înlocuiește top/left/width/height 100% */
      display: flex;
      justify-content: center;
      align-items: center;

      color: white;
      visibility: hidden;
      overflow: hidden;
      width: 100vw;
      /* forțează dimensiunea exactă a viewportului */
      height: 100vh;
  }

  /* Culori diferite pentru fiecare secțiune */
  .first {
      background-color: var(--color-secondary);
      background-image:
          linear-gradient(to bottom,
              rgba(255, 255, 255, 0.05) 1px,
              transparent 1px);
      background-size: 100% 60px;
      /* distanța dintre linii */

      background-image:
          linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
          linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
      background-size: 100% 40px, 40px 100%;
      color: var(--color-bg);
      text-align: center;
      padding: 80px;
  }


  .content-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      height: 100%;
      display: flex;
      flex-direction: column;
      /* coloane + buton sub ele */
      justify-content: center;
      /* vertical centrare */
      align-items: center;
  }

  .columns {
      display: flex;
      width: 100%;
      justify-content: space-between;
      align-items: center;
      /* spațiu între coloane */
  }

  .left,
  .right {
      flex: 1;
  }

  .left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: start;
      text-align: start;
      gap: 1rem;
  }

  .left h1 {
      font-family: var(--font-body);
      font-size: var(--fs-h1);
      font-weight: var(--fw-bold);
      line-height: 110%;
      color: var(--color-bg);
  }

  .left p {
      font-family: var(--font-body);
      font-weight: var(--fw-light);
      font-size: var(--fs-body);
      color: var(--color-muted);
      line-height: 150%;
  }


  .right {
      display: flex;
      justify-content: end;
      align-items: end;
  }

  .right img {
      width: 65%;
      /* ocupă 100% din lățimea containerului */
      height: auto;
      /* păstrează proporțiile */
      max-width: 100%;
      /* împiedică depășirea containerului */
      display: block;
      /* elimină spațiul alb de sub imagine */
      object-fit: cover;
      /* opțional, dacă vrei să acopere tot containerul */

  }

  .acccolor {
      color: var(--color-accent);
  }


  .abstract-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      /* să nu blocheze clickuri */
      overflow: hidden;
      z-index: 0;
      /* sub text */
  }

  .circle {
      position: absolute;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.05);
      top: 50%;
      left: 50%;
  }



  a {
      text-decoration: none;
      color: var(--color-muted);
      font-family: var(--font-body);
      font-weight: var(--fw-medium);
      font-size: var(--fs-body);

  }


  a span {
      position: absolute;
      bottom: 30px;
      left: 50%;
      width: 24px;
      height: 24px;
      margin-left: -12px;
      border-left: 1px solid #191919;
      border-bottom: 1px solid #191919;
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-animation: sdb07 2s infinite;
      animation: sdb07 2s infinite;
      opacity: 0;
      box-sizing: border-box;
  }

  a span:nth-of-type(1) {
      -webkit-animation-delay: 0s;
      animation-delay: 0s;
  }

  a span:nth-of-type(2) {
      bottom: 40px;
      -webkit-animation-delay: .15s;
      animation-delay: .15s;
  }

  a span:nth-of-type(3) {
      bottom: 50px;
      -webkit-animation-delay: .3s;
      animation-delay: .3s;
  }

  @-webkit-keyframes sdb07 {
      0% {
          opacity: 0;
      }

      50% {
          opacity: 1;
      }

      100% {
          opacity: 0;
      }
  }

  @keyframes sdb07 {
      0% {
          opacity: 0;
      }

      50% {
          opacity: 1;
      }

      100% {
          opacity: 0;
      }
  }

  @media (max-width: 1200px) {
      .first {
          padding: 2rem 2rem 2rem 2rem;
      }

      .columns {
          flex-direction: column;
          gap: 2rem;
      }

      .right {
          justify-content: center;
          align-items: center;
          width: 100%;
      }

      .right img {
          width: 50%;
      }

      .content-wrapper {
          justify-content: space-evenly;
          gap: 1rem;
      }



      a span {
          bottom: 80px;
      }

      a span:nth-of-type(2) {
          bottom: 90px;
          -webkit-animation-delay: .15s;
          animation-delay: .15s;
      }

      a span:nth-of-type(3) {
          bottom: 100px;
          -webkit-animation-delay: .3s;
          animation-delay: .3s;
      }

  }





  /* Container principal */
  .second {
      background-color: var(--color-secondary);
      padding: 40px 20px 20px 20px;
      box-sizing: border-box;
      height: 100vh;
      /* full viewport height */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }

  /* Wrapper content */
  .content-wrapper2 {
      max-width: 1200px;
      margin: 0 auto;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1.5rem;
      width: 100%;
  }

  /* Titlu secundar */
  .content-wrapper2 .section-title2 {
      font-family: var(--font-body);
      font-size: var(--fs-h3);
      font-weight: var(--fw-bold);
      line-height: 1.1;
      color: var(--color-muted);

      text-align: center;
  }

  /* Logo Grid Desktop */
  .logo-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      /* 4 carduri pe rând pe desktop */
      gap: 2rem;
      width: 100%;
      height: auto;
  }

  /* Logo Card */
  .logo-card {
      border-left: 1px solid gray;
      border-right: 1px solid gray;
      padding: 10px 5px 10px 5px;
      text-align: center;
      backdrop-filter: blur(6px);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      cursor: pointer;
  }

  .logo-card img {
      width: 100%;
      height: auto;
      margin-bottom: 1rem;
      filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
  }

  .logo-card h3 {
      color: var(--color-bg);
  }

  .logo-card p {
      color: var(--color-muted);
      font-size: 0.9rem;
  }

  /* Efect standard hover */
  .logo-grid:hover .logo-card {
      filter: blur(5px);
      opacity: 0.4;
      transform: scale(0.98);
  }

  .logo-grid .logo-card:hover {
      filter: none;
      opacity: 1;
      transform: scale(1.05);
      z-index: 2;
  }

  /* 🔥 Clasa care dezactivează efectul */
  .logo-grid.no-hover .logo-card {
      filter: none !important;
      opacity: 1 !important;
      transform: none !important;
  }

  .logo-grid:hover .logo-card,
  .logo-card.active~.logo-card {
      filter: blur(5px);
      opacity: 0.4;
      transform: scale(0.98);
  }

  .logo-grid .logo-card:hover,
  .logo-card.active {
      filter: none;
      opacity: 1;
      transform: scale(1.05);
      z-index: 2;
  }

  /* ===================== MOBILE ===================== */
  @media (max-width: 768px) {
      .logo-grid {
          grid-template-columns: repeat(2, 1fr);
          /* 2 carduri pe rând */
          /* grid-auto-rows: 1fr; */
          /* 2 rânduri automat */
          gap: 0.8rem;
          width: 100%;
          height: auto;
      }

      .logo-card {
          padding: 1px;
          min-height: auto;
      }

      .content-wrapper2 {
          gap: 1rem;
      }

      .content-wrapper2 .second-title {
          font-size: 1.5rem;
      }
  }

  @media (max-width: 480px) {
      .logo-grid {
          gap: 0.5rem;
      }

      .logo-card {
          padding: 1px;
      }

      .content-wrapper2 .section-title2 {
          font-size: 1.3rem;
      }
  }





  .third {
      background-color: var(--color-secondary);
      padding: 40px 20px 20px 20px;
      box-sizing: border-box;
      height: 100vh;
      /* full viewport height */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }

  .fourth {
      background-color: var(--color-secondary);
      padding: 40px 20px 20px 20px;
      box-sizing: border-box;
      height: 100vh;
      /* full viewport height */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }

  /* Fix overflow pe iOS Safari și Chrome Android */
  body {
      overscroll-behavior: none;
      touch-action: none;
  }

  .logo-card .vezi-detalii {
      color: var(--color-accent);
  }