/* ===== CSS VARIABLES FOR THEMES ===== */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600;6..96,700&family=DM+Sans:wght@400;500;600;700&display=swap');

body {
  font-family: 'DM Sans', sans-serif;
}

h1, h2, h3, a {
  font-family: 'Bodoni Moda', serif;
}
html {
  scroll-behavior: smooth;
}

:root {
  /* Casa Tupka palette from the supplied color reference. */
  --gold: #C9A84C;
  --gold-light: #F0D080;
  --gold-muted: #DDB86E;
  --gold-dark: #9A7B2F;
  --gold-darkest: #8C6D2F;
  --brown-dark: #462A01;
  --gold-logo: #E2BE4A;
  --gold-logo-light: #EBD261;
  --gold-logo-pale: #FFFF95;
  --gold-logo-soft: #F9EE80;
  --gold-logo-warm: #F3E272;
  --amber: #D4820A;
  --copper: #B87333;
  --orange: #FFB347;
  --orange-bright: #FF9800;
  --orange-deep: #FF8800;
  --orange-red: #FF5500;
  --red-orange: #FF3D00;
  --yellow: #FFD700;
  --black: #080808;
  --black-pure: #000000;
  --black-mid: #110F0C;
  --black-warm: #140800;
  --charcoal: #141414;
  --charcoal-mid: #1E1E1E;
  --black-border: #2A2018;
  --ivory: #F5F0E8;
  --ivory-dim: #C8BFAF;
  --cream: #F5E6C8;
  --text-muted: #DED5C6;
  --white: #FFFFFF;
  --white-soft: #F7F7F7;
  --white-border: #DDDDDD;
  --text-gray: #2F2F2F;
  --text-gray-mid: #3A3A3A;
  --text-gray-dark: #444444;
  --text-gray-darker: #555555;
  --text-gray-light: #CCCCCC;
  --pale-blue: #DCE6FA;

  --dark-bg-primary: var(--black);
  --dark-bg-secondary: var(--charcoal);
  --neon-pink: var(--gold);
  --neon-pink-glow: 0 0 3px rgba(201, 168, 76, 0.55), 0 0 12px rgba(201, 168, 76, 0.2);
  --lavender: var(--cream);
  --electric-blue: var(--gold-light);
  --text-primary: var(--ivory);
  --text-secondary: var(--ivory-dim);
  
  /* Font Variables */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-futuristic: 'Orbitron', monospace;
  --font-developer: 'Fira Code', monospace;
  
  /* Common Variables */
  --border-radius: 12px;
  --transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  --box-shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  background: linear-gradient(135deg, var(--dark-bg-primary), var(--dark-bg-secondary));
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
}

/* ===== INTRO OVERLAY ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(136, 58, 255, 0.2), transparent 28%),
    linear-gradient(180deg, #1b0626 0%, #14031d 50%, #0c0112 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.intro-overlay::before,
.intro-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-overlay::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 1px, transparent 1.5px);
  background-size: 96px 96px;
  opacity: 0.22;
}

.intro-overlay::after {
  background:
    linear-gradient(90deg, transparent, rgba(183, 123, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: introSweep 2.8s ease-in-out infinite;
}

.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 65%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 85% 28%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px);
  opacity: 0.3;
  animation: introTwinkle 4s ease-in-out infinite;
}

.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(760px, calc(100vw - 3rem));
  padding: 2rem;
}

.intro-kicker {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.intro-title {
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.intro-title span,
.intro-role-line span {
  color: #c896ff;
  text-shadow: 0 0 24px rgba(200, 150, 255, 0.35);
}

.intro-role-line {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 3.4vw, 2.5rem);
  color: #f4efff;
}

.intro-note {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

@keyframes introTwinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

@keyframes introSweep {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 1; }
  60% { opacity: 0.4; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: relative;
  color: var(--text-primary);
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 1;
  filter: brightness(1) contrast(1);
}

.header-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

nav {
  position: relative;
  z-index: 3;
  background: rgba(13, 13, 13, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 0, 127, 0.2);
  box-shadow: var(--neon-pink-glow);
}

nav h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-menu {
  font-size: 35px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
@media (width: 450) {
  .nav-menu {
    display: contents;
  }
}
.nav-menu i:hover {
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}
nav a:hover {
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--neon-pink);
  transition: var(--transition);
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 80%;
  box-shadow: var(--neon-pink-glow);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  z-index: 2;
  background: rgba(13, 13, 13, 0.1);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  border: 1px solid rgba(255, 0, 127, 0.3);
  box-shadow: var(--neon-pink-glow);
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--neon-pink), var(--lavender));
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--neon-pink-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink);
  background: linear-gradient(135deg, var(--lavender), var(--neon-pink));
}

/* ===== MAIN CONTENT ===== */
main {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
 
}

