/* ================================
   RESET & BASE (same as home)
=================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  background-color: #f3f3f3;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  font-weight: 700;
  color: #2E2E2E;
}

p, a, li, span, nav {
  font-family: "Verdana", "Trebuchet MS", "Arial", sans-serif;
  font-weight: 400;
  color: #595959;
}

/* ================================
   HEADER
=================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f3f3f3;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

header h1 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

header .subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
}

/* Navigation */
.header-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.header-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #0077cc;
}
/* ===== Desktop pipes between links ===== */
.header-nav ul li {
  position: relative;
  margin-right: 0px;
}

.header-nav ul li:not(:last-child)::after {
  content: "|";
  position: relative;
  margin: 0 4px;     /* adjust spacing here */
  color: #333;
  font-weight: 400;
}

/* base (outside any @media) */
.hamburger {
  display: none;                  /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1000;                  /* keep above content */
}
.hamburger span {
  display: block;                 /* ← REQUIRED */
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* ================================
   PAGE TITLE
=================================== */
.certifications-page {
  max-width: 1000px;
  margin: 5px auto;
  padding: 0 20px;
}

.certifications-page h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2px;
}

/* ================================
   CERTIFICATION BLOCKS
=================================== */
.certification {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.certification img.cert-badge {
  height: auto;
  max-height: 200px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 10px auto 0 auto;
}

.cert-title-block h3 {
  font-size: 1.0rem;
  margin-bottom: 4px;
}

.cert-title-block .issuer {
  font-size: .8rem;
  color: #555;
}

.certification .description {
  font-size: .7rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.certification .skills {
  font-size: .7rem;
  line-height: 1.2;
  list-style: disc;
  margin-left: 20px;
  color: #444;
}

.certification .skills li {
  margin-bottom: 4px;
}
/* =====================================
   DEGREE BLOCK BACKGROUND ENHANCEMENT
===================================== */
.certification-block {
  background-color: #ffffff;          /* clean white box */
  border: 1px solid rgba(0, 0, 0, 0.06);  /* soft border */
  border-radius: 6px;                 /* rounded corners */
  padding: 10px 40px 5px 50px;  /* top, right, bottom, left */
  margin: 10px 40px;                  /* space between degrees */
  max-width: 850px;                   /* keeps consistent width */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);  /* faint shadow */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}


/* ================================
   FOOTER SECTION — FLEXBOX VERSION (Perfect Alignment)
=================================== */

/* Divider line */
.footer-separator {
  width: 95%;
  max-width: 1500px;
  margin: 10px auto 0;
}
.footer-separator hr {
  border: none;
  border-top: 1px solid #000;
  width: 100%;
  margin: 0;
}

/* Footer container */
footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 95%;
  max-width: 1500px;
  margin: 0px auto 0;
  padding: 10px 0 16px;
  flex-wrap: wrap;
  /*font-size: 0.85rem; /* ✅ Adjust footer text size here */
}

/* Each column */
.footer-col strong {
  font-size: 0.85rem;   /* Phone / Email labels */
  font-weight: 700;
}
.footer-col span {
  line-height: 1.3;      /* slightly tighter stack for phone/email */
  margin-top: 0;         /* remove any inherited spacing */
  font-size: .85rem;
}
.follow-text {
  margin-top: 6px;       /* was 3-4px; balanced against tightened text columns */
  line-height: 1.3;
}

/* Column alignments */
.footer-col:first-child {
  text-align: left;
  align-items: flex-start;
}

.footer-col:nth-child(2) {
  text-align: left;           /* ← changed from center */
  align-items: flex-start;    /* ← changed from center */
}

.footer-col:nth-child(3) {
  text-align: left;
  align-items: flex-start;
}

.footer-col:last-child {
  text-align: left;
  align-items: flex-start;
}

/* Stack label above text */
.footer-col strong {
  display: block;
  margin-bottom: 1px;    /* was ~3-6px; tighter now */
  line-height: 1.2;      /* keeps label compact */
}

/* LinkedIn icon */
.linkedin svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.linkedin:hover svg {
  transform: translateY(-4px) scale(1.15);
  opacity: 0.95;
  fill: #0A66C2;
  filter: drop-shadow(0 2px 4px rgba(10, 102, 194, 0.3));

}

/* Right column fine-tuning */
.footer-right {
  line-height: 1.1;
}

.footer-credit {
  margin-top: 8px;
  line-height: 1.3;
  font-size: .85rem;
}
/* LinkedIn follow label */
.follow-text {
  display: block;
  margin-top: 4px;
  font-size: 0.85em;
  color: #595959;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Responsive layout */
@media (max-width: 800px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    align-items: center;
    margin-bottom: 10px;
  }
  .footer-col:last-child {
    align-items: center;
  }
}

/* ================================
   RESPONSIVE (≤ 800px)
=================================== */
@media (max-width: 800px) {
  /* Mobile header */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 0;
    position: relative;
  }
  .header-left {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
  .subtitle {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 10px;
    right: 16px;
  }
  .header-nav {
    display: none;
    width: 100%;
    margin-top: 12px;
    text-align: center;
  }
  .header-nav.open { display: block; }
  .header-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  /* Remove desktop pipes on mobile */
  .header-nav ul li:not(:last-child)::after {
    content: "" !important;
    margin: 0 !important;
  }

  /* Mobile skills grid */
  .skills-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .skill-col h3 {
    border-left: none;
    border-bottom: 2px solid #0077cc;
    display: inline-block;
    padding-left: 0;
    padding-bottom: 5px;
    margin-bottom: 15px;
  }

  /* Mobile footer */
  footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    margin-top: 20px;
  }
  .footer-col {
    text-align: center !important;
    width: 100%;
  }
}



/* ================================
   CENTER BADGE + ISSUER BLOCK
=================================== */
.cert-header {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: center;      /* center horizontally */
  text-align: center;       /* center the text inside */
  gap: 10px;
  margin-bottom: 20px;
}

.certification img.cert-badge {
  height: auto;
  max-height: 180px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 10px auto 0 auto;
}

.cert-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-title-block .issuer {
  margin-top: 5px;
  font-size: 0.8rem;
  color: #555;
  text-align: center;
}

