/* ==========================================================================
   ABIYE ENZO - OFFICIAL PORTFOLIO STYLESHEET
   Identity: Abiye Gebresilassie Enzo Emmanuel | Founder of Æ Corporation
   ========================================================================== */

:root {
  --bg-main: #07090e;
  --bg-surface: #0e131f;
  --bg-card: #131b2e;
  --bg-card-hover: #18223a;
  --border-subtle: #1e293b;
  --border-active: #10b981;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-blue: #3b82f6;

  --terminal-bg: #090d16;
  --terminal-header: #0f172a;
  --terminal-text: #34d399;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
}

/* Light Theme Variables */
body.light {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-active: #059669;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.15);
  --accent-cyan: #0891b2;
  --accent-amber: #d97706;
  --accent-blue: #2563eb;

  --terminal-bg: #1e293b;
  --terminal-header: #0f172a;
  --terminal-text: #6ee7b7;
  
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 25px rgba(5, 150, 105, 0.12);
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--accent-emerald);
  color: #000000;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   STICKY NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

body.light .navbar {
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-logo {
  height: 38px;
  width: 38px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
  border: 1px solid var(--border-subtle);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-emerald);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.control-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 600;
  width: fit-content;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-title span.highlight {
  color: var(--accent-emerald);
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: var(--accent-cyan);
  line-height: 1.4;
  font-family: var(--font-mono);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-emerald);
  color: #06090e;
  border: 1px solid var(--accent-emerald);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-color: #059669;
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background-color: rgba(16, 185, 129, 0.05);
  transform: translateY(-2px);
}

.btn-htb {
  background-color: #111b27;
  color: #9fef00;
  border: 1px solid #9fef00;
}

.btn-htb:hover {
  background-color: #9fef00;
  color: #0d131a;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(159, 239, 0, 0.3);
}

.social-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.social-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-pill:hover {
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   TERMINAL INTERACTIVE SIMULATOR
   -------------------------------------------------------------------------- */
.terminal-wrapper {
  margin: 2.5rem 0 4rem;
  background-color: var(--terminal-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-header {
  background-color: var(--terminal-header);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1.25rem 1.25rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--terminal-text);
  min-height: 240px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-prompt-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  margin-top: 0.75rem;
}

.prompt-symbol {
  color: var(--accent-emerald);
  font-weight: bold;
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-primary);
  flex-grow: 1;
}

.terminal-quick-chips {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.chip-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.term-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.term-chip:hover {
  background-color: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   SECTION STYLING & HEADINGS
   -------------------------------------------------------------------------- */
.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   ABOUT PILLARS GRID
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   SKILLS & ARSENAL
   -------------------------------------------------------------------------- */
.skills-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--accent-emerald);
  color: #000;
  border-color: var(--accent-emerald);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.skill-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.skill-card:hover {
  border-color: var(--accent-emerald);
  background-color: var(--bg-card-hover);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.skill-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.skill-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border-radius: var(--radius-sm);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

body.light .tech-tag {
  background-color: rgba(0, 0, 0, 0.04);
}

/* --------------------------------------------------------------------------
   PROJECTS
   -------------------------------------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.project-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

@media (min-width: 640px) {
  .project-card {
    padding: 1.5rem;
  }
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.project-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.project-card:hover::before {
  opacity: 1;
}

.project-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.project-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  word-break: break-word;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.project-badge-progress {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
}

.project-badge-done {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
}

.project-badge-product {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
}

.project-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CERTIFICATIONS SHOWCASE
   -------------------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cert-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.cert-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cert-id-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--border-subtle);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

body.light .cert-id-box {
  background: rgba(0, 0, 0, 0.03);
}

.copy-icon-btn {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.copy-icon-btn:hover {
  color: var(--accent-emerald);
}

.cert-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-cert {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-subtle);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-cert:hover {
  border-color: var(--accent-emerald);
  background-color: var(--accent-emerald);
  color: #000000;
}

/* --------------------------------------------------------------------------
   HTB & GITHUB SECTION
   -------------------------------------------------------------------------- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.profile-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
}

.htb-card {
  border-color: rgba(159, 239, 0, 0.25);
  background: radial-gradient(circle at top right, rgba(159, 239, 0, 0.04), var(--bg-card));
}

.htb-card:hover {
  border-color: #9fef00;
  box-shadow: 0 0 25px rgba(159, 239, 0, 0.15);
}

.github-card {
  border-color: rgba(59, 130, 246, 0.25);
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.04), var(--bg-card));
}

.github-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
}

/* --------------------------------------------------------------------------
   Æ CORPORATION SHOWCASE
   -------------------------------------------------------------------------- */
.corp-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.04)), var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.corp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.corp-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.corp-service-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

body.light .corp-service-item {
  background: rgba(255, 255, 255, 0.7);
}

.corp-service-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.corp-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.corp-service-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.corp-service-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   BOOKS & WATTPAD SECTION
   -------------------------------------------------------------------------- */
.books-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), var(--bg-card));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .books-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   CONTACT SECTION & TRANSMISSION
   -------------------------------------------------------------------------- */
.contact-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.contact-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--accent-emerald);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--accent-emerald);
  margin: 1.5rem 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.contact-email-badge:hover {
  background-color: var(--accent-emerald);
  color: #000;
  box-shadow: var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   MODAL POPUP
   -------------------------------------------------------------------------- */
.certificate-popup {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(4, 7, 13, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1.5rem;
}

.certificate-popup.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--accent-emerald);
}

.modal-body {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.modal-body img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-emerald);
  color: #000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  padding: 3rem 0;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent-emerald);
}

.footer-signature {
  color: var(--text-primary);
  font-weight: 600;
}
