/* Social icons styling - neon glow & animated pulse */
.social-icons {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 15px;
}

.social-icons a {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* GitHub Glow */
.social-icons a:nth-child(1) i {
  color: #000;
  text-shadow:
    0 0 5px #000,
    0 0 10px #000,
    0 0 20px #000;
}

/* LinkedIn Glow */
.social-icons a:nth-child(2) i {
  color: #0077b5;
  text-shadow:
    0 0 5px #0077b5,
    0 0 10px #0077b5,
    0 0 20px #0077b5;
}

/* Hover effect */
.social-icons a:hover {
  transform: scale(1.25);
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px currentColor;
  }
  50% {
    text-shadow: 0 0 20px currentColor;
  }
  100% {
    text-shadow: 0 0 5px currentColor;
  }
}

.social-icons i {
  animation: glow 2s infinite ease-in-out;
}
/* ===== PROJECT CARDS INSIDE CHAT ===== */
.project-card-chat {
  background: #020617;
  border-left: 4px solid #38bdf8;
  padding: 12px;
  margin: 10px 0;
  border-radius: 12px;
  font-size: 14px;
}

.project-card-chat a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.project-card-chat a:hover {
  text-decoration: underline;
}
/* ===== FLOATING AI BUTTON ===== */
#ai-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(56,189,248,0.6);
  z-index: 2000;
  transition: transform 0.3s ease;
}

#ai-float-btn:hover {
  transform: scale(1.1);
}

/* Hide chat initially */
.hidden-chat {
  display: none;
}
/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===== COLORED NAV BOXES ===== */
.nav-links {
  display: flex;
  gap: 14px;
  list-style: none;
}

/* Base style */
.nav-box {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* Individual colors */
.nav-box.about {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.nav-box.skills {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.nav-box.projects {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.nav-box.ai {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #020617;
}

.nav-box.contact {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

/* Hover animation */
.nav-box:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Active (optional) */
.nav-box.active {
  outline: 2px solid white;
}
/* ===== NAVBAR BOXED LINKS ===== */
.nav-links {
  display: flex;
  gap: 14px;
  list-style: none;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

/* Hover effect */
.nav-links a:hover {
  background: #38bdf8;
  color: #020617;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

/* Active / current section look (optional manual) */
.nav-links a.active {
  background: #38bdf8;
  color: #020617;
}
/* ===== GENERAL ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  margin:0; padding:0;
  background:#0f172a;
  color:#f8fafc;
}

body.dark {
  background:#0f172a;
  color:#f8fafc;
}


/* ===== GLASS NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 18px;
    display: none;
    gap: 12px;
  }

  .nav-links.show {
    display: flex;
  }
}

.nav-box.active {
  outline: 2px solid white;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}

nav ul { display:flex; gap:20px; }
nav a { color:white; text-decoration:none; }

.hero { text-align:center; padding:80px; }
.hero span { color:#38bdf8; }

section { padding:60px 20px; }

.skill { margin:15px 0; }
.bar { background:#1e293b; height:12px; border-radius:10px; }
.bar span { display:block; height:100%; background:#38bdf8; animation:grow 2s; }
@keyframes grow { from { width:0; } }

/* PROJECTS GRID */
.projects-grid {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:20px; margin-top:30px;
}
.project-card { background:#ffffff; color:#020617; padding:20px; border-radius:18px; box-shadow:0 8px 25px rgba(0,0,0,0.1); transition: transform 0.3s; display:flex; flex-direction:column; justify-content:space-between;}
.project-card:hover { transform:translateY(-8px) scale(1.02); box-shadow:0 15px 35px rgba(0,0,0,0.25);}
.project-card h3 { margin-bottom:8px; font-size:18px; }
.project-card p { font-size:14px; color:#334155; flex-grow:1; }

/* RESUME BUTTON */
.resume-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(56,189,248,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(56,189,248,0.6);
}
.project-card a { margin-top:12px; color:#2563eb; font-weight:600; text-decoration:none; }
.project-card a:hover { color:#0ea5e9; }
#show-all-btn { margin-top:20px; padding:10px 18px; border:none; border-radius:12px; background:#38bdf8; color:#020617; font-weight:600; cursor:pointer;}
#show-all-btn:hover { background:#0ea5e9; }

/* CHATBOT */
.chat-container { width:100%; max-width:420px; margin:auto; background:#0f172a; border-radius:18px; padding:10px; }
#typing-frame { background:#1e293b; color:#f8fafc; padding:10px; border-radius:8px; margin-bottom:8px; min-height:24px; overflow-x:auto; font-style:italic;}
#chat-area { height:320px; padding:10px; overflow-y:auto; margin-bottom:8px;}
.message { max-width:80%; padding:10px; margin:8px 0; border-radius:12px; font-size:14px; line-height:1.5;}
.message.user { background:#38bdf8; color:#020617; margin-left:auto; font-weight:600;}

/* ===== SECTION FRAMES ===== */
.section-frame {
  max-width: 1100px;
  margin: 50px auto;
  padding: 40px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 80px rgba(56, 189, 248, 0.35);
}

/* Section titles */
.section-frame h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 25px;
  color: #38bdf8;
}

/* Light theme support (future ready) */
body.light .section-frame {
  background: rgba(255, 255, 255, 0.75);
  color: #020617;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}
.message.bot { background:#1e293b; color:#f8fafc; margin-right:auto; border-left:3px solid #38bdf8;}
.chat-input { display:flex; gap:8px; }
.chat-input input { flex:1; padding:10px; border-radius:8px; border:none; background:#020617; color:#f8fafc; caret-color:#38bdf8;}
.chat-input input::placeholder { color:#94a3b8;}
.chat-input button { padding:10px 16px; border:none; border-radius:8px; background:#38bdf8; color:#020617; cursor:pointer;}
#send-btn:disabled { background:#94a3b8; cursor:not-allowed;}
#clear-btn { margin-top:8px; padding:8px; border:none; border-radius:8px; background:#ef4444; color:white; cursor:pointer;}
#clear-btn:hover { background:#dc2626; }

/* CONTACT CARDS */
.contact-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:20px; margin-top:20px; }
.contact-card { display:flex; flex-direction:column; align-items:center; gap:12px; padding:20px; border-radius:18px; color:white; text-decoration:none; font-weight:600; font-size:14px; transition: transform 0.3s, box-shadow 0.3s;}
.contact-card img { width:36px; height:36px;}
.contact-card:hover { transform:translateY(-8px) scale(1.05); box-shadow:0 15px 35px rgba(0,0,0,0.35);}
.contact-card.github { background:#24292f; }
.contact-card.linkedin { background:#0077b5; }
.contact-card.email { background:#f97316; }
.contact-card.phone { background:#16a34a; }

/* ABOUT ME SECTION */
.about-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(0, 119, 181, 0.15);
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #0077b5;
  text-shadow: 0 0 12px rgba(0, 119, 181, 0.6);
}

.about-text {
  font-size: 17px;
  line-height: 1.9;
  color: #eaeaea;
  margin-bottom: 18px;
  text-align: justify;
}

.about-text span {
  color: #00c6ff;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 198, 255, 0.8);
}
