/* ==== Global Styles ==== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&display=swap');

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

body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000000 100%);
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  scroll-behavior: smooth;
}

/* ==== Star Animation ==== */
/* ===== STARFIELD BACKGROUND ===== */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black; /* night sky */
  overflow: hidden;
  z-index: -1;
}

/* Individual stars */
.star {
  position: absolute;
  width: 2px;   /* 👈 give width */
  height: 2px;  /* 👈 give height */
  border-radius: 50%;
  background: white;
  opacity: 0.8;

  /* soft glow */
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8),
              0 0 12px rgba(255, 255, 255, 0.6);

  /* continuous twinkling */
  animation: twinkle 2s ease-in-out infinite;
}


/* Twinkling animation */
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.5); }
}



/*=========================================
==================HEADER===================
=========================================*/
/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 25, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 255, 255, 0.2);
}

.navbar {
  max-width: 1200px;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: cyan;
  text-shadow: 0 0 10px cyan, 0 0 20px blue;
}

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

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
  text-shadow: 0 0 5px rgba(0,255,255,0.6);
}

.nav-links li a:hover {
  color: cyan;
  text-shadow: 0 0 10px cyan, 0 0 20px blue;
}

/* Push content below header */
body {
  padding-top: 70px;
}















/*=========================================
============Hero Section===================
=========================================*/
/* ==== Space Container & Astronaut ==== */
.space-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden; /* keeps glow/animation inside */
}

.astronaut {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 55vw;
  object-fit: cover;
  z-index: 1;

  /* fade astronaut into space */
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);

  mix-blend-mode: lighten;
  opacity: 0.95;

  /* glowing effect */
  filter: brightness(1.1) contrast(1.15)
          drop-shadow(0 0 30px rgba(0, 255, 255, 0.2))
          drop-shadow(0 0 60px rgba(0, 255, 255, 0.15));

  transition: transform 0.4s ease, filter 0.4s ease;
  animation: floatAstronaut 6s ease-in-out infinite;
}

/* vignette fade edges */
.space-container::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 50%, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

/* ==== Orbit & Profile ==== */
.orbit-container {
  position: absolute;
  top: 368px;
  right: 40px;
  width: 500px;
  height: 500px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 12;
}

.profile-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid #4af7ff;
  box-shadow: 0 0 20px #4af7ff;
  object-fit: cover;
  animation: rotateImg 10s linear infinite;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 12;
}

.img:hover {
  transform: translate(-50%, -50%) scale(1.2);
  animation-play-state: paused;
  box-shadow: 0 0 30px #7f00ff, 0 0 60px #7f00ff, 
              0 0 90px #00f0ff, 0 0 120px #8f00ff, 
              inset 0 0 40px #4400ff;
  height: 300px;
  width: 300px;
}

@keyframes rotateImg {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.moon-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: orbitMoon 6s linear infinite;
  z-index: 12;
}

.moon {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 20px white;
}

@keyframes orbitMoon {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.img:hover ~ .moon-orbit {
  animation-play-state: paused;
}

/* ==== Headline ==== */
h1 {
  position: absolute;
  top: 184px;
  left: 50%;
  transform: translateX(-50%);
  
  background: rgba(11, 12, 16, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #00f0ff;
  text-align: center;
  font-size: 2.7rem;
  font-style: oblique;
  text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
  padding: 1rem 2rem;
  border-radius: 10px;
  width: fit-content;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
  white-space: nowrap;
}

h1:hover {
  transform: translateX(-50%) scale(1.03);
  box-shadow: 0 0 18px #00f0ff, 0 0 35px #00f0ff;
  z-index: 5;
}

/* ==== Buttons ==== */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  top: -40px;
  z-index: 5;
}

.btn {
  background-color: antiquewhite;
  color: darkslategray;
  font-size: 1.4rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ffccff, 0 0 20px #ff99ff;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  background-color: #ff99ff;
  color: black;
  transform: scale(1.07);
  box-shadow: 0 0 14px #ff99ff, 0 0 25px #ff66cc;
}

/* ==== Text Group ==== */
.text-group {
  position: absolute;
  top: 500px;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
}

.tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: #a9d6ff;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.tg {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: #c6b6ff;
  letter-spacing: 2px;
}

/* ==== Paragraphs ==== */
p {
  font-family: 'Orbitron', 'Trebuchet MS', sans-serif;
  font-weight: 300;
  text-align: start;
  color: #d6e2ff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(173, 216, 255, 0.7),
               0 0 16px rgba(100, 149, 237, 0.5);
}

/* ======================
   📱 RESPONSIVENESS
   ====================== */

/* Tablets */
@media screen and (max-width: 1024px) {
  .astronaut {
    width: 70vw;
    opacity: 0.9;
  }
  .orbit-container {
    width: 400px;
    height: 400px;
  }
  .img {
    width: 200px;
    height: 200px;
  }
  .moon {
    width: 60px;
    height: 60px;
  }
  h1 {
    font-size: 2.2rem;
  }
  .btn {
    font-size: 1.2rem;
    padding: 12px 24px;
  }
  .tagline, .tg {
    font-size: 1.2rem;
  }
}

