/* ============================================================
   DENNIS.DEV — IT / Neon-Blue Dark Theme
   style.css - COMPLETE VERSION (cleaned, no duplicates)
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg:          #050c14;
  --bg-surface:  #080f1a;
  --bg-card:     #0b1524;
  --bg-card-alt: #0d192a;
  --bg-elevated: #0f1730;
  --bg-deep:     #030812;

  --neon:        #00d4ff;
  --neon-dim:    rgba(0, 212, 255, 0.18);
  --neon-glow:   0 0 8px #00d4ff, 0 0 24px rgba(0, 212, 255, 0.45);
  --neon-glow-sm:0 0 4px #00d4ff, 0 0 12px rgba(0, 212, 255, 0.3);

  --accent:      #0066ff;
  --accent-glow: 0 0 8px #0066ff, 0 0 24px rgba(0, 102, 255, 0.4);

  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --text-primary: #e2e8f0;
  --text-bright: #ffffff;
  --heading:     #ffffff;

  --border:      rgba(0, 212, 255, 0.15);
  --border-hover: rgba(0, 212, 255, 0.5);

  --header-h:    70px;
  --radius:      10px;
  --radius-lg:   16px;

  --font-mono:   'Share Tech Mono', monospace;
  --font-body:   'Exo 2', sans-serif;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---------- ATMOSPHERIC OVERLAYS ---------- */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  opacity: 0.35;
}

.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* make all page content sit above the grid */
header, main, footer, .modal-overlay { position: relative; z-index: 1; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.02em;
}

a { color: var(--neon); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

.bracket { color: var(--neon); font-family: var(--font-mono); }

/* Make all text visible */
p:not(.special-p),
.container.text-center p,
.about p,
.service p,
.subscribe-section p,
.connect-section p {
  color: #ffffff !important;
}

.container.text-center .text-muted {
  color: #a8d8ff !important;
  font-weight: 500;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 12, 20, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo-text {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-text a {
  color: var(--text-bright);
  transition: text-shadow 0.3s;
}
.logo-text a:hover { text-shadow: var(--neon-glow); color: #fff; }

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

nav a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.25s;
  white-space: nowrap;
}
nav a:hover {
  color: var(--neon);
  border-color: var(--border);
  background: var(--neon-dim);
  text-shadow: var(--neon-glow-sm);
}

.nav-num {
  color: var(--neon);
  margin-right: 3px;
  font-size: 0.72rem;
  opacity: 0.8;
}

nav .nav-special {
  border: 1px solid var(--border);
  color: var(--neon);
}
nav .nav-special:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: var(--neon-glow);
  border-color: var(--neon);
}
nav .nav-logout { color: #ff4d6d; }
nav .nav-logout:hover { color: #fff; background: rgba(255,77,109,0.15); border-color: #ff4d6d; }

.admin-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #39ff7a;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.pulse-dot { animation: pulseGreen 1.6s ease-in-out infinite; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 12, 20, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
  nav.open { display: flex; }
  nav a { padding: 12px 16px; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
}

/* ============================================================
   BUTTONS (global)
   ============================================================ */
.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--neon);
  background: transparent;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}
.btn-neon:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: var(--neon-glow);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  background: var(--neon);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}
.btn-solid:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
  color: var(--bg);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* ============================================================
   CARDS (base)
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 800px; }

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h2 .highlight {
  color: var(--neon);
  text-shadow: var(--neon-glow);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Profile image in hero */
.container.text-center img {
  border: 3px solid var(--neon);
  border-radius: 50%;
  box-shadow: var(--neon-glow), 0 0 40px rgba(0,212,255,0.15);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.container.text-center img:hover {
  transform: scale(1.06);
  box-shadow: 0 0 16px var(--neon), 0 0 50px rgba(0,212,255,0.35);
}

.container.text-center h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--heading);
  margin-top: 20px;
}
.container.text-center p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 8px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.container.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 15px;
  animation: fadeInUp 0.9s var(--ease-out) forwards;
}

