/**
 * Jai Patel - Portfolio
 * Modern, compact, token-based CSS
 */

 .hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Impact pills */
.hero-impact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.impact-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #e6edf3;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Clean meta line */
.hero-meta-clean {
  font-size: 13px;
  color: #c9d1d9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-clean .dot {
  opacity: 0.5;
}

.hero-meta-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.meta-pill {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: #c9d1d9;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Highlight EU part */
.meta-pill.highlight {
  background: rgba(0, 122, 255, 0.15);
  color: #58a6ff;
  border: 1px solid rgba(88,166,255,0.4);
}

/* --------------------------------------------------------------
# Design Tokens
-------------------------------------------------------------- */
:root {
  --color-bg-light: #f5f5f5;
  --color-bg-dark: #0b0c10;
  --color-surface: #ffffff;
  --color-surface-dark: #1e2530;
  --color-text-main: #4e4e4e;
  --color-text-strong: #111827;
  --color-text-soft: #6b7280;
  --color-primary: #0078ff;
  --color-primary-dark: #0059c7;
  --color-accent: #16a34a;
  --color-border-soft: rgba(15, 23, 42, 0.08);
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.08);
  --transition-fast: 0.18s ease;
  --transition-med: 0.3s ease;
}

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

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body,
button {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h5,
h6 {
  color: var(--color-text-strong);
}

a {
  color: var(--color-text-strong);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Lead text */
.lead {
  font-size: 1.03rem;
  line-height: 1.7;
  color: #374151;
  font-weight: 400;
  margin-bottom: 0.9rem;
}

.lead b {
  font-weight: 600;
  color: #111827;
}

/* Section padding utility – compact */
.section-pad {
  padding: 3.2rem 0;
}

/* Soft section background */
.soft-bg {
  background: radial-gradient(circle at top, #e5edff 0, #f5f5f5 45%, #f9fafb 100%);
}

/* --------------------------------------------------------------
# Scroll behaviour / BG image helper
-------------------------------------------------------------- */
.bg-image {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 1024px) {
  .bg-image {
    background-attachment: scroll;
  }
}

/* Overlay – keep background image visible */
/* .overlay-mf {
  background-color: rgba(0, 120, 255, 0.75);
  position: absolute;
  inset: 0;
} */

.hero {
  position: relative;
  height: 100vh;
  background: url("assets/img/hero-bg.webp") center/cover no-repeat;
}

/* hero overlay specifically – subtle gradient on image */
.hero .overlay-itro {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.60));
}



/* Display helpers */
.display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
}

/* Basic section titles */
.title-box {
  margin-bottom: 2.6rem;
}

.title-a {
  font-size: 2.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.subtitle-a {
  color: var(--color-text-soft);
}

.line-mf {
  width: 48px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 0.75rem auto 0;
  border-radius: 999px;
}

/* Left title */

/* Box */
.box-shadow-full {
  padding: 2.3rem 1.6rem;
  position: relative;
  background-color: var(--color-surface);
  margin-bottom: 1.8rem;
  z-index: 2;
  box-shadow: 0 1px 1px 0 rgba(15, 23, 42, 0.06),
    0 16px 40px rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

@media (min-width: 768px) {
  .box-shadow-full {
    padding: 2.7rem 2.4rem;
  }
}

/* Reset some lists */

/* --------------------------------------------------------------
# Header / Navbar
-------------------------------------------------------------- */
/* Hide tagline smoothly on scroll */
#header.header-scrolled .logo-tagline {
  opacity: 0;
  transform: translateY(-4px);
  max-height: 0;
  margin: 0;
  pointer-events: none;
}

.logo-tagline {
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
}

#header {
  padding: 12px 0;
  transition: padding 0.35s ease, box-shadow 0.35s ease;
}

#header.header-scrolled {
  padding: 6px 0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}


#header .logo {
  margin: 0;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

#header .container {
  min-height: unset;
}

