/* ================================
  RESET & BASE STYLES
================================ */
/* Removes default browser spacing and sets a clean base font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Sets dark background and white text */
body {
  background: rgb(17, 16, 18);
  color: rgb(252, 252, 252);
  overflow-x: hidden; /* Prevents sideways scroll */
}














/* ================================
  SPACE BACKGROUND
================================ */
/* Fullscreen background that stays behind all content */
.space {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1; /* Ensures stars and rocket stay behind text */
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

/* Container for star layers */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Each star layer scrolls slowly to simulate space movement */
.stars > div {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: 18.75rem 18.75rem;
  animation: stars 60s linear infinite; /* Looping scroll animation */
}

/* Different star layers for depth */
.stars-back,
.stars-middle,
.stars-front {
  background-image: radial-gradient(0.0625rem 0.0625rem at 0.625rem 1.25rem, #fff, transparent),
    radial-gradient(0.0625rem 0.0625rem at 12.5rem 6.25rem, #fff, transparent),
    radial-gradient(0.0625rem 0.0625rem at 18.75rem 3.125rem, #fff, transparent);
}

/* Positions the rocket above stars but below text */
.rocket {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

/* Moves the star field downward over time */
@keyframes stars {
  from { background-position: 0 0; }
  to { background-position: 0 62.5rem; }
}








/* ================================
  ROCKET DESIGN
================================ */
.rocket {
  position: absolute;
  bottom: 3.125rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: transform 0.3s ease-in-out;
}

/* Main body container for rocket parts */
.fuselage {
  width: 3.125rem;
  position: relative;
}

/* Top rounded nose of the rocket */
.nose {
  width: 1.5625rem;
  margin: 0 auto;
  border-top: 0.9375rem solid #353535;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
}

/* Rocket head section with window */
.head {
  display: block;
  border-bottom: 1.5625rem solid white;
  border-left: 0.625rem solid transparent;
  border-right: 0.625rem solid transparent;
  width: 1.5625rem;
  margin: 0 auto;
  position: relative;
}

/* Blue circular window */
.window {
  position: absolute;
  top: 1rem;
  left: 0.625rem;
  border-bottom: 0.9375rem solid #00a0d6;
  border-left: 0.3125rem solid transparent;
  border-right: 0.3125rem solid transparent;
  width: 1.25rem;
}

/* Grey section below head */
.neck {
  position: relative;
  width: 2.8125rem;
  height: 1.875rem;
  margin: 0 auto;
  background: #f4f4f4;
}

/* Adds shadow on right side of neck */
.neck::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1.40625rem;
  height: 1.875rem;
  background: #e0e0e0;
}

/* Main rocket body */
.body {
  position: relative;
  width: 3.125rem;
  height: 7.5rem;
  background: #f4f4f4;
  border-top: 0.1875rem solid #a81237;
  border-bottom: 0.1875rem solid #a81237;
}

/* Right shadow on body */
.body::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1.5625rem;
  height: 7.5rem;
  background: #e0e0e0;
}

/* Engine cone at bottom */
.reactor {
  position: relative;
  width: 1.875rem;
  margin: 0 auto;
  border-bottom: 1.875rem solid #4f4f4f;
  border-left: 0.625rem solid transparent;
  border-right: 0.625rem solid transparent;
}

/* Lighter shade on left side of reactor */
.reactor::after {
  content: '';
  position: absolute;
  top: 0;
  left: -0.625rem;
  width: 0.9375rem;
  opacity: 0.3;
  border-bottom: 1.875rem solid #e0e0e0;
  border-left: 0.625rem solid transparent;
}

/* Fire animation underneath rocket */
.fire {
  position: relative;
  width: 1.5625rem;
  height: 4.375rem;
  margin: 0 auto;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  animation: fire 0.2s infinite;
}

/* Sparks (flame bursts) */
.fire > div {
  position: absolute;
  background: #ED0303;
  border-radius: 50%;
}

/* Each spark has unique position and animation speed */
.spark1 { top: 1.875rem; left: 0.3125rem; width: 2.5rem; height: 2.5rem; animation: fireBig 0.5s infinite; }
.spark2 { top: 2.1875rem; right: 0.3125rem; width: 1.25rem; height: 1.25rem; animation: fireBig 0.3s infinite; }
.spark3 { top: 2.5rem; right: 1.25rem; width: 3.125rem; height: 3.125rem; animation: fireSmall 0.4s infinite; }
.spark4 { top: 2.5rem; left: -1.25rem; width: 1.875rem; height: 1.875rem; animation: fireSmall 0.7s infinite; }
.spark5 { top: 1.875rem; right: -0.625rem; width: 0.625rem; height: 0.625rem; animation: fireSmall 0.6s infinite; }
.spark6 { top: 3.75rem; left: 0.3125rem; width: 0.625rem; height: 0.625rem; animation: fireSmall 0.2s infinite; }

/* Rocket fins (left and right wings) */
.left-fin {
  position: absolute;
  top: 4.5625rem;
  right: 3.125rem;
  width: 0.3125rem;
  border-bottom: 6.875rem solid white;
  border-left: 3.75rem solid transparent;
}

.left-fin-end {
  position: absolute;
  top: 7.0625rem;
  right: 4.375rem;
  border-bottom: 4.375rem solid white;
  border-left: 4.375rem solid transparent;
  border-top-left-radius: 50%;
}

/* Right fin mirror of left */
.right-fin {
  position: absolute;
  top: 4.5625rem;
  left: 3.125rem;
  width: 0.3125rem;
  border-bottom: 6.875rem solid white;
  border-right: 3.75rem solid transparent;
}

/* Adds depth shadow to right fin */
.right-fin::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  border-bottom: 6.875rem solid #c4c4c4;
  border-right: 0.625rem solid transparent;
}

/* End cap for right fin */
.right-fin-end {
  position: absolute;
  top: 7.0625rem;
  left: 4.375rem;
  border-bottom: 4.375rem solid white;
  border-right: 4.375rem solid transparent;
}







/* ================================
  FIRE ANIMATIONS
================================ */
/* Base flame color-changing animation */
@keyframes fire {
  0% { background: linear-gradient(to bottom, rgba(255,134,28,1), rgba(239,1,124,1), rgba(237,3,3,1)); }
  50% { background: linear-gradient(to bottom, rgba(237,3,3,1), rgba(255,134,28,1), rgba(239,1,124,1)); }
  100% { background: linear-gradient(to bottom, rgba(239,1,124,1), rgba(237,3,3,1), rgba(255,134,28,1)); }
}

/* Larger sparks animation */
@keyframes fireBig {
  0% { width: 0.625rem; height: 0.625rem; background: #FF861C; }
  50% { background: #EF017C; }
  100% { width: 3.75rem; height: 3.75rem; }
}

/* Smaller sparks animation */
@keyframes fireSmall {
  0% { width: 0.625rem; height: 0.625rem; background: #FF861C; }
  50% { background: #EF017C; }
  100% { width: 2.5rem; height: 2.5rem; }
}








/* ================================
  HEADER SECTION
================================ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(27, 39, 53, 0.85);
  padding: 1.25rem 5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 0 2rem 0 #00ffff55, 0 0.125rem 1.5rem 0 #1B2735cc;
  border-bottom: 0.125rem solid #00ffff44;
  backdrop-filter: blur(0.5rem);
}

/* ===== LOGO ===== */
.logo {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
  text-shadow: 0 0 0.5rem #00ffff88, 0 0 1.125rem #1B2735;
}
.logo:hover {
  color: #00ffff;
  text-shadow: 0 0 1.125rem #00ffff, 0 0 2rem #1B2735;
  transform: scale(1.08);
  animation: logoPulse 1.2s infinite;
}
@keyframes logoPulse {
  0%, 100% { text-shadow: 0 0 0.5rem #00ffff88, 0 0 1.125rem #1B2735; }
  50% { text-shadow: 0 0 1.5rem #00ffff, 0 0 2rem #1B2735; }
}






/* ================================
  HAMBURGER MENU ICON (mobile)
================================ */
.hamburger {
  display: flex; /* show on all screen sizes */
  cursor: pointer;
  position: relative;
  width: 3rem;  /* slightly larger circular button to match your change */
  height: 3rem; /* slightly larger circular button to match your change */
  align-items: center;
  justify-content: center;
  z-index: 1001; /* ensure it sits above nav on desktop */
  background: #1f2020; /* visible white background */
  color: #ffffff; /* ensure icon is visible on dark bg */
  border-radius: 50%; /* circular */
  border: 0.0625rem solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 1.25rem rgba(0, 255, 255, 0.5), 
              0 0 2.5rem rgba(0, 255, 255, 0.3),
              0 0.25rem 0.75rem rgba(0,0,0,0.08);
  padding: 0; /* control size explicitly */
  transition: all 0.3s ease;
}

.hamburger:hover {
  box-shadow: 0 0 1.875rem rgba(0, 255, 255, 0.7), 
              0 0 3.75rem rgba(0, 255, 255, 0.5),
              0 0.25rem 0.75rem rgba(0,0,0,0.08);
  border-color: rgba(0, 255, 255, 0.5);
  transform: scale(1.05);
}

/* Make the navbar hidden by default and controlled by the hamburger
    The existing JS toggles `.navbar.active` so showing the menu only
    when the active class is present makes the hamburger the single
   source of truth for both mobile and desktop. */
.navbar {
  display: none; /* hidden until hamburger toggles it */
  position: absolute;
  top: 4rem; /* below header */
  right: 1.25rem;
  background: rgba(27, 39, 53, 0.92);
  box-shadow: 0 0 1.5rem #00ffff44, 0 0.5rem 1.5rem rgba(0,0,0,0.35);
  padding: 1.125rem;
  border-radius: 1.125rem;
  min-width: 11.25rem;
  z-index: 1000;
  backdrop-filter: blur(0.5rem);
}

.navbar.active {
  display: block;
  z-index: 1002; /* place menu above the hamburger/X so it doesn't cover links */
  /* nudge down slightly to keep space between header/hamburger and menu */
  top: 4.75rem;
}

/* Stack nav links vertically inside the overlay */
.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.navbar a {
  display: block; /* make the whole row clickable */
  color: white; /* ensure visible on dark overlay */
  font-size: 1.125rem;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.3s;
}
.navbar a.active {
  color: #00ffff;
}
.navbar a.active::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.1875rem;
  background: linear-gradient(90deg, #00ffff, #0099ff, #00ffff);
  background-size: 200% 200%;
  border-radius: 0.125rem;
  animation: gradientUnderline 2s linear infinite;
}
@keyframes gradientUnderline {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Hamburger bars */
.hamburger span {
  display: block;
  height: 0.15625rem; /* subtle, crisp bars */
  width: 60%; /* shorter bars for a cleaner look */
  background-color: #ece4e4; /* pure black bars for maximum contrast */
  border-radius: 0.125rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 220ms cubic-bezier(.2,.9,.3,1), opacity 150ms ease;
}

/* Font Awesome icon inside hamburger */
.hamburger i {
  color: inherit; /* inherit from .hamburger (white) for contrast) */
  font-size: 1.75rem; /* larger icon to match the bigger circular button */
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease, opacity 150ms ease;
  pointer-events: none; /* clicks handled by parent */
  display: block;
  text-align: center;
}

/* Ensure any leftover span-based bars are hidden (defensive) */
.hamburger span {
  display: none !important;
}

.hamburger i {
  position: relative;
  z-index: 2; /* keep icon above any other visual artifacts */
}

.hamburger span:nth-child(1) { top: 0.625rem; }
.hamburger span:nth-child(2) { top: 50%; transform: translate(-50%,-50%); }
.hamburger span:nth-child(3) { bottom: 0.625rem; }

/* Active state: morph into X */
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%,-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%,-50%) scaleX(0.2);
}
.hamburger.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%,-50%) rotate(-45deg);
}








/* ================================
  MOBILE RESPONSIVE STYLES
================================ */


@media screen and (max-width: 48rem) {
  
  /* Reduce header padding on small screens for better use of space */
  .header {
    padding: 0.9375rem 1.5625rem;
  }
  
  /* Show hamburger icon and hide desktop menu */
  .hamburger { 
    display: block; /* <-- Must be visible on mobile */
    z-index: 1001; 
  }



  
  /* Navigation menu container (dropdown) */
  .navbar {
    display: none; /* Hide nav links initially */
    position: absolute;
    top: 3.4375rem; /* Place it right below the header */
    right: 0.9375rem; /* Align to the right side of the screen */
    background-color: #1b2735; /* Dark background for visibility */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
    padding: 1.25rem;
    border-radius: 0.5rem;
    min-width: 9.375rem; /* Ensure it has a minimum width */
    /* Add max-height/overflow for many links */
  }

  /* When the JavaScript adds the 'active' class, display the menu */
  .navbar.active { 
    display: block; 
    z-index: 1002; /* ensure menu overlays the hamburger on small screens too */
    top: 4.5rem; /* small nudge to sit below header/hamburger */
  } 
  
  /* The list of links inside the mobile menu */
  .navbar ul {
    flex-direction: column; /* Stack links vertically */
    gap: 0.9375rem; /* Vertical spacing between links */
  }
  
  /* Mobile link styling */
  .navbar a {
    font-size: 1.25rem; /* Slightly smaller text for mobile */
    display: block; /* Makes the whole area clickable */
    color: white; /* Ensure text is visible in the dark dropdown */
  }
} 









/* ================================
  NAVBAR LINKS
================================ */

.navbar a {
  font-size: 1.5625rem;
  font-weight: 500;
  color: rgb(33, 31, 31);
  text-decoration: none;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: rgb(245, 248, 252);
  font-weight: 500;
}








/* ================================
  NAVBAR LIST STRUCTURE
================================ */
/* Remove default list styling and padding */
.navbar ul {
  list-style: none; /* Removes bullets */
  padding: 0;
  margin: 0;
  display: flex; /* Aligns list items horizontally on desktop */
  gap: 2.1875rem; /* Replaces the old margin-left on <a> tags */
}

/* Navbar list structure: list items and links inherit styles from
   the top-level `.navbar a`. No extra rules are required here. */











/* ================================
  HOME SECTION
================================ */
.home {
  min-height: 140vh;
  padding: 5rem 10% 0 10%; /* Add top padding for header height */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1; /* keeps content above stars */
}

/* Content container for text */
.home-content {
  max-width: 32rem;
  position: relative;
}

.home-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

/* Large intro text */
.home-content h1 {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 0 1.25rem rgba(0, 255, 255, 0.3);
}

/* Job title */
.home-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: aqua;
  text-shadow: 0 0 1.875rem rgba(0, 255, 255, 0.6);
}

/* Description paragraph */
.home-content p {
  font-size: 1.125rem;
  margin: 1rem 0 2rem;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.5);
}








/* ================================
  BUTTON STYLES
================================ */


.btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9375rem;
}

/* Button design */
.btn-box a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 9.375rem;
  height: 3.125rem;
  border-radius: 0.5rem;
  border: 0.125rem solid rgba(0, 255, 255, 0.5);
  background: transparent; /* show hover fill only */
  font-size: 1.1875rem;
  font-weight: 600;
  color: #00ffff;
  text-decoration: none;
  position: relative; /* Keeps pseudo-elements inside button */
  overflow: hidden; /* Hides anything that overflows */
  z-index: 1;
  transition: 0.5s;
    box-shadow: 0 0 0.9375rem rgba(0, 255, 255, 0.2);
  text-shadow: 0 0 0.625rem rgba(0, 255, 255, 0.5);
}

/* Transparent second button */
.btn-box a:nth-child(2) {
  background: transparent;
  color: aqua;
}

/* Hover effect fill animation (match social icons: aqua fill, text turns black) */
.btn-box a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: aqua; /* same as social hover */
  z-index: -1; /* keep the fill behind text */
  transition: width 0.4s ease;
}