/* ============================================================
   SKILLS LIST
   ============================================================ */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}
.skills-list span {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: all 0.25s;
}
.skills-list span i { color: var(--neon); }
.skills-list span:hover {
  background: var(--neon-dim);
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--neon-glow-sm);
  transform: translateY(-2px);
}
.skills-list span:hover i { color: #fff; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  max-width: 860px;
  margin: 80px auto;
  padding: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px rgba(0,212,255,0.05);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  }
.about:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 50px rgba(0,212,255,0.1);
  transform: translateY(-4px);
}
.about h2 {
  font-size: 2rem;
  color: var(--heading);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}
.about h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--neon-glow-sm);
  border-radius: 2px;
}
.about p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-top: 14px;
}
 .about .subscribe-btn {
  display: block;        /* Change from inline-flex to block */
  margin: 20px auto 0;  /* Centers block elements */
  margin-top: 40px;
  }

.about .subscribe-btn,
.about a .subscribe-btn {
  text-decoration: none;
}

.about a {
  text-decoration: none;
}

/* ============================================================
   WHAT I DO / SERVICES
   ============================================================ */
.what-i-do {
  max-width: 1100px;
  margin: 100px auto;
  padding: 50px 30px;
}
.what-i-do h2 {
  font-size: 2rem;
  text-align: center;
  color: var(--heading);
  margin-bottom: 60px;
  position: relative;
}
.what-i-do h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--neon-glow-sm);
  border-radius: 2px;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  border-left: 3px solid transparent;
  transition: all 0.3s var(--ease-out);
}
.service:hover {
  border-color: var(--border-hover);
  border-left-color: var(--neon);
  box-shadow: 0 0 30px rgba(0,212,255,0.09), -4px 0 16px rgba(0,212,255,0.12);
  transform: translateY(-5px);
}
.service h3 {
  font-size: 1.15rem;
  color: var(--neon);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service h3 i { color: var(--neon); font-size: 1.2rem; }
.service p { color: var(--text); font-size: 0.95rem; line-height: 1.75; }

/* ============================================================
   CONNECT SECTION
   ============================================================ */
.connect-section { margin-top: 40px; text-align: center; }
.connect-title { font-weight: 700; color: var(--heading); margin-bottom: 14px; font-size: 1.1rem; }
.connect-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.connect-links a {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s;
}
.connect-links a:hover {
  background: var(--neon-dim);
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--neon-glow-sm);
  transform: translateY(-2px);
}

/* ============================================================
   FEATURED PROJECTS / SLIDER
   ============================================================ */
.featured-projects {
  text-align: center;
  padding: 80px 20px;
}
.featured-projects h2 {
  font-size: 2rem;
  color: var(--heading);
  margin-bottom: 50px;
}

.slider-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0,212,255,0.08);
}
.slider { display: flex; transition: transform 0.6s var(--ease-out); }
.slide { min-width: 100%; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; }
.slide img { width: 100%; height: 340px; object-fit: cover; opacity: 0.85; }
.slide-content { padding: 24px; text-align: left; }
.slide-content h3 { color: var(--heading); font-size: 1.3rem; margin-bottom: 8px; }
.slide-content p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--neon);
  color: var(--neon);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: all 0.25s;
}
.view-btn:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: var(--neon-glow-sm);
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  padding: 10px 13px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.25s;
  z-index: 10;
  backdrop-filter: blur(6px);
}
.prev-btn:hover, .next-btn:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: var(--neon-glow-sm);
}
.prev-btn { left: 12px; }
.next-btn { right: 12px; }

.view-more { margin-top: 32px; }
.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border: 1px solid var(--neon);
  color: var(--neon);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  transition: all 0.25s;
}
.view-more-btn:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: var(--neon-glow);
}

/* ============================================================
   SUBSCRIBE SECTION
   ============================================================ */
