/* ===========================
   Global Reset & Variables
   =========================== */
   html, body {
  overflow-x: hidden;
}

*,
*::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);

  transition:
    background-color 0.35s ease,
    color 0.35s ease;

}

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;
}





/* ===========================
   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);
}



/* ===============================
   HERO TEXT MOBILE FIX
   =============================== */

@media (max-width: 768px) {

  .hero-word {
    line-height: 1.05;
  }

  .hero-digital {
    font-size: clamp(2.1rem, 9vw, 2.5rem);
  }

  .hero-experience {
    font-size: clamp(2.4rem, 10vw, 2.9rem);
  }

  .hero-designer {
    font-size: clamp(2.2rem, 9vw, 2.6rem);
  }

  .hero-and {
    font-size: clamp(1.9rem, 8vw, 2.2rem);
  }

  .hero-developer {
    font-size: clamp(2.4rem, 10vw, 2.9rem);
  }

  .hero-meta-row {
    justify-content: center;
    gap: 16px;
  }

}





/* ===========================
   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;

  contain: content;

}

.marquee-content {

  display: flex;

  align-items: center;

  gap: 18px;

  width: max-content;

  white-space: nowrap;

  will-change: transform;

  transform: translate3d(0,0,0);

  backface-visibility: hidden;

  perspective: 1000px;

  animation: marqueeMove 20s 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%);
  }
}
/* MOBILE MARQUEE SPEED */

@media (max-width: 768px) {

  .marquee-content {

    gap: 14px;

    animation: marqueeMove 9s linear infinite;

  }

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









/* ===========================
   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);
}



/* ===========================
   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);
}



/* 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);
}




/* =========================================
   LIGHT THEME HOVER FIXES
========================================= */

body:not(.dark-theme) .service-card:hover,
body:not(.dark-theme) .project-row:hover,
body:not(.dark-theme) .intro-card:hover,
body:not(.dark-theme) .icon-pill:hover,
body:not(.dark-theme) .pill-outline:hover,
body:not(.dark-theme) .project-tags span:hover {

  background: #f3ede2 !important;

  border-color: #d8cfc0 !important;

  color: #111 !important;

  box-shadow: 0 8px 24px rgba(0,0,0,0.08);

}


/* BUTTONS */

body:not(.dark-theme) .pill-outline {

  background: #ffffff;

  color: #111111;

  border: 1px solid #d8cfc0;

}

body:not(.dark-theme) .pill-outline:hover {

  background: #f3ede2;

  color: #000;

}


/* PROJECT TAGS */

body:not(.dark-theme) .project-tags span {

  background: #ffffff;

  color: #111111;

  border: 1px solid #d8cfc0;

}

body:not(.dark-theme) .project-tags span:hover {

  background: #ece3d3;

}


/* PROJECT ROW */

body:not(.dark-theme) .project-row {

  background: #ffffff;

  color: #111111;

}

body:not(.dark-theme) .project-row:hover {

  background: #f5eee2;

}


/* SERVICE CARDS */

body:not(.dark-theme) .service-card {

  background: #ffffff;

  color: #111111;

}

body:not(.dark-theme) .service-card p {

  color: #444;

}


/* INTRO CARDS */

body:not(.dark-theme) .intro-card {

  background: #ffffff;

  color: #222;

}


/* ICON PILLS */

body:not(.dark-theme) .icon-pill {

  background: #ffffff;

  color: #111111;

}


/* TECH PILLS */

body:not(.dark-theme) .tech-pill {

  background: #ffffff !important;

  color: #111 !important;

  border: 1px solid #ddd2c2 !important;

}


/* FOOTER LINKS */

body:not(.dark-theme) .footer-links a:hover {

  color: #000;

}


/* BUTTON TEXT FIX */

body:not(.dark-theme) .project-tag,
body:not(.dark-theme) .view-all-btn,
body:not(.dark-theme) .pill-button {

  color: #111111;

}



/* =========================================
   HIRE MODAL
========================================= */

.hire-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;

  background: rgba(0,0,0,0.65);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

  z-index: 9999;
}

.hire-modal.open {
  opacity: 1;
  visibility: visible;
}

.hire-modal-content {
  width: 90%;
  max-width: 500px;

  background: #111;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 24px;

  padding: 30px;

  position: relative;

  transform: translateY(20px);
  transition: 0.3s ease;
}

.hire-modal.open .hire-modal-content {
  transform: translateY(0);
}

.hire-close {
  position: absolute;
  top: 18px;
  right: 20px;

  background: transparent;
  border: none;

  color: white;
  font-size: 28px;
  cursor: pointer;
}

.hire-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.hire-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hire-form label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.hire-form input,
.hire-form textarea,
.hire-form select {
  width: 100%;

  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);

  padding: 14px;
  border-radius: 14px;

  color: white;
  font-size: 15px;

  outline: none;
}

.hire-send-btn {
  margin-top: 10px;

  background: linear-gradient(135deg,#00c896,#00e1ff);

  border: none;
  color: black;

  font-weight: 700;
  padding: 14px;

  border-radius: 14px;

  cursor: pointer;

  transition: 0.3s ease;
}

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



body:not(.dark-theme) #welcomeText {

  color: #ffffff;

  opacity: 1;

  text-shadow:
    0 0 10px rgba(255,255,255,0.35);

}

html {

  transition:
    background-color 0.35s ease,
    color 0.35s ease;

}

