/* =========================================
   Global Design Variables & Tokens
   ========================================= */
:root {
  --bg-sand: #fbf8f6;
  --text-dark: #1e191b;
  --accent-coral: #e85c45;
  --text-muted: #5e595a;
  --border-pill: #f3dad6;
  --dock-bg: #ffffff;
  --font-stack: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
  background-color: var(--bg-sand);
  font-family: var(--font-stack);
  color: var(--text-dark);
}

/* =========================================
   Top Navigation Bar & Animated Logo
   ========================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3.5rem;
  z-index: 100;
  position: relative;
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.logo-animation-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-animation-wrapper::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: conic-gradient(from 0deg, #e85c45, #ff9472, #00f0ff, #e85c45);
  opacity: 0;
  filter: blur(5px);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 1.5px solid #f0e6e4;
  box-shadow: 0 4px 12px rgba(232, 92, 69, 0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.nav-brand-group:hover .logo-animation-wrapper::before {
  opacity: 1;
  animation: rotateAura 3s linear infinite;
}

.nav-brand-group:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 25px rgba(232, 92, 69, 0.35);
}

@keyframes rotateAura {
  100% {
    transform: rotate(360deg);
  }
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.6rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-coral);
}

.btn-primary {
  background-color: var(--accent-coral);
  color: #fff;
  padding: 0.5rem 1.05rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(232, 92, 69, 0.2);
  transition: transform 0.15s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.headline-coral {
  color: var(--accent-coral);
}

/* =========================================
   Home Page Specifics
   ========================================= */
body.home-body {
  min-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.hero-stage {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem 2rem;
  gap: 1.5rem;
}

.hero-headline {
  text-align: center;
  z-index: 10;
}

.hero-headline h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -2px;
}

.headline-dark {
  display: block;
  color: var(--text-dark);
}

.headline-coral {
  display: block;
  color: var(--accent-coral);
}

.hero-centerpiece {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  z-index: 1;
}

.portrait-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

.profile-cutout {
  width: auto;
  max-width: 90vw;
  max-height: 480px;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  z-index: 5;
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 10;
}

.floating-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.badge-wp { width: 66px; height: 66px; left: 8%; bottom: 20%; }
.badge-sites { width: 56px; height: 56px; left: 16%; top: 12%; }
.badge-vscode { width: 62px; height: 62px; right: 10%; bottom: 18%; }
.badge-gemini { width: 56px; height: 56px; right: 16%; top: 15%; }

.floating-badge:hover {
  transform: translateY(-5px) scale(1.05);
}

.hero-statement-centered {
  max-width: 580px;
  text-align: center;
  z-index: 15;
  position: relative;
}

.pitch-lead {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.pitch-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.cta-link {
  color: var(--accent-coral);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
}

.cta-link:hover {
  transform: translateX(4px);
}

.dock-wrapper {
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
  margin-top: auto;
  z-index: 20;
}

.floating-dock {
  display: inline-flex;
  background: var(--dock-bg);
  border: 1px solid var(--border-pill);
  border-radius: 16px;
  padding: 0.4rem;
  gap: 0.4rem;
  box-shadow: 0 10px 40px rgba(232, 92, 69, 0.08);
}

.dock-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.dock-tab:hover {
  background-color: #fcf1ef;
}

.dock-tab.active {
  background-color: var(--accent-coral);
  color: #ffffff;
}

.dock-icon {
  font-size: 1rem;
}

/* =========================================
   About Page: Frosted Glass Overlay
   ========================================= */
.about-body {
  background-color: var(--bg-sand);
  min-height: 100vh;
  overflow-y: auto;
}

.about-header-block {
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
}

.about-main-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-monogram {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-top: 0.45rem;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
}

.brand-monogram::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--accent-coral);
  margin: 6px auto 0;
  border-radius: 2px;
}

.about-overlay-arena {
  max-width: 1260px;
  margin: 2rem auto 5rem;
  padding: 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
}

.underlay-portrait-frame {
  position: absolute;
  right: 2rem;
  top: 0;
  width: 48%;
  max-width: 520px;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.underlay-portrait-img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  filter: contrast(1.02) saturate(1.02);
}

.floating-logo-orb {
  position: absolute;
  bottom: 20px;
  right: -15px;
  width: 95px;
  height: 95px;
  border-radius: 22px;
  background: #ffffff;
  padding: 8px;
  border: 2px solid #f2dbd7;
  box-shadow: 0 12px 30px rgba(232, 92, 69, 0.2);
  z-index: 4;
}

.floating-logo-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.glass-overlay-card {
  position: relative;
  z-index: 3;
  width: 66%;
  max-width: 780px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(243, 218, 214, 0.85);
  border-radius: 26px;
  padding: 3rem 3.2rem;
  box-shadow: 0 20px 50px rgba(232, 92, 69, 0.09), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.brand-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #fcece8;
  border: 1px solid #f7d4cc;
  border-radius: 30px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.3rem;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--accent-coral);
  border-radius: 50%;
}

.eyebrow-text {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-coral);
}

