@layer components {

/* components.css */

/* =========================
   CONTENT Card and Card 3rd and 4th Level
   ========================= */

.content-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}


/* =========================
   CONTENT CARD
   ========================= */

.card {
  background: linear-gradient(135deg, #f8faff, #eef3ff);
  border: 1px solid #e3e8ff;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(109,93,252,0.25);
}

.card a {
  text-decoration: none;
  color: #0f172a;
}

/* =========================
   CARD ELEMENTS
   ========================= */

.card-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6d5dfc;
  background: rgba(109,93,252,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-meta {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 14px;
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
}

/* =========================
   CERTIFICATION IMAGE BADGE
   ========================= */
   
.cert-badge {
  max-width: 220px;   /* adjust: 180–260px works well */
  width: 100%;
  height: auto;
  display: block;
}

   
/* =========================
   GLASS / PANELS
   ========================= */

.panel-card,
.recognition-panel,
.recognition-glass {
  backdrop-filter: blur(14px);
  border-radius: 18px;
}

.panel-card {
  width: 260px;
  background: rgba(255,255,255,0.10);
  padding: 24px 22px;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.18);
  color: #ffffff;
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.9);
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
}

.panel-list li:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* =========================
   GLASS CREDENTIAL ROW
   ========================= */

.credential-row {
  position: relative;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 16px;

  /* Frosted glass background */
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.30),
      rgba(255,255,255,0.14)
    );

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  /* Glass depth */
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.25),
    inset 0 1px 0 rgba(255,255,255,0.45);

  text-decoration: none;
  color: #ffffff;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* =========================
   GLASS SHINE (TOP EDGE)
   ========================= */

.credential-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    radial-gradient(
      700px 140px at 50% -30%,
      rgba(255,255,255,0.40),
      transparent 65%
    );

  pointer-events: none;
}

/* =========================
   HOVER — LIFT & REFRACTION
   ========================= */

.credential-row:hover {
  transform: translateY(-2px);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.40),
      rgba(255,255,255,0.20)
    );

  box-shadow:
    0 28px 64px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.60);
}

/* =========================
   LOGO INSIDE GLASS
   ========================= */

.credential-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  object-fit: contain;

  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  padding: 4px;
}

/* =========================
   TEXT STACK
   ========================= */

.credential-text {
  display: flex;
  flex-direction: column;
}

.credential-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.credential-text small {
  font-size: 0.75rem;
  opacity: 0.85;
}

}
