/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

.brand-serif { font-family: 'DM Serif Display', Georgia, serif; }
.brand-tagline { font-size: .68rem; font-weight: 400; vertical-align: middle; }

/* === HERO === */
.hero-section {
  background: linear-gradient(135deg, #3a6186 0%, #2c4a6e 60%, #1a3050 100%);
  color: #fff;
  padding: 4rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-photo {
  width: 300px;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 4px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

/* === PAGE HEADER === */
.page-header {
  background: linear-gradient(135deg, #3a6186 0%, #2c4a6e 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
}
.page-header h1 { color: #fff; font-family: 'DM Serif Display', serif; }
.page-header p  { color: rgba(255,255,255,.75); margin-bottom: 0; }

/* === SECTION EYEBROW === */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3a6186;
  margin-bottom: .4rem;
}

/* === STATS BAR === */
.stats-bar { background: #3a6186; color: #fff; padding: 2.5rem 0; }
.stat-num  { font-family: 'DM Serif Display', serif; font-size: 2.8rem; color: #f0ad4e; line-height: 1; }
.stat-lbl  { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .2rem; }

/* === CERT BADGES === */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  color: #2c4a6e;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  margin: .25rem;
}

/* === ALERT BANNER === */
.alert-fall {
  background: #fff8e1;
  border-left: 4px solid #f0ad4e;
  border-radius: 6px;
  padding: 1rem 1.4rem;
}

/* === CODE BLOCK === */
.code-dark {
  background: #1e2d3d;
  color: #a8d8cc;
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  font-size: .88rem;
  overflow-x: auto;
}
.code-dark code { color: inherit; background: none; padding: 0; }

/* === RESOURCE LIST === */
.resource-list { list-style: none; padding: 0; }
.resource-list li + li { margin-top: .5rem; }
.resource-list li a {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  padding: .7rem 1.1rem;
  color: #2c4a6e;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.resource-list li a:hover {
  border-color: #3a6186;
  box-shadow: 0 3px 10px rgba(58,97,134,.14);
  color: #3a6186;
}

/* === BLOG === */
.post-date { font-size: .82rem; color: #888; }
.post-title { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: #2c4a6e; }

/* === GOOGLE CERT IMAGE === */
.cert-img-link img {
  border-radius: 10px;
  border: 2px solid #dce3ea;
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
  transition: box-shadow .2s, transform .2s;
  max-width: 100%;
}
.cert-img-link:hover img {
  box-shadow: 0 8px 28px rgba(58,97,134,.22);
  transform: translateY(-3px);
}

/* === CREDLY BADGE EMBED === */
.credly-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1rem;
}

/* === FOOTER ICONS === */
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #f0ad4e !important; }

@media (max-width: 912px){
.hero-photo {
    width: 720px;
    height: 745px; 
  }
}

@media (max-width: 540px)
{
  .hero-photo {
    width: 420px;
    height: 445px; 
  }
}


@media (max-width: 430px){
  
    .hero-photo {
    width: 300px;
    height: 325px; 
  }
}