.glass-card-heading {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.glass-para {
  font-size: 0.98rem;
  color: #3b3637;
  line-height: 1.7;
  margin-bottom: 1.15rem;
}

.glass-para.highlight {
  font-size: 1.06rem;
  color: var(--text-dark);
}

.glass-quote {
  font-style: italic;
  color: var(--accent-coral);
  border-left: 3.5px solid var(--accent-coral);
  padding: 0.65rem 1.25rem;
  margin: 1.3rem 0;
  font-size: 0.98rem;
  line-height: 1.55;
  background: rgba(255, 248, 246, 0.7);
  border-radius: 0 10px 10px 0;
}

.card-footer-meta {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #f0dedb;
}

.handle-tag {
  font-family: monospace;
  color: var(--accent-coral);
  font-size: 0.92rem;
  font-weight: 800;
}

.skill-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 2rem;
}

.skill-tag {
  background: #ffffff;
  border: 1px solid #edd5d0;
  color: #4f4a4b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  background-color: #fff6f4;
}

.glass-btn-row {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.btn-secondary-coral {
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid var(--accent-coral);
  color: var(--accent-coral);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
  background-color: transparent;
  cursor: pointer;
}

.btn-secondary-coral:hover {
  background-color: #fcece8;
}

/* =========================================
   Credentials Page: Frameless 3-Column Grid
   ========================================= */
.credentials-body {
  background-color: var(--bg-sand);
  min-height: 100vh;
  overflow-y: auto;
}

.credentials-header-block {
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto 1rem;
  padding: 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.credentials-single-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  white-space: nowrap;
  text-align: center;
  margin: 0;
}

.credentials-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0.75rem auto 0;
  line-height: 1.55;
  text-align: center;
}

.credentials-stage-wrapper {
  max-width: 1060px;
  margin: 2rem auto 4.5rem;
  padding: 0 1.5rem;
}

.credentials-grid-header {
  display: grid;
  grid-template-columns: 3.4fr 1fr 1fr;
  padding: 0 1.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-coral);
}

.grid-header-title { text-align: left; }
.grid-header-year { text-align: center; }
.grid-header-action { text-align: right; }

.credentials-list-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential-row {
  display: grid;
  grid-template-columns: 3.4fr 1fr 1fr;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid #f6eae8;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.credential-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 92, 69, 0.08);
  border-color: #f2d5cf;
}

.col-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 1.5rem;
}

.credential-badge {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-coral);
  background-color: #fdf1ef;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  margin-bottom: 0.25rem;
}

.credential-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.credential-issuer {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7b7476;
  margin-bottom: 0.25rem;
}

.credential-headline-desc {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-coral);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.credential-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.col-year {
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.col-action {
  display: flex;
  justify-content: flex-end;
}

.credential-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #fbf1ef;
  color: var(--accent-coral);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.credential-view-btn .arrow-icon {
  font-size: 0.88rem;
  transition: transform 0.2s ease;
}

.credential-view-btn:hover {
  background-color: var(--accent-coral);
  color: #ffffff;
}

.credential-view-btn:hover .arrow-icon {
  transform: translateX(3px);
}

.credentials-upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 2px dashed #eed6d1;
  text-align: center;
}

.upload-cert-btn {
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
}

.upload-cert-btn .btn-icon {
  font-size: 1.1rem;
  font-weight: 900;
}

.upload-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  max-width: 480px;
}

.cert-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 25, 27, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.cert-modal-backdrop.active {
  display: flex;
}

.cert-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  border: 1px solid #f2dbd7;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cert-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.cert-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.cert-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.cert-modal-close:hover {
  color: var(--accent-coral);
}

.cert-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cert-modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cert-modal-form label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dark);
}

.cert-modal-form input,
.cert-modal-form textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 9px;
  border: 1px solid #ecdcd9;
  background-color: #fdfaf9;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cert-modal-form input:focus,
.cert-modal-form textarea:focus {
  outline: none;
  border-color: var(--accent-coral);
  background-color: #ffffff;
}

.cert-modal-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

/* ============================================================
   Projects Page: Single edrolali.jpg Backdrop with Glass Box
   ============================================================ */
.projects-body {
  background-color: var(--bg-sand);
  min-height: 100vh;
  overflow-y: auto;
}

.project-overlay-stage {
  max-width: 1200px;
  margin: 1.5rem auto 5rem;
  padding: 0 1.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 760px;
}

/* Single Background Frame (edrolali.jpg) */
.composite-backdrop-frame {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1.5px solid rgba(238, 214, 209, 0.6);
  z-index: 1;
  background-color: #1a1518;
}

.single-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.85;
  filter: contrast(1.05) saturate(1.05);
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.single-backdrop-tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(251, 248, 246, 0.25) 0%, rgba(20, 16, 18, 0.55) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
}

.project-overlay-stage:hover .single-backdrop-img {
  transform: scale(1.025);
  opacity: 0.95;
}

/* Ultra-Transparent Frosted Glass Box */
.projects-glass-overlay-card {
  position: relative;
  z-index: 5;
  width: 92%;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.38); /* Refined glass transparency */
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  padding: 3rem 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.75);
  margin: 2rem 0;
}

.project-card-main-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.project-card-lead {
  font-size: 0.96rem;
  color: #3f393b;
  line-height: 1.55;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Categories List */
.project-categories-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.project-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.48); /* Transparent shelf */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 1.3rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.project-category-row:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--accent-coral);
  box-shadow: 0 12px 30px rgba(232, 92, 69, 0.15);
}

