/* === VARAD NAGAPURKAR — style.css === */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Poppins:wght@300;400;500&display=swap');

:root {
  --bg: #0a0a0f;
  --bg2: #12121a;
  --card: #1a1a28;
  --accent: #6c63ff;
  --accent2: #ff6584;
  --accent3: #43e97b;
  --text: #f0f0f8;
  --muted: #9090aa;
  --border: rgba(108,99,255,0.25);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

a { text-decoration: none; color: inherit; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }

.nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-right a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.nav-right a:hover,
.nav-right a.nav-active { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 40px;
  position: relative;
  overflow: hidden;
}

/* Animated background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  animation: blobMove 10s ease-in-out infinite;
}
.blob1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -150px; left: -150px;
  animation-delay: 0s;
}
.blob2 {
  width: 400px; height: 400px;
  background: var(--accent2);
  bottom: -100px; right: -100px;
  animation-delay: 3s;
}
.blob3 {
  width: 300px; height: 300px;
  background: var(--accent3);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: 6s;
  opacity: 0.08;
}

@keyframes blobMove {
  0%,100% { transform: scale(1) translate(0,0); }
  33% { transform: scale(1.08) translate(20px,-20px); }
  66% { transform: scale(0.95) translate(-15px,15px); }
}

/* HERO INNER */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1300px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ===== LEFT: PHOTO ===== */
.hero-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.photo-container {
  position: relative;
  width: 320px;
  height: 380px;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  display: block;
}

.photo-glow {
  position: absolute;
  inset: -3px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  z-index: 1;
  animation: glowSpin 4s linear infinite;
  opacity: 0.85;
}

.photo-border {
  position: absolute;
  inset: 3px;
  border-radius: 22px;
  background: var(--bg);
  z-index: 1;
}

/* Make photo sit above border overlay */
.profile-photo { z-index: 3; position: relative; }

@keyframes glowSpin {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Quick stats below photo */
.quick-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 24px;
  width: 100%;
  justify-content: center;
}

.qstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.qstat-num {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent);
}

.qstat-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.qstat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* ===== RIGHT: TEXT ===== */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-hello {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 2px;
  color: var(--text);
}

.name-highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roles-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(108,99,255,0.06);
  transition: all 0.3s;
}
.role:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(108,99,255,0.15);
}

.hero-bio {
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.hero-bio br {
  display: block;
  margin-bottom: 4px;
}

.hero-bio {
  font-size: 0.95rem; /* slightly bigger for readability */
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  max-width: 750px; /* keeps it readable */
}

.hero-bio strong {
  color: var(--text);
  font-weight: 600;
}

.hero-bio:hover {
  transform: translateX(4px); /* subtle movement */
  transition: 0.3s ease;
}
/* Know Me button */
.btn-know {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  align-self: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(108,99,255,0.35);
}
.btn-know:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(108,99,255,0.55);
}

/* ===== SECTION BUTTONS ===== */
.section-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.sec-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sec-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.sec-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.sec-btn:hover::before { opacity: 1; }

/* Individual button accent colors */
.sec-btn.cricket::before  { background: linear-gradient(135deg,rgba(67,233,123,0.15),transparent); }
.sec-btn.devops::before   { background: linear-gradient(135deg,rgba(108,99,255,0.18),transparent); }
.sec-btn.certs::before    { background: linear-gradient(135deg,rgba(255,200,80,0.15),transparent); }
.sec-btn.purohit::before  { background: linear-gradient(135deg,rgba(255,101,132,0.15),transparent); }
.sec-btn.personality::before { background: linear-gradient(135deg,rgba(80,200,255,0.15),transparent); }
.sec-btn.projects::before { background: linear-gradient(135deg,rgba(255,160,80,0.15),transparent); }