.smart-header {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.smart-header .logo a {
  color: #f9fafb;
}

.logo-name {
  font-size: 1.05rem;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #9ca3af;
}

.avatar {
  width: 34px;
  height: 34px;
  margin-right: 4px;
  overflow: hidden;
  border-radius: 999px;
}

/* On scroll */
#header.header-scrolled {
  padding: 10px 0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

#header.header-scrolled .avatar {
  transform: scale(0.92);
}

.avatar {
  transition: transform 0.35s ease;
}

@media (max-width: 991px) {
  #header {
    padding: 8px 0;
  }

  #header.header-scrolled {
    padding: 6px 0;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-tagline {
    display: none;
    /* Mobile always hides tagline */
  }

  .navbar>ul>li {
    padding: 6px 0 6px 16px;
  }
}



/* Navigation */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 8px 0 8px 22px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e5e7eb;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0;
  letter-spacing: 0.12em;
  position: relative;
  text-transform: uppercase;
  opacity: 0.9;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  height: 2px;
  bottom: -6px;
  left: 0;
  width: 0;
  background-color: #f9fafb;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 999px;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 80%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #f9fafb;
  opacity: 1;
}

/* Mobile nav */
.mobile-nav-toggle {
  color: #f9fafb;
  font-size: 26px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.3s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 60px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 10px 0;
  background-color: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow-y: auto;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 11px 22px;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--color-primary);
}

/* --------------------------------------------------------------
# Hero
-------------------------------------------------------------- */
#hero {
  background-image: url("../img/hero-bg.webp");
  min-height: 100vh;
}

.hero {
  height: 100vh;
  position: relative;
  color: #f9fafb;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-inner {
  padding-top: 5rem;
}

.hero-title {
  color: #f9fafb;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
}

.hero-name {
  color: #a5b4fc;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #e5e7eb;
  min-height: 32px;
}

.hero-tagline {
  font-size: 0.98rem;
  margin-top: 0.5rem;
  opacity: 0.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-chip-row {
  flex-wrap: wrap;
}

.hero-chip {
  border-radius: 999px;
  padding: 0.24rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.78rem;
  color: #e5e7eb;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9));
  display: inline-flex;
  align-items: center;
}

/* Hero buttons */
.hero-actions .btn {
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-btn-main {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border: none;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.6);
}

.hero-btn-main:hover {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  transform: translateY(-1px);
}

.hero-btn-secondary {
  border-color: rgba(249, 250, 251, 0.7);
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.45);
}

.hero-btn-secondary:hover {
  border-color: #f9fafb;
  background: rgba(15, 23, 42, 0.8);
}

.hero-meta {
  color: #9ca3af;
}

.hero-meta i {
  color: #6ee7b7;
}

/* Typed cursor color tweak */
.typed-cursor {
  opacity: 1;
  color: #a5b4fc;
}

/* Responsive hero */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .hero-inner {
    padding-top: 4rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* --------------------------------------------------------------
# About
-------------------------------------------------------------- */
.about-mf {
  padding-top: 3.2rem;
}

.about-card {
  background: rgba(249, 250, 251, 0.96);
  backdrop-filter: blur(10px);
}

.about-img {
  position: relative;
}

.about-photo {
  max-width: 240px;
  border-radius: 28px !important;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.35);
}

.about-highlight-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}