.category-meta-left {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

/* Circular Glass Orb for Icons */
.category-icon-orb {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.category-icon-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-category-row:hover .category-icon-orb {
  transform: scale(1.08) rotate(3deg);
}

.category-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.category-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.category-description {
  font-size: 0.88rem;
  color: #3b3637;
  line-height: 1.5;
  max-width: 620px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.category-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(243, 218, 214, 0.9);
  color: #443e40;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

/* Action Button */
.project-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent-coral);
  color: #ffffff;
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(232, 92, 69, 0.25);
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.project-action-btn .arrow-icon {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.project-action-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.project-action-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* =========================================
   Contact Page Layout
   ========================================= */
.contact-body {
  background-color: var(--bg-sand);
  min-height: 100vh;
  overflow-y: auto;
}

.contact-layout-wrapper {
  max-width: 1240px;
  margin: 1.5rem auto 3rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-left-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-pitch-header {
  padding: 0 0.5rem;
}

.pitch-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}

.pitch-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-left-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0e6e4;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background-color: #fdf5f3;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-coral);
  background-color: #ffffff;
}

.form-submit-btn {
  background: linear-gradient(135deg, #f57242, var(--accent-coral));
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232, 92, 69, 0.25);
  transition: transform 0.15s ease;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
}

.form-socials-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0;
  flex-wrap: wrap;
}

.socials-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.social-links-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid #f0e6e4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  padding: 8px;
}

.social-icon-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

.contact-right-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-portrait-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.contact-main-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.portrait-box {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.contact-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.socials-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 105px;
  background: #ffffff;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.socials-floating-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* =========================================
   Blog Page Layout
   ========================================= */
.blog-body {
  background-color: var(--bg-sand);
  min-height: 100vh;
}

.blog-grid-container {
  max-width: 1180px;
  margin: 2rem auto 5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #f0e6e4;
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(232, 92, 69, 0.1);
  border-color: #f5d4cd;
}

.blog-meta-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-coral);
  margin-bottom: 0.8rem;
}

.blog-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.blog-snippet {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex: 1;
}

.blog-read-more {
  color: var(--accent-coral);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ============================================================
   RESPONSIVE SUITE: TABLET & MOBILE VIEW FIXES
   ============================================================ */

/* --- Tablet & Medium Screens (1024px and below) --- */
@media (max-width: 1024px) {
  .navbar {
    padding: 0.9rem 1.5rem;
  }
  
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .about-overlay-arena {
    flex-direction: column;
    height: auto;
  }
  
  .underlay-portrait-frame {
    position: static;
    width: 100%;
    max-width: 420px;
    margin-bottom: -40px;
  }
  
  .glass-overlay-card {
    width: 100%;
    padding: 2.2rem;
  }
  
  .floating-logo-orb {
    right: 10px;
    bottom: 20px;
    width: 80px;
    height: 80px;
  }

  .projects-glass-overlay-card {
    width: 95%;
    padding: 2.2rem 1.5rem;
  }

  .project-category-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .category-action-right {
    width: 100%;
  }

  .project-action-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-right-section {
    order: -1;
  }

  .credentials-single-title {
    white-space: normal;
  }
  
  .credentials-grid-header {
    display: none;
  }
  
  .credential-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.1rem;
  }
  
  .col-details {
    padding-right: 0;
  }
  
  .col-year {
    text-align: left;
    font-size: 0.88rem;
    color: var(--accent-coral);
  }
  
  .col-action {
    justify-content: flex-start;
  }
}