.subscribe-section {
  background: linear-gradient(135deg, #030a12 0%, #081425 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 20px;
  margin-top: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subscribe-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse at top, rgba(0,212,255,0.08), transparent 70%);
  pointer-events: none;
}

.subscribe-container {
  max-width: 580px;
  margin: auto;
  background: rgba(11, 21, 36, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  backdrop-filter: blur(12px);
  position: relative;
}

.subscribe-title {
  font-size: 1.8rem;
  color: var(--heading);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.subscribe-title i { color: var(--neon); }
.subscribe-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.subscribe-form .input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.subscribe-form input {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-bright);
  font-size: 0.95rem;
  font-family: var(--font-mono);
  width: 45%;
  min-width: 200px;
  outline: none;
  transition: border-color 0.25s;
}
.subscribe-form input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.subscribe-form input::placeholder { color: var(--text-muted); }

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: var(--neon);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: all 0.25s;
}
.subscribe-btn:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
}

.subscribe-message { margin-top: 14px; font-size: 0.9rem; color: var(--neon); }

/* ============================================================
   FORM ELEMENTS (global)
   ============================================================ */
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  margin-bottom: 1em;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }

button, .button {
  padding: 10px 20px;
  background: var(--neon);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: all 0.25s var(--ease-out);
}
button:hover { box-shadow: var(--neon-glow); transform: translateY(-1px); }

form { width: 300px; margin: 0 auto; display: flex; flex-direction: column; }

/* Floating-label field */
.field-group {
  position: relative;
  margin-bottom: 22px;
}
.field-group input {
  width: 100%;
  padding: 16px 14px 8px;
  margin-bottom: 0;
}
.field-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s;
  font-family: var(--font-mono);
}
.field-group input:focus + label,
.field-group input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.7rem;
  color: var(--neon);
  transform: none;
}

/* ============================================================
   LOGIN MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-card {
  width: min(480px, 92vw);
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 0 60px rgba(0,212,255,0.15), 0 30px 80px rgba(0,0,0,0.5);
  animation: modalPop 0.3s var(--ease-out);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.modal-header h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--neon);
  text-shadow: var(--neon-glow-sm);
}
.close-modal {
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.close-modal:hover { color: var(--neon); }
.modal-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
#loginModal form { width: 100%; }
#loginModal .submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  background: var(--neon);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: all 0.25s;
}
#loginModal .submit-btn:hover { box-shadow: var(--neon-glow); }

/* ============================================================
   PROJECT CARDS (grid)
   ============================================================ */
.projects {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  color:#0099cc;
}
.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  width: 280px;
  transition: all 0.3s var(--ease-out);
}
.project-card:hover {
  border-color: var(--neon);
  box-shadow: 0 0 24px rgba(0,212,255,0.1);
  transform: translateY(-5px);
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.project-wrapper {
  background: var(--bg);
  padding: 80px 20px;
  min-height: 100vh;
}
.project-container {
  max-width: 850px;
  margin: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 50px rgba(0,212,255,0.07);
}
.project-header { margin-bottom: 40px; }
.project-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 12px;
  text-shadow: var(--neon-glow-sm);
}
.project-summary { font-size: 1.1rem; color: var(--text-muted); line-height: 1.65; }
.project-content { font-size: 1.05rem; line-height: 1.9; color: var(--text); }
.project-content h2 { font-size: 1.6rem; margin-top: 50px; margin-bottom: 16px; color: var(--neon); }
.project-content h3 { font-size: 1.3rem; margin-top: 35px; margin-bottom: 10px; color: var(--heading); }
.project-content p  { margin-bottom: 18px; }
.project-content ul { margin-left: 22px; margin-bottom: 20px; }
.project-content li { margin-bottom: 8px; }
.project-image { margin: 50px 0; text-align: center; }
.project-image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 0 30px rgba(0,212,255,0.07);
}

/* ============================================================
   ADD / EDIT PROJECT FORM PAGE
   ============================================================ */