.about-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  padding: 0.4rem 0.8rem;
  background: rgba(59, 130, 246, 0.07);
  border: 1px dashed rgba(59, 130, 246, 0.4);
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.section-heading {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

/* Premium profile card (EU / Japan style) */
.about-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.about-profile-meta {
  width: 100%;
  margin-top: 0.6rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.meta-value {
  font-weight: 600;
  color: #0f172a;
}


/* Currently focused on – recruiter magnet */
.current-focus {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.focus-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.focus-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.82rem;
  color: #374151;
}

.focus-list li {
  margin-bottom: 0.2rem;
}

/* Subtle section divider (EU taste) */
.section-divider {
  height: 1px;
  max-width: 760px;
  margin: 1.8rem auto 2.2rem;
  background: linear-gradient(to right,
      transparent,
      rgba(148, 163, 184, 0.6),
      transparent);
}

/* About bullets */
.about-bullets {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.about-bullets li {
  margin-bottom: 0.25rem;
}

/* About section tightening */
#about .section-pad {
  padding-top: 48px;
  padding-bottom: 48px;
}

.about-me .lead {
  font-size: 1rem;
  line-height: 1.6;
}

.about-mini-card {
  height: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
}

.about-mini-card i {
  font-size: 20px;
  color: #0d6efd;
  margin-bottom: 6px;
  display: inline-block;
}

.about-mini-card h6 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.about-mini-card p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0;
}

/* --------------------------------------------------------------
# AI Projects
-------------------------------------------------------------- */
.portfolio-mf {
  padding-top: 0;
  /* section-pad handles it */
  padding-bottom: 0;
}

.ai-project-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.05rem 1.2rem 1.1rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.ai-project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-primary);
}

/* top row – icon + badge */
.ai-project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.ai-project-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #ffffff;
}

/* icon color variants */

/* badge */
.ai-project-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(129, 140, 248, 0.6);
}

.ai-project-header {
  gap: 0.5rem;
}

.ai-project-title {
  font-size: 1rem;
  font-weight: 600;
}

.ai-project-desc {
  font-size: 0.9rem;
  margin-top: 0.35rem;
  margin-bottom: 0.7rem;
  color: #4b5563;
}


.ai-project-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ai-project-meta span {
  font-size: 0.75rem;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #eef2ff;
  color: #1e293b;
  border: 1px solid #c7d2fe;
}

/* external link icon */
.ai-project-external {
  font-size: 0.9rem;
  line-height: 1;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
}

.ai-project-external:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------
# Testimonials
-------------------------------------------------------------- */
.testimonials-slider {
  min-height: 260px;
}

.testimonials {
  padding-top: 0;
  padding-bottom: 0;
}

.testimonial-box {
  color: #111827;
  text-align: center;
}

.testimonial-box .author-test {
  margin-top: 0.6rem;
}

.testimonial-box .author-test img {
  margin: 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(251, 191, 36, 0.85);
}

