/* =========================
   CERTIFICATIONS PAGE
========================= */

.lsm-section--soft {
  background: linear-gradient(to bottom, #f5f7fb, #eef2f7);
  padding: 60px 0;
}

.lsm-page-hero--certifications{
  background:
    linear-gradient(to right, rgba(0,0,0,.90), rgba(0,0,0,.75)),
    url('/lsm/assets/imgs/about_img.jpg') center center / cover no-repeat; 
}

.lsm-section-subtext {
  max-width: 700px;
  margin-top: 10px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* GRID */
.lsm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* CARD */
.lsm-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: 0.3s ease;
} 

/* HOVER EFFECT */
.lsm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* CARD TITLE */
.lsm-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0f172a;
}

/* CARD TEXT */
.lsm-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* SECTION TITLE */
.lsm-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .lsm-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* IMAGE CLICK EFFECT */
.cert-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cert-image:hover {
  transform: scale(1.05);
}


/* CONTAINER */
.licenses-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* GRID */
.licenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

/* CARD */
.license-card {
  /*background: linear-gradient(145deg, #ffffff, #f4f7fb);*/
    background: linear-gradient(120deg, rgba(0,123,255,0.35), transparent);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.18);
  transition: all 0.35s ease;
  position: relative;
  border: 1px solid #fff;
}

/* Hover glow */
.license-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,123,255,0.35), transparent);
  opacity: 0;
  transition: 0.3s;
}

.license-card:hover::before {
  opacity: 1;
}

/* Hover animation */
.license-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* IMAGE */
.license-image-wrap {
  height: 220px;
  background: #f4f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

.license-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.35s ease;
  cursor: pointer;
}
/* Zoom effect */
.license-card:hover img {
  transform: scale(1.08);
}

/* CONTENT */
.license-content {
  padding: 15px 12px;
  text-align: center;
}

.license-content h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

/* EMPTY STATE */
.no-data {
  text-align: center;
  color: #888;
  grid-column: 1 / -1;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
}

/* FILTER BUTTONS */
.license-filters {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 18px;
  margin: 5px;
  border: none;
  border-radius: 12px;
  background: #f0f3f7;
  cursor: pointer;
  font-size: 13px;
  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #d10000;
  color: #fff;
}


/* CATEGORY BADGE */
.license-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 20px;
  background: #e9f2ff;
  color: #007bff;
  font-weight: 600;
}

