/* ===========================
   Global Reset & Variables
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-main: #050606;
  --bg-card: #101110;
  --text-main: #fdf7d3;
  --text-muted: #c5c5b8;
  --accent-purple: #d36bff;
  --accent-yellow: #ffe76b;
  --accent-cyan: #3df4ff;
  --accent-green: #4bff88;
  --border-soft: #2a2a23;
  --radius-pill: 999px;
  --shadow-soft: 0 0 40px rgba(0, 0, 0, 0.5);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}


/* ===========================
   Welcome Overlay
   =========================== */

.welcome-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #1a1a1a, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.welcome-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.welcome-inner {
  padding: 24px 40px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  background: rgba(5, 6, 6, 0.85);
  box-shadow: var(--shadow-soft);
}

#welcomeText {
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}


/* ===========================
   Header & Navigation
   =========================== */

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), var(--shadow-soft);
  position: sticky;
  top: 16px;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-green), #243b1f);
}

.brand-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  background: #050606;
}

/* nav links with icons */
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.15s ease-out;
}

.nav-link:hover {
  border-color: var(--border-soft);
  color: var(--text-main);
  background: #11110d;
}

.nav-link.active {
  background: #151510;
  border-color: var(--border-soft);
  color: var(--accent-yellow);
}

/* icons in nav */
.nav-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover .nav-icon {
  opacity: 1;
  transform: scale(1.12);
}


/* ===========================
   Pills / Buttons (Generic)
   =========================== */

.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out,
              box-shadow 0.12s ease-out,
              background 0.12s ease-out,
              border-color 0.12s ease-out,
              color 0.12s ease-out;
}

.pill-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.pill-outline {
  background: #050606;
  border-color: var(--border-soft);
  color: var(--text-main);
}

.pill-outline:hover {
  background: #151510;
}

.pill-solid-green {
  background: var(--accent-green);
  color: #050606;
}

.pill-soft {
  background: #151515;
  color: var(--text-main);
  border-color: var(--border-soft);
}

.pill-soft-label {
  font-size: 0.8rem;
}


/* ===========================
   Let's Connect Button + Pulse
   =========================== */

.dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10ff64;
  box-shadow: 0 0 0 0 rgba(16, 255, 100, 0.5);
  animation: dotPulse 1.6s ease-out infinite;
}

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 255, 100, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(16, 255, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 255, 100, 0); }
}

.lets-connect {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(75, 255, 136, 0.25);
}

.lets-connect::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: radial-gradient(
    circle at 0% 50%,
    rgba(255, 255, 255, 0.7),
    transparent 60%
  );
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  mix-blend-mode: screen;
}

.lets-connect:hover::before {
  opacity: 0.9;
  transform: translateX(120%);
}

.lets-connect:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 30px rgba(75, 255, 136, 0.45);
}


/* ===========================
   Hero Section Layout
   =========================== */

.hero-section {
  position: relative;
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

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

/* Avatar inside pill */
.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===========================
   Hero Intro Pill (Hello, I'm Bipul)
   Water Fill Hover Effect
   =========================== */

.hero-intro-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Water layer */
.hero-intro-pill::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;    /* start below pill */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 163, 255, 0.35),
    rgba(0, 240, 255, 0.35)
  );
  transition: bottom 1.1s ease;
  z-index: 0;
}



/* On hover water rises */
.hero-intro-pill:hover::before {
  bottom: 0;
}

/* Content stays above water */
.hero-intro-pill * {
  position: relative;
  z-index: 2;
}


/* ===========================
   Hero Typography
   =========================== */

.hero-title {
  text-align: center;
}

.hero-word {
  display: block;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-digital {
  font-size: clamp(3.4rem, 5vw, 3.4rem);
  color: var(--accent-purple);
}

.hero-experience {
  font-size: clamp(3.8rem, 6vw, 3.8rem);
  color: var(--accent-yellow);
}

.hero-designer {
  font-size: clamp(3.6rem, 6vw, 3.6rem);
  color: #fdf7d3;
}

.hero-and {
  font-size: clamp(3.3rem, 5vw, 3.2rem);
}

.hero-developer {
  font-size: clamp(3.7rem, 6vw, 3.7rem);
  color: var(--accent-cyan);
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta span:nth-child(2) {
  display: block;
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-subtext {
  font-size: 0.98rem;
  max-width: 540px;
  color: var(--text-muted);
}

.accent-purple {
  color: var(--accent-purple);
}

.accent-yellow {
  color: var(--accent-yellow);
}

.accent-cyan {
  color: var(--accent-cyan);
}


/* ===========================
   Floating Hero Tags
   =========================== */

.hero-floating-tag {
  position: absolute;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #101110;
  font-size: 0.8rem;
  color: var(--text-main);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0.9;
}

.tag-product {
  top: 18%;
  left: 52%;
  animation: floatProduct 5.5s ease-in-out infinite alternate;
  color: var(--accent-purple);
}

.tag-dev {
  bottom: 18%;
  left: 12%;
  animation: floatDev 6s ease-in-out infinite alternate;
  color: var(--accent-cyan);
}

.tag-brand {
  top: 62%;
  right: 10%;
  animation: floatBrand 7s ease-in-out infinite alternate;
  color: var(--accent-yellow);
}

@keyframes floatProduct {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(10px, -8px); }
  100% { transform: translate(-6px, 6px); }
}

@keyframes floatDev {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-10px, 10px); }
  100% { transform: translate(8px, -6px); }
}