section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--neon-pink);
  text-shadow: var(--neon-pink-glow);
  font-family: var(--font-secondary);
}

/* ===== PROJECT GRID ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.project-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 0, 127, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 127, 0.1), transparent);
  transition: var(--transition);
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover), var(--neon-pink-glow);
  border-color: var(--neon-pink);
}

.project-card:hover::before {
  left: 100%;
}

.project-card h3 {
  color: var(--neon-pink);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 5px var(--neon-pink);
  position: relative;
  z-index: 2;
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.project-card a {
  color: var(--electric-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  position: relative;
  z-index: 3;
}

.project-card a:hover {
  color: var(--lavender);
  text-shadow: 0 0 10px var(--lavender);
}

/* ===== REPORTS SECTION ===== */
.reports-section {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  margin: 4rem 0;
  border: 1px solid rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.reports-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
  animation: neonPulse 3s ease-in-out infinite;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.report-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.1), transparent);
  transition: var(--transition);
}

.report-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover), 0 0 20px rgba(0, 191, 255, 0.3);
  border-color: var(--electric-blue);
}

.report-card:hover::before {
  left: 100%;
}

.report-card h3 {
  color: var(--electric-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 5px var(--electric-blue);
}

.report-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.report-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.report-date {
  color: var(--lavender);
  font-size: 0.9rem;
  background: rgba(179, 136, 235, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  border: 1px solid rgba(179, 136, 235, 0.2);
}

.report-type {
  color: var(--neon-pink);
  font-size: 0.9rem;
  background: rgba(255, 0, 127, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 0, 127, 0.2);
}

.report-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--electric-blue), var(--lavender));
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--electric-blue), 0 0 25px var(--electric-blue);
  background: linear-gradient(135deg, var(--lavender), var(--electric-blue));
}

.report-btn.download {
  background: linear-gradient(135deg, var(--neon-pink), var(--lavender));
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.report-btn.download:hover {
  box-shadow: 0 0 15px var(--neon-pink), 0 0 25px var(--neon-pink);
  background: linear-gradient(135deg, var(--lavender), var(--neon-pink));
}

.report-btn.coming-soon {
  background: linear-gradient(135deg, #666, #999);
  box-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
  cursor: not-allowed;
}

.report-btn.coming-soon:hover {
  transform: none;
  box-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
  background: linear-gradient(135deg, #666, #999);
}

.report-btn i {
  margin-right: 0.5rem;
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 13, 0.9));
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  margin: 4rem 0;
  border: 1px solid rgba(255, 0, 127, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
  animation: neonPulse 3s ease-in-out infinite;
}

.timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 1320px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--neon-pink), var(--lavender));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  width: 49.5%;
  padding: 2.5rem;
  background: rgba(13, 13, 13, 0.8);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 0, 127, 0.2);
  backdrop-filter: blur(10px);
}

.timeline-item:nth-child(odd) {
  margin-left: auto;
}

.timeline-item:nth-child(even) {
  margin-right: auto;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--neon-pink);
  border-radius: 50%;
  box-shadow: var(--neon-pink-glow);
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
  left: -30px;
}

.timeline-item:nth-child(even)::before {
  right: -30px;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover), var(--neon-pink-glow);
  border-color: var(--neon-pink);
}

.timeline-content h3 {
  color: var(--neon-pink);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-shadow: 0 0 5px var(--neon-pink);
}