.testimonial-box .author {
  color: #4b5563;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0.6rem 0 0.2rem;
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

.testimonial-snippet {
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  color: #111827;
}

@media (min-width: 768px) {
  .testimonial-box .description {
    padding: 0 3rem;
  }
}

@media (min-width: 1200px) {
  .testimonial-box .description {
    padding: 0 4.5rem;
  }
}

.swiper-pagination {
  margin-top: 16px;
  position: relative;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background-color: rgba(15, 23, 42, 0.2);
  opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fbbf24;
}

/* --------------------------------------------------------------
# Contact
-------------------------------------------------------------- */
.footer-paralax {
  padding-top: 0;
  padding-bottom: 0;
}

.contact-mf {
  margin-top: 1.2rem;
}

.contact-box-compact {
  padding: 2.2rem 1.8rem;
  border-radius: 22px;
}

@media (min-width: 768px) {
  .contact-box-compact {
    padding: 2.5rem 2.3rem;
  }
}

.contact-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-details h6 {
  color: var(--color-text-strong);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-details a {
  color: var(--color-primary);
}

.contact-details a:hover {
  color: var(--color-primary-dark);
}

/* Social in contact */
.contact-social .social-links {
  gap: 0.75rem !important;
}

.connect-section {
  text-align: left;
}

@media (max-width: 767px) {
  .connect-section {
    text-align: center;
  }
}

/* Small CTA buttons */

/* --------------------------------------------------------------
# Social Links (Global)
-------------------------------------------------------------- */
.social-links {
  gap: 1rem !important;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
}

.social-link:hover {
  transform: translateY(-3px);
  opacity: 0.95;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
}

/* Social colors */
.social-link.linkedin {
  background: #0077b5;
}

.social-link.github {
  background: #111827;
}

.social-link.instagram {
  background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.youtube {
  background: #ff0000;
}

/* --------------------------------------------------------------
# Mentor Badge
-------------------------------------------------------------- */

/* --------------------------------------------------------------
# Blog Card styles (if used on other pages)
-------------------------------------------------------------- */

/* --------------------------------------------------------------
# Footer
-------------------------------------------------------------- */
footer {
  text-align: center;
  color: #e5e7eb;
  padding: 18px 0;
  background: radial-gradient(circle at top, #334155, #020617);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

footer .copyright {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

footer .credits {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: #9ca3af;
}

footer .credits a {
  color: #e5e7eb;
}

/* --------------------------------------------------------------
# Hero Project Bubbles
-------------------------------------------------------------- */
.project-bubbles {
  position: absolute;
  left: 50%;
  bottom: 13%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 90%;
  pointer-events: none;
}

.project-bubble {
  pointer-events: auto;
  width: 74px;
  height: 74px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(248, 250, 252, 0.4);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  text-align: center;
  padding: 0.4rem;
  cursor: pointer;
  position: relative;
  overflow: visible;
  animation: bubbleFloat1 9s ease-in-out infinite alternate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.9);
}

.project-bubble-icon {
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

.project-bubble-label {
  line-height: 1.2;
}

/* Detail tooltip */
.project-bubble-detail {
  position: absolute;
  bottom: 94px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  min-width: 190px;
  max-width: 220px;
  font-size: 0.7rem;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.project-bubble-detail::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.96) transparent transparent transparent;
}

.project-bubble-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.project-bubble-text {
  opacity: 0.9;
}

.project-bubble-link {
  margin-top: 0.25rem;
  font-size: 0.68rem;
  opacity: 0.8;
  color: #bfdbfe;
}

/* Hover / active */
.project-bubble:hover,
.project-bubble.bubble-active {
  background: rgba(30, 64, 175, 0.8);
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(191, 219, 254, 0.9);
}

.project-bubble.bubble-active .project-bubble-detail {
  opacity: 1;
  transform: translate(-50%, -2px);
}

/* Animation pause */
.project-bubble.bubble-paused {
  animation-play-state: paused;
}

/* Different floating paths */
.project-bubble:nth-child(2) {
  animation-name: bubbleFloat2;
  animation-duration: 11s;
}

.project-bubble:nth-child(3) {
  animation-name: bubbleFloat3;
  animation-duration: 10s;
}

.project-bubble:nth-child(4) {
  animation-name: bubbleFloat4;
  animation-duration: 12s;
}

.project-bubble:nth-child(5) {
  animation-name: bubbleFloat5;
  animation-duration: 9s;
}

/* Keyframes */
@keyframes bubbleFloat1 {
  0% {
    transform: translate(-6px, 4px);
  }

  50% {
    transform: translate(4px, -6px);
  }

  100% {
    transform: translate(-4px, 2px);
  }
}

@keyframes bubbleFloat2 {
  0% {
    transform: translate(8px, 0px);
  }

  50% {
    transform: translate(-6px, -10px);
  }

  100% {
    transform: translate(2px, 4px);
  }
}

@keyframes bubbleFloat3 {
  0% {
    transform: translate(-4px, -4px);
  }

  50% {
    transform: translate(6px, 6px);
  }

  100% {
    transform: translate(-2px, -8px);
  }
}

@keyframes bubbleFloat4 {
  0% {
    transform: translate(0px, 6px);
  }

  50% {
    transform: translate(-8px, -6px);
  }

  100% {
    transform: translate(4px, 2px);
  }
}

@keyframes bubbleFloat5 {
  0% {
    transform: translate(6px, -2px);
  }

  50% {
    transform: translate(-4px, 8px);
  }

  100% {
    transform: translate(0px, -6px);
  }
}

/* Mobile tweaks – bubbles */
@media (max-width: 768px) {
  .project-bubbles {
    bottom: 11%;
    gap: 0.6rem;
  }

  .project-bubble {
    width: 64px;
    height: 64px;
    font-size: 0.6rem;
  }
}

/* --------------------------------------------------------------
# Responsive tweaks (general)
-------------------------------------------------------------- */
@media (max-width: 767px) {
  .title-box {
    margin-bottom: 2.1rem;
  }

  .title-a {
    font-size: 1.85rem;
  }

  .about-mf .box-shadow-full {
    padding: 2.1rem 1.6rem;
  }

  .paralax-mf {
    padding: 3.2rem 0;
  }

  .about-photo {
    max-width: 200px;
  }
}

/* Blog Cards — modern clean look */

.title-box .subtitle-a {
  margin-top: -10px;
  margin-bottom: 10px;
}

/* ========== BLOG LAYOUT UPGRADE ========== */

.section-pad {
  padding-top: 80px;
  padding-bottom: 70px;
}

/* Pills above blogs */

/* Featured blog card */

/* Right side panel */

/* Make layout stack nicely on mobile */

/* ========== YOUTUBE LAYOUT UPGRADE ========== */

/* channel avatar size (final) */

/* pills under channel */

/* video cards polish */

/* -----------------------------------------
   Projects – enhanced cards + tabs + tilt
----------------------------------------- */

/* Wrapper background already soft, keep it clean */
.soft-bg {
  background: linear-gradient(180deg, #f7f9fc 0%, #fdfefe 60%, #f7f9fc 100%);
}

/* Card base */
.upgrade-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* Hover – no translate here (3D tilt JS handle karega) */
.upgrade-card:hover {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.35);
}

/* Icons + category color themes */
.ai-project-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff4ff;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.upgrade-card:hover .ai-project-icon {
  transform: translateZ(12px) scale(1.12);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15);
}

/* Badge at top-right (category) */
.ai-project-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 500;
}

/* New badge */
.project-new-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25);
}

/* Tooltip */
.has-tooltip {
  position: relative;
}

.project-tooltip {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translate(-50%, 100%) translateZ(40px);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  border-radius: 10px;
  min-width: 190px;
  max-width: 230px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.project-tooltip::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(15, 23, 42, 0.96) transparent;
}

.upgrade-card:hover .project-tooltip {
  opacity: 1;
  transform: translate(-50%, 115%) translateZ(40px);
}

/* Tabs (GitHub-like) */
.project-tabs-wrapper {
  border-bottom: 1px solid #e5e7eb;
}

.project-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  background: #f9fafb;
  border-radius: 999px;
  padding: 2px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover {
  background: rgba(15, 23, 42, 0.04);
}

.filter-btn.active {
  background: #0f172a;
  color: #f9fafb;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

/* =========================================================
   Projects Section – Pro UI + Animations
   ========================================================= */

/* Soft background for whole section */
.soft-bg {
  background: radial-gradient(circle at top left, #eef3ff 0, #f7f9ff 40%, #ffffff 100%);
}

/* Section padding helper (already maybe defined – safe to keep) */
.section-pad {
  padding: 4rem 0;
}

@media (max-width: 767px) {
  .section-pad {
    padding: 3rem 0;
  }
}

/* ---------- Toolbar: Category Tabs (GitHub-like) ---------- */

.projects-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.projects-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  background: rgba(15, 23, 42, 0.02);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.projects-tab-btn {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  position: relative;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.18s ease;
}

.projects-tab-btn span.count-pill {
  font-size: 0.7rem;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.projects-tab-btn:hover {
  background: rgba(59, 130, 246, 0.06);
  color: #111827;
  transform: translateY(-1px);
}

.projects-tab-btn.active {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  box-shadow:
    0 6px 15px rgba(37, 99, 235, 0.35),
    0 0 0 1px rgba(191, 219, 254, 0.2);
}

.projects-tab-btn.active span.count-pill {
  background: rgba(15, 23, 42, 0.24);
}

/* Optional meta text on right side of toolbar */
.projects-meta {
  font-size: 0.78rem;
  color: #6b7280;
}

/* ---------- Project Cards Base ---------- */

.project-card,
.ai-project-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transform-style: preserve-3d;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease,
    height 0.4s ease,
    margin 0.4s ease,
    padding 0.4s ease;
}

/* Top row: icon + badge */
.ai-project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

/* Icon circle */
.ai-project-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(37, 99, 235, 0.07);
  color: #1d4ed8;
}

/* Badge */
.ai-project-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(15, 23, 42, 0.04);
  color: #4b5563;
}

/* Header: title + external icon */
.ai-project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}

