/* ====== Base ====== */
:root {
  --bg: #0b0f14;
  --card: rgba(15, 23, 32, 0.8);
  --muted: #9aa6b2;
  --accent: #00e6ff;
  --accent-2: #ff00c8;
  --white: #ffffff;

  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
}





* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Particles Background */
/* #particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background: var(--bg);
} */

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* push behind all content */
  background: var(--bg);
}

/* Make sure content stays clickable above particles */
body,
.navbar,
.page-content,
.contact-section,
.projects-section,
.about-section,
.terminal,
.footer {
  position: relative;
  z-index: 1;
}



h1,
h2,
h3,
.logo,
.nav-links a,
.btn {
  font-family: var(--font-heading);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(15, 23, 32, 0.7);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-2);
}

.logo a {
  text-decoration: none;
  color: inherit;
  /* keeps your logo text color */
  font-weight: bold;
  /* optional */
}

.logo a:hover {
  opacity: 0.8;
  /* subtle hover effect */
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  z-index: 1;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  /* Larger */
  line-height: 1.2;
}

.hero p {
  margin: 1rem 0;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: var(--accent-2);
  color: var(--white);
}

.btn.linkedin {
  background: #0077b5;
  /* LinkedIn Blue */
  color: white;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 18px;
  transition: all 0.3s ease;
}

.btn.linkedin:hover {
  background: #005582;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* GitHub Button */
.btn.github {
  background: #24292e;
  /* GitHub black */
  color: white;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 18px;
  transition: all 0.3s ease;
}

.btn.github:hover {
  background: #000;
  /* darker hover */
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Resume Button */
.btn.resume {
  background: linear-gradient(135deg, #00e6ff, #ff00c8);
  /* gradient */
  color: white;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn.resume:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 12px #00e6ff, 0 0 20px #ff00c8;
}


/* Profile_Picture_Styling */
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  z-index: 2;
  /* keeps above particles */
}

.hero-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  /* Restrict width so name doesn't split */
  text-align: left;
  /* Better alignment */
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 380px;
  /* Slightly smaller to give text room */
  height: 380px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 0 25px var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--accent-2);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-image img {
    width: 250px;
    height: 250px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}


/* Terminal */
/* ===== Terminal Section ===== */
.terminal {
  background: rgba(15, 23, 32, 0.97);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 1.5rem;
  font-family: monospace, 'Courier New';
  font-size: 1rem;
  color: var(--muted);
  width: 100%;
  max-width: 900px;
  min-height: 300px;
  margin: 3rem auto;
  box-shadow: 0 0 20px rgba(0, 230, 255, 0.3);
  overflow-x: auto;
  overflow-y: auto;
  z-index: 2;
  backdrop-filter: blur(6px);
}

/* Header (dots like macOS terminal) */
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Terminal Content */
.terminal-content {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-user {
  color: var(--accent);
}

/* Command List */
.terminal-commands {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.terminal-commands li {
  margin: 0.3rem 0;
}

.terminal-commands a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.terminal-commands a:hover {
  color: var(--accent);
}

/* Responsive Terminal */
@media (max-width: 768px) {
  .terminal {
    font-size: 0.9rem;
    padding: 1rem;
    min-height: 200px;
  }
}

/* ====== Terminal Styles ====== */
.terminal-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}



.terminal-body {
  padding: 15px;
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
}

.line {
  margin: 4px 0;
  word-wrap: break-word;
}

.highlight {
  color: #ff00c8;
}

.input-line {
  display: flex;
  align-items: center;
}

.prompt {
  margin-right: 8px;
  color: #ff00c8;
}

#terminal-input {
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  color: #00e6ff;
  font-family: monospace;
  font-size: 15px;
}



/* Page Content */
.page-content {
  padding: 8rem 3rem 3rem;
  max-width: 900px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.page-content h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.project-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(255, 0, 200, 0.1);
}

/* Accent Colors */
.accent {
  color: var(--accent);
}

.accent-2 {
  color: var(--accent-2);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-content {
    padding: 6rem 1.5rem;
  }
}

/* Projects Section */
.projects-section {
  position: relative;
  padding: 6rem 2rem;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3.5rem;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(0, 230, 255, 0.4);
  /* Make it glow */
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ff00c8;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 1rem;
}

.project-card .tech {
  display: inline-block;
  font-size: 0.85rem;
  color: #00e6ff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 230, 255, 0.3);
}

.projects-grid a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.projects-grid a:hover {
  text-decoration: none;
}

/* === ABOUT PAGE ENHANCEMENTS === */

/* Hero section for about page */
.about-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.about-hero .profile-pic img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00e6ff;
  box-shadow: 0 8px 20px rgba(0, 230, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-hero .profile-pic img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 230, 255, 0.6);
}