@keyframes floatBrand {
  0%   { transform: translate(0, 0) rotate(-2deg); }
  50%  { transform: translate(-8px, 12px) rotate(1deg); }
  100% { transform: translate(6px, -4px) rotate(0deg); }
}


/* ===========================
   Generic Section Layout
   =========================== */

.section {
  padding: 40px 0;
  border-top: 1px solid #161614;
}

.eyebrow,
.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title,
.section-title-center {
  font-size: 1.6rem;
  margin: 0 0 18px;
}

.section-title-center {
  text-align: center;
}


/* ===========================
   Intro Section (Home)
   =========================== */

.intro-section {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 40px;
}

.intro-heading {
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.intro-subheading {
  margin: 0 0 14px;
  color: #63ff8e;
}

.intro-body {
  color: var(--text-muted);
}

.intro-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.intro-card {
  max-width: 260px;
  padding: 16px 18px;
  border-radius: 24px;
  background: #11110f;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* social pills */
.social-pill-row {
  display: flex;
  gap: 8px;
}

.icon-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-main);
  background: #11110f;
  transition: transform 0.1s ease-out, background 0.1s ease-out;
}

.icon-pill:hover {
  transform: translateY(-1px);
  background: #1c1c16;
}

.intro-email {
  font-size: 0.8rem;
}


/* ===========================
   What I Do Section
   =========================== */

.what-i-do {
  text-align: center;
}

.service-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  padding: 20px 18px 24px;
  border-radius: 24px;
  background: #101110;
  border: 1px solid var(--border-soft);
  text-align: left;
  transition: transform 0.16s ease-out,
              box-shadow 0.16s ease-out,
              border-color 0.16s ease-out;
}

.service-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: var(--shadow-soft);
  border-color: #303026;
}

.service-card h3 {
  margin: 10px 0 8px;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-icon {
  font-size: 1.3rem;
}


/* ===========================
   Projects Preview (Home)
   =========================== */

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-list {
  margin-top: 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #141414;
  background: #090a08;
  transition: background 0.12s ease-out, transform 0.08s ease-out;
}

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

.project-row:hover {
  background: #141511;
  transform: translateY(-1px);
}

.project-row h3 {
  margin: 0 0 4px;
}

.project-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
}

.project-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #151515;
  border: 1px solid var(--border-soft);
}


/* ===========================
   Tech Stack (Marquee)
   =========================== */

.tech-stack {
  text-align: center;
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}

.marquee-content {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeMove 18s linear infinite;
}

/* tech pill inside marquee */
.tech-marquee .tech-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.tech-marquee .tech-pill img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* original simple tech pills (if used anywhere else) */
.tech-icon-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tech-icon-row .tech-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #101010;
  font-size: 0.85rem;
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cta-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}


/* ===========================
   Projects Page (Detail Layout)
   =========================== */

.projects-page-hero {
  padding-top: 60px;
  position: relative;
}

.page-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-muted);
  max-width: 560px;
}

/* project detail layout */
.project-detail {
  border-top: 1px solid #171715;
}

.project-detail-main {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr;
  gap: 30px;
  align-items: stretch;
}

.project-detail-text h2 {
  margin: 4px 0 4px;
}