/* --- Mobile Smartphones (768px and below) --- */
/* --- Mobile Smartphones (768px and below) --- */
@media (max-width: 768px) {

  /* 1. Universal Top Navbar */
  .navbar {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-brand-group {
    gap: 0.6rem;
  }

  .logo-animation-wrapper {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .navbar .btn-primary {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }

  .nav-container {
    width: 100%;
    order: 3;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.4rem 0;
    scrollbar-width: none;
  }

  .nav-container::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 1.2rem;
    white-space: nowrap;
    width: max-content;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 0.2rem 0;
  }

  /* 2. Hero Stage & Centerpiece (Home Page) */
  .hero-stage {
    padding: 1.2rem 1rem 2rem;
    gap: 1.2rem;
  }

  .hero-headline h1 {
    font-size: 2.8rem;
    letter-spacing: -1px;
    line-height: 1;
  }

  .hero-centerpiece {
    max-width: 320px;
    margin: 0 auto;
  }

  .profile-cutout {
    max-height: 340px;
  }

  .floating-badge {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  .badge-wp { width: 48px; height: 48px; left: -4px; bottom: 25%; }
  .badge-sites { width: 42px; height: 42px; left: 8px; top: 6%; }
  .badge-vscode { width: 46px; height: 46px; right: -4px; bottom: 22%; }
  .badge-gemini { width: 42px; height: 42px; right: 8px; top: 8%; }

  .floating-badge img {
    padding: 7px;
  }

  .hero-statement-centered {
    padding: 0 0.8rem;
  }

  .pitch-lead {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .pitch-sub {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .dock-wrapper {
    padding: 0 0.8rem 1.2rem;
    width: 100%;
  }

  .floating-dock {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: space-around;
    padding: 0.3rem;
    gap: 0.2rem;
  }

  .dock-tab {
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
    gap: 0.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dock-icon {
    font-size: 0.95rem;
  }

  /* 3. FIX: About Page Mobile Layout */
  .about-header-block {
    padding: 1rem 1rem 0.2rem;
  }

  .about-main-title {
    font-size: 2.2rem;
  }

  .brand-monogram {
    font-size: 0.92rem;
  }

  .about-overlay-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    margin: 1rem auto 4rem;
    padding: 0 1rem;
    gap: 1.5rem;
  }

  .underlay-portrait-frame {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 0;
    justify-content: center;
  }

  .underlay-portrait-img {
    max-height: 380px;
    border-radius: 20px;
  }

  .floating-logo-orb {
    width: 64px;
    height: 64px;
    bottom: -10px;
    right: 10px;
    border-radius: 16px;
    padding: 5px;
  }

  .glass-overlay-card {
    width: 100% !important;
    max-width: 100%;
    padding: 1.6rem 1.2rem !important;
    border-radius: 20px;
  }

  .brand-eyebrow {
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .eyebrow-text {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
    word-break: break-word;
  }

  .glass-card-heading {
    font-size: 1.35rem !important;
    line-height: 1.4 !important;
    letter-spacing: -0.3px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .glass-para {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .glass-quote {
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem;
    margin: 1rem 0;
  }

  .glass-btn-row {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .glass-btn-row .btn-primary,
  .glass-btn-row .btn-secondary-coral {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* 4. FIX: Contact Page Mobile Layout */
  .contact-layout-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    margin: 1rem auto 4rem;
    gap: 2rem;
  }

  .contact-right-section {
    order: -1;
    width: 100%;
  }

  .contact-portrait-header {
    margin-bottom: 1rem;
  }

  .contact-main-title {
    font-size: 2.2rem;
  }

  .portrait-box {
    max-width: 280px;
    margin: 0 auto;
  }

  .socials-floating-card {
    width: 80px;
    right: -10px;
    bottom: -10px;
    border-radius: 14px;
    padding: 6px;
  }

  .contact-left-section {
    width: 100%;
  }

  .form-pitch-header {
    padding: 0;
    text-align: center;
  }

  .pitch-title {
    font-size: 1.35rem;
    line-height: 1.35;
  }

  .pitch-description {
    font-size: 0.88rem;
  }

  .contact-left-card {
    padding: 1.4rem 1.1rem;
    border-radius: 18px;
  }

  .form-row-dual {
    grid-template-columns: 1fr !important;
    gap: 0.9rem;
  }

  .form-field input,
  .form-field textarea {
    padding: 0.75rem 0.9rem;
    font-size: 0.86rem;
  }

  .form-submit-btn {
    padding: 0.75rem;
    font-size: 0.88rem;
  }

  .form-socials-row {
    justify-content: center;
    flex-direction: column;
    gap: 0.6rem;
  }

  .social-links-bar {
    justify-content: center;
  }

 /* ============================================================
     PROJECTS PAGE MOBILE RESTRUCTURING (CLEAN VERTICAL CARDS)
     ============================================================ */
  .project-overlay-stage {
    min-height: auto;
    padding: 0 0.85rem;
    margin: 1.2rem auto 4.5rem;
  }

  .projects-glass-overlay-card {
    width: 100% !important;
    padding: 1.6rem 1.1rem !important;
    border-radius: 20px;
  }

  .project-card-main-title {
    font-size: 1.35rem !important;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .project-card-lead {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1.6rem;
  }

  .project-categories-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
  }

  /* Transform the horizontal row into a clean, full-width card */
  .project-category-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.1rem !important;
    padding: 1.4rem 1.15rem !important;
    border-radius: 16px;
    background: #ffffff !important;
    border: 1px solid #ebd4cf;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  }

  /* Header inside card: Orb icon alongside title */
  .category-meta-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.9rem !important;
    width: 100% !important;
  }

  .category-icon-orb {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 12px;
    padding: 6px;
    flex-shrink: 0;
  }

  .category-info {
    width: 100% !important;
  }

  .category-heading {
    font-size: 1.12rem !important;
    line-height: 1.3 !important;
    color: var(--text-dark);
    margin: 0;
    white-space: normal;
  }

  /* Description stretches across the entire width of the card */
  .category-description {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    color: #554e50;
    margin: 0.2rem 0 0.8rem !important;
    width: 100% !important;
  }

  /* Tag pills wrap neatly in a row rather than breaking vertically */
  .category-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .category-tags span {
    font-size: 0.74rem !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 6px;
    background: #fdf6f4;
    color: var(--accent-coral);
    border: 1px solid #f6deda;
    white-space: nowrap;
  }

  /* Full-width button at the bottom of each project card */
  .category-action-right {
    width: 100% !important;
    margin-top: 0.3rem;
  }

  .project-action-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.84rem !important;
    border-radius: 10px;
    box-sizing: border-box;
  }
/* --- Small Screen Guard (380px and below) --- */
@media (max-width: 380px) {
  .hero-headline h1 {
    font-size: 2.3rem;
  }

  .badge-wp, .badge-vscode {
    display: none;
  }

  .dock-tab span:last-child {
    font-size: 0.65rem;
  }
}
}
/* ============================================================
   Conferences & Webinars Hub: Grid, Countdowns & Calendar Sync
   ============================================================ */
.webinars-body {
  background-color: var(--bg-sand);
  min-height: 100vh;
  overflow-y: auto;
}

.webinars-stage-wrapper {
  max-width: 1200px;
  margin: 1.5rem auto 5rem;
  padding: 0 1.5rem;
}

/* Track Selector Tabs */
.webinar-track-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.track-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #edd5d0;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.track-tab .track-badge {
  font-size: 0.72rem;
  font-family: monospace;
  background: #fdf1ef;
  color: var(--accent-coral);
  padding: 2px 7px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.track-tab:hover {
  background-color: #ffffff;
  border-color: var(--accent-coral);
}

.track-tab.active {
  background-color: var(--accent-coral);
  color: #ffffff;
  border-color: var(--accent-coral);
}

.track-tab.active .track-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Webinars Responsive Grid */
.webinars-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.8rem;
}

/* Webinar Card Container */
.webinar-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(243, 218, 214, 0.9);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.webinar-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-coral);
  box-shadow: 0 16px 35px rgba(232, 92, 69, 0.1);
}

.webinar-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.webinar-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.webinar-tag.health {
  background: #eaf8f4;
  color: #1a8767;
  border: 1px solid #cceee4;
}

.webinar-tag.tech {
  background: #fdf1ef;
  color: var(--accent-coral);
  border: 1px solid #f9dad5;
}

.webinar-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #635c5e;
}

.webinar-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.webinar-organizer {
  font-size: 0.84rem;
  font-weight: 600;
  color: #7b7476;
  margin-bottom: 0.9rem;
}

.webinar-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.4rem;
  flex: 1;
}

/* Real-Time Countdown Box */
.countdown-box {
  background: #ffffff;
  border: 1px solid #edd5d0;
  border-radius: 12px;
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.countdown-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-coral);
  margin-bottom: 0.3rem;
}

