/* ==========================================================================
   1. DESIGN SYSTEM SYSTEM TOKENS & RESPONSIVE RESET
   ========================================================================== */
:root {
  /* Solid Flat Charcoal Palette Matrix */
  --bg-main: #0d1117;          /* Crisp solid dark gray (GitHub slate style) */
  --bg-card: #161b22;          /* Slightly lighter slate for content cards */
  --bg-terminal: #010409;      /* Pure dark charcoal for real code blocks */
  --bg-input: #21262d;         /* Distinct solid color for form fields */
  
  /* Geometric Clean Accents */
  --accent-primary: #58a6ff;   /* Clean professional document link blue */
  --accent-border: #30363d;    /* Solid structural border divider line */
  --accent-focus: #1f6feb;     /* High-visibility active border blue */
  
  /* High-Contrast Document Typography */
  --text-pure: #ffffff;
  --text-crisp: #c9d1d9;       /* Muted off-white to prevent eye fatigue */
  --text-muted: #8b949e;       /* Clean reading gray for descriptions */
  --text-dim: #484f58;         /* Dark gray for placeholders and markers */
  
  /* System Interactivity Parameters */
  --doc-transition: 0.2s ease-in-out;
}

/* Global Document Normalization */
body {
  background-color: var(--bg-main);
  color: var(--text-crisp);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  padding: 15px;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.6;
}

/* Completely strips and hides the previous floating background lights */
.ambient-glow {
  display: none !important;
}

/* ==========================================================================
   2. RESTRUCTURED STATIC HEADERS & BANNERS
   ========================================================================== */
header {
  background-image: url(/images/code.png);
  height: 450px;
  border-radius: 12px;
  background-size: cover;       
  background-position: center;   
  background-repeat: no-repeat;
  border: 1px solid var(--accent-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: kala 30s infinite;
  transition: background-image 1s ease-in-out; 
}

@keyframes kala {
  0%, 100% { background-image: url(/images/code.png); }
  25% { background-image: url(/images/computer.jpg); }
  50% { background-image: url(/images/download.jpg); }
  75% { background-image: url(/images/python_2.jpg); }
}

/* ==========================================================================
   3. GEOMETRIC STANDARD NAVBAR NAVIGATION COMPONENT
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--accent-border);
  border-radius: 12px 12px 0 0;
}

.nav-logo {
  color: var(--text-pure);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--doc-transition);
  padding: 6px 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--text-pure);
  background-color: rgba(139, 148, 158, 0.1);
}

.active-page-glow {
  background-color: rgba(88, 166, 255, 0.1) !important;
  color: var(--accent-primary) !important;
  border: 1px solid rgba(88, 166, 255, 0.2);
}

/* ==========================================================================
   4. STRUCTURED DOCUMENT CARDS & CONTENT ARCHITECTURE
   ========================================================================== */
.qwerty {
  text-align: center;
  color: var(--text-pure);
  font-size: 28px;
  font-weight: 700;
  margin-top: 25px;
}

/* Clean, flat geometric card block container */
.content-box, .glass-contact-box {
  background-color: var(--bg-card); 
  border: 1px solid var(--accent-border); 
  border-radius: 8px;
  padding: 30px; 
  margin-top: 20px; 
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: none !important; /* Removes complex glass blurring features */
  -webkit-backdrop-filter: none !important;
  transform: none !important; /* Removes hover lift animations */
}

/* Page Layout Dimensions Alignment Constraints */
.personal-about-box, .academy-about-box { max-width: 720px; margin: 30px auto 50px auto; }
.contact-wrapper, .login-container-override { max-width: 520px; margin: 30px auto 50px auto; }

h1, h2, h3 {
  color: var(--text-pure);
  font-weight: 600;
  margin-top: 0;
}

h2 {
  font-size: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 8px;
}

.intro-text, .form-intro-desc {
  color: var(--text-crisp);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}
.form-intro-desc {
  color: var(--text-muted);
  text-align: center;
}

.center-text, .center-text-utility {
  text-align: center;
  max-width: 660px;
  margin: 15px auto !important;
}

/* Structural Bullet Lists Formatting */
.features-list {
  list-style-type: square; /* Clean geometric square bullet points */
  padding-left: 20px;
  margin: 0 0 25px 0;
}

.features-list li {
  margin-bottom: 12px;
  color: var(--text-crisp);
}

.features-list li h3 {
  font-size: 15px;
  display: inline;
  font-weight: normal;
}

.personal-story-list li, .core-pillars-list li {
  list-style-type: none;
  padding-left: 0;
  border-left: 2px solid var(--accent-border);
  padding-left: 15px;
}

/* ==========================================================================
   5. STANDARD HIGH-CONTRAST CODE TERMINAL EMBEDDING
   ========================================================================== */
.code-snippet-box {
  background-color: var(--bg-terminal);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  padding: 16px;
  margin: 15px 0 25px 0;
  overflow-x: auto;
}

.code-snippet-box pre {
  margin: 0;
}

.code-snippet-box code {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  color: #e6edf3;
  font-size: 13.5px;
}

.code-comment {
  color: #7d8590;
  font-style: italic;
}

/* ==========================================================================
   6. CLEAN GEOMETRIC FORM INPUTS & STANDARD ACTIONS (BUTTONS)
   ========================================================================== */
.interactive-action-block, .button-centering-row, .form-submit-row {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  padding: 0;
  background-color: transparent;
  flex-wrap: wrap;
}

.academy-action-row, .personal-action-row { margin-top: 30px; }

/* Sharp Standard UI Buttons Definition */
.action-trigger, .btn, .cyber-submit-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px; /* Clean sharp corner style */
  transition: var(--doc-transition);
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: none !important; /* Wipes out all neon glows */
  transform: none !important;
}

