/* Custom styling for sizing main page */
.intro-header .site-heading h1 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .intro-header .site-heading h1 {
        font-size: 2.2rem;
    }
}

/* Dark Theme Variables */
[data-theme="dark"] {
    /* Backgrounds */
    --color-bg: #0f1115;          /* main background: charcoal black */
    --color-bg-secondary: #14171c;
    --color-bg-tertiary: #1b1f26;

    /* Text */
    --color-text-main: #d1d5db;   /* soft light gray */
    --color-text-secondary: #9aa0a6;

    /* Links & accents */
    --color-primary: #8fbfa3;     /* muted green, matches jungle */
    --color-link: #8fbfa3;
    --color-link-hover: #a6d6b9;

    /* Borders */
    --color-border: #242933;
}

/* Certificate Grid Styles */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 1.5rem;
}

.cert-grid img {
  width: 100%;
  border-radius: 10px;
  background: #0b1220;
  padding: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Social icon circle (background) */
.fa-stack-2x {
  color: #23898D;
  transition: color 0.2s ease;
}

/* Icon foreground */
.fa-stack-1x.fa-inverse {
  color: #ffffff;
}

/* Hover effect */
a:hover .fa-stack-2x {
  color: #23898d;
}