.container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #002c58;
}

.section-text {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
}

.img-fluid {
  width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  border: 5px solid #002c58;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.col-md-6 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.card-small {
  min-height: 200px;
}

.text-container {
  margin-top: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.text-container .section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #002c58;
}

.text-container .section-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-weight: bold;
}

.text-container .text-center p {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.4;
  color: #555;
}

.row.align-items-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: -2;
}

.shape-blue {
  background-color: #db343cbb;
}

.shape-light-blue {
  background-color: #85c1e9;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -50px;
  left: -100px;
}

.shape-2 {
  width: 500px;
  height: 500px;
  top: 200px;
  right: -150px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  bottom: 170px;
  left: 50px;
}

.anunturi-section {
  margin-top: 50px;
  position: relative;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.anunturi-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 540px;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.anunturi-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.anunt-card {
  border: 2.5px solid #0074d9;
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: 0 2px 12px rgba(0, 86, 179, 0.07);
  padding: 18px 16px 14px 16px;
  margin: 0 8px;
  transition: box-shadow 0.2s;
}

.anunt-card:hover {
  box-shadow: 0 4px 20px rgba(0, 86, 179, 0.13);
}

.anunt-image {
  width: 140px;
  height: 140px;
  margin: 0 auto 14px auto;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.07);
}

.anunt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}


@media (max-width: 600px) {
  .anunt-image {
    width: 90vw;
    max-width: 220px;
    height: 90vw;
    max-height: 220px;
  }
  .anunt-card {
    padding: 14px 6vw 12px 6vw;
  }
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 44, 88, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}

.anunt-info {
  padding: 20px;
  text-align: center;
}

.anunt-info h5 {
  margin: 15px 0;
  font-size: 1.6rem;
  font-weight: bold;
  color: #0056b3;
}

.anunt-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.anunt-action {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.anunt-action .btn-primary {
  background-color: #0056b3;
  border-color: #0056b3;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.anunt-action .btn-primary:hover {
  background-color: #003f7f;
  transform: scale(1.1);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.left-arrow {
  left: 10px;   /* schimbă din -50px în 10px */
}

.right-arrow {
  right: 10px;  /* schimbă din -50px în 10px */
}

@media (max-width: 700px) {
  .anunturi-slider-container {
    max-width: 98vw;
  }
  .left-arrow {
    left: 2px;
  }
  .right-arrow {
    right: 2px;
  }
}

.anunturi-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.anunt-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border-radius: 12px;
}

.anunt-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.anunt-action .btn-primary {
  background-color: #0056b3;
  border-color: #0056b3;
  font-size: 1rem;
  padding: 10px 20px;
  margin-top: 15px;
}

.anunt-action .btn-primary:hover {
  background-color: #003f7f;
  border-color: #003f7f;
}

@media (max-width: 768px) {
  .anunturi-list {
    grid-template-columns: 1fr;
  }

  .anunt-image img {
    height: 250px;
  }

  .anunt-card {
    flex: 0 0 calc(100% - 20px);
  }
}
.main-box {
  background: linear-gradient(135deg, #003d80, #002752); /* Fundal gradient pentru un aspect mai dinamic */
  border: none; /* Elimină bordura */
  border-radius: 50px; /* Colțuri foarte rotunjite pentru a semăna cu un buton */
  padding: 20px 30px; /* Spațiu interior mai mare */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Umbră subtilă */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Efecte de hover */
  min-height: 150px; /* Înălțime minimă */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer; /* Schimbă cursorul la hover pentru a semăna cu un buton */
}

.main-box:hover {
  transform: translateY(-5px) scale(1.1); /* Ridică și mărește box-ul la hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Umbra devine mai pronunțată */
  background: linear-gradient(135deg, #0056b3, #00254b); /* Schimbă fundalul la hover */
}

.main-box h3 {
  color: #ffffff; /* Culoare albă pentru text */
  font-weight: bold; /* Text îngroșat */
  font-size: 1.8rem; /* Dimensiune mai mare pentru titlu */
  margin: 0; /* Elimină spațiul exterior */
  text-transform: uppercase; /* Transformă textul în majuscule */
}