/* Mobiles */
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
  }

  .orbit-container {
    display: none; /* hide orbit to save space */
  }

  .space-container {
    padding-left: 0;
    justify-content: center;
  }

  .astronaut {
    height: auto;
    max-width: 90vw;
    width: auto;
  }

  h1 {
    font-size: 1.8rem;
    top: 120px;
    padding: 0.8rem 1.5rem;
  }

  .btn-group {
    flex-direction: column;
    gap: 12px;
    top: -20px;
  }

  .btn {
    font-size: 1.1rem;
    padding: 10px 20px;
  }

  .tagline, .tg {
    font-size: 1rem;
  }

  .text-group {
    top: 420px;
  }
}

/* Very Small Mobiles */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
    top: 100px;
  }
  .btn {
    font-size: 1rem;
    padding: 8px 16px;
  }
  .tagline, .tg {
    font-size: 0.9rem;
  }
}


/* Neon Button */
/* =========================
   ✨ Neon Button Styling
   ========================= */
.btn {
  display: block;
  background-color: antiquewhite;
  color: darkslategray;
  text-align: center;
  font-size: 1.4rem;
  text-decoration: none;
  margin: 30px auto;
  padding: 15px 30px;
  width: fit-content;
  border-radius: 10px;
  box-shadow: 0 0 10px #ffccff, 0 0 20px #ff99ff;
  transition: all 0.3s ease-in-out;
  z-index: 5;
}

.btn:hover {
  background-color: #ff99ff;
  color: black;
  transform: scale(1.07);
  box-shadow: 0 0 14px #ff99ff, 0 0 25px #ff66cc;
}

















/*=========================================
============About Section==================
=========================================*/
/* ===== About Me Section ===== */
.about-me {
  position: relative;
  background: transparent; /* merges with starry bg */
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: glowPulse 4s ease-in-out infinite alternate; /* soft breathing glow */
}

.about-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* keeps it behind text & comets */
  overflow: hidden; /* stops image overflow */
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills space without distortion */
  filter: brightness(0.7); /* adjust for visibility of text */
}


/* Soft cosmic aura */
.about-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(108, 99, 255, 0.4);
}

.about-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.35), rgba(255, 99, 255, 0.2), transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(80px);
  animation: auraMove 12s ease-in-out infinite alternate;
  z-index: -1;
}

/* Paragraph Styling */
.para {
  max-width: 900px;
  color: #cce7ff;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  margin-bottom: 2.5rem;
  animation: fadeIn 1.5s ease-in-out;
}

/* ===== Resume Styling ===== */
.resume {
  display: inline-block;
  padding: 10px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 40px;
  border: 2px solid rgba(0, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4),
              0 0 25px rgba(0, 255, 255, 0.2) inset;
  transition: all 0.3s ease;
  text-align: center;
}

.resume:hover {
  color: #00f0ff;
  border-color: #00f0ff;
  box-shadow: 0 0 18px #00f0ff,
              0 0 35px #00f0ff inset;
  transform: scale(1.07);
}


