:root {
  --bg: #0d0d0d;
  --text: #e0e0e0;
  --accent: #00ff99;
  --hover: #0ff;
  --soft: #111;
  --border: #1a1a1a;
  --font: 'Fira Code', monospace;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 1.7;
}

/* Header */
header {
  padding: 50px 20px 30px;
  animation: fadeIn 1.5s ease;
}

h1 {
  color: var(--accent);
  font-size: 2em;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.tagline {
  color: #888;
  font-size: 0.95em;
  margin-bottom: 25px;
}

/* Navigation */
nav {
  margin-bottom: 25px;
}

nav a {
  color: #aaa;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
}

/* Main Content */
main {
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1.5s ease;
}

blockquote {
  font-style: italic;
  color: #bbb;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin: 25px auto;
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

li {
  background: var(--soft);
  margin: 12px 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

li:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0,255,153,0.2);
  transform: translateY(-3px);
}

/* Profile Image */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(0,255,153,0.2);
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0,255,153,0.5);
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,255,127,0.3);
}

.contact-form h2 {
  color: var(--accent);
  margin-bottom: 20px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background-color: #0f0f0f;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

button {
  padding: 12px 25px;
  background-color: var(--accent);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: var(--hover);
  transform: scale(1.05);
}

/* Contact Links */
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 30px;
}

.contact-links a {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s, transform 0.2s;
}

.contact-links a svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  transition: fill 0.3s;
}

.contact-links a:hover {
  color: var(--hover);
  transform: translateY(-3px);
}

.contact-links a:hover svg {
  fill: var(--hover);
}

/* === Unified Footer Style === */
footer {
  padding: 30px 10px;
  color: #777;
  font-size: 0.85em;
  border-top: 1px solid #111;
  margin-top: 40px;
  background: linear-gradient(to bottom, #0d0d0d 70%, #0b0b0b);
  text-align: center;
}

footer p {
  margin: 5px 0;
  letter-spacing: 0.3px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

footer a:hover {
  color: var(--hover);
  text-shadow: 0 0 6px var(--hover);
}

/* Social Icons Row */
.footer-social {
  margin: 12px 0;
}

.footer-social a {
  display: inline-block;
  margin: 0 8px;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-2px) scale(1.1);
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  h1 { font-size: 1.6em; }
  nav a { display: inline-block; margin: 8px; }
  li { font-size: 0.9em; }
  .contact-form { width: 90%; }
  .contact-links { flex-direction: column; gap: 15px; }
}

/* === Unified Page Styling === */

/* Section Headings */
h2 {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 1.1em;
  letter-spacing: 1px;
  margin-top: 40px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

/* Quotes (blockquotes) */
blockquote {
  font-style: italic;
  color: #bbb;
  border-left: 2px solid var(--accent);
  background: #111;
  padding: 10px 15px;
  margin: 30px auto;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0,255,153,0.1);
  max-width: 600px;
}

blockquote::before {
  content: "“";
  color: var(--accent);
  font-size: 1.6em;
  vertical-align: top;
  margin-right: 5px;
}

blockquote::after {
  content: "”";
  color: var(--accent);
  font-size: 1.6em;
  vertical-align: bottom;
  margin-left: 5px;
}

/* Paragraphs & Content Tone */
p {
  color: #ccc;
  font-size: 1em;
  margin: 15px 0;
  line-height: 1.8;
}

/* Accent Lists (for project/skills sections) */
ul li strong {
  color: var(--accent);
}

ul li::before {
  content: "▹ ";
  color: var(--accent);
}

/* Subtle Glow Hover for Links */
a:hover {
  text-shadow: 0 0 8px var(--accent);
}

/* Section spacing consistency */
section {
  margin-bottom: 40px;
}

/* Footer Enhancements */
footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  color: #777;
}