.btn-box a:hover::before {
  width: 100%;
}

/* Make button text readable when fill is applied */
.btn-box a:hover {
  color: black;
    box-shadow: 0 0 1.875rem rgba(0, 255, 255, 0.6), 0 0.3125rem 1.25rem rgba(0, 255, 255, 0.4);
  text-shadow: none;
  transform: translateY(-0.1875rem);
}










/* ================================
  SOCIAL ICONS (side)
================================ */
.home-socials {
  position: fixed; /* Changed to fixed to stay relative to viewport */
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  top: 50%; /* Vertical center */
  right: 1.875rem; /* Reduced distance from right edge for better spacing */
  transform: translateY(-50%); /* Center vertically */
  z-index: 100; /* Ensure it stays on top */
}

/* Circular icons for socials */
.home-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  border: 0.125rem solid rgba(0, 255, 255, 0.5);
  background: transparent;
  font-size: 1.25rem;
  color: aqua;
  text-decoration: none;
  overflow: hidden;
  transition: 0.5s;
  position: relative; /* Keeps pseudo-elements inside button */
  box-shadow: 0 0 0.9375rem rgba(0, 255, 255, 0.3);
}

/* Hover effect for social icons */
.home-socials a:hover { 
  color: black;
  box-shadow: 0 0 1.5625rem rgba(0, 255, 255, 0.6), 0 0.3125rem 1.25rem rgba(0, 255, 255, 0.4);
  transform: translateY(-0.1875rem);
}