/* ===== Comet Styling ===== */
.comet1, .comet2, .comet3, .comet4 {
  position: absolute;
  width: 40px; /* smaller comet */
  height: auto;
  filter: drop-shadow(0 0 6px white) drop-shadow(0 0 12px #00f0ff);
}

/* Comet 1 - top-left to bottom-right */
.comet1 {
  top: -50px;
  left: -80px;
  animation: cometMove1 3s linear infinite;
}
@keyframes cometMove1 {
  0% { transform: translate(0, 0) rotate(45deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(800px, 400px) rotate(45deg); opacity: 0; }
}

/* Comet 2 - top-right to bottom-left */
.comet2 {
  top: -50px;
  right: -80px;
  animation: cometMove2 3s linear infinite;
  animation-delay: 1s;
}
@keyframes cometMove2 {
  0% { transform: translate(0, 0) rotate(-45deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(-800px, 400px) rotate(-45deg); opacity: 0; }
}

/* Comet 3 - bottom-left to top-right */
.comet3 {
  bottom: -50px;
  left: -80px;
  animation: cometMove3 3s linear infinite;
  animation-delay: 2s;
}
@keyframes cometMove3 {
  0% { transform: translate(0, 0) rotate(-45deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(800px, -400px) rotate(-45deg); opacity: 0; }
}

/* Comet 4 - bottom-right to center */
.comet4 {
  bottom: -50px;
  right: -80px;
  animation: cometMove4 3s linear infinite;
  animation-delay: 1.5s;
}
@keyframes cometMove4 {
  0% { transform: translate(0, 0) rotate(135deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(-400px, -200px) rotate(135deg); opacity: 0; }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes auraMove {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 5px #00e5ff, 0 0 10px #00e5ff, 0 0 20px #8a2be2; }
  100% { text-shadow: 0 0 10px #00e5ff, 0 0 20px #00e5ff, 0 0 40px #8a2be2; }
}

@keyframes buttonGlow {
  0% { box-shadow: 0 0 5px #00e5ff, 0 0 10px #00e5ff, 0 0 20px #8a2be2; }
  100% { box-shadow: 0 0 15px #00e5ff, 0 0 30px #8a2be2; }
}















/*=========================================
============Skills Section=================
=========================================*/
/* Space-themed typing H2 */
.skills-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-align: center;
  margin: 50px auto;
  display: inline-block;

  /* Futuristic gradient text */
  background: linear-gradient(90deg, #00f7ff, #48eaff, #00c3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;

  /* Constant subtle glow animation */
  animation: pulseGlow 3s infinite alternate;
}


/* Hover Glow (stronger, static) */
.skills-heading:hover {
  animation-play-state: paused; /* stop pulsing when hovered */
  text-shadow:
    0 0 12px rgba(0, 247, 255, 0.8),
    0 0 25px rgba(0, 247, 255, 0.6),
    0 0 50px rgba(0, 247, 255, 0.4);
  letter-spacing: 8px;
}

/* Shimmer stripe (constant animation) */
.skills-heading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shimmerLoop 6s linear infinite;
}

/* Pause shimmer on hover */
.skills-heading:hover::after {
  animation-play-state: paused;
}

/* Keyframes */
@keyframes shimmerLoop {
  0% { left: -150%; }
  100% { left: 150%; }
}

@keyframes pulseGlow {
  0% {
    text-shadow: 
      0 0 5px rgba(0, 247, 255, 0.4),
      0 0 10px rgba(0, 247, 255, 0.2);
  }
  100% {
    text-shadow: 
      0 0 15px rgba(0, 247, 255, 0.9),
      0 0 30px rgba(0, 247, 255, 0.6),
      0 0 50px rgba(0, 247, 255, 0.4);
  }
}




.skills-section {
  padding: 50px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  background: transparent; /* nebula or stars will be behind */
  position: relative;
  z-index: 2;
  text-align: center;
}



/* ===== ORBIT SECTION ===== */
.orbit-section {
position: relative;
width: 800px;
height: 800px;
margin: 0 auto;
}

/* ===== SUN ===== */
.sun {
position: absolute;
top: 50%;
left: 50%;
width: 140px;
height: 140px;
background: radial-gradient(circle, #fff5a3, #ff8800, #ff4500);
border-radius: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 80px rgba(255, 180, 0, 0.9),
0 0 150px rgba(255, 120, 0, 0.8);
animation: sunPulse 4s infinite alternate ease-in-out;
z-index: 10;
}

/* ===== ORBIT RINGS (bright neon lines) ===== */
.orbit {
position: absolute;
top: 50%;
left: 50%;
border: 2px solid transparent;
border-radius: 50%;
transform: translate(-50%, -50%);
animation: spin linear infinite;
box-shadow: 0 0 12px rgba(0, 255, 255, 0.6), inset 0 0 12px rgba(255, 0, 255, 0.4);
background: radial-gradient(circle, transparent 95%, rgba(0,255,255,0.3) 100%);
}

/* Orbit sizes & speeds */
.orbit1 { width: 160px; height: 160px; animation-duration: 8s; }
.orbit2 { width: 220px; height: 220px; animation-duration: 10s; }
.orbit3 { width: 280px; height: 280px; animation-duration: 12s; }
.orbit4 { width: 340px; height: 340px; animation-duration: 14s; }
.orbit5 { width: 400px; height: 400px; animation-duration: 16s; }
.orbit6 { width: 460px; height: 460px; animation-duration: 18s; }
.orbit7 { width: 520px; height: 520px; animation-duration: 20s; }
.orbit8 { width: 580px; height: 580px; animation-duration: 22s; }
.orbit9 { width: 640px; height: 640px; animation-duration: 24s; }
.orbit10 { width: 700px; height: 700px; animation-duration: 26s; }
.orbit11 { width: 760px; height: 760px; animation-duration: 28s; }

/* ===== PLANET CONTAINERS ===== */
.planet-container {
position: absolute;
top: 50%;
left: 100%;
transform: translate(-50%, -50%);
animation: counter-rotate linear infinite;
}

.planet1 { animation-duration: 8s; }
.planet2 { animation-duration: 10s; }
.planet3 { animation-duration: 12s; }
.planet4 { animation-duration: 14s; }
.planet5 { animation-duration: 16s; }
.planet6 { animation-duration: 18s; }
.planet7 { animation-duration: 20s; }
.planet8 { animation-duration: 22s; }
.planet9 { animation-duration: 24s; }
.planet10 { animation-duration: 26s; }
.planet11 { animation-duration: 28s; }

/* ===== PLANETS (icons with glow) ===== */
.planet-container img {
width: 70px;
height: 70px;
border-radius: 50%;
background: #000;
padding: 6px;
box-shadow: 0 0 20px rgba(0, 255, 255, 0.8),
0 0 40px rgba(255, 0, 255, 0.6);
transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.planet-container img:hover {
transform: scale(1.2);
box-shadow: 0 0 30px rgba(255, 255, 255, 1),
0 0 60px rgba(0, 255, 255, 0.8),
0 0 80px rgba(255, 0, 255, 0.6);
}

/* ===== BACKGROUND FLOATING ORBS ===== */
body::before,
body::after {
content: "";
position: absolute;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(255,0,255,0.4) 0%, transparent 70%);
filter: blur(80px);
animation: floatOrb 12s infinite ease-in-out;
z-index: 0;
}

body::before {
top: -50px;
left: -100px;
}

body::after {
bottom: -50px;
right: -100px;
animation-delay: 6s;
}

/* ===== ANIMATIONS ===== */
@keyframes spin {
from { transform: translate(-50%, -50%) rotate(0deg); }
to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counter-rotate {
from { transform: translate(-50%, -50%) rotate(0deg); }
to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes floatOrb {
0%, 100% { transform: translateY(0) translateX(0); }
50% { transform: translateY(40px) translateX(25px); }
}

@keyframes sunPulse {
0% { box-shadow: 0 0 60px rgba(255, 200, 0, 0.9), 0 0 100px rgba(255, 120, 0, 0.7); }
100% { box-shadow: 0 0 100px rgba(255, 255, 120, 1), 0 0 180px rgba(255, 150, 0, 0.9); }
}




/* 🌌 Skills Section Wrapper */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  justify-items: center;
}

/* 🪐 Skill Card Container */
.skill-card {
  background: radial-gradient(circle at top left, rgba(0, 20, 40, 0.95), rgba(0, 0, 0, 0.85));
  border-radius: 18px;
  padding: 25px 20px;
  text-align: center;
  min-height: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 2px solid rgba(0, 247, 255, 0.6);
  box-shadow: 
    0 0 20px rgba(0, 247, 255, 0.3),
    0 0 40px rgba(255, 0, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* 🌠 Floating star sparkles inside cards */
.skill-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  animation: driftStars 40s linear infinite;
}

@keyframes driftStars {
  from { transform: translate(0, 0); }
  to { transform: translate(-100px, -100px); }
}

/* 🌟 Hover effect: glow, lift, and cosmic border */
.skill-card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 
    0 0 30px rgba(0, 247, 255, 0.7),
    0 0 60px rgba(255, 0, 255, 0.5),
    0 0 100px rgba(0, 150, 255, 0.4);
  border-color: magenta;
}

/* 🚀 Card Headings */
.skill-card h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #00f7ff;
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.6);
  letter-spacing: 2px;
  position: relative;
}

/* 🌌 Skills container inside each card */
.skill-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* 🔮 Individual Skill Pills */
.skill {
  background: rgba(0, 247, 255, 0.1);
  border: 1px solid rgba(0, 247, 255, 0.4);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 247, 255, 0.3);
}

/* ✨ Skill Hover Effect */
.skill:hover {
  background: rgba(255, 0, 255, 0.2);
  border-color: magenta;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
  transform: scale(1.1);
}
















/*===================================
=============PROJECTS================
===================================*/
/* ==== Nebula Background – Glowing & Balanced ==== */
.nebula {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.8; /* stronger than before for visibility */
  mix-blend-mode: lighten; /* makes colors shine over dark bg */
}

/* === Glowing Blobs === */
.nebula-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(255, 80, 180, 0.35) 0%,
    rgba(255, 80, 180, 0.15) 40%,
    transparent 80%);
  filter: blur(160px) brightness(1.3);
  animation: floatBlob 30s ease-in-out infinite;
  mix-blend-mode: screen;
  transform-origin: center;
}

/* === Variant Colors & Placements === */
.nebula-blob:nth-child(2) {
  background: radial-gradient(circle at center,
    rgba(0, 255, 255, 0.35) 0%,
    rgba(0, 255, 255, 0.15) 40%,
    transparent 80%);
  top: 40%;
  left: 65%;
  animation-delay: 10s;
  animation-duration: 35s;
}

.nebula-blob:nth-child(3) {
  background: radial-gradient(circle at center,
    rgba(170, 100, 255, 0.35) 0%,
    rgba(170, 100, 255, 0.15) 40%,
    transparent 80%);
  top: 70%;
  left: 15%;
  animation-delay: 18s;
  animation-duration: 40s;
}

/* === Floating Motion – Smooth, Space-Like Drift === */
@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(80px, -60px) scale(1.2) rotate(20deg);
  }
  66% {
    transform: translate(-60px, 70px) scale(1.1) rotate(-15deg);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* ==== Constellation Background for Projects ==== */
.constellation-container {
  position: absolute;
  inset: 0; /* shorthand for top/left/right/bottom = 0 */
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2; /* sits above nebula but behind content */
  pointer-events: none; /* prevents blocking clicks */
}

/* === Image Styling === */
.constellation {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25; /* slightly brighter for visibility */
  filter: blur(3px) brightness(0.9) contrast(1.1);
  transform: scale(1.05);
  animation: constellationDrift 50s ease-in-out infinite alternate;
  transition: opacity 1s ease, filter 1s ease;
  mix-blend-mode: screen; /* blends softly with nebula lights */
}

/* === Gentle Floating Motion === */
@keyframes constellationDrift {
  0% {
    transform: scale(1.05) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(-25px, -15px);
  }
  100% {
    transform: scale(1.1) translate(20px, 10px);
  }
}

/* === Subtle Twinkle Overlay === */
.constellation-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at random, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  opacity: 0.4;
  animation: twinkleStars 6s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* === Twinkle Animation === */
@keyframes twinkleStars {
  0% { opacity: 0.2; filter: brightness(0.9); }
  50% { opacity: 0.5; filter: brightness(1.3); }
  100% { opacity: 0.2; filter: brightness(0.9); }
}

/* ==== PROJECTS SECTION MASTER STYLE ==== */
/* ==== Projects Section ==== */
.projects-section {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}

/* ==== Heading ==== */
.projects-heading {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(270deg, #00f0ff, #ff00e6, #7a00ff, #00f0ff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headingGlow 6s linear infinite;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease;
}

.projects-heading:hover {
  animation-play-state: paused;
  transform: scale(1.08);
}

@keyframes headingGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==== Project Grid ==== */
.project-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 0 1rem;
}

/* ==== Project Cards ==== */
.project-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.8s ease forwards;
}

.project-card:nth-child(n) {
  animation-delay: calc(0.1s * var(--i, 1));
}

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

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(120deg, #00f0ff, #ff00e6, #7a00ff);
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderFlow 5s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

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

.project-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.5),
              0 0 80px rgba(255, 0, 255, 0.15);
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.project-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ff00e6, #00f0ff, #7a00ff);
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 1.5s ease;
}

.project-card:hover h3 {
  background-position: 100% 0;
}

.project-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ==== Project Links ==== */
.project-card a {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #00f0ff;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.25);
}

.project-card a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #00f0ff, #ff00e6, #7a00ff);
  background-size: 250% 250%;
  border-color: transparent;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.45),
              0 0 55px rgba(0, 255, 255, 0.4);
  animation: buttonGlow 3s linear infinite;
}

@keyframes buttonGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .projects-heading {
    font-size: 2.3rem;
  }
  .project-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .project-card h3 {
    font-size: 1.4rem;
  }
  .project-card p {
    font-size: 0.9rem;
  }
  .projects-section {
    padding: 4rem 1.2rem;
  }
}
