.about-intro {
  max-width: 600px;
  color: #f0f0f0;
}

.about-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #00e6ff;
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ddd;
}

/* About sections (Education, Skills, etc.) */
.about-section {
  background: rgba(15, 23, 32, 0.8);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin: 2rem auto;
  max-width: 800px;
  text-align: center;
}

.fancy-heading {
  font-size: 2rem;
  background: linear-gradient(90deg, #00e6ff, #ff00c8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.extra-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.extra-list li {
  margin: 1rem 0;
}

.extra-list a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
}

.extra-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e6ff, #ff00c8);
  transition: width 0.3s ease;
}

.extra-list a:hover {
  transform: scale(1.05);
  color: #00e6ff;
  text-shadow: 0 0 10px rgba(0, 230, 255, 0.7);
}

.extra-list a:hover::after {
  width: 100%;
}


.about-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: #ff00c8;
}



/* Card style for education */
.card {
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.card h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.card p {
  color: #ccc;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  /* space between icon & text */
}

.card-header i {
  font-size: 1.5rem;
  color: #00e6ff;
  /* accent color */
}

.card-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background-color: #fff;
  /* or card bg */
  padding: 2px;
  /* optional breathing space */
  border-radius: 5px;
}



/* Lists */
.certs-list,
.extra-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
  color: #fa0000;
}

