/* ============================================================
   THEME TOKENS — Midnight Ink / Azure Blue / Vermillion Orange
   ============================================================ */
:root {
  --ink:#080f1b;  --ink-2:#0d1829;  --ink-3:#14233a;
  --azure:#329dd2; --azure-light:#6bbce5; --azure-deep:#1f7aa8;
  --verm:#ff4c2b; --verm-light:#ff7a52; --verm-deep:#d93a1b;
}

@font-face {
  font-family: 'Anurati';
  src: url('ANURATI Free Font/Anurati-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

*:focus-visible { outline: 2px solid #329dd2; outline-offset: 2px; }
* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Hide default cursor on interactive elements if desired */


.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transition: transform 0.1s ease;
}

.cursor-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.685);
   box-shadow: 0 0 8px rgba(253, 253, 253, 0.445);
  transform: translate(-50%, -50%);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, width 0.3s, height 0.3s;
}
body.light-mode .cursor-dot {
  
   background: #5a5a6e;
  box-shadow: 0 0 8px rgba(61,81,102,0.5);
}

body.light-mode .cursor-outline {
 
   border: 2px solid rgba(61,81,102,0.5);
}
body.light-mode .cursor-hover {
  background: rgba(31, 122, 168, 0);
  border-color: transparent;
  
}

/* Interaction State */
.cursor-hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0);
  
  border-color: transparent;
}

/* Hide custom cursor on mobile devices */
@media (max-width: 768px), (pointer: coarse) {
  .cursor-dot, 
  .cursor-outline {
    display: none !important;
  }
  
  body {
    cursor: auto !important;
  }
  
  a, button, .btn, .project-card, .nav-link, .social-link {
    cursor: auto !important;
  }
}
/* ============================================================
   BACKGROUND — isolated GPU layer (fixes the 300% body::before)
   ============================================================ */
.bg-rotate {
  position: fixed;
  top: -100%; left: -100%;
  width: 300%; height: 300%;
  background: conic-gradient(
    from 90deg at 40% 40%,
    #0e2b47, #0a1a2e 20%, #000000 40%, #080f1b 60%, #0c2a47 80%, #0e2b47
  );
  z-index: -2;
  transform-origin: center center;
  animation: slowRotate 50s linear infinite;
  will-change: transform;
  pointer-events: none;
}

 /* ============================================================
     OPTION 1: Animated Scroll Indicator
     ============================================================ */
  .scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem auto 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    cursor: pointer;
  }
  
  .scroll-indicator:hover {
    opacity: 1;
  }
  
  .scroll-indicator span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
  }
  
  .scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
  }
  
  .scroll-wheel {
    width: 4px;
    height: 8px;
    background: #329dd2;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
  }
  
  @keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    80% { transform: translateX(-50%) translateY(15px); opacity: 0; }
    100% { transform: translateX(-50%) translateY(0); opacity: 0; }
  }
  
  .scroll-indicator i {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s ease infinite;
  }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
  }
  
  body.light-mode .scroll-indicator span,
  body.light-mode .scroll-indicator i {
    color: rgba(0,0,0,0.5);
  }
  
  body.light-mode .scroll-mouse {
    border-color: rgba(0,0,0,0.4);
  }

 
  /* ============================================================
     OPTION 3: Floating Tech Icons
     ============================================================ */
  .floating-icons {
    display: flex;
    justify-content: left;
    align-items: left;
    gap: 3rem;
    margin: 1rem auto 0rem;
    flex-wrap: wrap;
  }
  body.light-mode .floating-icons i {
    background: linear-gradient(135deg, #2b4157, #8a8aaa);
    background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  } 
  
  .floating-icons i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    cursor: default;
  }
  @media (max-width: 480px){
    .floating-icons i { font-size: 1.7rem; }
    .floating-icons { gap: 1.2rem;}

  }
  
  
  .floating-icons i:hover {
    transform: translateY(-8px) scale(1.1);
  }
  
  /* Staggered animation */
  .floating-icons i:nth-child(1) { animation: float 3s ease-in-out infinite; }
  .floating-icons i:nth-child(2) { animation: float 3s ease-in-out infinite 0.3s; }
  .floating-icons i:nth-child(3) { animation: float 3s ease-in-out infinite 0.6s; }
  .floating-icons i:nth-child(4) { animation: float 3s ease-in-out infinite 0.9s; }
  .floating-icons i:nth-child(5) { animation: float 3s ease-in-out infinite 1.2s; }
  .floating-icons i:nth-child(6) { animation: float 3s ease-in-out infinite 1.5s; }
  .floating-icons i:nth-child(7) { animation: float 3s ease-in-out infinite 1.8s; }
  
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  /* ============================================================
     OPTION 4: Gradient Separator
     ============================================================ */
  .gradient-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 4rem auto 0.5rem;
  }
  
  .separator-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #329dd2, #6bbce5, #329dd2, transparent);
  }
  
  .gradient-separator i {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #329dd2, #6bbce5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: rotatePulse 2s ease infinite;
  }
  
  @keyframes rotatePulse {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 1; }
  }
  
  body.light-mode .separator-line {
    background: linear-gradient(90deg, transparent, #1f7aa8, #329dd2, #1f7aa8, transparent);
  }

/* ============================================================
   KEYFRAMES — each defined exactly once
   ============================================================ */
@keyframes slowRotate  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes fadeOut     { to   { opacity: 0; visibility: hidden; } }
@keyframes blink       { 50%  { opacity: 0; } }
@keyframes pulse       { 0%, 100% { transform: scale(1); }   50% { transform: scale(1.1); } }

@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.3); }
  50%  { opacity: 1; transform: scale(1.05); }
  70%  { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes gradientText {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes liquidShine {
  0%   { transform: translateX(-25%) translateY(0); }
  25%  { transform: translateX(25%)  translateY(0); }
  50%  { transform: translateX(-15%) translateY(0); }
  75%  { transform: translateX(15%)  translateY(0); }
  100% { transform: translateX(-25%) translateY(0); }
}

@keyframes pulsse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(1.5); }
}


@keyframes glowPulse {
  0%   { box-shadow: 0 0 0  rgba(50,157,210,0); }
  50%  { box-shadow: 0 0 20px rgba(50,157,210,0.8); }
  100% { box-shadow: 0 0 0  rgba(50,157,210,0); }
}

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  color: white;
  font-size: 16px;
  
}

body {
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  min-height: 100vh;
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
    cursor:none;
}

body.no-scroll, body.menu-open { overflow: hidden; }

:target { scroll-margin-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-rotate, .animation, .name-animation, .profile-img { animation: none !important; }
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.animation {
  background: linear-gradient(45deg,#ffffff, #4eaee0, #6bbce5, #329dd2);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

.animation-3 { 
  background: linear-gradient(45deg,#d93a1b,#ff7a52,#ff4c2b);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientText 8s ease-in-out infinite;
 }

.animation-2 {
  background: linear-gradient(90deg,  #ff4c2b, #ff7a52,#d93a1b,#ff4c2b);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s linear infinite;
}
.hero-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(177, 177, 177, 0.04) 1px, transparent 1px),
    linear-gradient(90deg,rgba(165, 165, 165, 0.04) 1px,transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
  z-index: -1;
}

.footer-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 66, 253, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 51, 248, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}
body.light-mode .footer-grid{
   position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255, 255, 255, 0.01) 1px,transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
  z-index: 1;
}

body.light-mode .hero-grid{
   position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(24, 24, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg,rgba(24, 24, 24, 0.04) 1px,transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
  z-index: -1;
}
/* ============================================================
   SPLASH
   ============================================================ */
#splash {
  font-family: 'Courier New', 'Fira Code', 'JetBrains Mono', monospace;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #329dd2;
  font-size: 3rem;
  font-weight: 700;
  z-index: 9999;
  animation: fadeOut 2.5s ease-in-out forwards;
  animation-delay: 3.5s;
}

/* Mobile-specific letter-spacing */
@media (max-width: 768px) {
  #splash {
    letter-spacing: 0px;  /* No spacing on mobile */
    font-size: 2.7rem;    /* Slightly smaller for better fit */
  }
}

/* Desktop can have subtle spacing */
@media (min-width: 769px) {
  #splash {
    letter-spacing: 3px;
  }
}

#splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 90deg at 40% 40%,
    #0e2b47, #0a1a2e 20%, #000000 40%, #080f1b 60%, #0c2a47 80%, #0e2b47
  );
  z-index: -1;
}

#splash span { color: white; }
#splash .nap { animation: pulse 1s ease; }


/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle-item { display: flex; align-items: center; margin-left: 10px; }

