/* =====================================
   SERTİFİKATLAR BÖLMƏSİ ÜMUMİ AYARLAR
===================================== */

.certificates-section {
  width: 100%;

  /* Desktop üçün yuxarı və aşağı boşluq */
  padding-top: 60px;
  padding-bottom: 60px;

  /* Sağ və sol boşluq */
  padding-left: 5%;
  padding-right: 5%;

  background: #0f1d28;
}

/* =====================================
   BÖLMƏ BAŞLIĞI
===================================== */

.certificates-header {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.certificates-header span {
  display: inline-block;
  margin-bottom: 12px;
  color: #F8B216;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.certificates-header h2 {
  margin-bottom: 16px;
  color: #FEFEFE;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
}

.certificates-header p {
  color: rgba(254, 254, 254, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

/* =====================================
   SERTİFİKAT GRID QURULUŞU
===================================== */

.certificates-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* =====================================
   SERTİFİKAT KARTI
===================================== */

.certificate-card {
  padding: 22px 18px 20px;
  min-height: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(254, 254, 254, 0.12);
  background: rgba(254, 254, 254, 0.055);

  transition: 0.3s ease;
}

/* Hover effekti */
.certificate-card:hover {
  transform: translateY(-7px);
  border-color: rgba(248, 178, 22, 0.65);
  background: rgba(254, 254, 254, 0.08);
}

/* =====================================
   ŞƏKİL ÜÇÜN SABİT PREVIEW SAHƏSİ
   Burada əsas məsələ object-fit: contain-dir.
   Bu sayədə dikey və yatay sertifikatlar kəsilmir.
===================================== */

.certificate-image-box {
  width: 100%;
  height: 175px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;
}

/* Sertifikat şəkli */
.certificate-image-box img {
  max-width: 100%;
  max-height: 100%;

  /* Şəkil kəsilməsin deyə contain istifadə olunur */
  object-fit: contain;

  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
}

/* Sertifikat adı */
.certificate-card h3 {
  margin: 0;
  color: #FEFEFE;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

/* =====================================
   TABLET VERSİYA
===================================== */

@media (max-width: 992px) {
  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .certificates-header h2 {
    font-size: 36px;
  }
}

/* =====================================
   MOBİL VERSİYA
===================================== */

@media (max-width: 768px) {
  .certificates-section {
    /* Mobil üçün yuxarı və aşağı boşluq */
    padding-top: 40px;
    padding-bottom: 40px;

    /* Mobil sağ-sol boşluq */
    padding-left: 18px;
    padding-right: 18px;
  }

  .certificates-header {
    margin-bottom: 38px;
  }

  .certificates-header h2 {
    font-size: 28px;
  }

  .certificates-header p {
    font-size: 14px;
  }

  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .certificate-card {
    min-height: 230px;
    padding: 18px 12px 16px;
  }

  .certificate-image-box {
    height: 145px;
    margin-bottom: 14px;
  }

  .certificate-card h3 {
    font-size: 13px;
  }
}

/* =====================================
   ÇOX KİÇİK MOBİL EKRANLAR
===================================== */

@media (max-width: 380px) {
  .certificates-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .certificates-grid {
    gap: 14px;
  }

  .certificate-card {
    min-height: 215px;
  }

  .certificate-image-box {
    height: 130px;
  }

  .certificate-card h3 {
    font-size: 12px;
  }
}







.section-separator {
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #f8b216 15%,
    #f8b216 85%,
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(248, 178, 22, 0.35);
}