/*========================================
=============EDUCATION====================
========================================*/
:root{
  --bg-deep: #000000;
  --bg-sky:  #0d1b2a;
  --accent:  #80d0ff;   /* cyan-blue */
  --accent-2:#8ab4ff;   /* lighter cyan */
  --text:    #ffffff;
  --muted:   #cfd8dc;
  --warn:    #ffcc00;   /* for highlights like Percentage/Project */
  --card-border: rgba(0, 200, 255, 0.35);
  --card-glow:   rgba(0, 200, 255, 0.55);
  --card-min-h:  460px; /* equal height baseline for cards */
}

/* ==== Education Heading ==== */
.education-heading {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  text-align: center;
  margin: 2.25rem auto 1.75rem;
  position: relative;
  cursor: pointer;
  display: inline-block; /* keeps the gradient only on text */
  
  /* animated gradient text */
  background-image: linear-gradient(
    270deg,
    #7f7fff,
    var(--accent),
    #cfd9ff,
    #ff9de2,
    #7f7fff
  );
  background-size: 400% 400%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 8s linear infinite;

  /* subtle base glow */
  text-shadow: 0 0 6px rgba(128, 208, 255, 0.35);
  transition: all 0.4s ease;
}

/* on hover: stop gradient animation, solid accent color + glow */
.education-heading:hover {
  animation-play-state: paused;
  background: none;
  -webkit-text-fill-color: var(--accent);
  text-shadow: 0 0 10px var(--accent),
               0 0 25px var(--accent),
               0 0 40px var(--accent);
  transform: scale(1.03);
}