.countdown-digits {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: 1px;
}

/* Card Bottom Buttons */
.webinar-card-footer {
  display: flex;
  gap: 0.7rem;
  border-top: 1px solid #f9ece9;
  padding-top: 1rem;
}

.btn-cal-sync {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #fdf5f3;
  color: var(--accent-coral);
  border: 1px solid #f6deda;
  padding: 0.6rem 1rem;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  flex: 1;
  transition: all 0.2s ease;
}

.btn-cal-sync:hover {
  background-color: var(--accent-coral);
  color: #ffffff;
}

.btn-event-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border-radius: 9px;
  background-color: #1e191b;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.btn-event-link:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .webinars-grid-container {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   Admin Events Console & Local Staging
   ============================================================ */
.admin-event-stage {
  max-width: 1240px;
  margin: 1.5rem auto 5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.admin-form-panel,
.admin-preview-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(243, 218, 214, 0.95);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.panel-header {
  margin-bottom: 1.5rem;
}

.panel-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.panel-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.panel-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.admin-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-form label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-dark);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 11px;
  border: 1.5px solid #edd5d0;
  background-color: #fdfaf9;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--accent-coral);
  background-color: #ffffff;
}

.admin-events-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.admin-event-card {
  background: #ffffff;
  border: 1px solid #f6deda;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}

.admin-event-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-delete-btn {
  background: none;
  border: none;
  color: #c94630;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.admin-delete-btn:hover {
  background-color: #fdeee9;
}

@media (max-width: 992px) {
  .admin-event-stage {
    grid-template-columns: 1fr;
  }
}
/* Portal Link Button on Webinars Page */
.webinar-admin-bridge {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
}

.btn-admin-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--accent-coral);
  color: var(--accent-coral);
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(232, 92, 69, 0.08);
  transition: all 0.2s ease;
}

.btn-admin-portal .plus-icon {
  font-size: 1rem;
  font-weight: 900;
}

.btn-admin-portal:hover {
  background: var(--accent-coral);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 92, 69, 0.2);
}
/* Add New Project Bottom Box */
.projects-upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 2px dashed #eed6d1;
  text-align: center;
}

.upload-project-btn {
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.92rem;
}

.upload-project-btn .btn-icon {
  font-size: 1.1rem;
  font-weight: 900;
}
/* =========================================
   Blog CMS Action Bar & Card Interactions
   ========================================= */
