/* --- Global Styles --- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a192f; /* Deep navy background */
  font-family: 'Poppins', sans-serif;
  color: #ccd6f6; /* Light text color for contrast */
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 600;
}

a {
  color: #96c5ff; /* Primary accent color */
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
  text-decoration: none;
}

/* --- Accent Color Utilities --- */
.text-accent {
  color: #96c5ff !important;
}

.btn-outline-accent {
  color: #96c5ff;
  border-color: #96c5ff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-accent:hover {
  color: #0a192f; /* Dark text on hover */
  background-color: #96c5ff;
  border-color: #96c5ff;
  transform: translateY(-2px);
}

.btn-outline-accent.disabled {
  color: #8892b0;
  border-color: #8892b0;
}

/* --- Glass Navbar --- */
.navbar-glass {
  background: rgba(10, 25, 47, 0.85); /* Semi-transparent dark blue */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff !important;
}

.nav-link {
  color: #ccd6f6 !important;
  font-weight: 400;
  transition: color 0.3s ease;
  margin: 0 5px;
}

.nav-link:hover, .navbar-brand:hover {
  color: #96c5ff !important;
}

.nav-link.active {
  color: #96c5ff !important;
}

.navbar-nav .nav-item .btn-outline-accent {
  margin-left: 15px;
}

/* --- Hero Section --- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 15px;
  background: #0a192f;
}
/* Cursor Blink */
.cursor {
  display: inline-block;
  animation: blink 0.7s infinite;
  margin-left: 3px;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Typing Highlighted Words */
.typing-text::after {
  content: "";
  animation: typing 12s infinite;
}

/* Colors for Highlighted Phrases */
:root {
  --neha: #facc15;                /* Gold */
  --yoga: #22d3ee;                /* Teal */
  --basketball: #fb923c;          /* Orange */
  --normal: #ffffff;              /* White */
}

@keyframes typing {

  /* 0–25% → Neha */
  0%   { content: "Neha."; color: var(--neha); }

  /* 25–50% → CSE Student */
  25%  { content: "CSE Student."; color: var(--normal); }

  /* 50–75% → Yoga Champion */
  50%  { content: "Yoga Champion."; color: var(--yoga); }

  /* 75–100% → Basketball Player */
  75%  { content: "Basketball Player."; color: var(--basketball); }

  100% { content: "Neha."; color: var(--neha); }
}

.profile-image-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid #96c5ff;
  object-fit: cover;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(150, 197, 255, 0.4);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#typed-name {
  color: #96c5ff;
}

#cursor {
  font-size: 3rem;
  animation: blink 0.7s infinite;
  color: #96c5ff;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: #ccd6f6;
}

.hero-subtitle a {
  font-weight: 600;
}

/* --- Main Content Sections --- */
.portfolio-section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #96c5ff;
  border-radius: 2px;
  margin: 15px auto 0;
}

/* --- Base Glass Card --- */
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: 100%; /* For equal height cards in rows */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
}
 
/* --- Project Card --- */
.project-card {
  background: rgba(255, 255, 255, 0.03); /* Darker for project images */
}

.project-card .card-img-top,
.skill-card .card-img-top {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
  height:auto; /* Fixed height for consistency */
}

.project-card .card-body {
  text-align: center;
}

.project-card .card-title,
.skill-card .card-title {
  color: #96c5ff;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-text {
  color: #ccd6f6;
}

/* --- Skills Card --- */
.skill-card {
  background: rgba(255, 255, 255, 0.03);
}

.skill-card .card-body {
  text-align: center;
}
.edu-icon {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
}


/* --- Footer --- */
#footer {
  background: #061325; /* Slightly lighter for separation */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
  color: #ccd6f6;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #96c5ff;
  transform: scale(1.1);
}

.footer-text {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #8892b0; /* Softer text color */
}
/* ===== Technical Skills Section (Logo Icons) ===== */

.tech-block {
  margin-bottom: 3rem;
}

.tech-subheading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  color: #96c5ff;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.2rem 1.6rem;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.25s ease;
}

.skill-pill:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #96c5ff;
}

.skill-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.4));
}

.skill-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: #ccd6f6;
}

@media (max-width: 768px) {
  .skill-pill {
    width: 130px;
    padding: 1rem 1.2rem;
  }
}

 


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  #cursor {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-heading {
    font-size: 2rem;
  }
}