.ai-project-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ai-project-external {
  font-size: 0.9rem;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.22s ease, transform 0.22s ease;
}

.ai-project-external:hover {
  color: #2563eb;
  transform: translateY(-1px);
}

/* Description */
.ai-project-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0.4rem 0 0.55rem;
  color: #4b5563;
}

/* Meta chips at bottom */
.ai-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: auto;
}

.ai-project-meta span {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
}

/* ---------- Hover: 3D Tilt + Glow ---------- */

.project-card:hover,
.ai-project-card:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg) scale(1.03);
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.45),
    0 0 18px rgba(37, 99, 235, 0.25),
    0 0 35px rgba(37, 99, 235, 0.18);
  filter: brightness(1.05);
}

.project-card:hover .ai-project-icon i,
.ai-project-card:hover .ai-project-icon i {
  transform: translateZ(18px);
}

/* Mobile devices – reduce tilt for stability */
@media (max-width: 768px) {

  .project-card:hover,
  .ai-project-card:hover {
    transform: translateY(-4px) scale(1.02);
    rotate: none;
  }
}

/* ---------- Filter States + Pro Entry Animation ---------- */

/* Hidden (collapsed) */
.project-card.hide,
.ai-project-card.hide {
  opacity: 0;
  transform: translateY(30px) scale(0.85);
  pointer-events: none;
  height: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  filter: blur(5px);
}

