.hero {
  background-color: var(--bg-secondary-color); /* 🧠 Gri deschis */
  background-size: cover;
  background-position: center;
  /* color: var(--text-color); */
  text-align: left;

}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-image {
  flex: 1;
  text-align: center;
  /* max-width: 160px; */
  border-radius: 8px;
  /* border: 1px solid #e5e7eb; */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}



.hero-button {
  background-color: #3b82f6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;

  text-decoration: none;
  transition: background-color 0.3s ease;
}
.hero-button:hover {
  background-color: #2563eb;
}


.hero-grid{
  display: flex;
  /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
  /* gap: 1rem; */
  margin-bottom: 2rem;
}

.hero-grid-item {
  /* background-color: var(--hero-bg-color); */
  /* padding: 1rem; */
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* gap: .5rem; */
  justify-content: center;
  font-size: smaller;
  font-weight: 100;
  max-width: fit-content;
}

.hero-grid-item a {
  flex: 1 1 auto; /* permite ca fiecare link să se redimensioneze */
  min-width: 140px; /* previne îngustarea excesivă */
  text-align: center;
  padding: 0.15rem 1rem;
  /* background-color: var(--primary-color); */
  /* color: white; */
  border-radius: 6px;
  text-decoration: none;
}

.grid-element{
  font-size: small;
  font-weight: 500;
  color: #003e92;
}

.service-link{
  text-decoration: none;
  color: #003e92;
  font-weight: 500;
  font-size: small;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
 
}

.service-link:hover {
  background-color: #e5e7eb;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  border: #003e92 1px solid;
}
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.hero-p0 {
  display: block;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  /* border: #003e92 1px solid;  */
  border : 0px;
  border-radius: 8px;
  /* background-color: var(--bg-color); */
  /* background: linear-gradient(rgba(177, 186, 207, 0.8), rgba(209, 215, 230, 0.8)),  url('../assets/exagon-net.jpeg'); */
  /* background-image: url('../assets/exagon-net.jpeg');
  background-image: url('../assets/logo.png'); */
  

  /* background-color: var(--bg-color); */
  /* background-image: url('../assets/exagon-net.jpeg'); */
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
}
.hero-p0-header{
  /* display: flex; */
  align-items: center;
  gap: 0.5rem;
}

.hero-p1 {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--hero-bg-color);
  border:#003e92 1px solid;
  /* border-color:rgb(229 229 229); */
  /* border-width: 1px; */
  border-radius: 8px;
  /* width:100%; */

}
.hero-p1:hover {
  background-color: #e5e7eb;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  border: #003e92 1px solid;
}
.hero-p1:hover .hero-image {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hero-card-title {
  font-size: 1.25rem; /* sau 20px */
  font-weight: bold;
  margin: 0;
}

.hero-image {
  width: 120px;
  /* height: 100px; */
  object-fit: cover;
  border-radius: 8px;
}

.text {
  display: flex;
  flex-direction: column;
}

.titlu {
  font-size: 1.25rem; /* sau 20px */
  font-weight: bold;
  margin: 0;
}

.descriere {
  font-size: 1rem; /* sau 16px */
  color: #555;
  margin: 0.25rem 0 0 0;
}

.phone {
  display: flex;
  /* align-items: center; */
  /*gap: 0.5rem;
  padding: 1rem;*/
  color: var(--accent-color);
}