:root {
    --blue-accent: #007bff;
    --dark-bg: #0d1117;
    --text-color: #ffffff;
    --banner-height: 56px;
  }
  
  body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .page-wrapper {
    background-color: var(--dark-bg);
  }

  .main-navbar {
    background-color: #050b15;
    border-bottom: 1px solid #1a1a1a;
  }
  
  .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
  }
  
  .nav-link:hover,
  .nav-link:focus {
    color: var(--blue-accent) !important;
  }
  
  .navbar-brand img {
    height: 32px;
  }
  
  .dropdown-menu {
    background-color: #1a1a1a;
  }
  
.footer {
  background-color: #050b15;
  color: #aaa;
  border-top: 1px solid #1a1a1a;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-left,
.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-left a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-left a:hover {
  color: #fff;
}

.footer-right {
  justify-content: flex-end;
  flex-grow: 1;
  color: #666;
  font-size: 0.85rem;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
    text-align: center;
  }

  .footer-left {
    justify-content: center;
  }
}


.hero-section {
    background: linear-gradient(135deg, #0d1117 0%, #050b15 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
  }
  
  .hero-img {
    max-width: 80%;
    filter: drop-shadow(0 0 15px rgba(0, 123, 255, 0.2));
    animation: float 5s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  .stats-section {
    background-color: #0d1117;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
  }
  
  .stats-section i {
    display: block;
  }
  
  .stats-section h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
  }
  
  .stats-section p {
    color: #ccc;
    font-size: 0.95rem;
  }
  
  .what-i-do-section {
    background-color: #050b15;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
  }
  
  .what-i-do-section i {
    display: block;
  }
  
  .what-i-do-section h5 {
    color: var(--text-color);
  }
  
  .section-subtext {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .tech-card {
  background-color: #050b15;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  transition: transform 0.2s ease;
  height: 100%;
}
.tech-card-wrapper {
  display: none;
}


.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.tech-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -30px;
  right: 20px;
  border: 2px solid var(--blue-accent);
}

.tech-icon-wrapper img {
  height: 30px;
  width: 30px;
  object-fit: contain;
}

.tech-card h6 {
  margin-top: 40px;
  color: var(--text-color);
  font-weight: 600;
}

.progress-wrapper {
  padding: 0 10px;
}

.progress {
  background-color: #222;
}

.progress-bar {
  transition: width 0.5s ease;
}
.terminal-section {
  background-color: #050b15;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  font-family: monospace;
}

.terminal-box {
  background-color: #0d1117;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  width: 100%;
  max-width: 1000px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.05);
}

.terminal-header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #222;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.scrollable-output {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  font-size: 0.95rem;
  white-space: pre-wrap;
  scrollbar-width: thin;
  scrollbar-color: #007bff #1a1a1a;
}

.scrollable-output::-webkit-scrollbar {
  width: 8px;
}

.scrollable-output::-webkit-scrollbar-thumb {
  background-color: #007bff;
  border-radius: 4px;
}

.terminal-input {
  border-top: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  gap: 8px;
}

.prompt {
  color: #00ff88;
  font-weight: bold;
}

#terminal-cmd {
  background: transparent;
  border: none;
  color: #fff;
  flex: 1;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

body.hackmode {
  background-color: black !important;
  color: #00ff00 !important;
  font-family: monospace !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.hackmode .main-navbar,
body.hackmode .footer,
body.hackmode .dropdown-menu {
  background-color: black !important;
  border-color: #00ff0055 !important;
}

body.hackmode .nav-link,
body.hackmode .footer,
body.hackmode .dropdown-item {
  color: #00ff00 !important;
}

body.hackmode .hero-section {
  background: #000 !important;
}

body.hackmode .hero-img {
  filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.3)) !important;
}

body.hackmode .what-i-do-section,
body.hackmode .stats-section,
body.hackmode .tech-stack-section,
body.hackmode .terminal-section,
body.hackmode .terminal-contact,
body.hackmode .partner-section,
body.hackmode .projects-section,
body.hackmode .timeline-section {
  background-color: black !important;
  border-color: #00ff0055 !important;
}

body.hackmode .section-subtext,
body.hackmode .stats-section p,
body.hackmode .tech-card h6,
body.hackmode .partner-card h6 p code {
  color: #00ff00 !important;
}

body.hackmode .tech-card,
body.hackmode .partner-card {
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid #00ff0055 !important;
  color: #00ff00 !important;
}

body.hackmode .tech-card:hover,
body.hackmode .partner-card:hover {
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3) !important;
}

body.hackmode .tech-icon-wrapper {
  background-color: #000 !important;
  border-color: #00ff00 !important;
}

body.hackmode .tech-icon-wrapper img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(98%) saturate(721%) hue-rotate(73deg) brightness(100%) contrast(101%);
}

body.hackmode .terminal-box {
  background-color: #000 !important;
  border-color: #00ff0055 !important;
}

body.hackmode .terminal-header,
body.hackmode .terminal-contact .terminal-header {
  background-color: #111 !important;
  border-color: #00ff0055 !important;
}

body.hackmode .scrollable-output {
  scrollbar-color: #00ff00 #111 !important;
}

body.hackmode .scrollable-output::-webkit-scrollbar-thumb {
  background-color: #00ff00 !important;
}

body.hackmode .progress,
body.hackmode .progress-bar {
  background-color: #003300 !important;
}