/* Visible (animated in) */
.project-card.show,
.ai-project-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  animation: projectProFade 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes projectProFade {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.92);
    filter: blur(6px);
  }

  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Staggered delay – first 8 cards */
.project-card.show:nth-child(1),
.ai-project-card.show:nth-child(1) {
  animation-delay: 0.05s;
}

.project-card.show:nth-child(2),
.ai-project-card.show:nth-child(2) {
  animation-delay: 0.10s;
}

.project-card.show:nth-child(3),
.ai-project-card.show:nth-child(3) {
  animation-delay: 0.15s;
}

.project-card.show:nth-child(4),
.ai-project-card.show:nth-child(4) {
  animation-delay: 0.20s;
}

.project-card.show:nth-child(5),
.ai-project-card.show:nth-child(5) {
  animation-delay: 0.25s;
}

.project-card.show:nth-child(6),
.ai-project-card.show:nth-child(6) {
  animation-delay: 0.30s;
}

.project-card.show:nth-child(7),
.ai-project-card.show:nth-child(7) {
  animation-delay: 0.35s;
}

.project-card.show:nth-child(8),
.ai-project-card.show:nth-child(8) {
  animation-delay: 0.40s;
}

/* ---------- "NEW" Badge ---------- */

.project-new-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff005d, #ff8a00);
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 20px;
  animation: newBadgePop 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 10px rgba(255, 60, 60, 0.35);
  z-index: 10;
}