.project-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.project-page .project-card {
  width: 100%;
  max-width: 640px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 0 60px rgba(0,212,255,0.07);
  animation: fadeInUp 0.5s var(--ease-out);
}
.card-header { margin-bottom: 32px; }
.card-header h2 { font-size: 1.6rem; color: var(--heading); margin-bottom: 4px; }
.card-header p  { color: var(--text-muted); font-size: 0.88rem; font-family: var(--font-mono); }

/* Floating-label variant used in form cards */
.input-group { position: relative; margin-bottom: 22px; }
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 16px 14px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-bright);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  margin-bottom: 0;
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--neon);
  background: rgba(0,212,255,0.03);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.input-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s;
  font-family: var(--font-mono);
  background: var(--bg-card);
  padding: 0 4px;
}
.input-group textarea ~ label { top: 22px; }
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 0.72rem;
  color: var(--neon);
  transform: none;
}

/* Upload area */
.upload-section { margin-top: 28px; }
.upload-section h4 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; font-family: var(--font-mono); }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.upload-card {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(255,255,255,0.02);
}
.upload-card:hover {
  border-color: var(--neon);
  background: var(--neon-dim);
  box-shadow: var(--neon-glow-sm);
}
.upload-card input { display: none; }
.upload-content span { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.upload-content p { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.upload-content small { color: var(--text-muted); font-size: 0.75rem; }

/* Submit button in forms */
.submit-btn {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--neon);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 6px 20px rgba(0,212,255,0.25);
}
.submit-btn:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 230px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: 30px 20px;
  flex-shrink: 0;
}
.sidebar .logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--neon);
  margin-bottom: 40px;
  text-shadow: var(--neon-glow-sm);
}
.sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.sidebar nav a {
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.sidebar nav a:hover {
  background: var(--neon-dim);
  border-color: var(--border);
  color: var(--neon);
}

.admin-main { flex: 1; padding: 40px; background: var(--bg); }
.dashboard-top h1 { color: var(--heading); margin-bottom: 4px; }
.dashboard-top p { color: var(--text-muted); font-size: 0.9rem; }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.stat-card h3 { font-size: 1.7rem; color: var(--neon); margin-bottom: 4px; text-shadow: var(--neon-glow-sm); }
.stat-icon {
  width: 55px;
  height: 55px;
  background: var(--neon-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--neon);
}
.stat-info h3 { font-size: 1.8rem; margin: 0; color: var(--heading); }
.stat-info p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }

/* Dashboard table */
.projects-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius);
}
.projects-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
.projects-header h3 { color: var(--heading); }