.blog-cms-action-bar {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.blog-cms-action-bar .btn-primary {
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
}

.blog-cms-action-bar .plus-icon {
  font-size: 1.1rem;
  font-weight: 900;
}

.blog-card.custom-post {
  border-color: #f2d5cf;
  background: #ffffff;
  position: relative;
}

.blog-card-delete {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #c94630;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.blog-card-delete:hover {
  background-color: #fdeee9;
}
/* ============================================================
   ADMIN GATEKEEPER & ROLE-BASED VISIBILITY
   ============================================================ */

/* ============================================================
   UNIVERSAL ADMIN GATEKEEPER & ROLE-BASED VISIBILITY
   ============================================================ */

/* 1. Default: Hide all management tools on ALL pages for regular visitors */
.admin-only-action,
div.admin-only-action,
section.admin-only-action,
button.admin-only-action,
.projects-upload-section,
.credentials-upload-section,
.webinar-admin-bridge,
.blog-cms-action-bar,
.blog-card-delete {
  display: none !important;
}

/* 2. Authenticated: Instantly reveal across Projects, Bootcamps, Webinars, and Blog */
body.is-admin .admin-only-action,
body.is-admin div.admin-only-action,
body.is-admin section.admin-only-action,
body.is-admin button.admin-only-action {
  display: flex !important;
}

body.is-admin .projects-upload-section {
  display: flex !important;
}

body.is-admin .credentials-upload-section {
  display: flex !important;
}

body.is-admin .webinar-admin-bridge {
  display: flex !important;
}

body.is-admin .blog-cms-action-bar {
  display: flex !important;
}

body.is-admin .blog-card-delete {
  display: inline-block !important;
}

/* 3. Secret Admin Login Overlay Modal */
.admin-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}

.admin-auth-overlay.active {
  display: flex !important;
}

.admin-auth-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 380px;
  padding: 2.2rem;
  border: 1.5px solid #eed6d1;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.admin-auth-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.admin-auth-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.admin-pin-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-align: center;
  border-radius: 10px;
  border: 1.5px solid #ecdcd9;
  background-color: #fdfaf9;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.admin-pin-input:focus {
  outline: none;
  border-color: var(--accent-coral);
  background: #ffffff;
}

/* 4. Floating Status Indicator Pill */
.admin-floating-status-pill {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #1e191b;
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}

.admin-floating-status-pill .logout-btn {
  background: none;
  border: none;
  color: var(--accent-coral);
  font-weight: 800;
  cursor: pointer;
  padding: 0 0.2rem;
}
/* ============================================================
   ADMIN-ONLY NAVIGATION CONTROLS
   ============================================================ */

/* Hide Conferences & Webinars from public navbar by default */
.nav-links li.admin-only-nav,
.floating-dock a.admin-only-nav {
  display: none !important;
}

/* Reveal in navbar and floating dock when Admin Mode is active */
body.is-admin .nav-links li.admin-only-nav {
  display: list-item !important;
}

body.is-admin .floating-dock a.admin-only-nav {
  display: flex !important;
}

/* ============================================================
   RESPONSIVE SUITE: MOBILE & TABLET REFINEMENT
   ============================================================ */

@media (max-width: 1024px) {
  .navbar {
    padding: 0.9rem 1.5rem;
  }
  
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .about-overlay-arena {
    flex-direction: column;
    height: auto;
  }
  
  .underlay-portrait-frame {
    position: static;
    width: 100%;
    max-width: 420px;
    margin-bottom: -40px;
  }
  
  .glass-overlay-card {
    width: 100%;
    padding: 2.2rem;
  }

  .projects-glass-overlay-card {
    width: 95%;
    padding: 2.2rem 1.5rem;
  }

  .credentials-single-title {
    white-space: normal;
  }
  
  .credentials-grid-header {
    display: none;
  }
  
  .credential-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.1rem;
  }
  
  .col-details {
    padding-right: 0;
  }
  
  .col-year {
    text-align: left;
    font-size: 0.88rem;
    color: var(--accent-coral);
  }
  
  .col-action {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {

  /* Universal Navigation */
  .navbar {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-brand-group {
    gap: 0.6rem;
  }

  .logo-animation-wrapper {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .navbar .btn-primary {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }

  .nav-container {
    width: 100%;
    order: 3;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.4rem 0;
    scrollbar-width: none;
  }

  .nav-container::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 1.2rem;
    white-space: nowrap;
    width: max-content;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 0.2rem 0;
  }

  /* Bootcamps & Credentials Stack */
  .credentials-header-block {
    margin: 1.5rem auto 0.8rem;
    padding: 0 1rem;
  }

  .credentials-single-title {
    font-size: 1.85rem !important;
    white-space: normal !important;
    line-height: 1.25;
  }

  .credentials-stage-wrapper {
    margin: 1.2rem auto 4rem;
    padding: 0 1rem;
  }

  .credential-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem;
    padding: 1.2rem !important;
  }

  .col-details {
    padding-right: 0 !important;
    width: 100%;
  }

  .credential-name {
    font-size: 1rem;
    margin: 0.3rem 0 0.2rem;
  }

  .credential-issuer {
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
  }

  .credential-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .col-year {
    font-size: 0.82rem !important;
    font-weight: 800;
    color: var(--accent-coral) !important;
    background: #fdf1ef;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    align-self: flex-start;
  }

  .col-action {
    width: 100%;
    margin-top: 0.4rem;
  }

  .credential-view-btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.84rem;
  }

  .credentials-upload-section {
    margin-top: 2rem;
    padding: 1.5rem 1rem;
  }

  /* Webinars & Conferences Mobile Rules */
  .webinars-stage-wrapper,
  .admin-event-stage {
    padding: 0 1rem;
  }

  .webinar-track-selector {
    gap: 0.5rem;
  }

  .track-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  .webinars-grid-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .webinar-card {
    padding: 1.3rem;
  }

  .webinar-title {
    font-size: 1.15rem;
  }

  .webinar-card-footer {
    flex-direction: column;
    gap: 0.6rem;
  }

  .btn-cal-sync,
  .btn-event-link {
    width: 100%;
    text-align: center;
  }
}