/* shooting streak */
.education-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -50%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: translateY(-50%);
}

.education-heading:hover::after {
  opacity: 1;
  animation: shooting-heading 1.4s ease forwards;
}

/* === Keyframes === */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shooting-heading {
  0% { left: -50%; opacity: 0; }
  30% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}





/* ==== Education Section Container ==== */
/* Cards live on a single horizontal line with gentle horizontal scroll on small screens */
.education{
  position: relative;
  text-align: center;
  padding: 4.5rem 1.25rem 3.5rem;
  color: #fff;
  background: transparent;
  z-index: 1;

  white-space: nowrap;    /* keep cards on one line */
  overflow-x: auto;       /* allow horizontal scroll when needed */
  overflow-y: visible;
  scrollbar-width: thin;
}
.education::-webkit-scrollbar{ height:10px; }
.education::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.05); border-radius: 10px;
}
.education::-webkit-scrollbar-thumb{
  background: rgba(128,208,255,0.35); border-radius: 10px;
}

/* Orbit rings behind the section */
.education::before,
.education::after{
  content:"";
  position:absolute;
  top:50%; left:50%;
  border:2px solid rgba(138,180,255,0.4);
  border-radius:50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin 20s linear infinite;
  z-index:0;
  pointer-events:none;
}
.education::before{ width:420px; height:420px; }
.education::after { width:640px; height:640px; animation-duration: 34s; }
@keyframes orbit-spin{ to{ transform: translate(-50%, -50%) rotate(360deg);} }

/* If you still use .edu-entry anywhere */
.edu-entry{ position:relative; z-index:1; margin:2rem 0; font-size:1.05rem; }
.edu-entry h3{ color: var(--accent-2); margin-bottom:.5rem; }

/* ==== Education Cards ==== */
.edu-item{
  /* visual */
  background: rgba(0, 20, 50, 0.68);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.32);
  transition: transform .3s ease, box-shadow .3s ease;
  backdrop-filter: blur(4px);

  /* sizing / layout */
  width: 100%;
  max-width: 320px;
  min-width: 280px;
  min-height: var(--card-min-h);

  display: inline-flex;      /* single-line with white-space:nowrap on parent */
  vertical-align: top;
  white-space: normal;       /* allow wrapping inside */
  margin: 1rem;
  padding: 2rem;
  text-align: center;

  /* vertical centering of contents */
  flex-direction: column;
  justify-content: center;   /* centers block vertically */
  align-items: center;
  gap: .65rem;               /* breathing room between text rows */

  position: relative;
  overflow: hidden;
  z-index: 1;
}
.edu-item:hover{
  transform: translateY(-8px);
  box-shadow: 0 0 28px var(--card-glow);
}