.home-socials a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: aqua;
  z-index: -1;
  transition: 0.5s;
}

.home-socials a:hover::before { width: 100%; }








/* ================================
  ENHANCED HOME PAGE ELEMENTS
================================ */

/* Greeting wrapper with animation */
.greeting-wrapper {
  margin-bottom: 0.9375rem;
  animation: fadeInUp 0.8s ease;
}

.greeting-text {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
}

.name-highlight {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff, #0099ff, #00ffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite, fadeInUp 1s ease;
  line-height: 1.1;
  margin: 0;
  filter: drop-shadow(0 0 1.25rem rgba(0, 255, 255, 0.6));
  position: relative;
}

.name-highlight::before {
  content: attr(class);
  position: absolute;
  top: 0;
  left: 0;
  filter: blur(0.9375rem);
  opacity: 0.5;
  z-index: -1;
}

/* Role container */
.role-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s ease;
}

.role-prefix {
  font-size: 1.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.dynamic-role {
  margin: 0;
}

.role-text {
  font-size: 1.625rem;
  font-weight: 700;
  color: aqua;
  text-shadow: 0 0 1.25rem rgba(0, 255, 255, 0.6);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

/* Description box with subtle glow */
.description-box {
  background: rgba(0, 255, 255, 0.03);
  border-left: 0.1875rem solid aqua;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.4s ease;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 255, 255, 0.1);
}

.description-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Stats container */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
  animation: fadeInUp 1.6s ease;
}