.project-role {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-points {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project-meta-top {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.project-links-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* project preview box shared */
.project-preview-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px dashed #2a2a20;
  background: #10110f;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* if image inside preview */
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-preview-box:hover .project-image {
  transform: scale(1.07);
}

/* reflection effect */
.project-preview-box::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -120%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 40%,
    transparent 80%
  );
  transform: rotate(15deg);
  transition: 0.8s ease;
  pointer-events: none;
}

.project-preview-box:hover::after {
  top: -20%;
  left: -20%;
}

.preview-placeholder {
  opacity: 0.7;
}


/* ===========================
   Lottie Animation (Projects Page)
   =========================== */

.projects-lottie {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: auto;
  animation: walkAcross 16s linear infinite;
}

.projects-lottie lottie-player {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* walking left animation */
@keyframes walkAcross {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  80% {
    transform: translateX(-90vw);
    opacity: 1;
  }
  100% {
    transform: translateX(-100vw);
    opacity: 0;
  }
}


/* ===========================
   About Page Layout
   =========================== */

.about-hero {
  padding-top: 60px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 32px;
}

.about-main p {
  color: var(--text-muted);
  line-height: 1.7;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: #101110;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text-main);
}

.about-card ul {
  margin: 0;
  padding-left: 18px;
}


/* ===========================
   Blob-shaped Profile Photo
   =========================== */



.profile-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===========================
   Ask Me Anything Card
   =========================== */

/* container card */
.ask-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
  box-shadow: none;
}

/* title */
.ask-card h3 {
  margin-bottom: 12px;
  color: #e0e0e0;
}

/* description */
.ask-desc {
  margin-bottom: 14px;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* textarea input */
.ask-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.ask-input::placeholder {
  color: rgba(200, 200, 200, 0.45);
}

.ask-input:focus {
  border-color: #4ea8ff;
  outline: none;
}

/* send button */
.ask-button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #4ea8ff;
  color: black;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ask-button:hover {
  background: #76c9ff;
  transform: translateY(-3px) scale(1.03);
}

/* fake success popup */
.success-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111;
  padding: 14px 22px;
  border-radius: 12px;
  color: #00ffb7;
  font-weight: 600;
  border: 1px solid #00ffb7;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.35s ease;
  z-index: 9999;
}

.success-popup.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================
   Timeline (Experience & Education)
   =========================== */

.timeline-section {
  border-top: 1px solid #171715;
}

.timeline {
  margin-top: 18px;
  border-left: 1px solid #333324;
  padding-left: 16px;
}

.timeline-item {
  position: relative;
  padding: 10px 0 20px 6px;
}

.timeline-dot {
  position: absolute;
  left: -10px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(75, 255, 136, 0.15);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.timeline-content h3 {
  margin: 0 0 4px;
}

.timeline-content p {
  margin: 0;
  color: var(--text-muted);
}


/* ===========================
   Footer
   =========================== */

.site-footer {
  border-top: 1px solid #171715;
  margin-top: 40px;
  padding-top: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent-yellow);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  margin-bottom: 0; /* handled by gap */
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-links img {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #171715;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ===========================
   Responsive Breakpoints
   =========================== */

@media (max-width: 900px) {
  .main-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .intro-section,
  .service-grid,
  .project-detail-main,
  .about-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-wrapper {
    padding-inline: 12px;
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .main-header {
    position: static;
  }

  .hero-section {
    padding-top: 48px;
  }

  .section {
    padding: 28px 0;
  }
}



/* ===================== RESUME BUTTON ====================== */

.resume-btn {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.resume-btn .resume-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.85;
}

/* Shine effect */
.resume-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.7) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: 0.5s ease;
}

.resume-btn:hover {
  transform: translateY(-2px);
}

.resume-btn:hover::after {
  left: 130%;
}
/* ===================== RESUME MODAL ====================== */

.resume-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.resume-modal.open {
  display: flex;
}

.resume-modal-content {
  width: 85%;
  max-width: 900px;
  height: 90vh;
  background: #111;
  border-radius: 14px;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.resume-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.resume-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: #222;
  color: #fff;
  border: none;
  font-size: 26px;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
}

.resume-close:hover {
  background: #333;
}


/* =========================================================
   CONNECT BUTTON (same shine effect as resume)
   ========================================================= */
.connect-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.connect-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.9;
}

/* Shine sweep */
.connect-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.7) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: 0.5s ease;
}

.connect-btn:hover {
  transform: translateY(-2px);
}

.connect-btn:hover::after {
  left: 120%;
}


/* =========================================================
   CONNECT MODAL
   ========================================================= */
.connect-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.connect-modal.open {
  display: flex;
}

.connect-modal-content {
  width: 90%;
  max-width: 550px;
  background: #111;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Close button */
.connect-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: #222;
  color: white;
  border: none;
  font-size: 26px;
  border-radius: 6px;
  padding: 2px 10px;
  cursor: pointer;
}