/* animated thin trail along top edge */
.edu-item::before{
  content:"";
  position:absolute; top:0; left:-50%;
  width:200%; height:4px;
  background: linear-gradient(90deg, transparent, #4cc9f0, transparent);
  animation: shooting-card 3s linear infinite;
  pointer-events:none;
}
@keyframes shooting-card{
  0%{ transform: translateX(-100%); opacity:0 }
  30%,70%{ opacity:1 }
  100%{ transform: translateX(100%); opacity:0 }
}

/* ----- Typography inside card ----- */
.edu-item .degree{
  font-size: 1.25rem;
  font-weight: 800;
  color: #90e0ef;
  letter-spacing: .5px;
  margin-bottom: .25rem;
}

.edu-item .institute{
  font-size: 1.02rem;
  color: var(--accent-2);            /* school name stands out in cyan/blue */
  text-shadow: 0 0 6px rgba(128,208,255,.2);
}

.edu-item .duration{
  font-size: .98rem;
  color: #d6e0f0;
  opacity: .95;
  margin-bottom: .15rem;
}

.edu-item .score{
  font-size: 1rem;
  color: var(--warn);                /* highlight Percentage in warm yellow */
  text-shadow: 0 0 6px rgba(255,204,0,.25);
  margin-top: .25rem;
}

.edu-item .highlights,
.edu-item p{
  color: var(--muted);
  line-height: 1.6;                  /* extra readability */
  margin-bottom: .35rem;
}

.edu-item h3{
  color: #00e0ff;
  margin-bottom: .65rem;
  font-size: 1.15rem;
}

.edu-item strong{ color: var(--warn); }

/* === Nebula Glow Behind Cards === */
.education-section{ position: relative; z-index:1; }
.education-section::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,180,255,.15), transparent 70%),
    radial-gradient(circle at 70% 60%, rgba(255,0,150,.12), transparent 70%),
    radial-gradient(circle at 50% 80%, rgba(255,200,50,.10), transparent 80%);
  z-index:-1; filter: blur(40px);
  animation: nebulaFloat 20s ease-in-out infinite alternate;
}
@keyframes nebulaFloat{
  0%{ transform: scale(1) translate(0,0) }
  50%{ transform: scale(1.05) translate(10px,-10px) }
  100%{ transform: scale(1) translate(-10px,10px) }
}

/* ==== Accessibility: reduced motion ==== */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* ==== Small screens tweaks ==== */
@media (max-width: 420px){
  .edu-item{ min-width: 260px; padding: 1.5rem; }
  .edu-item .degree{ font-size: 1.1rem; }
  .education-heading{ margin-bottom: 1.25rem; }
}
























/*========================================
=============EXPERIENCE===================
========================================*/
/* ==== Space-Themed Experience Heading ==== */
.experience-heading {
  position: relative;
  display: inline-block;
  margin: 2rem auto;
  padding: 0.5rem 2rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #00ffee;
  text-align: center;
  text-shadow:
    0 0 8px rgba(0,255,255,0.8),
    0 0 20px rgba(0,255,255,0.6),
    0 0 40px rgba(0,255,255,0.4);
  overflow: hidden;
  border: 2px solid rgba(0,255,255,0.4);
  border-radius: 8px;
  background: radial-gradient(circle at center, rgba(0,255,255,0.1) 0%, transparent 80%);
  animation: pulseGlow 3s infinite ease-in-out;
}

/* === Animated light sweep across heading === */
.experience-heading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0,255,255,0.2) 50%,
    transparent 100%
  );
  animation: lightSweep 5s infinite linear;
}

/* === Animated star flickers behind heading === */
.experience-heading::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 120%;
  height: 160%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(0,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(0,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(0,255,255,0.6), transparent),
    radial-gradient(1px 1px at 10% 90%, rgba(0,255,255,0.3), transparent);
  animation: starFlicker 6s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
}

/* === Hover effect: freeze all animations, enhance glow === */
.experience-heading:hover {
  animation-play-state: paused;
  color: #00ffff;
  text-shadow:
    0 0 10px #00ffff,
    0 0 30px #00ffff,
    0 0 60px #00ffff;
  border-color: #00ffff;
}
.experience-heading:hover::before,
.experience-heading:hover::after {
  animation-play-state: paused;
}

/* === Animations === */
@keyframes pulseGlow {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(0,255,255,0.8),
      0 0 20px rgba(0,255,255,0.6),
      0 0 40px rgba(0,255,255,0.4);
  }
  50% {
    text-shadow:
      0 0 15px rgba(0,255,255,1),
      0 0 35px rgba(0,255,255,0.8),
      0 0 60px rgba(0,255,255,0.6);
  }
}

