/* components.css — cards, popups, stats, loaders and small components */
@import url('variables.css');


/* SCROLL TO TOP */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 8px 16px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s;
  z-index: 3000;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
}


/* PROJECTS / HERO small helpers */
#proiecte {
  text-align: center;
}

#proiecte .titlu-stanga {
  text-align: left;
  width: 100%;
  margin-left: 1rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.6);
}

.proiecte-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.proiecte-content .coming-soon {
  margin-top: 1rem;
}

/* ============================================
   ATOM LOADER ANIMATION
   ============================================ */
.atom-loader {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 2rem auto;
}

.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #c084fc 0%, #8b5cf6 50%, #6d28d9 100%);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(192, 132, 252, 0.8),
    0 0 40px rgba(139, 92, 246, 0.6),
    0 0 60px rgba(109, 40, 217, 0.4);
  animation: nucleusPulse 2s ease-in-out infinite;
}

@keyframes nucleusPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 20px rgba(192, 132, 252, 0.8),
      0 0 40px rgba(139, 92, 246, 0.6),
      0 0 60px rgba(109, 40, 217, 0.4);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow:
      0 0 30px rgba(192, 132, 252, 1),
      0 0 50px rgba(139, 92, 246, 0.8),
      0 0 80px rgba(109, 40, 217, 0.6);
  }
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(192, 132, 252, 0.3);
  border-radius: 50%;
  transform-origin: center;
}

.orbit-1 {
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  animation: orbitRotate1 3s linear infinite;
}

.orbit-2 {
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-left: -60px;
  transform: rotateX(60deg) rotateY(20deg);
  animation: orbitRotate2 4s linear infinite;
}

.orbit-3 {
  width: 140px;
  height: 140px;
  margin-top: -70px;
  margin-left: -70px;
  transform: rotateX(-60deg) rotateY(-20deg);
  animation: orbitRotate3 5s linear infinite;
}

.electron {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff 0%, #c084fc 50%, #8b5cf6 100%);
  border-radius: 50%;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  box-shadow:
    0 0 10px rgba(192, 132, 252, 1),
    0 0 20px rgba(139, 92, 246, 0.8);
}

@keyframes orbitRotate1 {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes orbitRotate2 {
  0% {
    transform: rotateX(60deg) rotateY(20deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(60deg) rotateY(20deg) rotateZ(360deg);
  }
}

@keyframes orbitRotate3 {
  0% {
    transform: rotateX(-60deg) rotateY(-20deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(-60deg) rotateY(-20deg) rotateZ(360deg);
  }
}

/* Light mode atom loader */
body.light .nucleus {
  background: radial-gradient(circle, #a855f7 0%, #7c3aed 50%, #5b21b6 100%);
}

body.light .orbit {
  border-color: rgba(139, 92, 246, 0.4);
}

/* Mobile responsive atom loader */
@media (max-width: 768px) {
  .atom-loader {
    width: 120px;
    height: 120px;
  }

  .nucleus {
    width: 24px;
    height: 24px;
  }

  .orbit-1 {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
  }

  .orbit-2 {
    width: 96px;
    height: 96px;
    margin-top: -48px;
    margin-left: -48px;
  }

  .orbit-3 {
    width: 112px;
    height: 112px;
    margin-top: -56px;
    margin-left: -56px;
  }

  .electron {
    width: 10px;
    height: 10px;
    top: -5px;
    margin-left: -5px;
  }
}

/* Materii cards */
.materii {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.materie-card {
  background: var(--dark-card);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.light .materie-card {
  background: var(--light-card);
}

.materie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--primary);
}

.materie-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.materie-card h3 {
  margin: 0 0 10px 0;
}

.materie-card p {
  margin: 0;
  font-size: 0.9rem;
}

.materie-card:nth-child(1) .materie-icon {
  color: #8be9fd;
}

/* Microscopie */
.materie-card:nth-child(2) .materie-icon {
  color: #ffb86c;
}

/* Chimie */
.materie-card:nth-child(3) .materie-icon {
  color: #ff79c6;
}

/* Disecții */
.materie-card:nth-child(4) .materie-icon {
  color: #bd93f9;
}

/* Fizică */

.team,
.leadership {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 20px;
}

/* Member card + hover popup */
.membru {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--primary);
  border-radius: 15px;
  padding: 20px;
  cursor: default;
  text-align: center;
  transition: .3s;
  overflow: visible;
}

.membru:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--primary);
}

.hover-popup {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg,
      rgba(40, 0, 80, 0.95),
      rgba(90, 0, 150, 0.9));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 150, 255, 0.5);
  border-radius: 14px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(170, 100, 255, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
  z-index: 10;
}

.hover-popup img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 0 15px rgba(200, 150, 255, 0.6);
}