.stat-item {
  text-align: center;
  padding: 1rem 0.75rem;
  background: rgba(0, 255, 255, 0.05);
  border: 0.0625rem solid rgba(0, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-0.3125rem);
  border-color: aqua;
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 255, 255, 0.3);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: aqua;
  text-shadow: 0 0 0.9375rem rgba(0, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}

/* Enhanced buttons */
.btn-primary-home,
.btn-secondary-home {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  width: auto !important;
  min-width: 8.5rem;
  animation: fadeInUp 1.8s ease;
}

.btn-primary-home {
  background: aqua !important;
  color: black !important;
  border-color: aqua;
}

.btn-primary-home::before {
  background: white !important;
}

.btn-primary-home:hover {
  color: black !important;
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 255, 255, 0.4);
}

.btn-secondary-home:hover {
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 255, 255, 0.4);
}

.btn-primary-home i,
.btn-secondary-home i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-primary-home:hover i,
.btn-secondary-home:hover i {
  transform: translateX(0.3125rem);
}

/* Enhanced social icons with labels */
.home-socials {
  animation: fadeInSocials 2s ease-out;
}

.social-link {
  flex-direction: row !important;
  width: auto !important;
  padding: 0 1.25rem;
  gap: 0.625rem;
  border-radius: 3.125rem !important;
  animation: fadeIn 2s ease;
}