@keyframes lightSweep {
  0% { left: -100%; opacity: 0; }
  30% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

@keyframes starFlicker {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}



/* ==== Experience Section ==== */
.experience-section {
  position: relative;
  margin: 60px auto;
  max-width: 1000px;
  padding: 80px 20px;
  background: radial-gradient(circle at top, #0d1b2a, #000814);
  color: #e0e0e0;
  text-align: center;
  overflow: hidden;
  border-radius: 12px;
}

/* Full-cover image inside section */
.experience-section img.experience {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25; /* makes text/cards readable */
}

/* vertical glowing timeline line */
.experience-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, cyan, violet);
  border-radius: 2px;
  opacity: 0.7;
  z-index: 1; /* stays above bg image */
  box-shadow: 0 0 12px cyan, 0 0 20px cyan;
}

/* ==== Experience Cards ==== */
.experience-card {
  position: relative;
  width: 45%;
  background: rgba(13, 27, 42, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 40px 0;
  color: #e6f1ff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  z-index: 2; /* above bg & line */
}

/* alternating alignment */
.experience-card:nth-child(odd) {
  left: 0;
  text-align: right;
}
.experience-card:nth-child(even) {
  left: 55%;
  text-align: left;
}

/* glowing milestone dot */
.experience-card::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 18px;
  height: 18px;
  background: cyan;
  border-radius: 50%;
  box-shadow: 0 0 12px cyan, 0 0 25px cyan;
  z-index: 3;
}
.experience-card:nth-child(odd)::before {
  right: -54px;
}
.experience-card:nth-child(even)::before {
  left: -54px;
}

/* hover effect */
.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.35);
  border-color: rgba(0, 255, 255, 0.6);
}

/* ==== Text Styling ==== */
.experience-card h1,
.experience-card h3 {
  font-size: 1.4rem;
  color: #00ffff;
  margin-bottom: 6px;
}
.experience-card .company {
  font-size: 1.1rem;
  font-weight: 600;
  color: #9ad4ff;
}
.experience-card .date {
  font-size: 0.95rem;
  color: #a1a1a1;
  margin-bottom: 12px;
  font-style: italic;
  display: block;
}
.experience-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #dbeafe;
}

/* ==== Responsive Timeline ==== */
@media (max-width: 768px) {
  .experience-section::before {
    left: 20px;
  }
  .experience-card {
    width: 90%;
    left: 40px !important;
    text-align: left !important;
  }
  .experience-card::before {
    left: -38px !important;
    right: auto !important;
  }
}

.experience-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0d1b2a, #000814, #1a1a40, #4a148c);
  background-size: 300% 300%;
  animation: nebula 20s ease infinite;
  color: #e0e0e0;
  text-align: center;
  position: relative;
}

@keyframes nebula {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
















/*====================================
=============CONTACT==================
====================================*/
.contact-section {
  position: relative;
  width: 100%;
  min-height: 100vh;   /* section covers full viewport height */
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertically */
  align-items: center;     /* center horizontally */
  text-align: center;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  /* Background: cosmic gradient (fallback under image) */
  background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000000 100%);
  overflow: hidden;
}

/* Tiny glowing stars (above image, behind content) */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent url("https://www.transparenttextures.com/patterns/stardust.png") repeat;
  opacity: 0.15;     /* subtle effect */
  animation: twinkle 8s linear infinite;
  pointer-events: none; /* stars don't block form */
  z-index: 1;        /* between image and content */
}

@keyframes twinkle {
  from { opacity: 0.15; }
  50%  { opacity: 0.25; }
  to   { opacity: 0.15; }
}

/* ============================
   CONTACT IMAGE BACKGROUND
   ============================ */
.contact-container {
  position: absolute;
  inset: 0;                /* covers full section */
  z-index: 0;              /* very back */
  overflow: hidden;        /* crop overflow */
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* full cover without stretching */
  object-position: center; /* keep center focal point */
  display: block;

  /* Visual tuning */
  filter: brightness(0.55) contrast(1.15) saturate(1.1); /* readable + vivid */
  transform: scale(1.05);  /* subtle zoom for cinematic feel */
}

/* ============================
   CONTACT HEADINGS
   ============================ */
.contact-heading {
  font-family: 'Orbitron', sans-serif; /* futuristic vibe */
  font-size: clamp(2rem, 5vw, 3.5rem); /* responsive scaling */
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  top: -175px;

  /* Subtle glowing outline */
  text-shadow: 
    0 0 10px rgba(0, 191, 255, 0.6),
    0 0 20px rgba(0, 191, 255, 0.4);

  margin-bottom: 1rem;
  transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;  /* above stars & image */
}

.contact-heading:hover {
  color: #00bfff;  /* cyan glow color */
  text-shadow: 
    0 0 15px rgba(0, 191, 255, 0.9),
    0 0 35px rgba(0, 191, 255, 0.6),
    0 0 50px rgba(0, 191, 255, 0.4);
  transform: scale(1.05);
}

/* Supporting paragraph */
.contact-section p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: #e0e0e0;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;  /* above stars & image */
  top: 50px;
}

.contact-section p:hover {
  color: #ffffff;
}

/* ============================
   CONTACT FORM
   ============================ */
.contact-section {
  position: relative;
  width: 100%;
  min-height: 100vh;   /* section covers full viewport height */
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertically */
  align-items: center;     /* center horizontally */
  text-align: center;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  /* Background: cosmic gradient (fallback under image) */
  background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000000 100%);
  overflow: hidden;
}