/* ===== Added: hero links, experience, projects ===== */
.hero-links { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

.date-tag { color: #8892b0; font-size: 0.9rem; white-space: nowrap; }
.company { color: #96c5ff; font-weight: 600; margin-bottom: 0.8rem; }
.stack { color: #8892b0; font-size: 0.9rem; margin-bottom: 0.9rem; }

.exp-card .card-body, .proj-card .card-body { text-align: left; }
.proj-card .card-title { font-size: 1.35rem; margin-bottom: 4px; }
.exp-card:hover, .proj-card:hover { transform: translateY(-3px); }

.exp-list { padding-left: 1.1rem; margin-bottom: 1.2rem; color: #ccd6f6; font-size: 0.95rem; }
.exp-list li { margin-bottom: 0.5rem; }

.project-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.project-links .btn { margin: 0; }

.skill-glyph {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 0.6rem;
  border-radius: 10px; border: 1px solid #96c5ff;
  color: #96c5ff; font-size: 0.75rem; font-weight: 700;
}
.skill-icon img.invert { filter: invert(1) drop-shadow(0 3px 6px rgba(0,0,0,0.4)); }
.skill-pill { width: 150px; }

/* ===== Polish: match original card style, cleaner hero ===== */
section[id] { scroll-margin-top: 70px; }

.hero-links { margin-top: 1.8rem; display: flex; justify-content: center; gap: 1.6rem; }
.hero-links .social-icon { opacity: 0.85; }
.hero-links .social-icon:hover { opacity: 1; }

/* Experience / project cards: centered like the other cards */
.exp-card .card-body, .proj-card .card-body { text-align: center; padding: 1.6rem 1.4rem; }
.exp-card .d-flex, .proj-card .d-flex { flex-direction: column; align-items: center !important; }
.proj-card .card-title, .exp-card .card-title { font-size: 1.5rem; margin-bottom: 6px; }
.exp-card:hover, .proj-card:hover { transform: translateY(-5px); }
.date-tag { margin-bottom: 0.8rem; }

.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-bottom: 1.1rem; }
.chip {
  font-size: 0.75rem; padding: 3px 10px; border-radius: 999px;
  color: #96c5ff; border: 1px solid rgba(150, 197, 255, 0.35);
  background: rgba(150, 197, 255, 0.08);
}

.exp-list { list-style: none; padding: 0; text-align: center; }
.exp-list li { margin-bottom: 0.7rem; line-height: 1.55; }
.project-links { justify-content: center; }

/* Subtle accent on hover for all cards */
.card:hover { border-color: rgba(150, 197, 255, 0.45); }

/* Scroll-in animation (keyframes so card hover/tilt still work) */
.reveal { opacity: 0; }
.reveal.visible { opacity: 1; animation: rise 0.6s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; } .reveal.visible { animation: none; } }

/* ===== Project card banners ===== */
.proj-card { overflow: hidden; }
.proj-banner {
  --accent: #96c5ff;
  position: relative; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, #0a192f), #0a192f);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.banner-icons { display: flex; gap: 1.3rem; font-size: 1.6rem; color: var(--accent); position: relative; z-index: 1; }
.banner-label {
  position: relative; z-index: 1; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; font-weight: 600;
}
.proj-banner::before { content: ""; position: absolute; inset: 0; opacity: 0.18; }
/* page-style hints per project */
.b-health  { --accent: #22d3ee; }
.b-health::before  { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 110'%3E%3Cpolyline fill='none' stroke='%2322d3ee' stroke-width='2' points='0,70 80,70 95,70 105,30 118,95 130,70 190,70 205,70 215,45 226,80 236,70 300,70'/%3E%3C/svg%3E") center/cover no-repeat; }
.b-kitchen { --accent: #fb923c; }
.b-kitchen::before { background-image: radial-gradient(#fb923c 1.2px, transparent 1.2px); background-size: 16px 16px; }
.b-safety  { --accent: #facc15; }
.b-safety::before  { background-image: repeating-radial-gradient(circle at 50% 120%, #facc15 0 1px, transparent 1px 22px); }
.b-invoice { --accent: #96c5ff; }
.b-invoice::before { background-image: repeating-linear-gradient(0deg, #96c5ff 0 1px, transparent 1px 18px); }
.b-ml      { --accent: #22d3ee; }
.b-ml::before      { background-image: linear-gradient(#22d3ee 1px, transparent 1px), linear-gradient(90deg, #22d3ee 1px, transparent 1px); background-size: 22px 22px; }
.proj-card:hover .proj-banner { border-bottom-color: var(--accent); }
.proj-card:hover .banner-icons i { transform: translateY(-2px); }
.banner-icons i { transition: transform 0.3s ease; }