.timeline-content .company {
  color: var(--lavender);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content .date {
  color: var(--electric-blue);
  font-style: italic;
  margin-bottom: 1rem;
  display: block;
  font-size: 0.9rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 100px 10%;
  text-align: center;
  background: radial-gradient(circle at top, #1a0033, #0a0014);
  color: white;
}

.skills-title {
  font-size: 40px;
  letter-spacing: 2px;
  color: #c084fc;
  margin-bottom: 10px;
}

.skills-subtitle {
  color: #ccc;
  margin-bottom: 60px;
  font-size: 16px;
}

/* glowing spotlight box */
.skills-wrapper {
  position: relative;
  width: 100%;
  margin-inline: auto;
  padding: 50px 30px;
  border-radius: 20px;
  background: linear-gradient(145deg, #1a0033, #0a0014);
  box-shadow: 0 0 80px rgba(168, 85, 247, 0.3);
  overflow: hidden;
}

/* light glow effect */
.skills-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent);
  filter: blur(60px);
}

/* skills pills */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.skills-list span {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-size: 14px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

/* hover effect */
.skills-list span:hover {
  background: linear-gradient(135deg, #a855f7, #6d28d9);
  box-shadow: 0 0 15px #a855f7;
  transform: translateY(-3px) scale(1.05);
}

/* ===== MAIN VIDEO BACKGROUND ===== */

/* ===== FOOTER ===== */
.footer {
  position: relative;
  height: 500px;
  overflow: hidden;
  color: white;
}

/* video */
.footer-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

/* dark overlay */
.footer-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 20, 0.7);
  z-index: 2;
}

/* content */
.footer-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 80px 10%;
  gap: 40px;
}

/* columns */
.footer-col h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-col h4 {
  margin-bottom: 15px;
  color: #c084fc;
}

.footer-col p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #a855f7;
}