@keyframes newBadgePop {
  0% {
    transform: scale(0) rotate(-20deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* ===== Global scroll reveal ===== */

/* ---------- Project filter animations & layout ---------- */

/* Base state for each card wrapper (col.project-card) */
.project-card {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Visible state */
.project-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  display: block;
  /* taaki Bootstrap flex grid cards ko reflow kare */
}

/* Hidden state */
.project-card.hide {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  display: none;
  /* space occupy nahi karega, rows upar shift ho jayengi */
}



/* --------------------------------------------------------------
# Skills
-------------------------------------------------------------- */
.skills-compact {
  padding-top: 0;
  /* already has section-pad */
  padding-bottom: 0;
}

.skills-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.skills-heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-text-strong);
}

.skills-heading i {
  color: var(--color-primary);
}

.skills-list-compact {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2rem;
}

.skills-list-compact li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.skills-list-compact li span {
  font-weight: 600;
  color: var(--color-text-strong);
  margin-right: 0.3rem;
}

.skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skills-pill {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #1d2433;
}

/* ------------ Live Stats Board ------------ */
.stats-board {
  position: relative;
}

.stats-board .stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.25);
  text-align: center;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-hint {
  margin-top: 4px;
  font-size: 11px;
  color: #9ca3af;
}

/* ------------ Tech Radar ------------ */

.radar-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.radar-dot-core {
  background: #22c55e;
}

.radar-dot-comfort {
  background: #38bdf8;
}

.radar-dot-explore {
  background: #a855f7;
}

/* ------------ Journey Timeline ------------ */
/* === Lighten Tech Radar + Career Journey cards === */

/* Cards ko project cards jaisa glassy white bana do */

/* Text colours thode light theme ke according */
/* Combined Skills + Tech Radar */
.skills-compact {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Common card styles */
.skills-card,
.skills-summary-card {
  background: var(--color-surface, #ffffff);
  border-radius: var(--radius-card, 24px);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Radar visual */

/* Highlight core area in green */

.radar-note {
  color: rgba(107, 114, 128, 0.9);
}

/* Legend dots reused in summary */
.radar-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.radar-dot-core {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.radar-dot-comfort {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.radar-dot-explore {
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

/* Summary card on the right of radar */
.skills-summary-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.summary-headline {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.9);
  margin-bottom: 0.2rem;
}

.summary-label {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.75);
}

/* Existing skills styles (reused) */
.skills-heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-text-strong, #0f172a);
}

.skills-heading i {
  color: var(--color-primary, #0078ff);
}

/* Tech buckets */

.bucket-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.7);
  margin-right: 0.25rem;
}

/* Smaller text list */
.skills-list-compact {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2rem;
}

.skills-list-compact li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.skills-list-compact li span {
  font-weight: 600;
  color: var(--color-text-strong, #0f172a);
  margin-right: 0.3rem;
}

/* Strength pills */
.skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skills-pill {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill, 999px);
  background-color: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #1d2433;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {

  .skills-summary-card {
    padding: 1.3rem 1.1rem;
  }

  .summary-label {
    flex-basis: 100px;
  }
}

/* Compact Skills + Tech Radar */
.skills-compact {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Cards */
.skills-radar-card,
.skills-overview-card {
  background: var(--color-surface, #ffffff);
  border-radius: var(--radius-card, 20px);
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* --- Minimal radar bubble --- */
.radar-circle-mini {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 999px;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.8) 0, rgba(34, 197, 94, 0.15) 32%, transparent 33%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.65) 40%, rgba(59, 130, 246, 0.12) 66%, transparent 67%),
    radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.55) 76%, rgba(147, 51, 234, 0.1) 92%, transparent 93%),
    linear-gradient(135deg, #e0f2fe, #f5f3ff);
  overflow: hidden;
}

/* central dot */
.radar-circle-mini::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.9);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* labels */
.radar-label {
  position: absolute;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.7);
}

.radar-label-core {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.radar-label-comfort {
  top: 16%;
  left: 16%;
}

.radar-label-explore {
  top: 10%;
  right: 10%;
}

.radar-note {
  font-size: 0.75rem;
  color: rgba(107, 114, 128, 0.95);
}

/* dots reused on right card */
.radar-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.radar-dot-core {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.9);
}