body.hackmode .progress-bar {
  background-color: #00ff00 !important;
}

body.hackmode a,
body.hackmode button {
  color: #00ff00 !important;
  border-color: #00ff00 !important;
}

body.hackmode a:hover,
body.hackmode button:hover {
  background-color: rgba(0, 255, 0, 0.1) !important;
}

body.hackmode .badge.bg-primary {
  background-color: #00ff00 !important;
  color: black !important;
}

body.hackmode .timeline-item {
  border-color: #00ff0055 !important;
}

body.hackmode .timeline-icon {
  background: #00ff00 !important;
  color: black !important;
}

body.hackmode .timeline-content h5,
body.hackmode .timeline-content p,
body.hackmode .timeline-content .date {
  color: #00ff00 !important;
}

body.hackmode .timeline::before {
  background: #00ff00 !important;
}

@keyframes blink {
  0%, 100% { opacity: 1 }
  50% { opacity: 0 }
}

body.hackmode #terminal-cmd::after {
  content: "_";
  animation: blink 1s step-start infinite;
  color: #00ff00;
}

.terminal-404 {
  background-color: black;
  color: #00ff00;
  font-family: monospace;
  padding: 2rem;
  min-height: 100vh;
}

.terminal-404 .terminal-container {
  max-width: 800px;
  margin: 0 auto;
  white-space: pre-wrap;
}

.terminal-404 .output {
  margin-top: 1rem;
}

.terminal-404 .terminal-input {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
}

.terminal-404 .terminal-input input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #00ff00;
  color: #00ff00;
  font-size: 1rem;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.terminal-404 .prompt {
  color: #00ff00;
  font-weight: bold;
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  color: #00ff00;
  font-family: monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transform: translateY(0);
  transition: transform 1s ease-in-out;
}

.page-loader.instant {
  transition: none;
}

.page-loader.from-bottom {
  transform: translateY(100%);
}

.page-loader.hidden {
  transform: translateY(-100%);
}

.loader-text {
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: pre-wrap;
  padding: 2rem;
  max-width: 800px;
}

body.loading {
  overflow: hidden;
}

#shutdown-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  color: #00ff00;
  font-family: monospace;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 99999;
}

#shutdown-screen.active {
  display: flex;
}

#shutdown-screen .message {
  font-size: 1rem;
  white-space: pre;
  text-align: center;
}

.partner-card-wrapper {
  display: flex;
}

.partner-card {
  background-color: #050b15;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  transition: transform 0.2s ease;
  width: 100%;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.partner-logo {
  height: 40px;
  object-fit: contain;
  filter: brightness(1.1);
}

.partner-card h6 {
  color: var(--text-color);
  font-weight: 600;
  margin-top: 0.5rem;
}

.partner-card .section-subtext {
  color: #bbb;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.partner-card .btn {
  margin-top: auto;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #222;
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner p {
  margin: 0;
  max-width: 90%;
}

.cookie-banner a {
  color: #0d6efd;
  text-decoration: underline;
}

.cookie-banner button {
  margin-left: 1rem;
}

.terminal-contact {
  background-color: #0d1117;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  max-width: 1000px;
  height: 609px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.08);
  overflow: hidden;
  scroll-behavior: smooth;
}

.terminal-contact pre {
  color: #00ff99;
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  padding: 1.5rem;
  margin: 0;
  flex-grow: 1;
  white-space: pre-wrap;
  overflow-y: auto;
  max-height: 100%;
}

.terminal-contact .terminal-header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #222;
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.terminal-contact .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-contact .dot.red { background-color: #ff5f56; }
.terminal-contact .dot.yellow { background-color: #ffbd2e; }
.terminal-contact .dot.green { background-color: #27c93f; }

.terminal-contact .terminal-input {
  background-color: #0d1117;
  border-top: 1px solid #1a1a1a;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.terminal-contact .terminal-input input {
  background: none;
  border: none;
  color: #00ff99;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  padding-left: 0.5rem;
  width: 100%;
}

.timeline-section {
    background-color: #0d1117;
    border-top: 1px solid #1a1a1a;
  }

  .timeline {
    position: relative;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 900px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background: var(--blue-accent);
  }

  .timeline-item {
    position: relative;
    margin: 2rem 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
  }

  .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .timeline-content {
    background: #050b15;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.1);
    width: 45%;
    z-index: 1;
  }

  .timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--blue-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    margin: 0 1rem;
  }

  .timeline-content .date {
    font-size: 0.85rem;
    color: #888;
  }

  .timeline-content h5 {
    margin: 0.5rem 0;
    color: var(--blue-accent);
  }

  .timeline-content p {
    margin: 0;
    color: #ccc;
  }

  .top-banner{
    top:0;
    left:0;
    width:100%;
    height:var(--banner-height);
    background:rgb(63, 63, 63);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 1rem;
    z-index:1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    font-size:0.95rem;
    line-height:1;
  }
  .top-banner .left,
  .top-banner .center,
  .top-banner .right{
    display:flex;
    align-items:center;
  }
  .top-banner .left{justify-content:flex-start; flex:1}
  .top-banner .center{justify-content:center; flex:0 1 auto}
  .top-banner .right{justify-content:flex-end; flex:1}

  @media (max-width:768px){
    :root{ --banner-height: 48px; }
    .top-banner{ font-size:0.650rem; padding:0 0.5rem; }
  }