.sec-btn.cricket:hover  { border-color: #43e97b; }
.sec-btn.devops:hover   { border-color: var(--accent); }
.sec-btn.certs:hover    { border-color: #ffc850; }
.sec-btn.purohit:hover  { border-color: var(--accent2); }
.sec-btn.personality:hover { border-color: #50c8ff; }
.sec-btn.projects:hover { border-color: #ffa050; }

.sec-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.sec-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.sec-btn:hover .sec-label { color: var(--text); }

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a.nav-active {
  color: var(--accent);
  border-color: var(--border);
  background: rgba(108,99,255,0.08);
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 900px) {
  .navbar { padding: 14px 20px; }
  .nav-right { gap: 14px; }
  .nav-right a { font-size: 0.68rem; }

  .hero { padding: 80px 20px 40px; }
  .hero-inner {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .hero-left { width: 100%; }
  .photo-container { width: 240px; height: 280px; margin: 0 auto; }
  .roles-wrap { justify-content: center; }
  .hero-bio { text-align: left; }
  .btn-know { align-self: center; }
  .section-buttons { grid-template-columns: repeat(2,1fr); }
  .hero-name { font-size: 44px; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-right { display: none; }
  .navbar { padding: 10px 16px; }
  .nav-logo img { width: 34px; height: 34px; }

  .hero {
    padding: 70px 16px 30px;
    min-height: auto;
  }
  .hero-inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .hero-left { width: 100%; }
  .photo-container {
    width: 200px;
    height: 240px;
    margin: 0 auto;
  }

  /* Name animation — scale down for mobile */
  .dn-cell {
    width: clamp(27px, 8.5vw, 36px);
    height: clamp(34px, 10.5vw, 46px);
  }
  .dn-logo {
    width: clamp(24px, 7.5vw, 32px);
    height: clamp(24px, 7.5vw, 32px);
    border-radius: 6px;
  }
  .dn-logo img {
    width: clamp(14px, 4.5vw, 20px);
    height: clamp(14px, 4.5vw, 20px);
  }
  .dn-logo .dn-tool {
    font-size: 4.5px;
  }
  .dn-ltr {
    font-size: clamp(24px, 7.5vw, 32px) !important;
  }
  .devops-name-wrap {
    gap: 4px;
  }
  .devops-name-row {
    gap: 2px;
    justify-content: center;
  }

  .hero-hello {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .roles-wrap {
    justify-content: center;
    gap: 6px;
  }
  .role {
    font-size: 0.68rem;
    padding: 5px 10px;
  }

  /* Bio sections mobile */
  .bio-wrapper {
    max-width: 100%;
  }
  .bio-section {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }
  .bio-label {
    text-align: left;
    padding-right: 0;
    margin-bottom: 6px;
    font-size: 0.68rem;
  }
  .bio-section::before {
    display: none;
  }
  .bio-content {
    padding-left: 0;
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .btn-know {
    align-self: center;
    padding: 12px 26px;
    font-size: 0.76rem;
  }

  /* Section buttons */
  .section-buttons {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .sec-btn {
    padding: 14px 8px;
    border-radius: 14px;
  }
  .sec-icon { font-size: 1.4rem; }
  .sec-label { font-size: 0.65rem; }

  /* Quick stats */
  .quick-stats {
    padding: 10px 16px;
    gap: 12px;
    border-radius: 40px;
    flex-wrap: wrap;
  }
  .qstat-num { font-size: 1rem; }
  .qstat-label { font-size: 0.56rem; }
  .qstat-divider { height: 24px; }
}

/* ===== RESPONSIVE — SMALL PHONES ===== */
@media (max-width: 400px) {
  .hero { padding: 64px 12px 24px; }
  .photo-container {
    width: 170px;
    height: 210px;
  }
  .dn-cell {
    width: 27px;
    height: 34px;
  }
  .dn-logo {
    width: 24px;
    height: 24px;
  }
  .dn-logo img {
    width: 14px;
    height: 14px;
  }
  .dn-ltr {
    font-size: 24px !important;
  }
  .section-buttons {
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
  }
  .sec-btn { padding: 12px 6px; }
  .bio-content { font-size: 0.84rem; }
  .quick-stats { flex-wrap: wrap; gap: 8px; }
}


.hero-bio {
  font-size: 1rem;
  line-height: 1.9;
  color: #bfc7d5;
  border-left: 3px solid #6c63ff;
  padding-left: 18px;
  max-width: 750px;
  transition: 0.3s ease;
}

/* Whole block slight interaction */
.hero-bio:hover {
  transform: translateX(6px);
}


/* Subtle underline effect */
.highlight::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: #6c63ff;
  transition: 0.3s;
}

.highlight:hover::after {
  width: 100%;
}

/* ===== BIO WRAPPER (center control) ===== */
.bio-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

/* ===== EACH SECTION ===== */
.bio-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  margin-bottom: 22px;
  position: relative;
}

/* ===== LEFT LABEL ===== */
.bio-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #00d4ff;
  text-align: right;
  padding-right: 14px;
}

/* ===== VERTICAL LINE ===== */
.bio-section::before {
  content: "";
  position: absolute;
  left: 180px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--accent);
}

/* ===== RIGHT CONTENT ===== */
.bio-content {
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}

/* ===== FIX TEXT ALIGNMENT ISSUE ===== */
.bio-content span,
.bio-content strong {
  display: inline;
  white-space: normal;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .bio-section {
    grid-template-columns: 1fr;
  }

  .bio-label {
    text-align: left;
    padding-right: 0;
    margin-bottom: 6px;
  }

  .bio-section::before {
    display: none;
  }

  .bio-content {
    padding-left: 0;
  }
}
/* ===== PREMIUM LABEL STYLE ===== */
.bio-label {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #00d4ff;
  text-align: right;
  padding-right: 14px;
  transition: 0.3s;
}

/* glowing dot before label */
.bio-label::before {
  content: "";
  position: absolute;
  right: -6px;
  top: 6px;
  width: 6px;
  height: 6px;
  background: #6c63ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #6c63ff;
}

/* hover glow */
.bio-section:hover .bio-label {
  color: #ffffff;
  transform: translateX(-2px);
}

/* special intro color */
.intro-label {
  background: linear-gradient(90deg, #6c63ff, #ff6584);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CONTENT LOOK PREMIUM ===== */
.bio-content {
  text-align: justify;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #cfd3ff;
  position: relative;
}

/* Highlight numbers & keywords WITHOUT span */
.bio-content::selection {
  background: rgba(108, 99, 255, 0.3);
}

/* Gradient emphasis using strong */
.bio-content strong {
  font-weight: 600;
  background: linear-gradient(90deg, #6c63ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== POWERFUL HIGHLIGHT CLASS ===== */
.highlight {
  font-weight: 700;
  color: #00ff88;
  text-shadow: 
    0 0 8px #00ff88,
    0 0 16px rgba(0, 255, 136, 0.5),
    0 0 24px rgba(0, 255, 136, 0.3);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.highlight:hover {
  color: #00ffaa;
  text-shadow: 
    0 0 12px #00ffaa,
    0 0 24px rgba(0, 255, 170, 0.6),
    0 0 36px rgba(0, 255, 170, 0.4);
}

/* Section glow effect */
.bio-section {
  transition: 0.3s ease;
  padding: 6px 0;
}

.bio-section:hover {
  transform: translateX(6px);
}

/* Vertical line upgrade */
.bio-section::before {
  background: linear-gradient(
    to bottom,
    transparent,
    #6c63ff,
    #00d4ff,
    transparent
  );
  width: 2px;
}

/* Label premium style */
.bio-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7aa2ff;
  text-transform: uppercase;
  transition: 0.3s;
}

/* Label hover glow */
.bio-section:hover .bio-label {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(108, 99, 255, 0.7);
}

/* subtle divider effect */
.bio-section:not(:last-child)::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(to right, transparent, rgba(108,99,255,0.4), transparent);
}


.bio-content::first-line {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* TONED DOWN FIRST LETTER — fiery but not scary */
.bio-content::first-letter {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
  background: linear-gradient(180deg, #ffcc00 0%, #ff6a00 60%, #cc2200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 3px rgba(255, 100, 0, 0.35));
}
.bio-content {
  position: relative;
}

.bio-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at left,
    rgba(108,99,255,0.08),
    transparent 60%
  );
  pointer-events: none;
}

.bio-section {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards;
}

.bio-section:nth-child(1) { animation-delay: 0.1s; }
.bio-section:nth-child(2) { animation-delay: 0.2s; }
.bio-section:nth-child(3) { animation-delay: 0.3s; }
.bio-section:nth-child(4) { animation-delay: 0.4s; }
.bio-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* DYNAMIC KEYWORD — milestone glow effect */
.kw {
  color: #c8f400;
  font-weight: 700;
  text-shadow:
    0 0 6px rgba(200, 244, 0, 0.6);
  transition: all 0.3s ease;
}

.kw:hover {
  color: #ffe600;
  text-shadow:
    0 0 6px rgba(200, 244, 0, 0.6),
    0 0 6px rgba(200, 244, 0, 0.6);
}


.devops-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}

.devops-name-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.dn-cell {
  width: 72px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dn-logo {
  position: absolute;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.4) rotateY(90deg);
  transition: opacity 0.35s ease, transform 0.4s ease;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.dn-logo.show {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.dn-logo.hide {
  opacity: 0;
  transform: scale(1.2) rotateY(-90deg);
}

.dn-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.dn-logo .dn-tool {
  font-size: 7px;
  font-family: monospace;
  color: #9090aa;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.dn-ltr {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  line-height: 1;
}

.dn-ltr.show {
  opacity: 1;
  transform: scale(1);
}

/* VARAD — purple to pink gradient like original */
.row1-ltr {
  color: #f0f0f8;
}

/* NAGAPURKAR — gradient like original name-highlight */
.row2-ltr {
  background: linear-gradient(90deg, #6c63ff, #ff6584);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo img{
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* ===== FIXING MOBILE OVERRIDES (Moved to bottom) ===== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column !important;
    gap: 36px !important;
    text-align: center;
  }
  .hero-left { width: 100% !important; }
  .photo-container { width: 240px !important; height: 280px !important; margin: 0 auto !important; }
  .roles-wrap { justify-content: center !important; }
  .hero-bio { text-align: left; }
  .btn-know { align-self: center !important; }
  .section-buttons { grid-template-columns: repeat(2,1fr) !important; }
  .hero-name { font-size: 44px !important; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-right { display: none; }
  .navbar { padding: 10px 16px; }
  .nav-logo img { width: 34px; height: 34px; }

  .hero {
    padding: 70px 16px 30px;
    min-height: auto;
  }
  .hero-inner {
    flex-direction: column !important;
    gap: 28px !important;
    text-align: center;
  }
  .hero-left { width: 100% !important; }
  .photo-container {
    width: 200px !important;
    height: 240px !important;
    margin: 0 auto !important;
  }

  .dn-cell {
    width: clamp(27px, 8.5vw, 36px) !important;
    height: clamp(34px, 10.5vw, 46px) !important;
  }
  .dn-logo {
    width: clamp(24px, 7.5vw, 32px) !important;
    height: clamp(24px, 7.5vw, 32px) !important;
    border-radius: 6px !important;
  }
  .dn-logo img {
    width: clamp(14px, 4.5vw, 20px) !important;
    height: clamp(14px, 4.5vw, 20px) !important;
  }
  .dn-logo .dn-tool {
    font-size: 4.5px !important;
  }
  .dn-ltr {
    font-size: clamp(24px, 7.5vw, 32px) !important;
  }
  .devops-name-wrap {
    gap: 4px !important;
  }
  .devops-name-row {
    gap: 2px !important;
    justify-content: center !important;
  }

  .hero-hello {
    font-size: 0.72rem !important;
    letter-spacing: 2px !important;
  }

  .roles-wrap {
    justify-content: center !important;
    gap: 6px !important;
  }
  .role {
    font-size: 0.68rem !important;
    padding: 5px 10px !important;
  }

  .bio-wrapper {
    max-width: 100% !important;
  }
  .bio-section {
    grid-template-columns: 1fr !important;
    padding: 8px 0 !important;
  }
  .bio-label {
    text-align: left !important;
    padding-right: 0 !important;
    margin-bottom: 6px !important;
    font-size: 0.68rem !important;
  }
  .bio-section::before {
    display: none !important;
  }
  .bio-content {
    padding-left: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }

  .btn-know {
    align-self: center !important;
    padding: 12px 26px !important;
    font-size: 0.76rem !important;
  }

  .section-buttons {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .sec-btn {
    padding: 14px 8px !important;
    border-radius: 14px !important;
  }
  .sec-icon { font-size: 1.4rem !important; }
  .sec-label { font-size: 0.65rem !important; }

  .quick-stats {
    padding: 10px 16px !important;
    gap: 12px !important;
    border-radius: 40px !important;
    flex-wrap: wrap !important;
  }
  .qstat-num { font-size: 1rem !important; }
  .qstat-label { font-size: 0.56rem !important; }
  .qstat-divider { height: 24px !important; }
}

@media (max-width: 400px) {
  .hero { padding: 64px 12px 24px !important; }
  .photo-container {
    width: 170px !important;
    height: 210px !important;
  }
  .dn-cell {
    width: 27px !important;
    height: 34px !important;
  }
  .dn-logo {
    width: 24px !important;
    height: 24px !important;
  }
  .dn-logo img {
    width: 14px !important;
    height: 14px !important;
  }
  .dn-ltr {
    font-size: 24px !important;
  }
  .section-buttons {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 8px !important;
  }
  .sec-btn { padding: 12px 6px !important; }
  .bio-content { font-size: 0.84rem !important; }
  .quick-stats { flex-wrap: wrap !important; gap: 8px !important; }
}