/* Certificates Section */

.certificates-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.certificate {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* text-align: center; */
  padding-left: 40px;
  padding-top: 30px;
}

.certificate h3 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: white;
}

.certificate a {
  color: #66aaff;
  text-decoration: underline;
  font-weight: 500;
  display: inline-block;
  margin-top: 8px;
}

.certificate img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding-bottom: 40px;
  padding-top: 10px;
}

/* Optional: Styling container class if used */
.certificateee {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

/* Section Title inside .glass-container */
.glass-container h2 {
  font-size: 40px;
  margin-bottom: 30px;
  margin-top: 40px;
  font-weight: bold;
  color: white;
  line-height: 1.2;
  display: inline-block;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1);
}

.glass-container h2:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Tweaks */
@media screen and (max-width: 768px) {
  .certificates-grid {
    padding: 15px;
  }

  .certificate {
    padding: 12px;
  }

  .certificate h3 {
    font-size: 1rem;
  }

  .certificate img {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .glass-container h2 {
    font-size: 28px;
    padding: 8px 12px;
  }

  .certificate {
    padding: 10px;
  }

  .certificate h3 {
    font-size: 0.95rem;
  }
}