.floating-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid #ecdcd9;
  border-radius: 40px;
  padding: 0.4rem 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.dock-tab {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dock-tab:hover {
  background: #fdf5f3;
  color: var(--accent-coral);
}

.dock-tab.active {
  background: var(--accent-coral);
  color: #ffffff;
}

/* Mobile: Clean 4-column distribution */
@media (max-width: 768px) {
  .floating-dock {
    width: 100%;
    max-width: 390px;
    justify-content: space-between;
    padding: 0.35rem;
    gap: 0.2rem;
  }

  .dock-tab {
    flex: 1;
    flex-direction: column;
    padding: 0.4rem 0.2rem;
    font-size: 0.68rem;
    gap: 0.2rem;
    text-align: center;
  }
}
/* ============================================================
   TRUSTED ESSENTIALS STAGE & CMS TABLES
   ============================================================ */
.essentials-body {
  background-color: var(--bg-sand);
  min-height: 100vh;
  overflow-y: auto;
}

.essentials-stage-wrapper {
  max-width: 1140px;
  margin: 1.5rem auto 5rem;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.essentials-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(243, 218, 214, 0.85);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.essentials-card:hover {
  box-shadow: 0 14px 40px rgba(232, 92, 69, 0.07);
  border-color: #edd5d0;
}

.essentials-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.essentials-section-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.6px;
  line-height: 1.25;
}

.essentials-section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  max-width: 650px;
  line-height: 1.5;
}

.essentials-add-btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
  gap: 0.4rem;
  white-space: nowrap;
}

/* Tables Styling */
.essentials-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid #f2e2df;
  background: #ffffff;
}

.essentials-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.essentials-table thead {
  background-color: #faf4f2;
  border-bottom: 1px solid #ebd4cf;
}

.essentials-table th {
  padding: 1rem 1.3rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-coral);
}

.essentials-table td {
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid #f6eae7;
  color: var(--text-dark);
  vertical-align: middle;
}

.essentials-table tbody tr:last-child td {
  border-bottom: none;
}

.essentials-table tbody tr {
  transition: background-color 0.15s ease;
}

.essentials-table tbody tr:hover {
  background-color: #fdfaf9;
}