.social-label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-link:hover .social-label {
  opacity: 1;
  max-width: 6.25rem;
  margin-left: 0.3125rem;
}


/* Profile container with glow */
.profile-container {
  position: relative;
  width: 20rem;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.5s ease;
}

.profile-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.profile-image {
  position: relative;
  width: 17.5rem;
  height: 17.5rem;
  border-radius: 50%;
  border: 0.1875rem solid aqua;
  overflow: hidden;
  box-shadow: 0 0 2.5rem rgba(0, 255, 255, 0.5);
  background: rgba(27, 39, 53, 0.5);
  backdrop-filter: blur(0.625rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-placeholder {
  font-size: 6rem;
  color: aqua;
  opacity: 0.6;
}

/* Floating tech icons */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.float-icon {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.1);
  border: 0.125rem solid aqua;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: aqua;
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
  transition: all 0.3s ease;
}

.float-icon:hover {
  transform: scale(1.2);
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 1.25rem rgba(0, 255, 255, 0.5);
}

.float-icon:nth-child(1) { top: 10%; left: 10%; }
.float-icon:nth-child(2) { top: 10%; right: 10%; }
.float-icon:nth-child(3) { bottom: 10%; left: 10%; }
.float-icon:nth-child(4) { bottom: 10%; right: 10%; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInSocials {
  0% { 
    opacity: 0;
    transform: translateY(-50%) translateX(1.875rem);
  }
  100% { 
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes pulseGlow {
  0%, 100% { 
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% { 
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-0.625rem); }
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.625rem); }
}

@keyframes float {
  0% { 
    transform: translateY(0) translateX(0) rotate(0deg); 
  }
  25% { 
    transform: translateY(-0.9375rem) translateX(0.625rem) rotate(5deg); 
  }
  50% { 
    transform: translateY(-1.5625rem) translateX(0) rotate(0deg); 
  }
  75% { 
    transform: translateY(-0.9375rem) translateX(-0.625rem) rotate(-5deg); 
  }
  100% { 
    transform: translateY(0) translateX(0) rotate(0deg); 
  }
}








/* ================================
  ENHANCED HOME PAGE RESPONSIVE
================================ */
/* Large Desktop (1440px+) - Default styles work well */

/* Standard Desktop/Laptop (1024px - 1439px) */
@media screen and (max-width: 89.9375rem) {
  .header {
    padding: 1.25rem 3.75rem;
  }

  .home {
    padding: 0 8%;
  }

  .home-content {
    max-width: 34.375rem;
  }

  .home-content h1 {
    font-size: 3.375rem;
  }

  .home-content h3 {
    font-size: 2.25rem;
  }

  .home-content p {
    font-size: 1.25rem;
  }

  .profile-container {
    width: 23.75rem;
    height: 23.75rem;
  }

  .profile-image {
    width: 21.25rem;
    height: 21.25rem;
  }
}

/* Tablet/Small Laptop (768px - 1023px) */
@media screen and (max-width: 64rem) {
  .header {
    padding: 1.125rem 2.5rem;
  }

  .home {
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 7.5rem 6% 3.75rem;
    /* Ensure enough top padding for header */
  }

  .home-content {
    max-width: 100%;
    text-align: center;
  }

  .name-highlight {
    font-size: 3.5rem;
  }

  .role-prefix,
  .role-text {
    font-size: 2rem;
  }

  .description-box p {
    font-size: 1.125rem;
  }

  .stats-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9375rem;
    justify-items: center;
  }

  .btn-box {
    justify-content: center;
  }

  .profile-container {
    width: 20rem;
    height: 20rem;
  }

  .profile-image {
    width: 17.5rem;
    height: 17.5rem;
  }

  .profile-placeholder {
    font-size: 5.625rem;
  }

  .float-icon {
    width: 3.125rem;
    height: 3.125rem;
    font-size: 1.5rem;
  }
}

/* Mobile (320px - 767px) */
@media screen and (max-width: 48rem) {
  .header {
    padding: 0.9375rem 1.25rem;
  }

  .home {
    padding: 8.125rem 5% 2.5rem; /* Increased top padding for header */
    gap: 1.875rem;
  }

  .greeting-text {
    font-size: 1.25rem;
  }

  .name-highlight {
    font-size: 2.625rem;
  }

  .role-prefix,
  .role-text {
    font-size: 1.5rem;
  }

  .description-box {
    padding: 0.9375rem 1.25rem;
  }

  .description-box p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 0.9375rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .btn-box {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-home,
  .btn-secondary-home {
    width: 100%;
    max-width: 18.75rem;
    padding: 0.875rem 1.875rem;
    font-size: 1rem;
  }

  .profile-container {
    width: 15rem;
    height: 15rem;
  }

  .profile-image {
    width: 13.125rem;
    height: 13.125rem;
  }

  .profile-placeholder {
    font-size: 4.0625rem;
  }

  .float-icon {
    width: 2.375rem;
    height: 2.375rem;
    font-size: 1.125rem;
  }

  .home-socials {
    position: fixed;
    flex-direction: column;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    gap: 0.625rem;
  }

  .home-socials a {
    width: 2.625rem;
    height: 2.625rem;
    font-size: 1.125rem;
  }

  .social-label {
    display: none;
  }
}








/* -----------------------------
    Rounded corners / design tokens
   ----------------------------- */
:root{
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 62.4375rem;
  --transition-short: 180ms;
}

/* Overlay / menu */
.navbar {
  border-radius: var(--radius-lg);
  transition: opacity var(--transition-short) ease, transform var(--transition-short) ease;
}

/* Buttons */
.btn-box a {
  border-radius: var(--radius-md); /* was 8px */
  transition: background-color var(--transition-short) ease, transform var(--transition-short) ease;
}

/* Hamburger container */
.hamburger {
  border-radius: var(--radius-sm);
  padding: 0.5rem; /* increases hit area and shows rounded bg if needed */
}

.hamburger span {
  border-radius: 0.375rem; /* rounder bars */
}

/* Social icons remain circular but get a small hover lift */
.home-socials a {
  border-radius: var(--radius-pill);
  transition: transform var(--transition-short) ease;
}
.home-socials a:hover { transform: translateY(-0.1875rem); }

/* Slight rounding for header bottom edge on wide screens */
@media (min-width: 56.25rem) {
  .header {
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
  }
}








/* ================================
  ABOUT SECTION
================================ */
.about {
  min-height: 100vh;
  padding: 120px 10% 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-container {
  max-width: 1200px;
  width: 100%;
}

.about-content {
  background: rgba(27, 39, 53, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  border: 1px solid rgba(0, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Main heading */
.about-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
  text-align: center;
}

.about-content h1 span {
  color: aqua;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Subheading */
.about-content h2 {
  font-size: 32px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

/* Text content */
.about-text {
  margin-bottom: 50px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  text-align: justify;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Skills section */
.skills-section {
  margin-bottom: 50px;
}

.skills-section h3 {
  font-size: 36px;
  font-weight: 600;
  color: white;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.skills-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, aqua, transparent);
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.skill-item {
  background: rgba(0, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.skill-item:hover::before {
  left: 100%;
}

.skill-item:hover {
  transform: translateY(-5px);
  border-color: aqua;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.skill-item i {
  font-size: 48px;
  color: aqua;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s ease;
}

.skill-item:hover i {
  transform: scale(1.1) rotate(5deg);
}

.skill-item h4 {
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.skill-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* CTA section */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 40px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

.btn-primary {
  background: aqua;
  color: black;
  border: 2px solid aqua;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  z-index: -1;
  transition: left 0.4s ease;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: aqua;
  border: 2px solid aqua;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: aqua;
  z-index: -1;
  transition: width 0.4s ease;
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:hover {
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}








/* ================================
  ABOUT PAGE RESPONSIVE
================================ */
@media screen and (max-width: 768px) {
  .about {
    padding: 100px 5% 40px;
  }

  .about-content {
    padding: 40px 25px;
  }

  .about-content h1 {
    font-size: 40px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 16px;
    text-align: left;
  }

  .skills-section h3 {
    font-size: 28px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skill-item {
    padding: 25px 20px;
  }

  .skill-item i {
    font-size: 40px;
  }

  .skill-item h4 {
    font-size: 20px;
  }

  .cta-section {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}








/* ================================
  CONTACT SECTION
================================ */
.contact {
  min-height: 100vh;
  padding: 120px 10% 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-container {
  max-width: 1400px;
  width: 100%;
}

.contact-content {
  background: rgba(27, 39, 53, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  border: 1px solid rgba(0, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Contact Header */
.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h1 {
  font-size: 56px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.contact-header h1 span {
  color: aqua;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.contact-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Wrapper - Two Column Layout */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateX(5px);
  border-color: aqua;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.2);
}

.info-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 28px;
  color: aqua;
}

.info-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
}

.info-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Social Links Section */
.social-links {
  margin-top: 10px;
  padding: 25px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: var(--radius-md);
}

.social-links h3 {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  color: aqua;
  font-size: 22px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: aqua;
  z-index: -1;
  transition: width 0.3s ease;
}

.social-icons a:hover::before {
  width: 100%;
}

.social-icons a:hover {
  color: black;
  border-color: aqua;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(0, 0, 0, 0.2);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 255, 0.15);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: aqua;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.field-error {
  color: #ff4444;
  font-size: 14px;
  margin-top: -5px;
  display: block;
}

/* Submit Button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: aqua;
  color: black;
  border: 2px solid aqua;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  z-index: -1;
  transition: left 0.4s ease;
}

.submit-btn:hover::before {
  left: 0;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.submit-btn i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}








/* ================================
  CONTACT PAGE RESPONSIVE
================================ */
@media screen and (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .contact {
    padding: 100px 5% 40px;
  }

  .contact-content {
    padding: 40px 25px;
  }

  .contact-header h1 {
    font-size: 40px;
  }

  .contact-header p {
    font-size: 16px;
  }

  .contact-wrapper {
    gap: 30px;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 15px;
  }

  .submit-btn {
    width: 100%;
    padding: 14px 30px;
  }

  .info-card {
    padding: 15px;
  }

  .info-icon {
    width: 50px;
    height: 50px;
  }

  .info-icon i {
    font-size: 24px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}








/* ================================
  PROJECTS SECTION
================================ */
.projects {
  min-height: 100vh;
  padding: 120px 10% 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.projects-container {
  max-width: 1400px;
  width: 100%;
}

/* Projects Header */
.projects-header {
  text-align: center;
  margin-bottom: 50px;
}

.projects-header h1 {
  font-size: 56px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.projects-header h1 span {
  color: aqua;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.projects-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background: rgba(0, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: aqua;
  color: aqua;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: aqua;
  color: black;
  border-color: aqua;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
  animation: fadeIn 1s ease;
}

/* Project Card */
.project-card {
  background: rgba(27, 39, 53, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: aqua;
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

/* Project Image */
.project-image {
  position: relative;
  height: 250px;
  background: rgba(0, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-placeholder {
  font-size: 80px;
  color: aqua;
  opacity: 0.3;
  transition: all 0.4s ease;
}

.project-card:hover .project-placeholder {
  opacity: 0.1;
  transform: scale(1.2);
}

/* Project Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* don't block clicks when hidden */
  z-index: 1; /* ensure overlay sits above placeholder/image */
}

.project-card:hover .project-overlay {
  opacity: 1;
  pointer-events: auto; /* enable clicking links when visible */
}

.project-links {
  display: flex;
  gap: 20px;
}

.project-link {
  width: 50px;
  height: 50px;
  background: white;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  pointer-events: auto;
}

/* Make overlay actions accessible on touch devices (no hover) */
@media (hover: none) {
  .project-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

.project-link:hover {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Project Info */
.project-info {
  padding: 25px;
}

.project-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.tag {
  padding: 5px 12px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  color: aqua;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-card:hover .tag {
  background: rgba(0, 255, 255, 0.2);
  border-color: aqua;
}

.project-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
  color: aqua;
}

.project-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}








/* ================================
  PROJECTS PAGE RESPONSIVE
================================ */
@media screen and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media screen and (max-width: 768px) {
  .projects {
    padding: 100px 5% 40px;
  }

  .projects-header h1 {
    font-size: 40px;
  }

  .projects-header p {
    font-size: 16px;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-image {
    height: 200px;
  }

  .project-placeholder {
    font-size: 60px;
  }

  .project-info {
    padding: 20px;
  }

  .project-info h3 {
    font-size: 20px;
  }

  .project-info p {
    font-size: 14px;
  }
}








/* ================================
  FOOTER
================================ */
.footer {
  background: rgba(27, 39, 53, 0.9);
  backdrop-filter: blur(0.625rem);
  border-top: 0.0625rem solid rgba(0, 255, 255, 0.2);
  padding: 3.75rem 10% 1.875rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.125rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: aqua;
  margin-bottom: 0.9375rem;
  text-shadow: 0 0 0.9375rem rgba(0, 255, 255, 0.5);
}

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: aqua;
  transform: translateX(0.3125rem);
}

.footer-socials {
  display: flex;
  gap: 0.9375rem;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 2.8125rem;
  height: 2.8125rem;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.1);
  border: 0.125rem solid rgba(0, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: aqua;
  font-size: 1.375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-socials a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: aqua;
  z-index: -1;
  transition: width 0.3s ease;
}

.footer-socials a:hover::before {
  width: 100%;
}

.footer-socials a:hover {
  color: black;
  border-color: aqua;
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.3125rem 1.25rem rgba(0, 255, 255, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.875rem;
  border-top: 0.0625rem solid rgba(0, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.footer-bottom i {
  color: #ff4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
}








/* ================================
  FOOTER RESPONSIVE
================================ */
@media screen and (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 48rem) {
  .footer {
    padding: 2.5rem 5% 1.25rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.875rem;
  }

  .footer-section:first-child {
    grid-column: auto;
  }

  .footer-section h3 {
    font-size: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1.125rem;
  }

  .footer-socials a {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }

  .footer-bottom p {
    font-size: 0.8125rem;
  }
}