/* icons */
.socials a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.socials a:hover {
  transform: translateY(-4px);
  color: #17c7ff;
  border-color: rgba(23, 199, 255, 0.35);
  box-shadow:
    0 0 18px rgba(23, 199, 255, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.socials i {
  font-size: 18px;
  cursor: pointer;
}

.socials i:hover {
  color: #a855f7;
}

/* bottom */
.footer-bottom {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: #aaa;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .reports-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card,
.report-card {
    padding: 2rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-section {
    padding: 4rem 1.25rem;
  }
  
  /* Reports Section Responsive */
  .reports-section {
    padding: 2rem 1rem;
  }
  
  .report-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Experience Section Responsive */
  .timeline::before {
    left: 20px;
    transform: none;
  }
  
  .timeline-item {
    width: calc(100% - 60px);
    margin: 2rem 0;
    padding: 2rem;
  }
  
  .timeline-item:nth-child(odd),
.timeline-item:nth-child(even) {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .timeline-item:nth-child(odd)::before,
.timeline-item:nth-child(even)::before {
    left: -40px;
    right: auto;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (min-width: 600px) {
  #skills.skills {
    padding: 3rem 0;
  }

  #skills .section-inner {
    width: calc(100% - 3rem);
    max-width: 72rem;
  }

  #skills .skills-wrapper {
    padding: 1.5rem;
  }

  #skills .skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 0.75rem;
    align-items: stretch;
  }

  #skills .skills-list span {
    display: flex;
    min-width: 0;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  
  main {
    padding: 2rem 1rem;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  section h2 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-kicker {
    letter-spacing: 0.2rem;
  }
  
  /* Experience Section Mobile Responsive */
  .experience {
    padding: 2rem 1rem;
  }
  
  .timeline-item {
    width: calc(100% - 40px);
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .timeline-item:nth-child(odd),
.timeline-item:nth-child(even) {
    margin-left: 40px;
  }
  
  .timeline-item::before {
    width: 16px;
    height: 16px;
  }
  
  .timeline-item:nth-child(odd)::before,
.timeline-item:nth-child(even)::before {
    left: -28px;
  }
  
  .timeline-content h3 {
    font-size: 1.3rem;
  }
  
  .timeline-content .company {
    font-size: 1rem;
  }
  
  .timeline-content .date {
    font-size: 0.8rem;
  }
}

/* ===== DEPLOYMENT RESPONSIVE TUNE-UP ===== */
img,
video {
  max-width: 100%;
}

@media (max-width: 1200px) {
  nav {
    padding: 0.9rem 1.2rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    padding: 0.45rem 0.7rem;
  }

  .hero h2 {
    font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 980px) {
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav h1 {
    width: 100%;
    text-align: center;
  }

  nav ul {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .project-grid,
.reports-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .experience-container {
    max-width: calc(100vw - 2rem);
  }
}

@media (max-width: 720px) {
  header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding: 1.6rem 1.2rem;
  }

  .hero h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

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

  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .mosaic-item {
    min-width: 220px;
    height: 150px;
  }

  .project-card,
.report-card,
.feature-card {
    padding: 1.3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }
}

@media (max-width: 540px) {
  nav h1 {
    font-size: 1.45rem;
  }

  nav ul {
    gap: 0.45rem;
  }

  nav a {
    font-size: 0.92rem;
    padding: 0.35rem 0.55rem;
  }

  main {
    padding-left: 0;
    padding-right: 0;
  }

  .section-inner {
    width: calc(100vw - 1.25rem);
  }

  .project-card h3 {
    font-size: 1.3rem;
  }

  .report-btn {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes neonPulse {
  0%, 100% {
    text-shadow: 0 0 2px var(--neon-pink), 0 0 4px var(--neon-pink);
  }
  50% {
    text-shadow: 0 0 8px var(--neon-pink), 0 0 12px var(--neon-pink);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 2px var(--neon-pink);
  }
  50% {
    box-shadow: 0 0 8px var(--neon-pink);
  }
}

/* Apply animations to specific elements */
nav h1,
.hero h2,
section h2 {
  animation: neonPulse 2s ease-in-out infinite;
}

.btn {
  animation: glow 3s ease-in-out infinite;
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonials {
  padding: 72px 0;
  background: radial-gradient(circle at top, #1a0033, #0a0014);
  text-align: center;
  color: white;
  overflow: hidden;
}

.test-title {
  font-size: 40px;
  color: #c084fc;
}

.test-sub {
  color: #ccc;
  margin-bottom: 36px;
}

/* TRACK */
.slide-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 25s linear infinite;
  will-change: transform;
}

/* CARD */
.test-card {
  width: 360px;
  min-height: 300px;
  margin: 0 20px;
  padding: 28px;
  border-radius: 18px;

  /* DARK BASE (important for clarity) */
  background: rgba(20, 0, 40, 0.9);

  /* SHARP BORDER */
  border: 1px solid rgba(168, 85, 247, 0.25);

  /* CONTROLLED GLOW (not blur) */
  box-shadow:
    0 0 10px rgba(168, 85, 247, 0.2),
    0 0 30px rgba(168, 85, 247, 0.15);

  backdrop-filter: blur(8px);

  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
  
}
.slider {
  width: 100%;
  overflow: hidden; /* prevents overflow */
  position: relative;
}
.slide-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.test-card {
  flex: 0 0 auto; /* IMPORTANT */
}

.test-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  font-size: 1rem;
}

.test-card h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.15rem;
}

.test-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.test-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 0, 127, 0.35);
  box-shadow:
    0 0 24px rgba(168, 85, 247, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

/* ===== SHOWCASE SECTION ===== */

/* SLIDER */

/* TRACK */

/* CARD */

/* HOVER EFFECT */

/* ===== FEATURE SECTION ===== */
.feature-section {
  position: relative;
  padding: 5rem 2rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(0, 191, 255, 0.18), transparent 35%),
    linear-gradient(135deg, rgba(8, 12, 28, 0.96), rgba(6, 30, 45, 0.9));
  border: 1px solid rgba(0, 191, 255, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.feature-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 30%, transparent 70%, rgba(0, 255, 255, 0.08));
  pointer-events: none;
}

.feature-shell {
  position: relative;
  z-index: 1;
}

.feature-kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.32rem;
  color: var(--electric-blue);
  font-family: var(--font-developer);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.feature-intro {
  max-width: 720px;
  margin: -1.5rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(0, 255, 255, 0.45);
  box-shadow:
    0 0 20px rgba(0, 255, 255, 0.28),
    0 20px 45px rgba(0, 0, 0, 0.35);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 1.4rem;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  color: #8efcff;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(142, 252, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.animate-feature-card {
  opacity: 0;
  transform: translateY(50px);
}

.animate-feature-card.is-visible {
  animation: featureReveal 0.6s ease forwards;
  animation-delay: var(--feature-delay, 0s);
}

.animate-section-item {
  opacity: 0;
  transform: translateY(40px);
}

.animate-section-item.is-visible {
  animation: sectionReveal 0.6s ease forwards;
  animation-delay: var(--reveal-delay, 0s);
}

@keyframes featureReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMATION */
@keyframes showcaseScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

body {
  background: #0a0a0a;
  font-family: Arial, sans-serif;
  color: white;
}

/* Section */

/* Grid Layout */

/* Card */
.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}

/* Image */
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Effects */
.project-card:hover img {
  transform: scale(1.1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}

.project-card:hover::after {
  opacity: 1;
}

/* ===== PORTFOLIO ENHANCEMENTS ===== */
body {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.16), transparent 25%),
    radial-gradient(circle at 80% 15%, rgba(255, 0, 150, 0.2), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(126, 34, 206, 0.18), transparent 28%),
    linear-gradient(120deg, var(--dark-bg-primary), var(--dark-bg-secondary), var(--lavender));
  background-size: 180% 180%, 160% 160%, 170% 170%, 300% 300%;
  animation: auroraDrift 10s ease infinite;
  font-family: var(--font-primary);
  color: var(--text-primary);
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 30%);
  pointer-events: none;
}

@keyframes auroraDrift {
  0% { background-position: 0% 50%, 0% 50%, 0% 50%, 0% 50%; }
  50% { background-position: 100% 50%, 100% 35%, 50% 100%, 100% 50%; }
  100% { background-position: 0% 50%, 0% 50%, 0% 50%, 0% 50%; }
}

.hero,
.reports-section,
.experience,
.skills,
.testimonials,
.feature-section {
  position: relative;
  isolation: isolate;
}

.hero::after,
.reports-section::after,
.experience::after,
.skills::after,
.testimonials::after,
.feature-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

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

.project-card,
.report-card,
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--card-lift, 0));
  transform-style: preserve-3d;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  will-change: transform;
}