.certs-list li,
.extra-list li {
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.certs-list li:hover,
.extra-list li:hover {
  color: #df0a0a;
}

/* Timeline Container */
.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 30px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

/* Timeline Item */
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* Icon Circle */
.timeline-icon {
  position: absolute;
  left: -38px;
  background: var(--accent, #00e6ff);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Timeline Content */
.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* Hover Effect */
.timeline-content:hover {
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.15), rgba(255, 0, 200, 0.15));
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Title */
.timeline-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.timeline-content a {
  text-decoration: none;
  color: var(--accent, #00e6ff);
  font-weight: bold;
}

.timeline-content p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.timeline-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* makes the image fully cover circle */
}

.timeline-icon {
  position: absolute;
  left: -38px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  /* ensures image stays inside circle */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  /* fallback background */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* Skill Card */
.skill-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--white, #fff);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* Icons */
.skill-card i {
  font-size: 18px;
  color: var(--accent, #00e6ff);
}

/* Hover */
.skill-card:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.2), rgba(255, 0, 200, 0.2));
  border-color: var(--accent, #00e6ff);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Certifications Grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* Certification Card */
.cert-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 12px;
  color: var(--white, #fff);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Icons */
.cert-card i {
  font-size: 22px;
  color: var(--accent, #00e6ff);
}

/* Hover effect */
.cert-card:hover {
  transform: translateY(-4px) scale(1.03);
  background: linear-gradient(135deg, rgba(0, 230, 255, 0.2), rgba(255, 0, 200, 0.2));
  border-color: var(--accent, #00e6ff);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
  }

  .about-intro {
    max-width: 100%;
  }
}

.leadership-section {
  text-align: center;
  /* centers heading */
  margin: 2rem auto;
  max-width: 800px;
  background: rgba(15, 23, 32, 0.8);
  /* optional card look */
  padding: 2rem;
  border-radius: 15px;
}

.leadership-section h2 {
  margin-bottom: 1.5rem;
}

.leadership-section .extra-list li img {
  width: 50px;
  /* size of the circle */
  height: 50px;
  object-fit: cover;
  /* fills the circle without stretching */
  border-radius: 50%;
  /* makes it circular */
  border: 2px solid var(--accent);
  /* optional colored border */
  padding: 5px;
  /* optional padding inside the circle */
  background: #0b0f14;
  /* optional background for transparent logos */
}



.leadership-section .extra-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  /* space between icon and text */
  margin: 10px 0;
  font-size: 1.1rem;
  color: #ccc;
}

.leadership-section .extra-list li i {
  color: var(--accent);
  min-width: 30px;
  /* same width for all icons */
  text-align: center;
  font-size: 1.5rem;
}

.leadership-section .extra-list li span {
  transition: 0.3s ease-in-out;
}

.leadership-section .extra-list li:hover span {
  color: #658083;
  /* glow color (same as your accent) */
  text-shadow: 0 0 5px #00e6ff, 0 0 10px #00e6ff, 0 0 20px #00e6ff;
}







/* ===== Contact Page ===== */
.contact-section {
  padding: 6rem 2rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
  background: rgba(15, 23, 36, 0.8);
  padding: 3rem;
  border-radius: 12px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00e6ff;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #ccc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.contact-info a {
  color: #00e6ff;
  text-decoration: none;
}

.social-links a {
  margin-right: 1rem;
  color: #ff00c8;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #00e6ff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  width: 100%;
}

.contact-form .btn {
  background: var(--accent, #00e6ff);
  color: #000;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background: var(--accent-2, #ff00c8);
}

@media screen and (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .contact-container {
    padding: 1.5rem;
  }
}


/* Hover Preview Image for Projects */
.img-preview {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 480px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border: 3px solid #00e6ff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  z-index: 200;

  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  /* Prevent interference */
}

.img-preview.show {
  opacity: 1;
  transform: scale(1);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 20;
}

.hamburger i {
  font-size: 1.8rem;
  color: var(--accent);
}

/* Mobile Navbar & General Adjustments */
@media (max-width: 768px) {

  /* Show Hamburger */
  .hamburger {
    display: block;
  }

  /* Adjusted Navbar Padding for Mobile */
  .navbar {
    padding: 1rem 1.5rem;
  }

  /* Nav Links - Mobile View */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(11, 15, 20, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease-in-out;
    backdrop-filter: blur(15px);
    box-shadow: -5px 0 15px rgba(0, 230, 255, 0.1);
    z-index: 15;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger animation for links */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }

  /* Hero Section */
  .hero {
    padding-top: 6rem;
    /* space for fixed navbar */
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image img {
    width: 250px;
    height: 250px;
  }

  /* Projects Grid */
  .projects-grid {
    grid-template-columns: 1fr;
    /* Single column on mobile */
    padding: 0 1rem;
  }

  /* Disable hover preview on mobile */
  .img-preview {
    display: none !important;
  }

  /* Terminal */
  .terminal {
    width: 95%;
    margin: 2rem auto;
    font-size: 0.85rem;
  }

  .input-line {
    flex-wrap: wrap;
  }

  #terminal-input {
    width: 100%;
    margin-top: 5px;
  }

  /* Contact Form */
  .contact-container {
    padding: 2rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem;
    font-size: 0.9rem;
  }
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for lists or grids if needed */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

/* =========================================
   PREMIUM BLOG STYLES
   ========================================= */

/* 1. Blog Hero Section (Full Width) */
.blog-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #1a2c3a 0%, #0b0f14 100%);
  overflow: hidden;
  z-index: 1;
}

/* Abstract Background Elements */
.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle, rgba(0, 230, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle, rgba(255, 0, 200, 0.05) 0%, transparent 60%);
  animation: rotateBg 20s linear infinite;
  z-index: -1;
}

@keyframes rotateBg {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.blog-hero-content {
  max-width: 900px;
  padding: 0 2rem;
  z-index: 2;
  position: relative;
}

.blog-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #a5f3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 230, 255, 0.3);
}

.blog-meta-hero {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-meta-hero span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-meta-hero i {
  color: var(--accent);
}

/* 2. Glassmorphism Content Panel */
.blog-container-glass {
  max-width: 900px;
  margin: -80px auto 100px;
  /* Overlap hero */
  position: relative;
  z-index: 10;
  background: rgba(15, 23, 32, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* 3. Editorial Typography */
.blog-content {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  line-height: 1.9;
  color: #e0e0e0;
}

.blog-content p {
  margin-bottom: 2rem;
}

.blog-content h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  color: var(--white);
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 20px;
}

.blog-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background: linear-gradient(to bottom, #00e6ff, #ff00c8);
  border-radius: 2px;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 1rem;
  position: relative;
}

/* 4. Feature Elements */
blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--white);
  border-left: none;
  position: relative;
  padding: 2rem 3rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin: 3rem 0;
}

blockquote::before {
  content: '\f10d';
  /* FA quote icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 2rem;
  color: var(--accent);
  background: var(--bg);
  /* Mask line behind */
  padding: 0 10px;
}

/* Mac-style Code Block */
pre {
  background: #1e1e2e;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin: 2.5rem 0;
  position: relative;
  padding-top: 40px;
  /* Space for header */
  overflow: hidden;
}

pre::before {
  content: '•••';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: #282a36;
  color: #ff5f56;
  /* Fake buttons */
  font-size: 2.5rem;
  line-height: 18px;
  padding-left: 15px;
  letter-spacing: -6px;
  /* Squeeze dots */
  display: flex;
  align-items: center;
}

pre code {
  display: block;
  padding: 20px;
  color: #f8f8f2;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  overflow-x: auto;
}

/* Author Box */
.author-box {
  margin-top: 5rem;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.author-info h4 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2.2rem;
  }

  .blog-container-glass {
    padding: 2rem;
    margin-top: -40px;
  }
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-back:hover {
  transform: translateX(-5px);
}

/* =========================================
   PREMIUM ABOUT PAGE STYLES
   ========================================= */

/* 1. About Hero (Distinct from Blog) */
.about-hero-premium {
  position: relative;
  width: 100%;
  min-height: 70vh;
  /* Taller for profile */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #0f172a 0%, #000000 100%);
  overflow: hidden;
  z-index: 1;
  padding-top: 80px;
  /* Navbar offset */
}

/* Animated Grid Background */
.about-hero-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 230, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  z-index: -1;
}

.about-profile-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.about-profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(0, 230, 255, 0.3);
  box-shadow:
    0 0 30px rgba(0, 230, 255, 0.2),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-profile-wrapper:hover .about-profile-img {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(0, 230, 255, 0.5);
  border-color: var(--accent);
}

/* Rotating Ring */
.about-profile-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 2px dashed rgba(255, 0, 200, 0.3);
  border-radius: 50%;
  animation: spinSlow 20s linear infinite;
  pointer-events: none;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.about-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #b3b3b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

/* 2. Enhanced Glass Container */
.about-container-glass {
  max-width: 1100px;
  margin: -60px auto 100px;
  position: relative;
  z-index: 10;
  padding: 0 2rem;
}

/* 3. Premium Cards and Sections */
.glass-section {
  background: rgba(15, 23, 32, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.section-header i {
  font-size: 2rem;
  color: var(--accent-2);
}

.section-header h2 {
  font-size: 2rem;
  color: var(--white);
  margin: 0;
}

/* 4. Cyber Timeline */
.cyber-timeline {
  position: relative;
  border-left: 2px solid rgba(0, 230, 255, 0.2);
  margin-left: 20px;
  padding-left: 40px;
}

.cyber-timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.cyber-timeline-icon {
  position: absolute;
  left: -56px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0, 230, 255, 0.2);
}

.cyber-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cyber-card:hover {
  transform: translateX(10px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.cyber-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.cyber-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.cyber-card h3 a:hover {
  color: var(--accent);
}

.cyber-card .role {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.cyber-card p {
  color: #ccc;
  font-size: 1rem;
}

/* 5. Skill Pills */
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.skill-pill i {
  color: var(--accent);
  font-size: 1.2rem;
}

.skill-pill:hover {
  background: rgba(0, 230, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 230, 255, 0.2);
}

/* 6. Cert Grid Premium */
.cert-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
}

.cert-card-premium {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cert-card-premium i {
  font-size: 2rem;
  color: var(--accent-2);
}

.cert-card-premium span {
  color: #fff;
  font-weight: 500;
}

.cert-card-premium:hover {
  border-color: var(--accent-2);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(255, 0, 200, 0.2);
}

.leadership-list li {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid transparent;
  transition: 0.3s;
}

.leadership-list li:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.leadership-list img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* 7. Leadership Premium Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.leadership-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.leadership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.leadership-card:hover::before {
  transform: translateX(100%);
}

.leadership-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.leadership-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.leadership-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.leadership-info h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 700;
}

.leadership-info span {
  font-size: 0.9rem;
  color: var(--muted);
  display: block;
}

/* 8. Projects Intro Premium */
.projects-intro {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.projects-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}

.projects-intro p {
  color: #e0e0e0;
  font-size: 1.15rem;
  line-height: 1.9;
  margin: 0;
  font-weight: 300;
}

.projects-intro strong {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .projects-intro {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .projects-intro p {
    font-size: 1rem;
  }

  .about-hero-premium h1 {
    font-size: 2.5rem;
  }

  /* Ensure content is not hidden behind navbar */
  .about-hero-premium {
    padding-top: 130px;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .about-container-glass,
  .blog-container-glass {
    padding: 2rem 1rem;
    margin-top: -30px;
  }

  .blog-hero {
    height: auto;
    min-height: 400px;
    padding-top: 100px;
    padding-bottom: 3rem;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .glass-section {
    padding: 1.5rem;
  }

  .cyber-timeline {
    margin-left: 10px;
    padding-left: 30px;
  }

  .cyber-timeline-icon {
    left: -46px;
    width: 28px;
    height: 28px;
  }
}

/* =========================================
   HOMEPAGE ENHANCEMENTS
   ========================================= */

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-2);
  margin-top: 5px;
  margin-bottom: 20px;
  min-height: 40px;
  /* Prevent layout shift */
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 32, 0.8);
  border: 1px solid rgba(0, 255, 128, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: #00ff80;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff80;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Quick Stats */
.quick-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.quick-stats .stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
}

.quick-stats .highlight {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--accent);
}

/* Sections Base */
.skills-snapshot,
.featured-projects,
.github-stats-section,
.cta-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Skills Snapshot */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.snapshot-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.snapshot-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 230, 255, 0.2);
}

.snapshot-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.snapshot-card h3 {
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Featured Projects Preview */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-prev-card {
  background: rgba(15, 23, 32, 0.8);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.project-prev-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 0, 200, 0.2);
}

.prev-header h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.project-prev-card p {
  color: #ccc;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.project-prev-card .tags {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-prev-card .tech {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(0, 230, 255, 0.1);
  border: 1px solid rgba(0, 230, 255, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
}

.btn-sm {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
  align-self: flex-start;
}

.btn-sm:hover {
  background: var(--accent);
  color: #000;
}

.view-all-container {
  margin-top: 3rem;
}

/* GitHub Stats */
.github-stats-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.github-stats-container a {
  display: inline-block;
  background: rgba(15, 23, 32, 0.8);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.github-stats-container a:hover {
  border-color: rgba(255, 0, 200, 0.3);
}

.github-stats-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 32, 0.5));
  padding: 4rem 2rem 6rem;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.cta-section p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 2.5rem;
}

.cta-btn {
  font-size: 1.1rem;
  padding: 12px 30px;
}

/* =========================================
   MOBILE RESPONSIVENESS OVERHAUL
   ========================================= */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {

  /* Global Adjustments */
  .skills-snapshot,
  .featured-projects,
  .github-stats-section,
  .cta-section,
  .projects-section,
  .about-section,
  .blog-section,
  .contact-section {
    padding: 3rem 1.5rem;
    /* Reduced padding */
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  /* Navbar */
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    /* Below navbar */
    left: 0;
    width: 100%;
    background: rgba(15, 23, 32, 0.98);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 230, 255, 0.3);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    /* Clear navbar */
    flex-direction: column;
    /* Force vertical stacking of content and stats */
    gap: 2rem;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
    min-width: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the badge and buttons */
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .status-badge {
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    padding: 8px 12px;
    height: auto;
    max-width: 90%;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    min-height: 55px;
    /* Adjust for wrap */
    width: 100%;
  }

  .hero-image {
    margin-bottom: 0;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }

  .cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Quick Stats */
  .quick-stats {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .quick-stats .stat-item {
    padding: 12px 20px;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  /* Grids (Skills, Projects, etc) */
  .snapshot-grid,
  .preview-grid,
  .projects-grid,
  .blog-grid,
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-prev-card {
    padding: 1.5rem;
  }

  /* Terminal Settings */
  .terminal {
    font-size: 0.85rem;
    padding: 1rem;
    margin: 1.5rem auto;
    width: 100%;
    /* Important */
    max-width: 100%;
  }

  /* Footer */
  .footer {
    padding: 1.5rem;
    font-size: 0.9rem;
  }

  /* About / Contact Overrides */
  .contact-container,
  .about-container {
    flex-direction: column;
  }

  .contact-form,
  .contact-info,
  .about-content,
  .about-image {
    width: 100%;
    padding: 1.5rem;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 45px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item::after {
    left: 8px !important;
    right: auto !important;
  }

  .timeline-content::before {
    display: none;
  }
}

/* =========================================
   CUSTOM DYNAMIC CURSOR
   ========================================= */

/* Only on devices with a mouse pointer */
@media (hover: hover) and (pointer: fine) {

  /* Hide default cursor globally */
  *,
  *::before,
  *::after {
    cursor: none !important;
  }

  /* Inner Dot — precise tracker */
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow:
      0 0 6px var(--accent),
      0 0 15px rgba(0, 230, 255, 0.4);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }

  /* Outer Ring — trailing reticle */
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 230, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
  }

  /* Crosshair lines inside ring */
  .cursor-ring::before,
  .cursor-ring::after {
    content: '';
    position: absolute;
    background: rgba(0, 230, 255, 0.25);
    transition: background 0.3s ease;
  }

  .cursor-ring::before {
    /* Horizontal line */
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    transform: translateY(-50%);
  }

  .cursor-ring::after {
    /* Vertical line */
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 1px;
    transform: translateX(-50%);
  }

  /* Hover state — target lock */
  .cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: var(--accent-2);
    box-shadow:
      0 0 10px var(--accent-2),
      0 0 25px rgba(255, 0, 200, 0.5);
  }

  .cursor-ring.hover {
    width: 55px;
    height: 55px;
    border-color: rgba(255, 0, 200, 0.6);
    background: rgba(255, 0, 200, 0.05);
    opacity: 1;
  }

  .cursor-ring.hover::before,
  .cursor-ring.hover::after {
    background: rgba(255, 0, 200, 0.3);
  }

  /* Click state — pulse */
  .cursor-ring.click {
    width: 30px;
    height: 30px;
    border-color: var(--accent);
    opacity: 1;
    transition: width 0.1s ease, height 0.1s ease, border-color 0.1s ease, opacity 0.1s ease;
  }

  .cursor-dot.click {
    width: 6px;
    height: 6px;
    transition: width 0.1s ease, height 0.1s ease;
  }

  /* Trail particles */
  .cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 99997;
    opacity: 0.6;
    animation: cursorTrailFade 0.6s ease-out forwards;
  }

  @keyframes cursorTrailFade {
    0% {
      opacity: 0.6;
      transform: scale(1);
    }

    100% {
      opacity: 0;
      transform: scale(0.2);
    }
  }

  /* Hide cursor when it leaves the viewport */
  .cursor-dot.hidden,
  .cursor-ring.hidden {
    opacity: 0;
  }
}

/* Force default cursor on touch devices */
@media (hover: none),
(pointer: coarse) {

  .cursor-dot,
  .cursor-ring,
  .cursor-trail {
    display: none !important;
  }
}