body {

  transition:
    background-color 0.35s ease,
    color 0.35s ease;

}

/* =========================================
   LIGHT THEME HERO COLORS
========================================= */

body:not(.dark-theme) .hero-digital {

  color: #8f45ff;

  text-shadow:
    0 1px 0 rgba(0,0,0,0.08);

}


body:not(.dark-theme) .hero-experience {

  color: #d9b300;

  text-shadow:
    0 1px 0 rgba(0,0,0,0.08);

}


body:not(.dark-theme) .hero-designer {

  color: #d33726;

  text-shadow:
    0 2px 8px rgba(212,178,106,0.18);

}

body:not(.dark-theme) .hero-and {

  color: #111111;

}


body:not(.dark-theme) .hero-developer {

  color: #009dff;

  text-shadow:
    0 1px 0 rgba(0,0,0,0.08);

}


/* =========================================
   LIGHT THEME ACCENT TEXT
========================================= */

body:not(.dark-theme) .accent-purple {

  color: #8f45ff;

}

body:not(.dark-theme) .accent-yellow {

  color: #f33207;

}

body:not(.dark-theme) .accent-cyan {

  color: #009dff;

}



/* =========================================
   LIGHT THEME DEFAULT
========================================= */

:root {

  --bg-main: #f6f1e7;
  --bg-card: #ffffff;

  --text-main: #111111;
  --text-muted: #4f4f4f;

  --accent-purple: #8f45ff;
  --accent-yellow: #d6aa00;
  --accent-cyan: #009dff;
  --accent-green: #00c96b;

  --border-soft: #ddd6c8;

  --radius-pill: 999px;

  --shadow-soft:
    0 10px 40px rgba(0,0,0,0.06);

}






/* =========================================
   RESUME MODAL
========================================= */

.resume-modal {

  position: fixed;

  inset: 0;

  background:
    rgba(0,0,0,0.72);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  transition: 0.3s ease;

  z-index: 99999;

}


.resume-modal.open {

  opacity: 1;

  visibility: visible;

}


.resume-modal-content {

  width: 90%;

  max-width: 900px;

  height: 88vh;

  background: #fff;

  border-radius: 22px;

  overflow: hidden;

  position: relative;

}


.resume-frame {

  width: 100%;

  height: 100%;

  border: none;

}


.resume-close {

  position: absolute;

  top: 14px;

  right: 20px;

  font-size: 2rem;

  cursor: pointer;

  z-index: 20;

  color: #000;

}



/* =========================================
   FIRE WEBSITE ANNOUNCEMENT
========================================= */

.fire-announcement {

  position: relative;

  display: flex;
  align-items: center;

  width: fit-content;

  margin: 28px auto 0;

  text-decoration: none;

  z-index: 30;

  animation:
    fireTravelDesktop 14s linear infinite;

  will-change: transform;

}


/* =========================================
   FIRE ICON
========================================= */

.fire-announcement-icon {

  width: 72px;
  height: 72px;

  object-fit: contain;

  z-index: 3;

  flex-shrink: 0;

}


/* =========================================
   MESSAGE BOX
========================================= */

.fire-announcement-box {

  position: absolute;

  left: 58px;

  top: -18px;

  background: #161d39;

  color: #ffffff;

  padding: 10px 18px;

  border-radius: 16px;

  font-size: 0.92rem;

  font-weight: 500;

  line-height: 1.45;

  white-space: nowrap;

  box-shadow:
    0 10px 26px rgba(0,0,0,0.16);

}


/* =========================================
   COMIC POINTER
========================================= */

.fire-announcement-box::before {

  content: "";

  position: absolute;

  left: -8px;

  top: 26px;

  width: 0;
  height: 0;

  border-top: 8px solid transparent;

  border-bottom: 8px solid transparent;

  border-right: 10px solid #161d39;

}


/* =========================================
   FULL PAGE HORIZONTAL MOVEMENT
========================================= */

@keyframes fireTravelDesktop {

  0% {

    transform: translateX(-38vw);

  }

  50% {

    transform: translateX(38vw);

  }

  100% {

    transform: translateX(-38vw);

  }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .fire-announcement {

    animation:
      fireTravelTablet 11s linear infinite;

  }

  .fire-announcement-icon {

    width: 58px;
    height: 58px;

  }

  .fire-announcement-box {

    left: 48px;

    top: -12px;

    font-size: 0.84rem;

    padding: 9px 15px;

  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {

  .fire-announcement {

    margin-top: 20px;

    animation:
      fireTravelMobile 9s linear infinite;

  }

  .fire-announcement-icon {

    width: 48px;
    height: 48px;

  }

  .fire-announcement-box {

    left: 40px;

    top: -8px;

    font-size: 0.74rem;

    padding: 8px 13px;

    border-radius: 12px;

  }

  .fire-announcement-box::before {

    top: 18px;

  }

}


/* =========================================
   TABLET MOVEMENT
========================================= */

@keyframes fireTravelTablet {

  0% {

    transform: translateX(-22vw);

  }

  50% {

    transform: translateX(22vw);

  }

  100% {

    transform: translateX(-22vw);

  }

}


/* =========================================
   MOBILE MOVEMENT
========================================= */

@keyframes fireTravelMobile {

  0% {

    transform: translateX(-12vw);

  }

  50% {

    transform: translateX(12vw);

  }

  100% {

    transform: translateX(-12vw);

  }

}