
.card-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 20px !important;
  padding: 40px 20px !important;
  background: #f8fbff !important;
  width: 100% !important;
  visibility: visible !important; /* Ne asigurăm că e vizibil */
  opacity: 1 !important;
}


.info-card {
  display: flex !important; /* Îl forțăm să apară */
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  background: #ffffff !important;
  padding: 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  
  
  width: 100% !important;
  max-width: 450px !important; /* Limită de lățime */
  flex: 0 1 450px !important;
  margin: 10px !important;
}


.info-card img {
  width: 50px !important;
  height: 50px !important;
  margin-right: 15px !important;
  display: block !important;
  flex-shrink: 0 !important;
}


.info-content {
  flex: 1 !important;
  display: block !important;
}

.info-content h3 {
  margin: 0 0 5px 0 !important;
  color: #003366 !important;
}


.pdf-card {
  display: block !important;
  background: #ffffff !important;
  padding: 20px !important;
  border-radius: 16px !important;
  width: 90% !important;
  max-width: 1000px !important;
  margin: 30px auto !important;
}

.pdf-card iframe, .pdf-frame {
  width: 100% !important;
  height: 600px !important;
  border: none !important;
  display: block !important;
}

/* 6. BUTONUL */
.pdf-btn {
  display: inline-block !important;
  padding: 10px 20px !important;
  background: #004080 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 6px !important;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}


.info-card img {
 
  width: auto;       
  height: auto;     
  max-width: 60px;   
  max-height: 60px; 
  display: block;   
  flex-shrink: 0;    
}

/* Cardul individual */
.info-card {
  display: flex !important;
  align-items: center;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

  flex: 0 1 450px; 
  min-width: 300px;
  margin: 10px; 
  box-sizing: border-box;
}


.pdf-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  margin: 2rem auto;
  
 
  width: 90%; 
  max-width: 950px; 
}

.pdf-card iframe {
  width: 100%;
  height: 700px; /* Înălțime fixă pe desktop */
  border: none;
  border-radius: 12px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}


@media (max-width: 768px) {
  .info-card {
    flex: 1 1 100%; 
    max-width: 100%;
  }

  .pdf-card iframe {
    height: 450px; 
  }
  
  .pdf-card {
    padding: 1rem;
    width: 95%;
  }
}

/* Conținutul text */
.info-content {
  flex: 1;
}

.info-content h3 {
  margin: 0 0 0.5rem 0;
  color: #003366;
  font-size: 1.2rem;
}

.info-content p {
  margin: 0 0 1rem 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}


.pdf-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #004080;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.pdf-btn:hover {
  background: #0059b3;
}

/* = */
@media (max-width: 600px) {
  .info-card {
    flex-direction: column; 
    text-align: center;
    flex: 1 1 100%; 
  }
  
  .info-card img {
    margin-bottom: 10px;
  }
}


.pdf-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f5ff; 
  padding: 3rem 1rem;
}


.pdf-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1000px; 
  text-align: center;
}


.pdf-card h2 {
  color: #003366;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
}


.pdf-frame {
  width: 100%;
  height: 750px; 
  border: none;
  border-radius: 12px;
  background: #eee; 
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  display: block;
}

/* Butonul de acțiune sub PDF */
.pdf-action-bar {
  margin-top: 1rem;
}

/* === Responsivitate pentru ecrane mici === */
@media (max-width: 768px) {
  .pdf-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .pdf-frame {
    height: 500px; 
  }

  .pdf-card h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .pdf-frame {
    height: 400px; 
  }
  
  .pdf-wrapper {
    padding: 1rem 0.5rem;
  }
}