.task-title-cell {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.task-duration-cell {
  font-size: 0.88rem;
  color: #554e50;
  font-weight: 500;
}

/* Deadline Visual Indicators */
.deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.deadline-upcoming {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.deadline-approaching {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.deadline-overdue {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ─── Essentials API Integration: Loading & Error States ──────────────────── */

.essentials-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.spinner-ring {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-coral, #f05454);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.essentials-api-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(240, 84, 84, 0.08);
  border: 1px solid rgba(240, 84, 84, 0.3);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-primary, #f1f1f1);
}

.essentials-api-error .error-icon { font-size: 1.1rem; flex-shrink: 0; }

.error-retry-btn {
  margin-left: auto;
  background: none;
  border: 1px solid var(--accent-coral, #f05454);
  color: var(--accent-coral, #f05454);
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.error-retry-btn:hover {
  background: var(--accent-coral, #f05454);
  color: #fff;
}

.task-completed td {
  opacity: 0.55;
  text-decoration: line-through;
}



/* Status Badges for Stay Updated */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge.pending {
  background: #fef8ee;
  color: #b25e00;
  border: 1px solid #fde2b7;
}
.status-badge.pending::before {
  background-color: #d97706;
}

.status-badge.accepted {
  background: #edfbf3;
  color: #15803d;
  border: 1px solid #bcf0d2;
}
.status-badge.accepted::before {
  background-color: #16a34a;
}

.status-badge.rejected {
  background: #fdf2f2;
  color: #b91c1c;
  border: 1px solid #f8c8c8;
}
.status-badge.rejected::before {
  background-color: #dc2626;
}

/* Action Controls (Edit / Delete) */
.table-actions-cell {
  text-align: right;
  white-space: nowrap;
}

.btn-action-icon {
  background: #fff;
  border: 1.5px solid #e8d5d0;
  border-radius: 8px;
  padding: 0.38rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.btn-action-icon:hover {
  background: #fff8f7;
  border-color: var(--accent-coral);
  color: var(--accent-coral);
}

/* Edit button — coral accent style */
.btn-action-edit,
.edit-task-btn,
.edit-prog-btn {
  background: rgba(232, 92, 69, 0.08);
  border-color: rgba(232, 92, 69, 0.35);
  color: var(--accent-coral);
}

.btn-action-edit:hover,
.edit-task-btn:hover,
.edit-prog-btn:hover {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232, 92, 69, 0.3);
}

/* Delete button — red danger style */
.btn-action-delete,
.delete-task-btn,
.delete-prog-btn {
  color: #b91c1c;
  border-color: #f7d5d5;
  background: rgba(185, 28, 28, 0.05);
}

.btn-action-delete:hover,
.delete-task-btn:hover,
.delete-prog-btn:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

/* By default, hide action columns from guests unless body.is-admin */
.admin-col-header,
.table-actions-cell {
  display: none;
}

body.is-admin .admin-col-header,
body.is-admin .table-actions-cell {
  display: table-cell;
}

/* Empty Table State */
.empty-table-message {
  text-align: center;
  padding: 2.2rem 1rem !important;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.92rem;
}

/* Responsive Table Adaptations */
@media (max-width: 768px) {
  .essentials-card {
    padding: 1.4rem 1rem;
    border-radius: 18px;
  }

  .essentials-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .essentials-add-btn {
    width: 100%;
    justify-content: center;
  }

  .essentials-table th,
  .essentials-table td {
    padding: 0.85rem 0.95rem;
    font-size: 0.82rem;
  }
}
/* ============================================================
   ADMIN CONSOLE DUAL SWITCHER (ADMIN-EVENTS & ESSENTIALS)
   ============================================================ */
.admin-header {
  background: #ffffff;
  border-bottom: 1px solid #ebd4cf;
  padding: 1.2rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.admin-header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.admin-header-title-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-shield-icon {
  font-size: 1.8rem;
}

.admin-page-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.admin-page-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.admin-console-switcher {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.console-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  background: #faf4f2;
  color: var(--text-dark);
  border: 1px solid #ebd4cf;
  transition: all 0.2s ease;
}

.console-tab:hover {
  background: #ffffff;
  border-color: var(--accent-coral);
  color: var(--accent-coral);
}

.console-tab.active {
  background: var(--accent-coral);
  color: #ffffff;
  border-color: var(--accent-coral);
  box-shadow: 0 4px 12px rgba(232, 92, 69, 0.25);
}

.console-tab.back-to-site {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}

.console-tab.back-to-site:hover {
  color: var(--text-dark);
  background: #fdfaf9;
}

@media (max-width: 768px) {
  .admin-header {
    padding: 1rem;
  }
  
  .admin-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-console-switcher {
    width: 100%;
    justify-content: flex-start;
  }

  .console-tab {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 0.76rem;
    padding: 0.5rem 0.75rem;
  }
}
/* ============================================================
   CREDENTIALS CMS ROW ACTION CONTROLS (EDIT / DELETE)
   ============================================================ */
.credential-row .col-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cert-admin-controls {
  display: none; /* Hidden for guests */
  align-items: center;
  gap: 0.4rem;
}

body.is-admin .cert-admin-controls {
  display: inline-flex !important;
}

.cert-btn-edit,
.cert-btn-delete {
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1.5px solid #ebd4cf;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.01em;
}

.cert-btn-edit {
  background: rgba(232, 92, 69, 0.08);
  border-color: rgba(232, 92, 69, 0.35);
  color: var(--accent-coral);
}

.cert-btn-edit:hover {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(232, 92, 69, 0.3);
}

.cert-btn-delete {
  background: rgba(185, 28, 28, 0.05);
  color: #b91c1c;
  border-color: #f7d5d5;
}

.cert-btn-delete:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

@media (max-width: 768px) {
  .credential-row .col-action {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.6rem;
  }

  .cert-admin-controls {
    width: 100%;
    margin-top: 0.4rem;
  }

  .cert-btn-edit,
  .cert-btn-delete {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
  }
}
/* ============================================================
   IN-PLACE BLOG ADMIN CONTROLS (EDIT & DELETE)
   ============================================================ */
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-admin-controls {
  display: none;
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  gap: 0.4rem;
  z-index: 10;
}

body.is-admin .blog-admin-controls {
  display: flex !important;
}

.blog-btn-edit,
.blog-btn-delete {
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1.5px solid;
  transition: all 0.15s ease;
  letter-spacing: 0.01em;
}

.blog-btn-edit {
  background: rgba(232, 92, 69, 0.08);
  border-color: rgba(232, 92, 69, 0.35);
  color: var(--accent-coral);
}

.blog-btn-edit:hover {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(232, 92, 69, 0.3);
}

.blog-btn-delete {
  background: rgba(185, 28, 28, 0.05);
  color: #b91c1c;
  border-color: #f8c8c8;
}

.blog-btn-delete:hover {
  background-color: #fdeee9;
  border-color: #dc2626;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

/* ============================================================
   ADMIN HEADER & CONSOLE SWITCHER (webinars.html & admin-events.html)
   ============================================================ */
.admin-header {
  background: #ffffff;
  border: 1px solid #f0e6e4;
  border-radius: 20px;
  padding: 1.4rem 2rem;
  margin: 1.5rem auto 2.5rem;
  max-width: 1180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.admin-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.admin-header-title-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-shield-icon {
  font-size: 2rem;
}

.admin-page-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-dark, #2b2b2b);
}

.admin-page-sub {
  font-size: 0.84rem;
  color: var(--text-muted, #777);
  margin: 0.2rem 0 0;
}

.admin-console-switcher {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.console-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.9rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-dark, #333);
  background: #fdf8f6;
  border: 1px solid #eddcd8;
  transition: all 0.2s ease;
}

.console-tab:hover {
  background: #ffffff;
  border-color: var(--accent-coral, #f05454);
  color: var(--accent-coral, #f05454);
}

.console-tab.active {
  background: var(--accent-coral, #f05454);
  border-color: var(--accent-coral, #f05454);
  color: #ffffff;
}

.console-tab.back-to-site {
  border-style: dashed;
}