.projects-table { width: 100%; border-collapse: collapse; }
.projects-table th {
  background: rgba(0,212,255,0.06);
  text-align: left;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.projects-table td { padding: 12px; border-top: 1px solid var(--border); color: var(--text); font-size: 0.9rem; }
.projects-table tr:hover td { background: rgba(0,212,255,0.03); }
.desc { max-width: 320px; color: var(--text-muted); }

.open-link { color: var(--neon); font-size: 0.85rem; }
.no-link   { color: var(--text-muted); }

.actions { display: flex; gap: 10px; }
.edit-btn   { color: var(--neon); font-size: 0.85rem; background: none; border: none; cursor: pointer; }
.edit-btn:hover   { text-decoration: underline; }
.delete-btn { color: #ff4d6d; font-size: 0.85rem; text-decoration: none; }
.delete-btn:hover { text-decoration: underline; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--neon); color: var(--bg);
  border-radius: 6px; font-family: var(--font-mono);
  font-size: 0.82rem; font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.add-btn:hover { box-shadow: var(--neon-glow-sm); color: var(--bg); }
.logout-btn {
  padding: 7px 14px; background: rgba(255,77,109,0.1);
  color: #ff4d6d; border: 1px solid rgba(255,77,109,0.3);
  border-radius: 6px; font-size: 0.85rem; text-decoration: none; transition: all 0.2s;
}
.logout-btn:hover { background: #ff4d6d; color: #fff; }

/* Flash messages */
.flash-container { margin-bottom: 20px; }
.flash { padding: 12px 16px; border-radius: 6px; margin-bottom: 10px; font-family: var(--font-mono); font-size: 0.85rem; }
.flash.success { background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.25); color: #00ff88; }
.flash.error   { background: rgba(255,77,109,0.08); border: 1px solid rgba(255,77,109,0.25); color: #ff4d6d; }

/* ============================================================
   MESSAGES INBOX
   ============================================================ */
.messages-container { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }

.message-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}
.message-card:hover { transform: translateY(-2px); border-color: var(--border-hover); }
.message-card.unread {
  border-left: 4px solid var(--neon);
  background: rgba(0,212,255,0.04);
}

.message-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.message-header h3 { color: var(--heading); margin: 0; font-size: 1.1rem; }

.message-contact-info { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 5px; }
.message-email, .message-phone { font-size: 0.8rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.message-email i, .message-phone i { color: var(--neon); font-size: 0.75rem; }

.message-subject { background: var(--neon-dim); padding: 8px 12px; border-radius: 6px; margin: 10px 0; font-size: 0.85rem; color: var(--neon); border-left: 2px solid var(--neon); }
.message-text { color: var(--text); line-height: 1.65; margin: 12px 0; }
.message-time { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }

.message-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.reply-btn, .read-btn, .delete-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 5px; text-decoration: none; font-size: 0.8rem; transition: all 0.2s ease; }
.reply-btn { background: rgba(0, 212, 255, 0.1); color: var(--neon); }
.read-btn { background: rgba(57, 255, 122, 0.1); color: #39ff7a; }
.delete-btn { background: rgba(255, 77, 109, 0.1); color: #ff4d6d; }
.reply-btn:hover, .read-btn:hover, .delete-btn:hover { transform: translateY(-2px); }
.reply-btn:hover { background: var(--neon); color: var(--bg); }
.read-btn:hover { background: #39ff7a; color: var(--bg); }
.delete-btn:hover { background: #ff4d6d; color: #fff; }

.badge { background: #ff4d6d; color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 0.72rem; margin-left: 6px; font-family: var(--font-mono); }

.search-box { margin: 20px 0; display: flex; gap: 10px; }
.search-box input { flex: 1; padding: 10px 14px; margin-bottom: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.search-box input:focus { border-color: var(--neon); outline: none; }
.search-box button { flex-shrink: 0; padding: 10px 20px; border-radius: 8px; background: var(--neon); color: var(--bg); border: none; cursor: pointer; font-weight: 600; transition: all 0.2s; }
.search-box button:hover { transform: translateY(-1px); box-shadow: var(--neon-glow-sm); }

/* ============================================================
   EDIT/DELETE MODAL
   ============================================================ */
.modal-overlay { display: none; }
[id$="Modal"].modal-overlay[style*="flex"] { display: flex !important; }
.modal-overlay.active { display: flex; }
.modal-card.narrow { width: min(520px, 94vw); }

.modal-container {
  background: var(--bg-surface);
  border-radius: 20px;
  width: 90%;
  max-width: 550px;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid var(--border);
}
.modal-container.modal-large { max-width: 750px; }

/* Modal header (reused) */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-surface);
}
.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
  padding: 0 24px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--neon);
}
.form-group textarea { resize: vertical; }

/* Form row for two columns */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }

.file-upload {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.file-upload:hover {
  border-color: var(--neon);
  background: var(--neon-dim);
}
.file-upload i { font-size: 2rem; color: var(--neon); margin-bottom: 8px; display: block; }
.file-upload span { display: block; font-size: 0.85rem; }
.file-upload small { font-size: 0.7rem; color: var(--text-muted); }

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--bg-surface);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 20px 32px;
  margin-top: 80px;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: var(--neon-glow-sm);
}

.footer-inner { max-width: 700px; margin: 0 auto; }
.footer-brand { font-family: var(--font-mono); font-size: 1.05rem; color: var(--text-bright); margin-bottom: 20px; }
.footer-icons { margin-bottom: 20px; }
.footer-icons a { color: var(--text-muted); font-size: 1.3rem; margin: 0 14px; transition: color 0.25s, text-shadow 0.25s, transform 0.25s; display: inline-block; }
.footer-icons a:hover { color: var(--neon); text-shadow: var(--neon-glow-sm); transform: scale(1.2) translateY(-2px); }
.footer-copy { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.04em; }
.footer-copy a { color: var(--neon); }
.footer-copy a:hover { color: #fff; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: 60px 20px; background: var(--bg); min-height: 100vh; }
.contact-container { max-width: 1200px; margin: 0 auto; }

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
}
.contact-info-box:hover {
  transform: translateY(-5px);
  border-color: var(--neon);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}
.info-icon { width: 70px; height: 70px; background: var(--neon-dim); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.info-icon i { font-size: 28px; color: var(--neon); }
.contact-info-box h3 { font-size: 1.3rem; color: var(--heading); margin-bottom: 15px; font-weight: 600; }
.contact-info-box p { color: var(--text); line-height: 1.7; font-size: 0.95rem; }

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 45px 40px;
}
.contact-form-wrapper h2 { text-align: center; font-size: 2rem; color: var(--heading); margin-bottom: 30px; position: relative; }
.contact-form-wrapper h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--neon); border-radius: 3px; }

.flash-messages { margin-bottom: 25px; }
.flash { padding: 12px 20px; border-radius: 8px; margin-bottom: 10px; font-size: 0.9rem; }
.flash.success { background: rgba(0, 255, 136, 0.1); border: 1px solid rgba(0, 255, 136, 0.3); color: #00ff88; }
.flash.error { background: rgba(255, 77, 109, 0.1); border: 1px solid rgba(255, 77, 109, 0.3); color: #ff6b6b; }

.contact-form { width: 100%; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text-bright); font-size: 0.95rem; transition: all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-dim); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

.submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 28px; background: var(--neon); color: var(--bg); border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; margin-top: 10px; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: var(--neon-glow); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .about, .what-i-do { padding: 30px 20px; margin: 50px 16px; }
  .project-container { padding: 36px 24px; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .stats-grid { flex-direction: column; }
  .slide img { height: 220px; }
  .upload-grid { grid-template-columns: 1fr; }
  .subscribe-container { padding: 32px 20px; }
  .subscribe-form input { width: 100%; }
  .message-header { flex-direction: column; }
  .message-contact-info { flex-direction: column; gap: 5px; }
  .message-actions { flex-wrap: wrap; }
  .contact-info-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-form-wrapper { padding: 30px 20px; }
  .contact-form-wrapper h2 { font-size: 1.6rem; }
  .info-icon { width: 55px; height: 55px; }
  .info-icon i { font-size: 22px; }
}

/* ============================================================
   OVERRIDES - DARK BOXES
   ============================================================ */
.single-main,
.sidebar-widget,
.project-container,
.about,
.what-i-do,
.service,
.project-card,
.modal-card,
.card,
.news-single .single-main,
.main-sidebar .single-widget,
.contact-info-box,
.contact-form-wrapper,
.projects-section,
.message-card,
.subscribe-container {
  background: #151b2b !important;
}

.bg-white, .bg-light, .card-body {
  background-color: #151b2b !important;
}

body { background: #0a0e17 !important; }
footer { background: #0f1320 !important; }



/* ============================================
   CUSTOM LOGO STYLES 
      ============================================ */

/* Logo wrapper container */
.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* NEW: Bounce effect on hover */
.logo-link:hover {
  opacity: 0.9;
  animation: bounceLogo 0.6s ease-in-out;
}

/* SVG logo image in header - BIGGER */
.logo-svg {
  height: 70px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.4));
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* NEW: Logo gets bigger on hover with extra pop */
.logo-link:hover .logo-svg {
  filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.9));
  transform: scale(1.15);
}

/* Footer logo styles - BIGGER */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo-svg {
  height: 55px;
  width: auto;
  opacity: 0.9;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.3));
}