.hover-popup h3 {
  color: #d6b3ff;
  margin: 5px 0 2px 0;
  font-size: 1.1em;
}

.hover-popup h4 {
  color: #caaeff;
  margin: 0 0 8px 0;
  font-weight: 500;
  font-size: 0.95em;
}

.hover-popup p {
  color: #eee;
  font-size: 0.85em;
  margin: 0;
  line-height: 1.4em;
}

/* Animație la hover */
.membru:hover .hover-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Efect de "glow" la hover pentru membri */
.membru {
  box-shadow: 0 0 0 rgba(192, 132, 252, 0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.membru:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 40px rgba(192, 132, 252, 0.4),
    0 0 20px rgba(192, 132, 252, 0.6);
  border-color: #fff;
}

/* stat box */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--primary);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all .3s;
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(192, 132, 252, 0.5);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--dark-text);
}

/* Progress bar & loader */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #c084fc, #8b5cf6);
  width: 0%;
  z-index: 10000;
  transition: width .1s;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
}

/*the walkig mf*/
.loader {
  position: relative;
  width: 200px;
  height: 200px;
  /* Use widely-supported transforms for mobile compatibility */
  transform: translate(10px, -20px) scale(0.75);
  transform-origin: center;
}

.loader svg {
  position: absolute;
  top: 0;
  left: 0;
}

.head {
  left: 27px;
  top: -30px;
  z-index: 3;
  animation: bob 1s infinite ease-in;
}

.bod {
  left: 0px;
  top: 30px;
  z-index: 3;
  animation: bob 1s infinite ease-in-out;
}

.legr {
  left: 75px;
  top: 135px;
  z-index: 0;
  animation: rstep 1s infinite ease-in;
  animation-delay: 0.45s;
}

.legl {
  left: 30px;
  top: 155px;
  z-index: 3;
  animation: lstep 1s infinite ease-in;
}

#gnd {
  left: -140px;
  top: 0;
  z-index: -1;
  filter: blur(0.5px) drop-shadow(1px 3px 5px #000000);
  opacity: 0.25;
  animation: scroll 5s infinite linear;
}

@keyframes scroll {
  0% {
    transform: translateY(25px) translate(50px) rotate(10deg);
    opacity: 0;
  }

  33% {
    opacity: 0.25;
  }

  66% {
    opacity: 0.25;
  }

  100% {
    transform: translateY(-50px) translate(-100px) rotate(10deg);
    opacity: 0;
  }
}

/* echipa styling (preservate) */
#echipa h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.6);
}

.leadership {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

.leadership .membru {
  flex: 1 1 280px;
  max-width: 320px;
  background: var(--dark-card);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

body.light .leadership .membru {
  background: var(--light-card);
}

.leadership .membru:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 0 25px var(--primary);
}

/* === COMING SOON TEXT === */
.coming-soon {
  margin-top: 30px;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 0 20px #c084fc, 0 0 40px #8b5cf6;
  animation: pulseText 2s infinite ease-in-out;
}

@keyframes pulseText {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

/* Particles */
/* IMPROVED PARTICLES - Replace the existing particle styles in components.css */

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.8) 0%, rgba(192, 132, 252, 0.3) 70%);
  filter: blur(1px);
  z-index: 1;
}

/* Main floating animation - smoother and more natural */
@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  25% {
    transform: translateY(-25vh) translateX(calc(var(--drift) * 0.25)) scale(1);
    opacity: 0.9;
  }

  50% {
    transform: translateY(-50vh) translateX(calc(var(--drift) * 0.5)) scale(1.1);
    opacity: 0.7;
  }

  75% {
    transform: translateY(-75vh) translateX(calc(var(--drift) * 0.75)) scale(0.9);
    opacity: 0.5;
  }

  95% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-100vh) translateX(var(--drift)) scale(0.5);
    opacity: 0;
  }
}

/* Pulse animation for star particles */
@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 20px rgba(192, 132, 252, 1), 0 0 30px rgba(139, 92, 246, 0.6);
    transform: scale(1.3);
  }
}

/* Special styling for star particles */
.star-particle {
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(192, 132, 252, 0.8) 50%, transparent 100%);
  filter: blur(0.5px);
}

/* Reduce particles on smaller screens */
@media (max-width: 768px) {
  .particle:nth-child(n+16) {
    display: none;
  }
}

@media (max-width: 480px) {
  .particle:nth-child(n+11) {
    display: none;
  }
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 20, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.cookie-content {
  background: rgba(40, 0, 80, 0.95);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 30px;
  width: 350px;
  max-width: 90%;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 25px rgba(160, 100, 255, 0.6);
  animation: fadeIn 0.4s ease;
}

.cookie-content h3 {
  margin-top: 0;
  color: #d4b3ff;
}

.cookie-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.cookie-buttons button {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cookie-buttons button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--primary);
}