.radar-dot-comfort {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.9);
}

.radar-dot-explore {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.9);
}

/* --- Right card content --- */

.summary-headline {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.9);
}

.summary-lines {
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  padding: 0.55rem 0.7rem;
}

.summary-line {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  padding: 0.25rem 0;
}

.summary-line+.summary-line {
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
}

.summary-label {
  flex: 0 0 90px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.75);
}

.summary-text {
  flex: 1;
}

/* mini tech buckets */
.tech-buckets-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.25rem;
  margin-top: 0.4rem;
}

.tech-bucket-mini {
  font-size: 0.84rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
}

.bucket-label {
  font-weight: 600;
  margin-right: 0.35rem;
  color: rgba(15, 23, 42, 0.8);
}

.bucket-items {
  color: rgba(55, 65, 81, 0.95);
}

/* strengths row */
.skills-strengths {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  align-items: center;
  margin-top: 0.6rem;
}

.strength-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.8);
}

/* pills reuse your existing style, kept compact */
.skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skills-pill {
  font-size: 0.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background-color: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #1d2433;
}

/* responsive tweaks */
@media (min-width: 768px) {
  .tech-buckets-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {

  .skills-radar-card,
  .skills-overview-card {
    padding: 1.1rem 1rem;
  }

  .summary-label {
    flex-basis: 80px;
  }

  .radar-circle-mini {
    max-width: 170px;
  }
}

.architecture-wrapper {
  max-width: 900px;
  margin: auto;
}

.architecture-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.arch-layer {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.arch-layer.split {
  flex-wrap: wrap;
}

.arch-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 14px 18px;
  border-radius: 10px;
  min-width: 240px;
  text-align: center;
  font-weight: 600;
}

.arch-box span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: #6b7280;
}

.arch-arrow {
  font-size: 1.4rem;
  color: #9ca3af;
}

/* =====================================================
   PROJECTS SECTION – ICON FIRST, LOW TEXT, PREMIUM
===================================================== */

/* Section background already soft-bg, keep clean */
#projects {
  position: relative;
}

/* ---------------- Tabs ---------------- */

.project-tabs-wrapper {
  border-bottom: 1px solid #e5e7eb;
}

.project-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #f8fafc;
  border-radius: 999px;
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

/* ---------------- Grid ---------------- */

.project-grid {
  align-items: stretch;
}

/* ---------------- Card wrapper ---------------- */

.project-card {
  height: 100%;
}

/* Actual card */
.project-card article {
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* Hover – subtle lift */
.project-card article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.35);
}

/* ---------------- Icon ---------------- */

.project-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card article:hover .project-icon {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15);
}

/* ---------------- Title ---------------- */

.project-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

/* ---------------- Description (VERY IMPORTANT) ---------------- */
/* 2 lines max, rest clipped */

.project-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- Tags ---------------- */

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.project-tags span {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e40af;
  border: 1px solid #c7d2fe;
}

/* ---------------- External link ---------------- */

.project-card a {
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-card a:hover {
  text-decoration: underline;
}

/* ---------------- Mobile tweaks ---------------- */

@media (max-width: 768px) {
  .project-card article {
    padding: 14px;
  }

  .project-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .project-desc {
    -webkit-line-clamp: 3;
  }
}

/* chatbot drawer css */

body.drawer-open {
  overflow: hidden;
}


.chatbot-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 10003;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}

.chatbot-drawer.open {
  right: 0;
}

.chatbot-header {
  padding: 14px 16px;
  background: #0078ff;
  color: #fff;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.chatbot-body {
  flex: 1;
  overflow: hidden;
}

/* Mobile */
@media (max-width: 480px) {
  .chatbot-drawer {
    width: 100%;
  }
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-open-newtab {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot-open-newtab:hover {
  opacity: 1;
  transform: scale(1.1);
}

.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.chatbot-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.chatbot-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