.trigger-graphic, .send-icon-graphic {
  width: 14px;
  height: 14px;
}

.btn {
  align-self: flex-end;
  margin-top: 15px;
}

/* SOLID REGULAR BLUE OPTION ACTION STYLE */
.solid-accent, .btn-download, .cyber-submit-trigger {
  background-color: #21262d;
  color: var(--accent-primary);
  border-color: var(--accent-border);
}
.solid-accent:hover, .btn-download:hover, .cyber-submit-trigger:hover {
  background-color: #30363d;
  border-color: #8b949e;
}

/* FLAT GRAY OUTLINE SHORTCUT STYLE */
.outline-accent, .btn-link {
  background-color: transparent;
  color: var(--text-muted);
  border-color: var(--accent-border);
}
.outline-accent:hover, .btn-link:hover {
  color: var(--text-pure);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #8b949e;
}

/* STANDARD RECTANGULAR TEXT FIELDS CONFIGURATION */
.cybrix-glass-form, .cybrix-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.input-focus-group, .form-group-block {
  position: relative;
  margin-bottom: 0; /* Erases old spacing calculations */
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Replaces confusing floating tags with simple, standard labels positioned above fields */
.glass-floating-label, .form-label-tag, .static-dropdown-label {
  position: static !important; /* Re-anchors label naturally on page flow */
  font-family: sans-serif;
  color: var(--text-pure);
  font-size: 14px;
  font-weight: 600;
  pointer-events: auto !important;
  transform: none !important;
  transition: none !important;
}

.form-input-element, .form-textarea-element, .glass-input-field, .glass-textarea-field, .glass-select-dropdown, .select-dropdown-styling {
  background-color: var(--bg-terminal) !important;
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  padding: 10px 12px !important;
  font-size: 14px;
  color: var(--text-crisp);
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: var(--doc-transition);
}

.form-input-element:focus, .form-textarea-element:focus, .glass-input-field:focus, .glass-textarea-field:focus, .glass-select-dropdown:focus {
  border-color: var(--accent-focus);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.3) !important; /* Standard browser focus halo */
}

/* Erases micro underline tracks completely from compilation rules */
.focus-underline-track {
  display: none !important;
}

.glass-select-dropdown option, .select-dropdown-styling option {
  background-color: var(--bg-card);
  color: var(--text-crisp);
}

.form-textarea-element, .glass-textarea-field {
  resize: vertical;
}

/* Standard Login Element Utilities Row Alignment */
.login-utility-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