.theme-toggle {
  background: none;
  border: 1px solid rgb(158, 158, 158);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.theme-toggle:hover { background-color: rgba(226, 226, 226, 0.1); }

/* ============================================================
   LIGHT MODE
   ============================================================ */
body.light-mode { color: #080f1b; }

body.light-mode .bg-rotate {
  background: conic-gradient(
    from 90deg at 40% 40%,
  #eef6fb, #d4e8f4 20%, #a9d0e6 40%, #bfe0f1 60%, #dcedf7 80%, #eef6fb
  );
}

body.light-mode nav {
  background: rgba(240, 240, 245, 0.65)  !important;
  border: 1px solid rgba(255,255,255,0.733);
  border-bottom: 2px solid rgba(255,255,255,0.836);
  border-right:  2px solid rgba(255,255,255,0.932);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
}


body.light-mode .code-editor {
  background: #f5f5f5;
  border: 1px solid #ccd1db;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .editor-header {
  background: #e0e0e0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .editor-title {
  color: #424242;
}

body.light-mode .editor-content {
  background: #eff1f8;
  color: #333333;
}

body.light-mode .code-line      { color: #333333; }
body.light-mode .code-comment   { color: #6a9955; }
body.light-mode .code-keyword   { color: #0000ff; }
body.light-mode .code-function  { color: #795e26; }
body.light-mode .code-var       { color: #001080; }
body.light-mode .code-string    { color: #a31515; }
body.light-mode .code-number    { color: #098658; }
body.light-mode .typed-cursor   { background: #333333; }

body.light-mode .nav-link     { color: #000 !important; }
body.light-mode .theme-toggle {  color: #080f1b; 
                                border-color: rgba(0, 0, 0, 0.2); 
                              }
body.light-mode .bar          { background-color: #242424; }


body.light-mode .pulsse {
  
  background:  linear-gradient(45deg,    #329dd2, #1f7aa8);
}
body.light-mode .hero-overlay-text,
body.light-mode .Skills-section::before,
body.light-mode .project-section::before,
body.light-mode .journey-section::before,
body.light-mode .contact-section::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
/* Header Content */
body.light-mode .header-content h1,
body.light-mode .header-content h2,
body.light-mode .header-content h3 {
  color: #080f1b;
}

body.light-mode .header-content p {
  color: #555;
}

body.light-mode .Vertical-line { 
  border-left: 3px solid #080f1b; 
}
body.light-mode .animation {
  background: linear-gradient(45deg,#2b4157, #4eaee0,   #1f7aa8, #329dd2);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

body.light-mode .animation-2 { color: #1f7aa8; }

body.light-mode #splash { color: #2f7fa8; }
body.light-mode #splash span { color: #000; }
body.light-mode #splash::before {
  background: conic-gradient(
    from 90deg at 40% 40%,
    #eef6fb, #d4e8f4 20%, #a9d0e6 40%, #bfe0f1 60%, #dcedf7 80%, #eef6fb
  );
}

body.light-mode .me .div1,
body.light-mode .me .div3,
body.light-mode .skill,
body.light-mode .project-card {
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,0.5), rgba(255,255,255,0) 40%),
    linear-gradient(to bottom right, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  background: rgba(255, 255, 255, 0.5); /* more opaque = no blur needed */
  backdrop-filter: none;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.8);
}

body.light-mode .me .div2 img {
  border: 2px solid rgba(212, 212, 212, 0.925);
  border-bottom: 2px solid #5a5a5a;
  box-shadow: 0 0 15px rgba(0,0,0,0.247);
}
/* Light mode status dot - more visible */
body.light-mode .status-dot {
  background: #059669; /* Darker emerald for contrast on light backgrounds */
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
  animation: statusPulseLight 2s ease infinite;
}

@keyframes statusPulseLight {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); 
  }
  50% { 
    transform: scale(1.08); 
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); 
  }
}

body.light-mode .stat-label      { color: #1d1d1d; }
body.light-mode .about-label h2,
body.light-mode .div4 h2 ,   
body.light-mode .section-title h2     { color: #000; }
body.light-mode .section-subtitle {
  color: rgba(0, 0, 0, 0.7);
}
body.light-mode .me .div1 p,
body.light-mode .me .div3 p {
  color: #444;
}
body.light-mode .carousel-category,
body.light-mode .tech-category {
  color: rgba(0, 0, 0, 0.45);
}

body.light-mode .availability p {
  color: rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .availability p:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .availability i {
  color: #059669;  /* Darker emerald for light mode */
}

body.light-mode .image-blur      { background: linear-gradient(to top, rgba(141,141,141,0.589), rgba(255,255,255,0.267)); color: #1b1b1b; }
body.light-mode .info-item i     { background: linear-gradient(45deg, #329dd2, #1f7aa8); background-clip:text; color:transparent; }

body.light-mode progress::-webkit-progress-bar   { background: #d0d0da; }
body.light-mode progress::-webkit-progress-value { background: linear-gradient(90deg,#1f7aa8, #ff7a52); border-radius:10px; }
body.light-mode progress::-moz-progress-bar      { background: linear-gradient(90deg,#1f7aa8,#ff7a52); border-radius:10px; }

body.light-mode .skill i { background: linear-gradient(45deg,  #7924d4, #238e92); background-clip:text; color:transparent; }
body.light-mode .skill h6 {
  color: #080f1b;
}
body.light-mode .tech-tag         { color:#fff; font-weight:600; background:rgba(31,122,168,0.685); }
body.light-mode .timeline-card,
body.light-mode .info-card,
body.light-mode .form-card        { background:rgba(255,255,255,0.5); border:1px solid rgba(255,255,255,0.9); }
body.light-mode .timeline-icon    { background: linear-gradient(45deg,rgba(50,157,210,0.62),rgba(107,188,229,0.49)); border:2px solid rgba(255,255,255,0.5); }
body.light-mode .submit-btn       { background: linear-gradient(45deg,rgba(31,122,168,0.64),rgba(107,188,229,0.75)); color:white; }
body.light-mode .form-input       { background: rgba(255,255,255,0.575); border:1px solid #fff; }
body.light-mode .social-link      { background: rgba(92,92,92,0.301); border:1px solid #fff; }
body.light-mode .contact-detail   { background: rgba(255,254,254,0.678); }
body.light-mode .contact-detail span,
body.light-mode .info-card h3     { color: #252525; }
body.light-mode .footer           { background: rgba(0,0,0,0.842); }
body.light-mode .footer p         { color: white; }
body.light-mode .code-editor      { background: #1e1e1e; color: #f8f8f2; }
body.light-mode .editor-header    { background: #ffffff; }

body.light-mode button {
  background: radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,0.95), rgba(230,229,229,0.8) 40%),
              linear-gradient(to bottom right, rgba(196,196,196,0.753), rgba(194,194,194,0.80));
  border:1px solid #fff; box-shadow:0 0 15px rgba(0,0,0,0.308); color:#000;
}
body.light-mode button:hover { transform: translateY(-5px); }
body.light-mode .button-2 {
  color:white;
  background: linear-gradient(45deg,rgba(31,122,168,0.64),rgba(50,157,210,0.856));
  border:1px solid rgba(255,255,255,0.637);
}

/* Project Cards */

body.light-mode .card-title {
  

  background: linear-gradient(135deg, #080f1b, #329dd2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


body.light-mode .carousel-track {
  scrollbar-color: #329dd2 #d4e8f4; /* thumb track — Firefox */
}

body.light-mode .carousel-track::-webkit-scrollbar       { height: 8px; }
body.light-mode .carousel-track::-webkit-scrollbar-track { background: #d4e8f4; border-radius: 20px; }
body.light-mode .carousel-track::-webkit-scrollbar-thumb { background: #329dd2; border-radius: 20px; border: 1px solid #8fcbea; }

body.light-mode .chip {
  
  background: rgba(31,122,168,0.08);
  border: 1px solid rgba(31,122,168,0.15);
  color: #1f7aa8;
}

body.light-mode .chip i {
  color: #1f7aa8;
}

body.light-mode .card-description {
  
    background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #3d5166;

}

body.light-mode .btn {
  
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.349);
  background: #ffffff;
  border: 1px solid #cfe0ec;
  color: #1f7aa8;
  
}


body.light-mode .btn:hover { 
   background: #1f7aa8;
  border-color: #1f7aa8;
  color: white;
  box-shadow: 0 4px 12px rgba(31,122,168,0.2);
}

/* Carousel Navigation */
body.light-mode .nav-arrow {
   background: #ffffff;
  border: 1px solid #cfe0ec;
  color: #1f7aa8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-mode .nav-arrow:hover {

   background: #1f7aa8;
  border-color: #1f7aa8;
  color: white;
}

body.light-mode .dot {
  background: rgba(31,122,168,0.15);
  border: 1px solid rgba(31,122,168,0.25);
}

body.light-mode .dot.active {
  background: #1f7aa8;
  border-color: #1f7aa8;
  box-shadow: 0 0 12px rgba(31,122,168,0.3);
}

body.light-mode .scroll-hint {
   background: rgba(0, 0, 0, 0.04);
  color: #3d5166;
  border: 1px solid rgba(0, 0, 0, 0.05);

}



@media (max-width: 768px) {
  body.light-mode nav ul      { background: rgba(189,188,188,0.95) !important; }
  body.light-mode nav ul li a { color: #000 !important; }
  body.light-mode .bar        { background-color: #3a3a3a; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page-container { width:100%; max-width:1400px; margin:0 auto; padding:0 20px; position:relative; }

header {
  width:100%; min-height:100vh;
  display:flex; align-items:center; justify-content:left;
  overflow:hidden; z-index:1; position:relative;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  display:flex;
  background: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  border-right:  2px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 15px rgba(33,66,83,0.253);
  justify-content:space-between; align-items:center;
  position:fixed; top:10px; left:0; right:0;
  z-index:1000; margin:0 10px;
  height:55px; width:auto;
  color:white; padding-right:10px;
  border-radius:30px;
}

nav::before {
  content:''; position:absolute;
  top:-50%; left:15%; width:100%; height:100%; border-radius:30px;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.877) 0%, transparent 40%);
  animation: liquidShine 9s infinite alternate;
   margin-top: 26px;
  pointer-events:none; opacity:0.2; mix-blend-mode:overlay;
}

.logo .name {
  width:115px; font-size:4vmin;
  padding:16px 0 16px 10px; margin:0;
  font-family:"Anurati", sans-serif;
}

.name {
  display: flex;
  align-items: center;
  gap: 6px;
}



.pulsse {
  
  width: 8px;
  height: 8px;
  background:  linear-gradient(45deg,  #4eaee0, #6bbce5);
  border-radius: 50%;
  animation: pulsse 2s infinite;
}


nav ul { list-style:none; display:flex; gap:1rem; flex-wrap:wrap; }
nav ul li { margin-left:2rem; }

nav ul li a {
  color:white; text-decoration:none; position:relative;
  transition:color 0.3s; padding:10px; font-size:15px;
  font-family:'Oxanium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
}

nav ul li a:hover { color:rgba(255,255,255,0.288); }

nav ul li a::after {
  content:''; position:absolute; bottom:-5px; left:0;
  width:100%; height:2px; background:rgba(255,255,255,0.4);
  transform:scaleX(0); transition:transform 0.3s ease;
}

.nav-link { position:relative; transition:all 0.3s ease; }
.nav-link.active { color:rgb(255,255,255) !important; }

.nav-link.active::before {
  content:''; position:absolute; top:2px; left:-5px; right:-5px; bottom:1px;
  backdrop-filter:blur(1px);
    z-index: -1;
  border-radius: 30px 0 30px 30px;
  background:
                radial-gradient(120% 120% at 20% 15%, rgba(184, 184, 184, 0), rgba(255, 255, 255, 0) 40%),
                radial-gradient(120% 120% at 80% 85%, rgba(255, 255, 255, 0), rgba(77, 77, 77, 0) 45%),
                linear-gradient(to bottom right, rgba(192, 192, 192, 0), rgba(255, 255, 255, 0));
            -webkit-backdrop-filter: blur(1px) saturate(180%) contrast(115%) brightness(110%);
            backdrop-filter: blur(1px) saturate(180%) contrast(115%) brightness(110%);
            border: 1px solid rgba(255, 255, 255, 0.178);
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.nav-link.active::after {
  content:''; position:absolute; top:-3px; left:-3px; right:-3px; bottom:-3px;
  background:rgba(255,255,255,0.041); backdrop-filter:blur(10px);
  border-radius:10px; z-index:-1; border:1px solid rgba(255,255,255,0.151);
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  padding: 0px ;
  display:none; cursor:pointer; z-index:1001;
  flex-direction:column; justify-content:center; align-items:center;
  width:50px; height:80%;
  background:none; border:none;
}

.bar {
  display:block;
   width:30px;
    height:3px;
  margin:3px auto; border-radius:60px;
  background-color:#ffffff; transition:all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(1) { transform:translateY(9px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity:0; }
.hamburger.active .bar:nth-child(3) { transform:translateY(-9px) rotate(-45deg); }

/* ============================================================
   HEADER CONTENT
   ============================================================ */
.Vertical-line {
  border-left:3px solid #fff; border-radius:18px;
  padding-left:15px; margin-left:15px; margin-right:10px;
  line-height: normal;
}

.header-content { color:white; text-align:left; width:100%; margin:0; padding:0; }

.header-content h1  { font-size:clamp(1.5rem,3vw,2rem); margin-bottom:10px; font-family:'Oxanium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;font-weight:520; }
.header-content h2  { font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif; margin-top:4vh; font-size:clamp(2rem,6vh,4rem); margin-bottom:5px; }
.header-content h2 span { font-size:clamp(4.3rem,8vw,5rem); font-family:"Anurati",sans-serif;letter-spacing: 4px; }
.header-content h3  { font-size:clamp(1.6rem,6vw,1.5rem); font-family:'Oxanium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif; font-weight:600;letter-spacing: 3px ;
  
}

.header-content p {
  font-size: 19px; text-align:left;
  max-width:100%; margin-top:2.3rem; margin-bottom:2rem;
  font-family: 'Oxanium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif; line-height:1.5; font-weight:300;
}
.hero-overlay-text{
  position:absolute;
  right:-20px;bottom:0px;
  font-family:'Playfair Display',serif;
  font-size:clamp(80px,12vw,160px);
  font-weight:900;font-style:italic;
  color:rgba(255, 255, 255, 0.02);
  line-height:1;
  white-space:nowrap;
  letter-spacing:-4px;
  user-select:none;
}

.name-animation {
  
  background-clip:text; 
  animation:bounceIn 1.2s ease 0.2s forwards;
  display:inline-block; opacity:0; transform:scale(0.3);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.top-button { display:flex; gap:10px; flex-direction:row; }
.top-button button { flex:1; }

button {
  overflow:hidden; position:relative;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,0.062), rgba(255,255,255,0) 40%),
    linear-gradient(to bottom right, rgba(255,255,255,.08), rgba(255,255,255,.02));
  backdrop-filter:blur(4px);
  border:1px solid rgba(255,255,255,0.3);
  border-bottom:1px solid rgba(255,255,255,0.35);
  border-right:1.5px solid rgba(124,124,124,0.377);
  box-shadow: 0 8px 30px rgba(0,0,0,.25), inset 0 1.2px 0 rgba(255,255,255,0.685);
  border-radius:100px; color:white; font-weight:600;
  font-family:'Inter',sans-serif; padding:16px 36px;
  cursor:pointer; transition:transform 0.2s, box-shadow 0.2s;
  font-size: 14px;
}

button::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, transparent 0%, transparent 35%,
    rgba(255,255,255,0.1) 45%, rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.1) 55%, transparent 65%, transparent 100%);
  pointer-events:none;
  transform:translateX(-100%) translateY(-100%) rotate(45deg);
  transition:transform 1.2s cubic-bezier(0.19,1,0.22,1), opacity 1.2s ease;
  opacity:0;
}

button::after {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background:conic-gradient(from 210deg, rgba(255,255,255,.35), transparent 20% 70%, rgba(255,255,255,.2));
  mix-blend-mode:screen; pointer-events:none; opacity:.6;
}

button:hover { transform:translateY(-5px) scale(1.02); }
button:hover::before { transform:translateX(50%) translateY(-30%) rotate(45deg); opacity:1; }
button:active { border-color:rgb(255,255,255); }

.button-2 {
  background:linear-gradient(135deg,rgba(50,157,210,0.61),rgba(107,188,229,0.64));
  border:1px solid rgba(255,255,255,0.3);
  border-right:1.5px solid rgba(253,253,253,.35);
  padding:16px 36px;
}

/* ============================================================
   SPLIT SCREEN
   ============================================================ */
.split-screen {
  display:flex; width:100%; max-width:1400px;
  margin:80px auto 0; min-height:80vh; border-radius:20px; overflow:hidden;
}

.content-side {
  flex:1; min-width:300px; padding:30px;
  display:flex; flex-direction:column; justify-content:center; gap:30px;
}

.visual-side {
  flex:1; min-width:300px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:20px; gap:30px;
}

.profile-img {
  width:280px; height:280px; border-radius:50%;
  background:linear-gradient(45deg,#4eaee0,#6bbce5,#329dd2);
  position:relative; overflow:hidden;
  box-shadow:0 0 40px rgba(50,157,210,0.342);
  animation:bounceIn 1.2s ease 0.5s forwards;
  opacity:0; transform:scale(0.3);
}

.profile-img::before {
  content:''; position:absolute; width:260px; height:260px;
  background:url("Images/Cinematic.png") center/cover;
  border-radius:50%; transition:all 0.5s ease;
}

.profile-img::after {
  content:'"Code is poetry"'; position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  color:white; font-weight:bold; font-size:16px;
  opacity:0; transition:opacity 0.5s ease;
  font-family: 'Courier New', monospace;
  font-style: italic;
  letter-spacing: 1px;
}


.profile-img:hover::before { transform:translateY(-100%); opacity:0; }
.profile-img:hover::after  { opacity:1; }

.code-editor {
  width:80%; height:190px; background:#1e1e1e;
  border-radius:18px; overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.5);
  font-family:'Courier New',monospace; text-align:left;
}

.editor-header { background:#3c3c3c; padding:12px; display:flex; align-items:center; }
.editor-buttons { display:flex; gap:8px; }
.editor-btn { width:12px; height:12px; border-radius:50%; }
.btn-red    { background:#ff5f56; }
.btn-yellow { background:#ffbd2e; }
.btn-green  { background:#27c93f; }
.editor-title { color:#aaa; font-size:14px; margin-left:10px; }

.editor-content {
  padding:20px; color:#d4d4d4; font-size:16px; line-height:1.5;
  overflow-y:auto; height:calc(100% - 35px);
}

.code-line { font-family:'Courier New',monospace; color:#d4d4d4; font-size:16px; line-height:1.5; white-space:pre; margin-bottom:4px; }
.code-comment  { color:#6a9955; }
.code-keyword  { color:#569cd6; }
.code-function { color:#dcdcaa; }
.code-var      { color:#9cdcfe; }
.code-string   { color:#ce9178; }
.code-number   { color:#b5cea8; }
.typed-cursor  { opacity:1; animation:blink 0.7s infinite; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding-bottom:20px; isolation: isolate;}
.about-label { text-align: center; }

.about-label h2 {
  text-align:center; font-size:15px; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
  font-weight:700; color:#fff; margin-top:6rem;
  padding: 7px 15px;
  background: rgba(50,157,210,0.199);
  border-radius: 0 50px 50px  50px ;
  display: inline-block;
  margin-bottom: 2rem;
}

.me {
  display:grid; grid-template-columns:1fr auto 1fr;
  grid-template-rows:repeat(2,1fr); gap:30px;
  margin:0 auto; padding:2rem; align-items:center; justify-items:center;
}

.me .div1,
.me .div3 {
  position:relative; overflow:hidden;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,0.103), rgba(255,255,255,0) 40%),
    linear-gradient(to bottom right, rgba(255,255,255,0.08), rgba(77,77,77,0.01));
  border:1px solid rgba(255,255,255,0.3);
  border-bottom:1px solid rgba(255,255,255,0.35);
  border-right:1.5px solid rgba(124,124,124,0.377);
  box-shadow:inset 0 1.2px 0 rgba(255,255,255,0.685);
  border-radius:30px; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif; padding:20px;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  will-change: auto;
}

.me .div1 { grid-column:1; grid-row:1 / span 2; }
.me .div2 { grid-column:2; grid-row:1 / span 2; }
.me .div3 { grid-column:3; grid-row:1 / span 2; }

.me .div1 h1, .me .div3 h1 { font-size:2.5rem; padding:5px; }
.me .div1:hover, .me .div3:hover { transform:translateY(-5px); }

.me .div1::after, .me .div3::after {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background:conic-gradient(from 210deg, rgba(255,255,255,.35), transparent 20% 70%, rgba(255,255,255,.2));
  pointer-events:none; opacity:0.2; transition:opacity 0.6s ease;
}

.me .div1:hover::after, .me .div3:hover::after { opacity:0.35; }
/* ============================================================
   STORY HINT - HOVER ONLY
   ============================================================ */
.story-hint {
  position: absolute;
  top: -11px;
  right: 35px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  padding: 6px 14px 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap; 
  z-index: 30;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  
  /* Hover state - hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

/* Show on hover */
.story-ring:hover .story-hint {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hint-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.hint-arrow {
  font-size: 0.9rem;
  animation: arrowWave 0.8s ease-in-out infinite;
  display: inline-block;
}

/* Arrow pointing/waving only when visible */
@keyframes arrowWave {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/* Light mode adjustment */
body.light-mode .story-hint {
  background: rgba(240, 240, 255, 0.95);
  border-color: rgba(50,157,210,0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-mode .hint-text {
  color: #080f1b;
}

/* Mobile: smaller hint on hover */
@media (max-width: 768px) {
  .story-hint {
    top: -11px;
    right: 25px;
    padding: 4px 10px 4px 12px;
  }
  
  .hint-text {
    font-size: 0.65rem;
  }
  
  .hint-arrow {
    font-size: 0.75rem;
  }
}

/* On touch devices, show hint on tap/active state */
@media (hover: none) and (pointer: coarse) {
  .story-ring:active .story-hint {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Auto-hide after 2 seconds on touch */
  .story-ring:active .story-hint {
    animation: touchHintFade 2s ease forwards;
  }
  
  @keyframes touchHintFade {
    0% { opacity: 1; visibility: visible; }
    70% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
  }
}
/* ============================================================
   DIV2 — image column (DeepSeek z-index fix applied)
   ============================================================ */
.div2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding: 10px;
}

/* STORY RING — wraps the img only */
.story-ring {
  position: relative;
  display: inline-block;
  border-radius: 32px;
  cursor: pointer;
  z-index: 1;
}

/* animated gradient border */
.story-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 35px;
  background: linear-gradient(115deg, #329dd2, #6bbce5, #ff4c2b, #ff8a5c, #329dd2);
  background-size: 300% 300%;
  animation: storyGradient 3.2s linear infinite;
  transition: all 0.25s ease;

  z-index: -1;
}
.story-ring:hover::before {
  inset: -4px;  /* Expands outward without transform */
}
/* glow behind ring */
.story-ring::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 37px;
  background: linear-gradient(115deg, #329dd2, #6bbce5, #ff4c2b, #ff8a5c, #329dd2);
  background-size: 300% 300%;
  animation: storyGradient 3.2s linear infinite;
  filter: blur(12px);
  opacity: 0.4;
  z-index: -2;
}

@keyframes storyGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* image inside ring */
.story-ring img {
  position: relative;
  z-index: 2;
  display: block;
  width: 280px;
  height: auto;
  border-radius: 32px;
  border: 3px solid #1f0e42;
  object-fit: cover;
  transition: transform  0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}




/* notification bubble */
.story-notification {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 31px;
  height: 31px;
  background: linear-gradient(135deg, #329dd2, #6bbce5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  z-index: 25;
  border: 2px solid #080f1b;
  animation: notifPulse 2s ease infinite;
  pointer-events: none;
}

@keyframes notifPulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0   rgba(50,157,210,0.6); }
  50%       { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(50,157,210,0);   }
}

/* verified nameplate — above blur */
.verified-nameplate {
  position: absolute;
  bottom: 38%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 60px;
  padding: 6px 18px 6px 16px;
  white-space: nowrap;
  z-index: 35;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  pointer-events: none;
}

.verified-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.2px;
  font-family: 'Inter', sans-serif;
}

.verified-tick {
  font-size: 1rem;
  color: #1d9bf0;
  
}

/* image blur — sits ON TOP of image (z-index fix) */
.image-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 37%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
      rgba(138, 138, 138, 0.24) 35%,
     rgba(119,119,119,0.137) 100%
  );
  
  backdrop-filter: blur(6px);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px 18px;
  color: white;
  z-index: 20;
  pointer-events: none;
  box-sizing: border-box;

}

.image-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 21;
  position: relative;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
  
}

.info-item i {
   font-size:1.2rem; width:25px;
  background:linear-gradient(45deg,#329dd2,#6bbce5);
  background-clip:text; color:transparent;

}

/* light mode adjustments */
body.light-mode .story-ring img     { border-color: #eef6fb; }
body.light-mode .story-notification { border-color: #ffffff; }
body.light-mode .verified-nameplate {
  background: rgba(245,245,255,0.85);
  backdrop-filter: blur(12px);
}
body.light-mode .verified-name { color: #121212; }
body.light-mode .image-blur {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(200,200,240,0.7),
    rgba(170,170,210,0.96)
  );
}


/* responsive */
@media (max-width: 760px) {
  .story-ring img       { width: 240px; }
  .verified-nameplate   { bottom: 38%; padding: 4px 14px; }
  .image-blur           { height: 42%; padding: 16px; }
  .info-item            { font-size: 0.75rem; gap: 8px; }
}

/* ============================================================
   STORY OVERLAY
   ============================================================ */
.story-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(3px);
}

.story-overlay.open { opacity: 1; visibility: visible; }

.story-viewer {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  max-height: 860px;
  background: #050505;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.story-progress {
  display: flex;
  gap: 6px;
  padding: 14px 30px 0;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 25;
}

.story-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  overflow: hidden;
}

.story-bar-fill { height: 100%; background: white; width: 0%; }
.story-bar-fill.complete { width: 100%; }
.story-bar-fill.animating {
  animation: storyFill var(--duration, 5s) linear forwards;
}

@keyframes storyFill {
  from { width: 0%; }
  to   { width: 100%; }
}

.story-header {
  position: absolute;
  top: 22px; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  z-index: 25;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.story-user { display: flex; align-items: center; gap: 10px; }

.story-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid white;
  object-fit: cover;
}

.story-username { font-weight: 700; font-size: 0.9rem; color: white; display: block; }
.story-time     { font-size: 0.7rem; opacity: 0.75; color: white; }

.story-close {
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  width: 34px; height: 34px;
  border-radius: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.story-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-slide { width: 100%; height: 100%; object-fit: cover; display: none; }
.story-slide.active { display: block; }

.story-text-slide {
  width: 100%; height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 28px 100px;
  text-align: center;
}

.story-text-slide.active { display: flex; }

.slide-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #6bbce5, #329dd2);
  background-clip: text;
  color: transparent;
}

.slide-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; color: white; }
.slide-body  { font-size: 0.95rem; opacity: 0.85; margin-bottom: 1rem; color: white; }

.slide-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.slide-tag {
  background: rgba(50,157,210,0.3);
  border-radius: 40px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: #a9d8f0;
}

.story-tap-left,
.story-tap-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  z-index: 20;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* removes blue flash on mobile */
  user-select: none;                         /* prevents text selection on tap */
}

.story-tap-left  { left: 0; }
.story-tap-right { right: 0; }

.story-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 70px 20px 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  text-align: center;
  font-size: 0.85rem;
  z-index: 18;
  pointer-events: none;
  color: white;
}

@media (max-width: 760px) {
  .story-viewer { border-radius: 0; max-width: 100%; height: 100vh; }
}

/* ============================================================
   STATS — unchanged
   ============================================================ */

  /* Mini Code Ticker */
.mini-code-ticker {
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.36);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Courier New', 'Fira Code', monospace;

}

.ticker-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.ticker-prompt {
  color: #6bbce5;
  font-weight: bold;
}

.ticker-text {
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.ticker-cursor {
  color: #6bbce5;
  animation: blink 1s step-end infinite;
}

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

/* Light mode */
body.light-mode .mini-code-ticker {
  background: rgb(255, 255, 255);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .ticker-text {
  color: rgba(0, 0, 0, 0.7);
}

body.light-mode .ticker-prompt {
  color: #0d9488;
}
 
.stats-section { display:flex; justify-content:center; gap:.2rem; margin-top:1vh; flex-wrap:wrap; }
.stat { padding:.2rem; border-radius:15px; text-align:center; width:6rem; }

.stat-number::after {
  content: '+';
  font-size: 2.6rem;
  font-weight: 700;
  opacity: 0.7;
  margin-left: 2px;
}

.stat-number { font-family:"Oxanium",sans-serif; font-size:2.4rem; font-weight:700; margin-bottom:5px; }
.stat-label  { font-size:0.9rem; color:rgba(255,255,255,0.62); letter-spacing:1px; }

.fa-code {
  font-size:7rem; padding:10px;
  background:linear-gradient(90deg,#4eaee0,#6bbce5,#329dd2,#ff7a52); background-size:200% auto;
  background-clip:text; color:transparent;
  animation:pulse 2s ease infinite, gradientMove 8s linear infinite;
  display:flex; justify-content:center; align-items:center; width:100%;
}

.status-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: statusPulse 2s ease infinite;
  display: inline-block;
  margin-left: 6px;
  margin-right: 9px;
}

@keyframes statusPulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); 
  }
  50% { 
    transform: scale(1.08); 
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); 
  }
}

/* ============================================================
   SKILLS
   ============================================================ */
.Skills-section { padding-bottom:100px; isolation: isolate; position: relative;}
.Skills-section::before{
  content:'TECH STACK';
  position:absolute;right:-10px;top:-10px;
  font-family:'Playfair Display',serif;
  font-weight:900;font-style:italic;
  color:rgba(255,255,255,0.02);
  line-height:1;pointer-events:none;
  font-size: clamp(80px, 15vw, 180px);  /* Scales down on mobile */
}
@media (max-width: 768px) {
  .Skills-section::before {
    font-size: 70px;
    right: 0;
    top: 0%;
  }
}
.div4 h2 {
   text-align:center; font-size:15px; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
  font-weight:700; color:#fff; margin-top:7rem;
    padding: 7px 15px;
    background: rgba(50,157,210,0.199);
    border-radius: 0 50px 50px  50px  ;
     display: inline-block;
       margin-bottom: 2rem;
       z-index: 3;
}

.skill-svg {
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.skills {
  display:grid; grid-template-columns:repeat(2,1fr); gap:1rem;
  max-width:850px; margin:20px auto 0; padding:1rem;
}

.skill {
  position:relative; overflow:hidden;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,0.103), rgba(255,255,255,0) 40%),
    linear-gradient(to bottom right, rgba(255,255,255,0.199), rgba(77,77,77,0.01));
  border:1px solid rgba(255,255,255,0.3);
  border-bottom:1px solid rgba(255,255,255,0.15);
  border-right:1.5px solid rgba(124,124,124,0.377);
  box-shadow:inset 0 1.2px 0 rgba(255,255,255,0.685);
  border-radius:95px; padding:30px 10px; text-align:center;
  transition:transform 0.2s, background 0.2s;
}

.skill:hover { transform:translateY(-5px); background:rgba(50,157,210,0.3); }

.skill::after {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background:conic-gradient(from 210deg, rgba(255,255,255,.35), transparent 20% 70%, rgba(255,255,255,.2));
   pointer-events:none; opacity:0; transition:opacity 0.6s ease;
}

.skill:hover::after { opacity:0.35; }
.skill h6  { font-size:1rem; }
.skill i   { font-size:2.8rem; margin-bottom:10px; background:linear-gradient(45deg,#329dd2,#6bbce5); background-clip:text; color:transparent; }

.progress-div { width:100%; margin-top:10px; }

progress {
  width:80%; height:12px; border-radius:10px; overflow:hidden;
  border:none; background:rgba(255,255,255,0.1);
}

progress::-webkit-progress-bar   { background:rgba(255,255,255,0.1); border-radius:10px; }
progress::-webkit-progress-value { background:linear-gradient(90deg,#329dd2,#ff4c2b); border-radius:10px; transition:width 1.5s ease-in-out; }
progress::-moz-progress-bar      { background:linear-gradient(90deg,#329dd2,#ff4c2b); border-radius:10px; }

/* ============================================================
   CURRENTLY LEARNING - TAG STYLE (No Progress Bars)
   ============================================================ */
.currently-learning {
  margin: 3rem auto 2rem;
  max-width: 850px;
  text-align: center;
}

.learning-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.2rem;
  font-family: 'Oxanium', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
}

.learning-header i {
  font-size: 0.9rem;
  background: linear-gradient(135deg, #329dd2, #6bbce5);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.learning-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.learning-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 60px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
  cursor: default;
}

.learning-tag:hover {
  background: rgba(50,157,210,0.15);
  border-color: rgba(50,157,210,0.4);
  transform: translateY(-3px);
}

.learning-tag i {
  font-size: 1rem;
}

/* Icon colors (subtle, not overpowering) */
.learning-tag i.fa-react { color: #61dafb; }
.learning-tag i.fa-leaf { color: #6db33f; }
.learning-tag i.fa-wordpress { color: #21759b; }
.learning-tag i.fa-python { color: #3776ab; }

/* Light mode */
body.light-mode .learning-header {
  color: rgba(0, 0, 0, 0.5);
}

body.light-mode .learning-tag {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.7);
}

body.light-mode .learning-tag:hover {
  background: rgba(50,157,210,0.1);
  border-color: rgba(50,157,210,0.3);
}

/* Responsive */
@media (max-width: 600px) {
  .currently-learning {
    margin: 2rem 1rem;
  }
  
  .learning-tag {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
  
  .learning-tag i {
    font-size: 0.85rem;
  }
}

.availability { 
  margin: 50px auto 15px; 
  text-align: center; 
}

.availability p { 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem; 
  font-weight: 400; 
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.1);
}

.availability i {
  font-size: 0.7rem;
  color: #10b981;
}
/* ============================================================
   MAQUEE
   ============================================================ */

   /* ----- STICKER / BADGE MARQUEE (no card background) ----- */
        .sticker-marquee {
            background: rgba(255,255,255,0.00);       /* warm neutral backdrop */
            padding: 1.2rem 0;
            overflow: hidden;
            width: 80%;
            margin: 0 auto;
        }
        .tech-category {
      text-align: center;
      font-size: 1.2rem;
      font-weight: 500;
       color: rgba(255, 255, 255, 0.6);
     letter-spacing: 0.08em;
     text-transform: uppercase;
     margin: 5rem 0 0.5rem;
    }

        .marquee-track {
            display: flex;
            overflow: hidden;
            user-select: none;
            gap: 3rem;                  /* space between logos */
            mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
            -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
        }

        /* infinite scrolling strip (duplicate for seamless loop) */
        .marquee-content {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: space-around;
            gap: 3rem;
            min-width: 100%;
            animation: scrollSticker 38s linear infinite;
            will-change: transform;
        }

        /* --- badge / sticker style (completely transparent background) --- */
        .brand-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: auto;                /* no fixed card, shrink to content */
            background: transparent;    /* NO background, NO card */
            border: none;
            box-shadow: none;
            backdrop-filter: none;
            transition: transform 0.2s ease, filter 0.2s;
            filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
            flex-shrink: 0;
        }

        .brand-badge:hover {
            transform: scale(1.1) rotate(0.5deg);
            filter: drop-shadow(0 8px 12px rgba(0,0,0,0.15));
        }

        /* image simulates a vector logo / sticker - completely background-free */
        .badge-img {
            width: 60px;               /* consistent logo size */
            height: 60px;
            object-fit: contain;        /* keeps logo shape, no distortion */
            display: block;
            background: transparent;    /* crucial — no white, no card */
            border-radius: 0;           /* no rounded background */
            border: none;
            pointer-events: none;
        }

        /* optional tiny descriptor — appears like a genuine sticker label */
        .badge-name {
            background: transparent;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            color: #2d3a47;
            text-transform: uppercase;
            margin-top: 0.4rem;
            padding: 0.2rem 0.6rem;
            border-radius: 40px;         /* subtle pill, but transparent bg */
            background: rgba(255,255,255,0.2);  /* very faint glass, no card */
            backdrop-filter: blur(2px);
            border: 1px solid rgba(255,255,255,0.4);
            transition: background 0.2s;
        }

        .brand-badge:hover .badge-name {
            background: rgba(255,255,255,0.45);
            border-color: rgba(0,0,0,0.1);
        }

        /* animation */
        @keyframes scrollSticker {
            from { transform: translateX(0); }
            to { transform: translateX(-100%); }
        }

        /* pause on hover (optional, respects reduced motion) */
        .marquee-track:hover .marquee-content {
            animation-play-state: paused;
        }

           /* responsive */
        @media (max-width: 700px) {
            .badge-img {
                width: 60px;
                height: 60px;
            }
            .marquee-content {
                gap: 2rem;
            }
            .marquee-track {
                gap: 2rem;
            }
            .badge-name {
                font-size: 0.7rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .marquee-content {
                animation: none;
                transform: translateX(0);
            }
        }

        /* make all images transparent / background-free.
           using picsum with grayscale & transparent effect – but real png would be best.
           we force remove any background via forcing background:none and use svg-like images.
           to simulate transparent logo, we use picsum but apply a mix-blend-mode to drop white.
           plus we ensure no accidental card background */
        .brand-badge {
            background: transparent !important;
        }
        .badge-img {
            background: transparent !important;
            mix-blend-mode: normal;      /* real SVG logos: keep original colours */
        }


/* ============================================================
   PROJECTS CAROUSEL
   ============================================================ */

.project-section {
  position: relative;
  overflow: hidden;
}

.project-section::before {
  content: '04';
  position: absolute;
  left: -20px;
  top: 5%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(120px, 15vw, 200px);
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: -1;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .project-section::before {
    left: -30px;
    top: 7%;
  }
}
   .project-label h2 { 
   text-align:center; font-size:15px; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
  font-weight:700; color:#fff; margin-top:5rem;

   
    padding: 7px 15px;
    background: rgba(182,223,245,0.199);
    border-radius: 0 50px 50px  50px ;
     display: inline-block;
       margin-bottom: 2rem;
}
.carousel-category {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2rem 0 0.5rem;
}

.carousel-container { 
  width: 100%; 
  max-width: 1110px; 
  margin: 0 auto; 
  padding: 2rem 0.5rem; 
}

.carousel-header { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 0.2rem; 
  padding: 0.75rem 2rem; 
}

.header-nav { display: flex; gap: 0.8rem; }

.nav-arrow {
  background: rgba(255,255,255,0.08); 
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: 2px solid rgba(182,223,245,0.3); 
  color: white;
  width: 48px; 
  height: 48px; 
  border-radius: 60px; 
  padding: 0;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 1.5rem; 
  cursor: pointer; 
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.541);
}

.nav-arrow:hover { 
  background: rgba(255,255,255,0.25); 
  border-color: rgba(255,255,255,0.4); 
  transform: scale(1.05); 
}

.carousel-track {
  display: flex; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory;
  gap: 1.8rem; 
  padding: 1.2rem 0.8rem 2rem;
  scroll-behavior: smooth; 
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; 
  scrollbar-color: #8cc7e8 #14100f;
}

.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: #14100f; border-radius: 20px; }
.carousel-track::-webkit-scrollbar-thumb { background: #8cc7e8; border-radius: 20px; border: 1px solid #b6dff5; }

.project-card {
  flex: 0 0 auto; 
  width: 340px;              /* fixed width — no min(), matches Kimi's approach */
  scroll-snap-align: center;
  background: rgba(255,255,255,.06); 
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; 
  display: flex; 
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
  padding: 12px 12px 0;
  transition: transform 0.3s ease;
  transform: translateZ(0);  /* single GPU layer on the card */
  will-change: auto;
}

/* promote only during interaction */
.carousel-track:hover .project-card { will-change: transform; }

.project-card:hover { transform: translateY(-5px); }

.card-picture {
  flex: 0 0 auto; 
  height: 180px; 
  overflow: hidden; 
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25); 
  border-bottom: 2px solid rgba(255,255,255,0.2);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #eaf6fc;
  margin-bottom: 1rem;
  /* removed content-visibility and contain — causes render flash on approach */
}


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

.card-title {
  font-size: 1.4rem; 
  font-weight: 600;
  background: linear-gradient(135deg, #f6fbfe, #c9e7f7);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
  margin-bottom: 0.8rem;
}


.lang-tools { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.6rem; 
  margin: 0.5rem 0 1rem; 
  /* removed contain — inner elements don't need their own paint boundary */
}

.chip {
  background: rgba(182,223,245,0.2); 
  border-radius: 40px; 
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem; 
  font-weight: 500; 
  border: 1px solid rgba(223,241,251,0.3); 
  color: #ddf0fa;
}

.chip i { margin-right: 0.3rem; color: #9ccfec; }

.card-description {
  font-size: 0.95rem; 
  line-height: 1.5; 
  margin: 0.5rem 0 1rem;
  background: rgba(0,0,0,0.2); 
  padding: 0.8rem 1rem;
  border-radius: 24px; 
  border: 1px solid rgba(255,255,255,0.1); 
  color: #d6ebf6;
  /* removed contain — same reason */
}

.button-group { 
  display: flex; 
  gap: 1rem; 
  margin-top: auto; 
  justify-content: space-between; 
}

.btn {
  flex: 1; 
  background: rgba(182,223,245,0.1);
  border: 1px solid rgba(255,255,255,0.2); 
  border-bottom: 2px solid rgba(182,223,245,0.5);
  border-radius: 50px; 
  padding: 0.85rem 0.3rem; 
  font-size: 0.95rem; 
  margin-bottom: 0.6rem;
  font-weight: 600; 
  color: #edf7fc; 
  text-decoration: none;
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 0.5rem;
  transition: all 0.2s; 
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.623); 
  cursor: pointer;
}

.btn:hover { 
  background: rgba(182,223,245,0.3); 
  border-color: rgba(255,255,255,0.5); 
  box-shadow: 0 12px 24px -8px #000, 0 0 15px #b6dff5; 
  color: white; 
}

.carousel-footer { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  margin-top: 2rem; 
  flex-wrap: wrap; 
  gap: 1rem; 
}

.indicator-dots { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 30px; 
  background: rgba(223,241,251,0.3); 
  border: 1px solid rgba(255,255,255,0.3); 
  transition: 0.2s; 
  cursor: pointer; 
}

.dot.active { 
  width: 36px; 
  background: #b6dff5; 
  border-color: #fff; 
  box-shadow: 0 0 18px #b6dff5; 
}

.scroll-hint {
  color: rgba(255,255,255,0.5); 
  font-size: 0.9rem; 
  display: flex; 
  align-items: center; 
  gap: 0.4rem;
  background: rgba(0,0,0,0.2); 
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem; 
  border-radius: 60px; 
  border: 1px solid rgba(255,255,255,0.1);
}

/* ============================================================
   JOURNEY / TIMELINE
   ============================================================ */
.section-title { margin-bottom:65px; 
text-align: center;
}
.journey-section {
  position: relative;
  overflow: hidden;
}
.journey-section::before {
  content: '05';
  position: absolute;
  left: -30px;
  bottom: -30px;
  font-family: 'Playfair Display', serif;
  font-size: 180px;
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: -1;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .journey-section::before {
    left: -30px;
    bottom: -30px;
  }
}
.section-title h2 { 
   text-align:center; font-size:15px; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
  font-weight:700; color:#fff; margin-top:8rem;

   
    padding: 7px 15px;
    background: rgba(50,157,210,0.199);
    border-radius: 0 50px 50px  50px ;
     display: inline-block;
       margin-bottom: 2rem;
 }

.timeline { position:relative; margin:0 auto; padding:40px 20px; max-width:600px; }

.timeline::before {
  content:''; position:absolute; top:0; left:50%;
  transform:translateX(-50%); width:4px; height:100%; background:rgba(255,255,255,0.2);
}

.timeline-item {
  display:flex; justify-content:flex-start; align-items:flex-start;
  position:relative; margin-bottom:70px; opacity:0;
  transform:translateY(40px) scale(0.95) rotate(2deg); transition:all 0.6s ease;
}

.timeline-item:nth-child(odd) { flex-direction:row-reverse; }
.timeline-item.show { opacity:1; transform:translateY(0) scale(1) rotate(0); }

.timeline-item:nth-child(1) { transition-delay:0.1s; }
.timeline-item:nth-child(2) { transition-delay:0.2s; }
.timeline-item:nth-child(3) { transition-delay:0.3s; }
.timeline-item:nth-child(4) { transition-delay:0.4s; }
.timeline-item:nth-child(5) { transition-delay:0.5s; }

.timeline-item.show .timeline-icon { animation:glowPulse 1.2s ease forwards; }

.timeline-icon {
  background:linear-gradient(45deg,rgba(50,157,210,0.36),rgba(107,188,229,0.38)); backdrop-filter:blur(8px);
  border-radius:50%; padding:15px; display:flex; width:4rem; height:4rem;
  justify-content:center; align-items:center; color:#fff; font-size:1.5rem;
  z-index:1; border:2px solid rgba(255,255,255,0.2);
}

.timeline-card {
  background:rgba(255,255,255,0.1); backdrop-filter:blur(10px);
  padding:20px; margin:0 20px; border-radius:15px;
  flex:1; border:1px solid rgba(255,255,255,0.1); transition:transform 0.3s ease;
}

.timeline-card:hover { transform:translateY(-5px); }
.timeline-card h3    { margin-bottom:10px; font-size:1.3rem; }
.timeline-card p     { font-size:0.95rem; margin-bottom:1rem; }

.project-tech { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }

.tech-tag { background:rgba(50,157,210,0.2); color:#a9d8f0; padding:5px 10px; border-radius:15px; font-size:0.8rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { width:100%; max-width:1200px; padding:80px 20px; overflow:hidden; margin:0 auto; position: relative;}

.contact-section::before {
  content: 'SAY HELLO';
  position: absolute;
  right: -30px;
  top: 23%;
  
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: -1;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .contact-section::before {
    font-size: 65px;
    right: -30px;
    top: 20%;
  }
}
.section-subtitle { text-align:center; margin:0 auto 60px; font-size:1.1rem; max-width:600px; color: rgba(255, 255, 255, 0.6); }

.contact-container { display:flex; flex-wrap:wrap; justify-content:center; gap:40px; margin-top:40px; }
.contact-info { flex:1; min-width:300px; max-width:400px; }
.contact-form { flex:1; min-width:300px; max-width:500px; }

.info-card {
  background:rgba(255,255,255,0.07); backdrop-filter:blur(12px);
  border-radius:20px; padding:30px; border:1px solid rgba(255,255,255,0.15);
  margin-bottom:25px; transition:transform 0.3s ease; position:relative; overflow:hidden;
}

.info-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(50,157,210,0.15) 0%,transparent 70%); z-index:-1;
}

.info-card:hover { transform:translateY(-5px); }

.info-card h3 { font-size:1.4rem; margin-bottom:20px; color:#fff; display:flex; align-items:center; }

.info-card h3 i { margin-right:10px; background:linear-gradient(45deg,#329dd2,#6bbce5); background-clip:text; color:transparent; font-size:1.6rem; }

.contact-detail {
  display:flex; align-items:center; margin-bottom:15px; padding:12px;
  background:rgba(255,255,255,0.05); border-radius:12px;
  transition:all 0.3s ease; cursor:pointer;
}

.contact-detail:hover { background:rgba(255,255,255,0.1); transform:translateX(5px); }

.contact-detail i { font-size:1.2rem; background:linear-gradient(45deg,#329dd2,#6bbce5); background-clip:text; color:transparent; margin-right:15px; width:24px; text-align:center; }
.contact-detail span { color:#ddd; }

.social-links { display:flex; justify-content:center; gap:15px; margin-top:30px; }

.social-link {
  width:50px; height:50px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.08); color:#fff; font-size:1.4rem;
  transition:all 0.3s ease; border:1px solid rgba(255,255,255,0.15);
  position:relative; overflow:hidden; text-decoration:none;
}

.social-link::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(50,157,210,0.2),rgba(107,188,229,0.2));
  z-index:-1; opacity:0; transition:opacity 0.3s ease;
}

.social-link:hover { transform:translateY(-5px) scale(1.1); }
.social-link:hover::before { opacity:1; }
.social-link:nth-child(1):hover { background:rgba(37,211,102,0.2); border-color:rgba(37,211,102,0.4); }
.social-link:nth-child(2):hover { background:rgba(10,102,194,0.2); border-color:rgba(10,102,194,0.4); }
.social-link:nth-child(3):hover { background:rgba(36,41,46,0.2);   border-color:rgba(36,41,46,0.4); }
.social-link:nth-child(4):hover { background:rgba(225,48,108,0.2); border-color:rgba(225,48,108,0.4); }

.form-card {
  background:rgba(255,255,255,0.07); backdrop-filter:blur(12px);
  border-radius:20px; padding:40px; border:1px solid rgba(255,255,255,0.15);
  transition:transform 0.3s ease; position:relative; overflow:hidden;
}

.form-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(107,188,229,0.055) 0%,transparent 70%); z-index:-1;
}

.form-card:hover { transform:translateY(-5px); }

.form-group { margin-bottom:25px; opacity:0; transform:translateY(20px); transition:opacity 0.6s ease,transform 0.6s ease; }
.form-group.in-view { opacity:1; transform:translateY(0); }

.form-input {
  width:100%; padding:16px 20px;
  background:rgba(255,255,255,0.09); border:1px solid rgba(255,255,255,0.15);
  border-radius:12px; color:#fff; font-size:1rem;
  transition:all 0.3s ease; outline:none; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif;
}

.form-input:focus { border-color:#329dd2; box-shadow:0 0 0 2px rgba(50,157,210,0.3); background:rgba(255,255,255,0.12); }
.form-input::placeholder { color:#aaa; }
textarea.form-input { min-height:150px; resize:vertical; }

.submit-btn {
  width:100%; padding:16px;
  background:linear-gradient(135deg,rgba(50,157,210,0.59),rgba(107,188,229,0.61));
  border:none; border-radius:16px; color:white;
  font-size:1.1rem; font-weight:600; cursor:pointer;
  transition:all 0.3s ease; position:relative; overflow:hidden;
}

.submit-btn::before {
  content:''; position:absolute; top:0; left:-100%; width:100%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent); transition:0.5s;
}

.submit-btn:hover { transform:translateY(-3px); }
.submit-btn:hover::before { left:100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background:rgba(0,0,0,0.521); width:100vw; height:auto; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto ,sans-serif; padding-top:40px;  position: relative; }

.footer-content { display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; position: relative; }

.footer-content h3 { font-size:5vmin; font-weight:bolder; line-height:3rem; margin:5px 0; font-family:'Anurati', sans-serif;}
.footer-content p  { font-size:2.6vmin; margin:0; padding:7px; font-weight:300; }

.socials { list-style:none; display:flex; align-items:center; justify-content:center; margin:1rem 0 3rem; }
.socials li { margin:0 10px; }
.socials a  { text-decoration:none; color:white;}
.socials a i { font-size: 1.8rem; transition:color .3s ease;  gap: 2px;}
.socials a:hover i { background:linear-gradient(90deg,#ff4c2b,#ff7a52,#ff4c2b); background-size:200% auto; background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; animation:gradientMove 3s linear infinite; }

.footer-bottom { background:black; width:100vw; padding:20px 0; }
.footer-bottom p { font-size:2vmin; text-align:center; color:white; text-transform:capitalize; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .split-screen { flex-direction:column; margin-top:100px; min-height:auto; }
  .content-side, .visual-side { width:100%; min-height:auto; margin:10px 0; }
  .content-side { padding:5px; }
  .profile-img { width:200px; height:200px; margin:20px auto; }
  .profile-img::before { width:180px; height:180px; }
  .code-editor { height:250px; width:100%; margin-bottom:30px; }
}
@media (max-width: 900px) {
  /* About me — stack vertically on tablet */
  .me {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    padding: 1rem;
  }

  .me .div1,
  .me .div2,
  .me .div3 {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .me .div2 img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    width: 100%;
  }

  .image-blur { height: 45%; }

  /* Nav — tighten spacing */
  nav ul li { margin-left: 0.8rem; }
  nav ul li a { font-size: 14px; padding: 8px; }

  .hamburger { display: flex; }
  nav ul {
    /* same mobile menu styles */
    position: fixed;
    left: -90%;
    opacity: 0;
    top: 70px;
    flex-direction: column;
    background: rgba(8,15,27,0.95) !important;
    border-radius: 25px;
    gap: 50px;
    padding: 2rem 1.5rem;
    transition: left 0.3s ease, opacity 0.3s ease;
    height: calc(100vh - 80px);
    z-index: 999;
  }
  nav ul.active { left: 0; opacity: 1; margin: 2px; }

  /* Header split screen */
  .split-screen {
    flex-direction: column;
    margin-top: 80px;
  }

  .content-side,
  .visual-side {
    width: 100%;
    min-height: auto;
  }

  /* Buttons */
  .top-button button {
    padding: 13px 40px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hamburger { display:flex;  }

  nav ul {
    position:fixed; left:-90%; width:100%; max-width:100%;
    margin:0 5%; top:70px; flex-direction:column;
    background: rgba(8,15,27,0.98) !important;
    border:1px solid rgba(255,255,255,0.356); border-radius:25px;
    text-align:center; transition:left 0.3s ease, opacity 0.3s ease;
    opacity:0; gap:50px; padding:2rem 1.5rem;
    overflow-y:auto; height:calc(100vh - 80px); z-index:999;
  }

  nav ul.active { left:0; opacity:1; margin:2px; }
  nav ul li { margin:0; display:block; width:100%; }
  nav ul li a { 
    padding: 14px;
  }


  .theme-toggle-item { margin:15px 0; justify-content:center; }
  .theme-toggle { width:50px; height:50px; font-size:1.5rem; }

  
  .me { grid-template-columns:1fr; grid-template-rows:auto auto auto; text-align:center; gap:30px; padding:1rem; }
  .me .div1, .me .div2, .me .div3 { grid-column:1; grid-row:auto; width:100%; }
  .me .div2 img { max-width:100%; height:auto; max-height:400px; }
  .image-blur { height:40%; }

  .skills {  
    grid-template-columns: repeat(2, 1fr); /* keep 2 columns on mobile too */
    gap: 0.75rem;
    padding: 0.75rem;
  } 
  .contact-container { flex-direction:column; }
  .contact-info, .contact-form { max-width:100%; }

  .top-button { flex-direction:row; justify-content:center; flex-wrap:wrap; }
  .top-button button { width:auto; min-width:141px; padding:16px 47px; border-radius:100px; font-size: 13px; font-weight: 600; }
  .top-button .button-2 { padding:16px 36px; }
  .Vertical-line { margin:0; padding-left:15px; margin-left:5px; }
}

@media (max-width: 640px) {
  .project-card { width:min(300px,75vw); }
}

@media (max-width: 480px) {
  .header-content { text-align:left; margin:10px auto; padding:1px; }
  .header-content h1 { font-size:1.8rem; }
  .header-content h2 span { font-size:3.2rem;letter-spacing: 0px ; }
  .header-content h3 { font-size:1.8rem; font-weight: 200;letter-spacing: 4px }
  .header-content p {
  
  font-size: 18.5px; text-align:center;color: rgba(255, 255, 255, 0.6);line-height: 1.5;
  
}
  .project-card { width:95vw; min-width:250px; }
  .button-group { flex-direction:column; gap:0.6rem; }
  .btn { padding:0.8rem; }
  .carousel-track { gap:1rem; }
   .skills {
    grid-template-columns: repeat(2, 1fr); /* still 2 on small phones */
    gap: 15px;
    padding: 0.6rem;
  }
  .footer-content h3 { font-size:6vmin; }
.footer-content p  { font-size:3.5vmin;  }

}


/* ============================================================
   THEME ACCENTS — roles for the new palette
   Azure = brand / UI.   Vermillion = pop / calls to action / "live" signals
   ============================================================ */
html { background: var(--ink); }
::selection { background: var(--azure); color: #fff; }

/* vermillion "live" signals */
.pulsse { background: linear-gradient(45deg, var(--verm), var(--verm-light)); }
@keyframes pulsse {
  0%, 100% { opacity: 1; transform: scale(1);   box-shadow: 0 0 0 0   rgba(255,76,43,0.55); }
  50%      { opacity: .5; transform: scale(1.5); box-shadow: 0 0 0 6px rgba(255,76,43,0); }
}
.scroll-wheel { background: var(--verm); }
.story-notification {
  background: linear-gradient(135deg, var(--verm), var(--verm-light));
  box-shadow: 0 0 0 0 rgba(255,76,43,0.6);
}
@keyframes notifPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(255,76,43,0.6); }
  50%      { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255,76,43,0);   }
}

/* primary call to action = vermillion, secondary = azure */
.button-1 {
  background: linear-gradient(135deg, rgba(255,76,43,0.85), rgba(255,122,82,0.75));
  border: 1px solid rgba(255,255,255,0.3);
  border-right: 1.5px solid rgba(253,253,253,.35);
  padding: 16px 36px;
}
.submit-btn { background: linear-gradient(135deg, rgba(255,76,43,0.9), rgba(255,122,82,0.8)); }
.submit-btn:hover { box-shadow: 0 10px 30px rgba(255,76,43,0.35); }

/* progress bars: azure -> vermillion */
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--azure), var(--verm)); }
progress::-moz-progress-bar      { background: linear-gradient(90deg, var(--azure), var(--verm)); }

/* inputs / focus */
*:focus-visible { outline-color: var(--verm); }
.form-input:focus { border-color: var(--azure); box-shadow: 0 0 0 2px rgba(50,157,210,0.3); }

/* dark mode surfaces get an ink tint instead of neutral grey */
.nav-arrow, .btn { background-color: rgba(50,157,210,0.08); }
.card-description { background: rgba(8,15,27,0.45); }
.footer { background: rgba(8,15,27,0.75); }
.footer-bottom { background: #04080f; }

/* ---------------- LIGHT MODE ---------------- */
body.light-mode { color: var(--ink); }
body.light-mode .pulsse { background: linear-gradient(45deg, var(--verm-deep), var(--verm)); }
body.light-mode .animation-2 {
  background: linear-gradient(90deg, #d93a1b, #ff4c2b, #ff7a52, #d93a1b);
  background-size: 400% 400%;
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s linear infinite;
}
body.light-mode .animation {
  background: linear-gradient(45deg, #1f7aa8, #329dd2, #080f1b, #1f7aa8);
  background-size: 300% 300%;
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
body.light-mode .button-1 {
  background: linear-gradient(135deg, #ff4c2b, #ff7a52);
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
}
body.light-mode .submit-btn { background: linear-gradient(135deg, #ff4c2b, #ff7a52); color: #fff; }
body.light-mode progress::-webkit-progress-value { background: linear-gradient(90deg, #1f7aa8, #ff4c2b); }
body.light-mode progress::-moz-progress-bar      { background: linear-gradient(90deg, #1f7aa8, #ff4c2b); }
body.light-mode .story-ring img     { border-color: #eef6fb; }
body.light-mode .story-notification { border-color: #fff; }
body.light-mode .nav-arrow, body.light-mode .btn { background-color: #fff; }
body.light-mode .card-description { background: rgba(8,15,27,0.04); color: #3d5166; }
body.light-mode .footer { background: rgba(8,15,27,0.92); }
body.light-mode .footer p, body.light-mode .footer h3 { color: #fff; }


/* ============================================================
   SVG LOGOS — official colours (skills + marquee)
   ============================================================ */
:root { --logo-mono: #ffffff; }              /* GitHub mark: white on dark */
body.light-mode { --logo-mono: #181616; }    /* GitHub mark: black on light */

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

.skill-svg { filter: none; }
.skill-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 0.6rem; margin-bottom: 10px;
}
.skill-logos .skill-svg { margin: 0; }

.badge-img { filter: none; overflow: visible; }
