/* ---------- RESET & CORE BASE ---------- */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html, body { 
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(270deg, rgba(34,193,195,1) 0%, rgba(219,108,71,1) 79%);
}

/* Flex layout engine to keep footer always at the bottom */
body.inner-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1; 
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 60px 24px;
}

/* High-contrast header visibility overrides */
.page-content h1 {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-content p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Global Footer Style */
footer {
  padding: 24px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 14px;
}

/* Global Minimalist Back Navigation Pill Button */
.main-nav {
  padding: 32px 10%; 
}

.nav-logo {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  background: rgba(0, 0, 0, 0.15); 
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.nav-logo:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  transform: translateX(-3px);
}