/* Tiny glowing stars (above image, behind content) */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent url("https://www.transparenttextures.com/patterns/stardust.png") repeat;
  opacity: 0.15;     /* subtle effect */
  animation: twinkle 8s linear infinite;
  pointer-events: none; /* stars don't block form */
  z-index: 1;        /* between image and content */
}

@keyframes twinkle {
  from { opacity: 0.15; }
  50%  { opacity: 0.25; }
  to   { opacity: 0.15; }
}

/* ============================
   CONTACT IMAGE BACKGROUND
   ============================ */
.contact-container {
  position: absolute;
  inset: 0;                /* covers full section */
  z-index: 0;              /* very back */
  overflow: hidden;        /* crop overflow */
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* full cover without stretching */
  object-position: center; /* keep center focal point */
  display: block;

  /* Visual tuning */
  filter: brightness(0.55) contrast(1.15) saturate(1.1); /* readable + vivid */
  transform: scale(1.05);  /* subtle zoom for cinematic feel */
}

/* ============================
   CONTACT HEADINGS
   ============================ */
.contact-heading {
  font-family: 'Orbitron', sans-serif; /* futuristic vibe */
  font-size: clamp(2rem, 5vw, 3.5rem); /* responsive scaling */
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  top: -175px;

  /* Subtle glowing outline */
  text-shadow: 
    0 0 10px rgba(0, 191, 255, 0.6),
    0 0 20px rgba(0, 191, 255, 0.4);

  margin-bottom: 1rem;
  transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;  /* above stars & image */
}

.contact-heading:hover {
  color: #00bfff;  /* cyan glow color */
  text-shadow: 
    0 0 15px rgba(0, 191, 255, 0.9),
    0 0 35px rgba(0, 191, 255, 0.6),
    0 0 50px rgba(0, 191, 255, 0.4);
  transform: scale(1.05);
}

/* Supporting paragraph */
.contact-section p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: #e0e0e0;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;  /* above stars & image */
  top: 79px;
}

.contact-section p:hover {
  color: #ffffff;
}

/* ============================
   CONTACT FORM
   ============================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.55); /* semi-transparent bg */
  border-radius: 1rem;
  backdrop-filter: blur(6px); /* glassmorphism effect */
  position: relative;
  z-index: 2; /* above stars & image */
  top: -77px;
}

/* Labels */
.contact-form label {
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: #00bfff;
  letter-spacing: 1px;
}

/* Inputs & Textarea */
.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #00bfff;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

/* Button */
.contact-form button {
  padding: 0.9rem;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #00bfff, #0066ff);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .contact-heading {
    font-size: clamp(1.8rem, 4vw, 3rem);
    top: -120px;
  }

  .contact-section p {
    font-size: 1.05rem;
    top: 50px;
    padding: 0 1rem;
  }

  .contact-form {
    top: -40px;
    padding: 1.5rem;
  }
}

/* Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
  .contact-heading {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    top: -90px;
    letter-spacing: 1px;
  }

  .contact-section p {
    font-size: 1rem;
    line-height: 1.5;
    top: 30px;
    padding: 0 1rem;
  }

  .contact-form {
    padding: 1.2rem;
    gap: 1rem;
    top: -20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 0.7rem;
  }

  .contact-form button {
    font-size: 1rem;
    padding: 0.8rem;
  }
}

/* Mobile Portrait (max-width: 480px) */
@media (max-width: 480px) {
  .contact-heading {
    font-size: 1.5rem;
    top: -60px;
  }

  .contact-section p {
    font-size: 0.9rem;
    top: 20px;
  }

  .contact-form {
    padding: 1rem;
    top: -10px;
  }

  .contact-form label {
    font-size: 0.85rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 0.65rem;
  }

  .contact-form button {
    font-size: 0.95rem;
    padding: 0.7rem;
  }
}

/* Extra small devices (<=360px) */
@media (max-width: 360px) {
  .contact-heading {
    font-size: 1.3rem;
    top: -40px;
  }

  .contact-section p {
    font-size: 0.85rem;
    top: 15px;
  }

  .contact-form {
    padding: 0.8rem;
    border-radius: 0.6rem;
    top: -5px;
  }
}





















/*==========================================
==================FOOTER=====================
==========================================*/
.footer {
  background: rgba(10, 10, 25, 0.95);
  text-align: center;
  padding: 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.footer p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: cyan;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
  text-shadow: 0 0 10px cyan;
}

/* ============================
   RESPONSIVE HEADER & FOOTER
   ============================ */

/* Tablets (<=1024px) */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }
}

/* Mobile Landscape (<=768px) */
@media (max-width: 768px) {
  .nav-links {
    gap: 0.8rem;
  }

  .nav-links li a {
    font-size: 0.95rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .footer {
    padding: 1rem;
  }

  .footer-links a {
    margin: 0 0.3rem;
 }
}

/* Mobile Portrait (<=600px) */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.8rem;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  body {
    padding-top: 90px; /* header taller in stacked mode */
  }

  .footer p {
    font-size: 0.9rem;
  }
}

/* Extra Small Devices (<=400px) */
@media (max-width: 400px) {
  .logo {
    font-size: 1rem;
  }

  .nav-links li a {
    font-size: 0.85rem;
  }

  .footer p {
    font-size: 0.8rem;
  }

  .footer-links a {
    font-size: 0.8rem;
    margin: 0 0.2rem;
  }
}