.project-card:hover,
.report-card:hover,
.feature-card:hover {
  --card-lift: -10px;
  box-shadow:
    0 0 25px rgba(255, 0, 150, 0.26),
    0 22px 55px rgba(0, 0, 0, 0.32);
}

.project-card::before,
.report-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 45%, rgba(255, 255, 255, 0.02));
  opacity: 0.55;
  pointer-events: none;
}

.hero h2,
.hero p,
.hero .btn {
  position: relative;
  z-index: 1;
}

section h2,
.feature-intro,
.feature-kicker,
.test-sub,
.skills-subtitle {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }

  .fade-up,
.project-card,
.report-card,
.feature-card {
    transition: none;
    transform: none;
  }
}

.mosaic-section {
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
}

.mosaic-row {
  display: flex;
  gap: 1.5rem;
  padding-inline: 1rem;
  transition: transform 0.1s linear;
  will-change: transform;
}

.mosaic-item {
  min-width: 320px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px rgba(140, 0, 255, 0.28);
}

.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: 0.3s ease;
}

.mosaic-item:hover::after {
  opacity: 1;
}

.experience-container {
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mosaic-row {
    gap: 1rem;
    padding-inline: 0;
  }

  .mosaic-item {
    min-width: 260px;
    height: 180px;
  }
}

/* ===== SECTION LAYOUT OVERRIDES ===== */
main {
  max-width: none;
  padding: 4rem 0;
  overflow: hidden;
}

main > section {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 768px) {
  main {
    padding: 3rem 0;
  }

  main > section {
    padding-left: 0;
    padding-right: 0;
  }
}

.section-inner {
  width: min(1200px, calc(100vw - 4rem));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section-inner {
    width: calc(100vw - 2rem);
  }
}