/* NEW: Footer logo bounce effect */
.footer-brand:hover .footer-logo-svg {
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.9));
  transform: scale(1.15);
  animation: bounceLogo 0.6s ease-in-out;
}

/* NEW: Bounce animation keyframes */
@keyframes bounceLogo {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(0.95);
  }
  70% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* Alternative: Gentle bounce (less dramatic) */
@keyframes bounceGentle {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.1);
  }
  60% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

/* Use gentle bounce instead (uncomment if you prefer this) */
 .logo-link:hover {
  animation: bounceGentle 0.5s ease-in-out;
} 

/* Make sure header-inner aligns everything properly */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

/* ============================================
   RESPONSIVE DESIGN - Still visible on mobile
   ============================================ */

/* Tablet screens */
@media (max-width: 768px) {
  .logo-svg {
    height: 55px;
  }
  
  .footer-logo-svg {
    height: 45px;
  }
  
  .header-inner {
    gap: 1rem;
  }
  
  /* Adjust hover scale for mobile */
  .logo-link:hover .logo-svg {
    transform: scale(1.08);
  }
  
  .footer-brand:hover .footer-logo-svg {
    transform: scale(1.08);
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .logo-svg {
    height: 45px;
  }
  
  .footer-logo-svg {
    height: 38px;
  }
  
  /* Smaller scale on mobile to avoid layout shifts */
  .logo-link:hover .logo-svg {
    transform: scale(1.05);
  }
  
  .footer-brand:hover .footer-logo-svg {
    transform: scale(1.05);
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .logo-svg {
    height: 38px;
  }
  
  .footer-logo-svg {
    height: 32px;
  }
}

/* ============================================
   ACCESSIBILITY & FALLBACKS
   ============================================ */

/* Reduced motion preference - IMPORTANT for accessibility */
@media (prefers-reduced-motion: reduce) {
  .logo-link,
  .logo-svg,
  .footer-logo-svg,
  .logo-link:hover,
  .footer-brand:hover .footer-logo-svg {
    animation: none;
    transition: none;
  }
  
  .logo-link:hover {
    transform: none;
    opacity: 0.85;
  }
  
  .logo-link:hover .logo-svg {
    transform: none;
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.8));
  }
  
  .footer-brand:hover .footer-logo-svg {
    transform: none;
  }
}