.connect-title {
  margin-top: 0;
  color: var(--accent-yellow);
}

.connect-email {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

/* Inputs */
.connect-input,
.connect-textarea {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.connect-input::placeholder,
.connect-textarea::placeholder {
  color: rgba(200,200,200,0.5);
}

/* Send Button */
.connect-send-btn {
  width: 100%;
  padding: 12px;
  background: #4ea8ff;
  border: none;
  border-radius: 10px;
  color: black;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.connect-send-btn:hover {
  background: #76c9ff;
  transform: translateY(-3px) scale(1.03);
}













/* Floating Particles Canvas */
/* Full-screen particles canvas */
#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--hero-height, 600px); /* dynamic height */
  pointer-events: none;
  z-index: 0;
}

/* ==========================
   Profile Photo – Square with Rounded Corners + 3D Hover
   ========================== */

.profile-blob {
  position: absolute;
  top: 100px;
  right: 20%;
  width: 260px;
  height: 260px;

  /* square rounded style */
  border-radius: 24px;
  overflow: hidden;

  /* remove blob clip-path */
  clip-path: none;

  /* hover effect */
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* =====================================
   Profile Photo — Clean Modern Hover
   ===================================== */

.profile-blob {
  position: absolute;
  top: 100px;
  right: 20%;
  width: 260px;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;

  /* new clean transitions */
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* image stays natural */
.profile-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* NEW minimal hover effect */
.profile-blob:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

/* slight zoom */
.profile-blob:hover img {
  transform: scale(1.06);
}

/* Remove previous reflection / 3D */
.profile-blob::after {
  display: none !important;
}















/* HIRE ME BUTTON */
.hire-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #00d4ff, #0078ff);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.25s ease;
}

.hire-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 14px rgba(0, 199, 255, 0.45);
}

.hire-icon {
  width: 22px;
  height: 22px;
}

/* HIRE MODAL */
.hire-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 6000;
}

.hire-modal.open {
  display: flex !important;
}

.hire-modal-content {
  width: 420px;
  background: #0b0d10;
  border: 1px solid #1e242c;
  padding: 22px 26px;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(0,173,255,0.25);
  position: relative;
  animation: modalPop 0.35s ease;
}

@keyframes modalPop {
  from { transform: translateY(20px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.hire-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
}

.hire-close:hover {
  color: white;
}

.hire-title {
  margin-top: 0;
  color: #00d4ff;
  font-size: 1.6rem;
}

/* Form */
.hire-form input,
.hire-form textarea,
.hire-form select {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: #fff;
}


/* Send button */
.hire-send-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c2ff, #0094ff);
  border: none;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.hire-send-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 16px rgba(0,173,255,0.45);
}

/* SUCCESS POPUP */
.hire-success-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0e1a1d;
  padding: 12px 22px;
  border-radius: 12px;
  color: #00ffea;
  border: 1px solid #00ffea;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.35s ease;
  z-index: 9999;
}

.hire-success-popup.show {
  opacity: 1;
  transform: translateY(0);
}
/* Force dark mode for <select> dropdown options */
.hire-form select {
  background-color: #111 !important;
  color: #fff !important;
}

/* Style actual dropdown list items */
.hire-form select option {
  background-color: #111 !important;
  color: #fff !important;
}
/* Fix option dropdown visibility */
.hire-form select option {
  background: #111 !important;
  color: #fff !important;
}

.hire-send-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c2ff, #0094ff);
  border: none;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.hire-send-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 16px rgba(0,173,255,0.45);
}


/* ===========================
   FIXES FOR SMALL SCREENS
   =========================== */
@media (max-width: 600px) {

  /* Hide profile picture in ABOUT page */
  .about-hero .profile-blob {
    display: none !important;
  }

  /* Hide Connect Me button on mobile */
  #connectBtn {
    display: none !important;
  }

  /* Header alignment clean-up */
  .main-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  /* Keep only nav buttons clean and centered */
  .main-nav {
    width: 100%;
    justify-content: space-evenly;
    padding: 8px 6px;
  }

  /* Move resume button to bottom center */
  #resumeBtn {
    width: 100%;
    max-width: 240px;
    margin: 10px auto 0 auto;
    display: block;
    text-align: center;
  }

  /* Make hero section slightly compact so particles stay top-only */
  .hero-section {
    padding-top: 55px;
    padding-bottom: 10px;
  }

  /* IMPORTANT: prevent particles from filling entire page */
  #particleCanvas {
    height: 320px !important;
    pointer-events: none;
    display: block; /* make sure it's visible again */
  }
}
