:root{
  --bg: #000000;         /* pure black background */
  --panel: #0a0a0a;
  --accent: #568F87;     
  --muted: #909b95;
  --glass: rgba(255,255,255,0.03);
}

/* base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background:var(--bg);
  color:#e6efe9;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.4;
  overflow-x:hidden;
}

/* Greeting circle: add glowing shadow + floating animation */
.greet-circle {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  color: var(--accent);
  font-weight: 800;
  font-size: 1.4rem;
  border: 2px solid rgba(86,143,135,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  cursor: pointer;
  backdrop-filter: blur(8px);

  /* 🔥 Added effects */
  box-shadow: 0 0 25px rgba(86,143,135,0.3), 0 0 50px rgba(86,143,135,0.15);
  animation: floaty 5s ease-in-out infinite, pulseGlow 3s ease-in-out infinite alternate;
  transition: transform 0.3s ease, opacity 0.6s ease;
}

/* On click (already present) */
.greet-circle:active {
  transform: translate(-50%, -50%) scale(0.97);
}

/* Fade-out state (no change) */
.greet-circle.hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.98);
  pointer-events: none;
}

/* 🟢 Floating up/down animation */
@keyframes floaty {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

/* 🟢 Pulsating glow animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 20px rgba(86,143,135,0.25),
                0 0 40px rgba(86,143,135,0.10);
  }
  100% {
    box-shadow: 0 0 35px rgba(86,143,135,0.45),
                0 0 65px rgba(86,143,135,0.20);
  }
}


/* layout */
.layout{
  max-width:1100px; margin:0 auto; padding:4vh 2rem;
  display:flex; gap:2rem; align-items:flex-start; position:relative; z-index:10;
}


/* left content column */
.left{flex:1; min-width:300px}
.intro{opacity:0; transform:translateY(12px); pointer-events:none; transition:opacity .6s ease, transform .6s ease; max-width:740px;}
.intro.visible{opacity:1; transform:none; pointer-events:auto;}

.small{color:var(--muted); font-weight:600; letter-spacing:.04em; margin-bottom:.35rem}
.big{font-size:2.6rem; margin-bottom:.35rem; color:#f6fff9; line-height:1.02}
.name{color:var(--accent)}
.role{font-size:1.05rem; margin-bottom:1rem; color:#cde6df; display:flex; align-items:center; gap:.5rem}
.cursor{opacity:1; animation: blink .9s step-end infinite; color:var(--accent)}
@keyframes blink{50%{opacity:0}}
.desc{color:#cbd8d2; max-width:720px; margin-bottom:1.25rem; font-size:1rem}

/* skill cards row */
.card-row{display:flex; gap:1rem; margin-top:1.2rem; flex-wrap:wrap}

/* Base card style */
.skill-card {
  background: rgba(255, 255, 255, 0.05); /* Transparent glass effect */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  min-width: 180px;
  color: #e8f6f2;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Shadow & lift on hover */
.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(86, 143, 135, 0.25), 0 0 20px rgba(86,143,135,0.15);
}

/* Animated overlay effect */
.skill-card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(86,143,135,0.2), rgba(255,255,255,0.05));
  transition: left 0.5s ease;
  z-index: 1;
}

.skill-card:hover::before {
  left: 0; /* Slide overlay from left to right */
}

/* Card content should be above overlay */
.skill-card .card-inner {
  position: relative;
  z-index: 2;
}

/* Card headings and lists */
.skill-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.skill-list {
  list-style: none;
  padding-left: 0;
  display: none; /* Only show when active */
}

.skill-card.active .skill-list {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: #cde6df;
}



/* actions */
.actions{margin-top:1.25rem}
.hire{background:var(--accent); color:#071212;  border:none; padding:.7rem 1.05rem; border-radius:8px; font-weight:700; cursor:pointer; transition: transform .18s}
.hire:hover{transform:translateY(-3px)}

/* right column */
.right{width:260px; display:flex; flex-direction:column; align-items:center; gap:1rem; position:relative}

/* socials column */
.social-vertical{display:flex; flex-direction:column; gap:12px; position:relative; top:50px}
.social{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:10px;
  background:var(--glass); color:#e8f6f2; text-decoration:none; transition: transform .18s, background .18s;
  border:1px solid rgba(255,255,255,0.02); font-weight:700;
}
.social:hover{transform:translateX(6px); background:linear-gradient(90deg, rgba(86,143,135,0.12), rgba(255,255,255,0.02))}

/* contact panel (cover right side) */
.contact-panel{
  position:relative; width:100%; max-width:320px; background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:12px; padding:1rem; box-shadow:0 12px 40px rgba(0,0,0,0.6); transition: transform .45s cubic-bezier(.2,.9,.2,1), opacity .35s;
  transform: translateX(28px); opacity:0; pointer-events:auto;
}
.contact-panel.visible{transform: translateX(0); opacity:1; pointer-events:auto;}
.close-x{
  position:absolute; right:10px; top:8px; background:transparent; border:none; color:#dfeee8; font-size:20px; cursor:pointer;
}

/* contact form */
.contact-form{display:flex;flex-direction:column; gap:.6rem}
.contact-form input, .contact-form textarea{
  background: rgba(0,0,0,0.28); border:1px solid rgba(255,255,255,0.04); color:#eaf6f1; padding:.7rem; border-radius:8px;
}
.contact-form textarea{min-height:84px; resize:vertical}
.send{background:var(--accent); color:#071212; border:none; padding:.6rem 1rem; border-radius:8px; font-weight:700; cursor:pointer}

/* responsiveness */
@media(max-width:980px){
  .layout{flex-direction:column; padding:3vh 1rem; gap:1.5rem}
  .right{width:100%; order:2; align-items:stretch}
  .social-vertical{flex-direction:row; justify-content:center; position:static; top:auto}
  .social{width:44px}
  .greet-circle{width:260px;height:260px}
}
@media(max-width:480px){
  .greet-circle{width:200px;height:200px}
  .big{font-size:1.6rem}
}


/* === Left-aligned main intro === */
.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
   padding-left: 60px;       /* Left side gap */
  padding-top: 120px;       
  max-width: 600px;
  max-width: 50vw;
  box-sizing: border-box;
}

.intro h1, .intro h5, .intro p {
  max-width: 600px;
}

/* === Full-height right-side contact form === */
.contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 60vw;
  max-width: 800px;
  height: 100vh;
  background: rgba(20,20,20,0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 100;
  animation: slideIn 0.5s ease forwards;
}

.contact-panel form {
  width: 100%;
  max-width: 700px;
}

.contact-panel.show {
  display: flex;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
  .intro {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
  .contact-panel {
    width: 100vw;
  }
}

.intro h1 {
  font-size: 3.2rem;       
  font-weight: 600;
  line-height: 1.3;        
  color: #ffffff;         
  margin-bottom: 1rem;
  text-transform: uppercase;
}


/* ---------------------------
   ABOUT SECTION
   --------------------------- */

/* ================= ABOUT OVERLAY ================= */

 .about-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  overflow-y: auto;          
  padding: 40px 20px;
  scroll-behavior: smooth;
}

/* About overlay fully hides homepage beneath */
.page { transition: opacity .3s ease; }

/* particle image design */
 .profile-img {
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(86,143,135,0.5);
} 


/* subtle shifting dark tones - keeps palette dark */
@keyframes waveDark {
  0% { filter: hue-rotate(0deg) saturate(.9) blur(0px); transform: scale(1); }
  50% { filter: hue-rotate(-5deg) saturate(.85) blur(1px); transform: scale(1.01); }
  100% { filter: hue-rotate(0deg) saturate(.9) blur(0px); transform: scale(1); }
}

.about-overlay.hidden { opacity: 0; pointer-events: none; transform: scale(.995); }
.about-overlay.visible { opacity: 1; pointer-events: auto; transform: scale(1); }

/* central inner panel */
.about-inner {
  position: relative;
  width: min(1200px, 94vw);
  max-height: 88vh;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005));
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  z-index: 2000;
}

/* close button */
.about-close {
  position: absolute;
  right: 14px;
  top: 12px;
  background: transparent;
  border: none;
  color: #dfeee8;
  font-size: 22px;
  cursor: pointer;
  z-index: 2010;
}

/* content split */
.about-content {
  display: flex;
  gap: 24px;
  padding: 36px;
  min-height: 68vh;
  align-items: flex-start;
  box-sizing: border-box;
}

/* left column */
.about-left { flex: 1 1 620px; color: #e7f4ee; }

/* right column for image */
.about-right { flex: 0 0 360px; display:flex; align-items:flex-end; justify-content:center; padding-bottom:18px; }

/* about title & intro */
.about-title {
  font-size: 1.8rem;
  margin: 0 0 12px 0;
  color: #fff;
  letter-spacing: .02em;
}
.about-intro {
  color: #cbd8d2;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 720px;
}

/* horizontal tabs (three big headings) */
/* Tighten space between tabs and hire button */
.about-tabs {
  display: flex;
  gap: 25px; /* reduce gap between tabs */
  margin-bottom: 30px; /* reduce bottom spacing */
  margin-top: 35px
}

.about-tabs .tab-btn {
  background: none;
  border: none;
  color: #e6efe9;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  position: relative;
  transition: color 0.25s;
  font-size: 1.00rem;
}

/* Hover effect: underline line animation */
.about-tabs .tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.about-tabs .tab-btn:hover::after,
.about-tabs .tab-btn.active::after {
  width: 100%;
}

/* Vertical content list spacing */
.about-list {
  margin: 0 0 12px 0;
  padding-left: 20px;
  display: none; /* hidden by default */
}

.about-list li {
  margin-bottom: 6px;
}

/* Show content when active (JS toggles) */
.about-list.show {
  display: block;
  animation: fadeIn 0.35s ease forwards;
}

/* Simple fade in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reduce space between tabs and hire button */
.about-actions {
  margin-top: 6px; /* smaller margin */
}


/* hide utility (used for lists not active) */
.hidden { display: none !important; }
.about-image.hidden {
  display: none; 
}


/* about actions */
.about-actions { margin-top: 18px; }
.about-hire { background: var(--accent); color: #071212; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; font-weight:700; }

/* footer hint */
.about-foot { padding: 12px 18px 22px 18px; color: #98a79f; font-size: .9rem; text-align:center; }

/* About description styling */
.about-desc{
  max-width: 650px;       
  width: 100%;            
}


/* responsive */
@media (max-width: 980px) {
  .about-content { flex-direction: column; gap: 18px; padding: 20px; min-height: auto; }
  .about-right { order: 2; display:flex; align-items:center; justify-content:center; padding: 12px 0 18px 0; }
  .about-left { order: 1; }
  .profile-img { width: 260px; }
}
@media (max-width: 560px) {
  .profile-img { width: 200px; }
  .about-inner { width: 96vw; }
  .about-title { font-size: 1.4rem; }
  .about-tabs { gap: 8px; }
  .tab-btn { padding: 8px 10px; font-size: .95rem; }
  .about-panel { padding: 12px; }
}

/* contact panel appears on top of about overlay content, right side */
.contact-panel { 
  position: fixed; top:0; right:0; width:360px; height:100%; 
   color:#fff; z-index:2100; 
  transform: translateX(100%); transition: transform .35s ease;
}
.contact-panel.show { transform: translateX(0); }
.contact-panel.hidden { transform: translateX(100%); }

.contact-heading {
  margin-bottom: 15px; /* heading aur form ke beech gap */
}


/* Highlighted word effect */
.highlight-word {
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: color 0.25s;
}
.highlight-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.highlight-word:hover::after {
  width: 100%;
}
.highlight-word:hover {
  color: #ffffff;
}

/* Hidden Journey content */
.journey {
  display: none;
  margin-top: 10px;
  padding-left: 15px;
  color: #cde6df;
  font-size: 0.95rem;
   max-width: 650px;      
  width: 100%; 
}
.journey.show {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.about-desc {
  margin-bottom: 35px; /* adds space below description */
  line-height: 1.6;
}

/* Journey content with slide-in animation */
.journey {
  display: none;
  margin-top: 12px;
  padding-left: 15px;
  color: #cde6df;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-30px);
}
.journey.show {
  display: block;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Base button style */
button {
  background: var(--accent);
  color: #071212;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect: animated gradient sweep + lift */
button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(86,143,135,0.35), 0 0 15px rgba(86,143,135,0.15);
}

/* Animated gradient overlay sweep */
button::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(86,143,135,0.3), rgba(255,255,255,0.1));
  transition: left 0.45s ease;
  z-index: 0;
}

button:hover::before {
  left: 0;
}

/* Make text above overlay */
button span, button:after {
  position: relative;
  z-index: 1;
}

/* Optional: subtle text glow on hover */
button:hover {
  color: #5aa892;
  text-shadow: 0 0 6px rgba(16, 16, 16, 0.6), 0 0 12px rgba(86,143,135,0.3);
}

#spikeCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;          
  pointer-events: none;  
  background: #000;    
}

/* selection */
::selection {
  background: #568F87; 
  color: #fff;        
}

/* Firefox ke liye */
::-moz-selection {
  background: #568F87;
  color: #fff;
}

