/* RESET */
*{margin:0;padding:0;box-sizing:border-box;font-family:"Poppins",sans-serif;scroll-behavior:smooth}

/* GENERAL */
body{background:linear-gradient(135deg,#1e293b,#0f172a);color:#f8fafc}
h1,h2,h3{color:#38bdf8}
a{color:#38bdf8;text-decoration:none}
a:hover{color:#facc15}
/* HEADER */

header {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

header h1 {
  font-size: 2.2rem;
  color: #38bdf8;
  margin-bottom: 8px;
}

header .tagline {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 6px;
}

header .role {
  color: #facc15;
  font-weight: 500;
  margin-bottom: 16px;
}

nav a {
  margin: 0 10px;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #facc15;
}

/* Extra commit: added hover effect on button */
button:hover {
    background-color: #3498db;
    color: #fff;
}
/* 🌟 Success Popup Styling */
#successPopup {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: linear-gradient(135deg, #4caf50, #81c784); /* green gradient */
  color: white;
  padding: 25px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 999;
  opacity: 0;
  transition: all 0.4s ease;
}

/* ✨ When popup is visible */
#successPopup.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ✅ Popup Message Text */
#successPopup p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* 🔘 Close Button Styling */
#closePopup {
  margin-top: 15px;
  background: #ffffff;
  color: #388e3c;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s ease;
}

#closePopup:hover {
  background: #f1f8e9;
  transform: scale(1.05);
}



/* SECTIONS */
.section{max-width:900px;margin:40px auto;padding:25px;background:rgba(255,255,255,0.05);border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,0.2)}
.section h2{border-left:4px solid #38bdf8;padding-left:10px;margin-bottom:15px}
.section p, .section li{color:#e2e8f0;line-height:1.7}

/* SKILLS */
.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}
.skills-grid div{background:rgba(56,189,248,0.08);border:1px solid rgba(56,189,248,0.4);padding:15px;border-radius:10px;transition:0.3s}
.skills-grid div:hover{background:rgba(56,189,248,0.15);transform:translateY(-3px)}

/* PROJECTS */
.project{background:rgba(56,189,248,0.1);padding:15px;border-radius:10px;margin-bottom:10px}
.project h3{color:#facc15;margin-bottom:8px}
.upcoming ul{margin-left:20px}

/* CONTACT */
#contactForm{display:flex;flex-direction:column;gap:10px;margin-top:10px}
#contactForm input,textarea{padding:10px;border-radius:6px;border:1px solid #38bdf8;background:#0f172a;color:#f8fafc}
#contactForm button{background:#38bdf8;color:#0f172a;font-weight:600;border:none;padding:10px;border-radius:6px;cursor:pointer;transition:0.3s}
#contactForm button:hover{background:#facc15;color:#0f172a}

/* FOOTER */
footer{text-align:center;padding:20px;font-size:0.9rem;color:#94a3b8;margin-top:20px}
footer a{color:#facc15}
footer .copy{margin-top:5px;color:#64748b}

/* SOCIAL ICONS */
.social-links {
  margin-top: 10px;
}

.social {
  display: inline-block;
  margin: 0 8px;
  font-size: 1.6rem;
  color: #38bdf8;
  transition: 0.3s ease;
}

.social.github:hover {
  color: #f8fafc;
  transform: scale(1.2);
}

.social.linkedin:hover {
  color: #0a66c2;
  transform: scale(1.2);
}

.social.email:hover {
  color: #facc15;
  transform: scale(1.2);
}