/* Dark mode / light mode awareness */
@media (prefers-color-scheme: light) {
  .logo-svg,
  .footer-logo-svg {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.15));
  }
  
  .logo-link:hover .logo-svg {
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.6));
  }
}

/* Print styles */
@media print {
  .logo-svg,
  .footer-logo-svg {
    filter: none;
    opacity: 1;
  }
  
  .logo-link:hover {
    transform: none;
  }
}

/* Optional: Subtle animation on page load */
@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-svg {
  animation: logoFadeIn 0.5s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .logo-svg {
    animation: none;
  }
}



/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D2FF 0%, #0099cc 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
  background: linear-gradient(135deg, #00e5ff 0%, #00b3e6 100%);
}

.back-to-top i {
  color: #0A0C10;
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

/* Tooltip text */
.back-to-top .tooltip-text {
  position: absolute;
  right: 60px;
  background: rgba(0, 210, 255, 0.9);
  color: #0A0C10;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(5px);
}

.back-to-top:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

/* Responsive: Adjust position on mobile */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .back-to-top i {
    font-size: 20px;
  }
  
  .back-to-top .tooltip-text {
    display: none; /* Hide tooltip on mobile for cleaner look */
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  
  .back-to-top i {
    font-size: 18px;
  }
}

/* Animation for when button appears */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-to-top.show {
  animation: fadeInUp 0.3s ease;
}