/* ===== SECTION BORDERS ===== */
.mosaic-section,
.project-section,
#ethical-hacking {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.mosaic-section,
.project-section {
  background:
    radial-gradient(circle at top right, rgba(255, 0, 127, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(0, 191, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(18, 14, 38, 0.94), rgba(33, 18, 58, 0.86));
}

#ethical-hacking {
  background:
    radial-gradient(circle at top center, rgba(255, 0, 127, 0.18), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(135deg, rgba(38, 29, 62, 0.94), rgba(26, 20, 46, 0.84));
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ===== TIGHTER SECTION SPACING ===== */
main > section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  main > section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

main > section + section {
  margin-top: 0 !important;
}

/* ===== STICKY NAVBAR ===== */
nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1500px, calc(100vw - 2rem));
  z-index: 2000;
}

header {
  padding-top: 8rem;
}

html {
  scroll-padding-top: 7rem;
}

@media (max-width: 768px) {
  nav {
    width: calc(100vw - 1rem);
    top: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  header {
    padding-top: 9rem;
  }

  nav ul {
    margin-left: 0;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== MOBILE NAVIGATION AND DEVICE FIT ===== */
.nav-menu {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 720px) {
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  nav h1 {
    width: auto;
    text-align: left;
    font-size: clamp(1.2rem, 5vw, 1.55rem);
  }

  .nav-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    padding: 0.45rem;
    color: var(--text-primary);
    font-size: 1.35rem;
  }

  nav ul {
    display: none;
    order: 4;
    width: 100%;
    margin: 0;
    padding: 0.6rem 0 0.15rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  nav.nav-open ul {
    display: flex;
  }

  nav ul a {
    display: block;
    padding: 0.65rem 0.75rem;
    text-align: center;
  }

  header {
    padding-top: 7rem;
  }

  .hero {
    margin-top: 1rem;
    padding: clamp(1.35rem, 6vw, 2rem) 1rem;
  }

  .hero h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.2;
  }

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

  section h2 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
    line-height: 1.25;
    margin-bottom: 1.75rem;
  }

  .project-grid,
.reports-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card,
.report-card {
    min-width: 0;
    padding: 1.25rem;
  }

  .report-btn {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .mosaic-item {
    min-width: min(220px, calc(100vw - 3rem));
  }

  .footer {
    height: auto;
    min-height: 500px;
  }

  .footer-content {
    padding: 4rem 1.25rem 2rem;
  }
}

@media (max-width: 380px) {
  nav {
    width: calc(100vw - 0.75rem);
  }

  .section-inner {
    width: calc(100vw - 1.25rem);
  }

  .experience {
    padding-inline: 0.65rem;
  }
}

/* Keep navigation usable on tablets and smaller screens. */
@media (max-width: 980px) {
  nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 0.75rem 1rem;
  }

  nav h1 {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    text-align: left;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
  }

  .nav-menu {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    order: initial;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
    border: 0;
    color: var(--text-primary);
    font-size: 1.35rem;
  }

  nav ul {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    width: 100%;
    margin: 0;
    padding: 0.6rem 0 0.15rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  nav.nav-open ul {
    display: flex;
  }

  nav ul a {
    display: block;
    padding: 0.65rem 0.75rem;
    text-align: center;
  }
}

/* ===== SUBPAGES ===== */

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

/* ===== PROJECTS PAGE ===== */

@keyframes vaultPulseLeft {
  0%, 100% {
    transform: translateY(0) scaleX(0.9);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-6px) scaleX(1);
    opacity: 1;
  }
}

@keyframes vaultPulseRight {
  0%, 100% {
    transform: translateY(0) scaleX(0.9);
    opacity: 0.45;
  }
  50% {
    transform: translateY(6px) scaleX(1);
    opacity: 1;
  }
}

@keyframes projectCardDrift {
  0%, 100% {
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  }
  50% {
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
  }
}

@keyframes previewPulse {
  0%, 100% {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 24px 64px rgba(113, 57, 230, 0.24);
  }
}

@keyframes previewFloatLeft {
  0%, 100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
}

@keyframes previewFloatRight {
  0%, 100% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(8px) rotate(3deg);
  }
}

/* Casa Tupka palette: black, charcoal, ivory, cream, gold, amber, and copper. */
body {
  background: linear-gradient(135deg, #080808, #141414);
  color: var(--text-primary);
}

nav {
  border-color: rgba(201, 168, 76, 0.24);
}

.hero {
  border-color: rgba(201, 168, 76, 0.28);
}

.project-card,
.report-card,
.feature-card,
.test-card {
  color: var(--text-primary);
  background-color: rgba(30, 30, 30, 0.94);
  border-color: rgba(201, 168, 76, 0.2);
}

.project-card,
.report-card,
.feature-card {
  background: linear-gradient(155deg, rgba(42, 32, 24, 0.72), rgba(17, 15, 12, 0.96));
}

.project-card::before,
.report-card::before,
.feature-card::before {
  background: linear-gradient(135deg, rgba(240, 208, 128, 0.12), transparent 45%, rgba(255, 255, 255, 0.02));
}

.project-section,
.mosaic-section,
#ethical-hacking {
  background:
    radial-gradient(circle at 85% 8%, rgba(201, 168, 76, 0.09), transparent 32%),
    linear-gradient(140deg, #141414, #080808 78%);
  border-color: rgba(201, 168, 76, 0.16);
}

.btn {
  background: linear-gradient(135deg, #9A7B2F, #F0D080);
  color: #110F0C;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.18);
}

.footer-col h4 {
  color: var(--gold-muted);
}

.footer-overlay {
  background: rgba(20, 8, 0, 0.82);
}

.intro-overlay {
  background:
    radial-gradient(circle at 50% 20%, rgba(201, 168, 76, 0.13), transparent 30%),
    linear-gradient(180deg, #141414, #080808);
}

.reports-section,
.experience,
.skills,
.testimonials,
.feature-section {
  background:
    radial-gradient(circle at 85% 8%, rgba(201, 168, 76, 0.08), transparent 32%),
    linear-gradient(140deg, #1E1E1E, #080808 78%);
  border-color: rgba(201, 168, 76, 0.18);
}

.skills-wrapper,
.test-card,
.feature-card {
  background-color: rgba(30, 30, 30, 0.94);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

.skills-wrapper {
  background: linear-gradient(145deg, #2A2018, #141414 78%);
}

.skills-title,
.test-title,
.feature-kicker,
.feature-icon,
.report-card h3,
.report-date,
.report-type {
  color: #F0D080;
}

.feature-icon {
  background: linear-gradient(135deg, rgba(154, 123, 47, 0.18), rgba(201, 168, 76, 0.08));
  border-color: rgba(201, 168, 76, 0.24);
}

.skills-list span:hover,
.report-btn,
.report-btn.download {
  background: linear-gradient(135deg, #9A7B2F, #F0D080);
  color: #110F0C;
  box-shadow: 0 8px 22px rgba(201, 168, 76, 0.18);
}

.project-card:hover,
.report-card:hover,
.feature-card:hover,
.test-card:hover {
  border-color: rgba(240, 208, 128, 0.48);
  box-shadow: 0 0 22px rgba(201, 168, 76, 0.15), 0 20px 46px rgba(0, 0, 0, 0.3);
}

.footer-col h4,
.footer-col a:hover,
.socials a:hover,
.socials i:hover {
  color: #F0D080;
}

.socials a:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.16), 0 14px 28px rgba(0, 0, 0, 0.24);
}

::selection {
  color: #110F0C;
  background: #F0D080;
}

/* Keep portfolio content headings crisp, without the old neon text glow. */
.hero h2,
main h1,
main h2,
main h3,
main h4 {
  text-shadow: none !important;
}

.hero h2,
main h2 {
  animation: none;
}

nav h1 {
  animation: none;
  text-shadow: none;
  transition: none;
}

nav a::after {
  display: none;
}

@media (max-width: 768px) {
  #skills.skills {
    padding: 4rem 0;
  }

  #skills .section-inner {
    width: calc(100% - 2rem);
    max-width: 40rem;
    margin-inline: auto;
  }

  #skills .skills-title {
    margin: 0 auto 0.75rem;
    text-align: center;
  }

  #skills .skills-subtitle {
    max-width: 32rem;
    margin: 0 auto 2rem;
    padding-inline: 0.25rem;
    line-height: 1.6;
    text-align: center;
  }

  #skills .skills-wrapper {
    width: 100%;
    padding: 2rem 1rem;
  }

  #skills .skills-list {
    justify-content: center;
    gap: 0.75rem;
  }

  #skills .skills-list span {
    flex: 0 0 auto;
    max-width: 100%;
    padding: 0.7rem 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .feature-section {
    padding: 3rem 1rem;
  }

  .feature-section .feature-shell {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .feature-section .feature-kicker,
.feature-section h2,
.feature-section .feature-intro {
    text-align: center;
  }

  .feature-section .feature-intro {
    max-width: 34rem;
    margin: 0 auto;
    line-height: 1.6;
  }

  .feature-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    overflow: visible;
    gap: 1rem;
    margin: 2rem auto 0;
  }

  .feature-grid .feature-card {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 1.5rem;
  }

  .feature-card h3,
.feature-card p {
    text-align: left;
  }
}
