/* ==========================================================
   Kazimah Binti Khuzaimi — Profile Site (Mobile)
   ========================================================== */
:root {
  --blue: #5B8DB8;
  --blue-light: #8FB8DA;
  --navy: #1F3864;
  --sidebar-bg: #EDEFF2;
  --cream: #F6F4EF;
  --text-grey: #444444;
  --white: #FFFFFF;
  --border: #DDE1E6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Calibri, Arial, sans-serif;
  background: var(--cream);
  color: var(--text-grey);
  font-size: 15px;
}

.banner {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 28px 18px 22px;
}

.banner .photo, .banner .photo-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.6);
  object-fit: cover;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.35);
  font-size: 34px;
  font-weight: 800;
}

.banner h1 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.banner .role { margin: 0 0 14px; font-size: 12.5px; letter-spacing: 1.2px; font-weight: 700; }

.contact-block {
  font-size: 13.5px;
  line-height: 1.9;
  text-align: left;
  display: inline-block;
}
.contact-block a { color: var(--white); }

.section {
  background: var(--white);
  margin: 14px 12px;
  padding: 16px 16px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(31,56,100,0.06);
}

h2.section-title {
  font-size: 13.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 6px;
  margin: 0 0 10px;
}

.overview-text { font-style: italic; font-size: 13.5px; line-height: 1.55; margin: 0; }

ul.plain-list { margin: 0; padding-left: 18px; }
ul.plain-list li { margin-bottom: 6px; font-size: 13.5px; }

.cred-item, .cert-item {
  display: flex; gap: 8px; font-size: 13.5px; margin-bottom: 10px; align-items: flex-start;
}
.cred-item .dot, .cert-item .dot { color: var(--blue); }
.cred-item .sub, .cert-item .sub { display: block; color: #777; font-size: 12px; }

.cert-item a.view-cert {
  display: inline-block; margin-top: 4px; font-size: 12px; color: var(--blue);
  font-weight: 600; text-decoration: none; border: 1px solid var(--blue);
  padding: 2px 10px; border-radius: 20px;
}

.edu-item { margin-bottom: 14px; }
.edu-item .period { font-size: 11.5px; font-weight: 700; color: var(--navy); letter-spacing: 0.6px; }
.edu-item .degree { font-style: italic; font-size: 13.5px; margin: 2px 0; }
.edu-item .institution { color: var(--blue); font-size: 13px; }

.job-block { margin-bottom: 18px; }
.job-block .job-title { font-weight: 700; font-size: 15px; color: var(--navy); }
.job-block .job-title .place { color: var(--blue); font-weight: 700; }
.job-block .period { font-style: italic; font-size: 12px; color: #777; margin: 2px 0 8px; }
.job-block ul { margin: 0; padding-left: 18px; }
.job-block ul li { font-size: 13.5px; margin-bottom: 6px; }

footer.site-footer {
  text-align: center; font-size: 11.5px; color: #999; padding: 16px;
}

/* Certificate modal (full-screen on mobile) */
.cert-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(20,30,45,0.85);
  z-index: 999; align-items: center; justify-content: center;
}
.cert-modal-overlay.open { display: flex; }
.cert-modal-box {
  background: var(--white); border-radius: 10px; width: 94vw; max-height: 88vh;
  overflow: auto; padding: 14px; position: relative;
}
.cert-modal-box img, .cert-modal-box iframe { width: 100%; max-height: 76vh; display: block; }
.cert-modal-close {
  position: absolute; top: 6px; right: 10px; font-size: 22px; cursor: pointer;
  color: var(--navy); background: none; border: none;
}

/* Bottom link back to desktop version, for convenience */
.switch-link { text-align: center; padding: 4px 0 20px; font-size: 12px; }
.switch-link a { color: var(--blue); }