.cookie-buttons #decline-cookies {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #aaa;
}

/* Loader / page loader */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #0b0e27, #1a1f3b, #2b005c);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity .5s, visibility .5s;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

#page-loader .loader-logo {
  width: 150px;
  animation: pulse 1.5s infinite;
}

#page-loader .loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

#page-loader .loader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #c084fc, #8b5cf6);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(300%);
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translateY(-50vh) translateX(calc(var(--drift) * 0.5)) scale(1.2);
    opacity: 0.8;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-100vh) translateX(var(--drift)) scale(0.5);
    opacity: 0;
  }
}

.particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}


/* animation helpers used by SVG pieces */
@keyframes bob {
  0% {
    transform: translateY(0) rotate(3deg);
  }

  25% {
    transform: translateY(5px) rotate(0deg);
  }

  50% {
    transform: translateY(0) rotate(-3deg);
  }

  100% {
    transform: translateY(0) rotate(3deg);
  }
}

@keyframes lstep {
  0% {
    transform: translateY(0) rotate(-5deg);
  }

  33% {
    transform: translateY(-15px) translate(32px) rotate(35deg);
  }

  66% {
    transform: translateY(0) translate(25px) rotate(-25deg);
  }

  100% {
    transform: translateY(0) rotate(-5deg);
  }
}

@keyframes rstep {
  0% {
    transform: translateY(0) translate(0px) rotate(-5deg);
  }

  33% {
    transform: translateY(-10px) translate(30px) rotate(35deg);
  }

  66% {
    transform: translateY(0) translate(20px) rotate(-25deg);
  }

  100% {
    transform: translateY(0) translate(0px) rotate(-5deg);
  }
}

/* Contact section */
.contact-intro {
  max-width: 780px;
  margin: 0 auto 1.5rem;
  color: #e8d7ff;
  text-align: center;
}

.contact-card {
  position: relative;
  overflow: hidden;
  margin: 2.5rem auto 0;
  padding: 2.5rem;
  max-width: 900px;
  background: radial-gradient(circle at 15% 20%, rgba(192, 132, 252, 0.25), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.2), transparent 35%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(39, 10, 64, 0.85));
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 0 30px rgba(192, 132, 252, 0.15);
  backdrop-filter: blur(8px);
}

.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.2), transparent 65%);
  filter: blur(8px);
  z-index: 0;
}

.contact-card::before {
  top: -60px;
  right: -40px;
}

.contact-card::after {
  bottom: -70px;
  left: -40px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(192, 132, 252, 0.15);
  color: #f2e7ff;
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 8px 25px rgba(192, 132, 252, 0.35);
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(192, 132, 252, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 12px 30px rgba(192, 132, 252, 0.35);
}

.contact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(192, 132, 252, 0.18), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 14px;
  color: #f8f4ff;
  font-size: 1.4rem;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}

.contact-item h3 {
  margin: 0 0 0.35rem;
  color: #f3e8ff;
}

.contact-item p {
  margin: 0 0 0.75rem;
  color: #d7c7f6;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(90deg, rgba(192, 132, 252, 0.9), rgba(139, 92, 246, 0.95));
  color: #0c0b16;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(139, 92, 246, 0.55);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ede4ff;
  font-size: 0.9rem;
}

body.light .contact-card {
  background: radial-gradient(circle at 20% 15%, rgba(139, 92, 246, 0.15), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(192, 132, 252, 0.15), transparent 35%),
    linear-gradient(135deg, rgba(250, 250, 255, 0.95), rgba(235, 232, 255, 0.9));
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.18);
}

body.light .contact-intro,
body.light .contact-item p,
body.light .contact-pill {
  color: #2c1844;
}

body.light .contact-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light .contact-item h3 {
  color: #1a0f2d;
}

body.light .contact-icon {
  color: #1a0f2d;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

/* === PARTENERI SECTION === */
.parteneri-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.partener-link {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
  max-width: 300px;
  /* Limitează lățimea maximă */
}

.partener-link:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.6));
}

.parteneri-logos img {
  width: 100%;
  max-width: 250px;
  /* Dimensiune maximă a logo-ului */
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border: 2px solid rgba(192, 132, 252, 0.3);
  transition: all 0.3s ease;
}

.parteneri-logos img:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(192, 132, 252, 0.4);
}

/* Light mode adjustments */
body.light .parteneri-logos img {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(147, 51, 234, 0.3);
}

body.light .parteneri-logos img:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
}

/* Responsive pentru parteneri */
@media (max-width: 768px) {
  .parteneri-logos img {
    max-width: 200px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .parteneri-logos img {
    max-width: 150px;
    padding: 10px;
  }

  .parteneri-logos {
    gap: 20px;
  }
}