/* ============================================================
   RAJESH VATLURI — Portfolio CSS
   Theme  : Black / Red / White
   Modes  : Dark (default) + Light toggle
   Fonts  : Bebas Neue · DM Sans · JetBrains Mono
   ============================================================ */

/* ---- Variables ---- */
:root {
  --red:        #e3000f;
  --red-dim:    #b0000b;
  --red-glow:   rgba(227,0,15,0.15);
  --red-stroke: #e3000f;

  /* Dark (default) */
  --bg:          #0a0a0a;
  --bg-alt:      #111111;
  --bg-card:     #161616;
  --bg-card-h:   #1d1d1d;
  --border:      rgba(255,255,255,0.07);
  --border-s:    rgba(255,255,255,0.14);
  --text-1:      #f0f0f0;
  --text-2:      #9a9a9a;
  --text-3:      #555555;
  --nav-bg:      rgba(10,10,10,0.94);
  --shadow:      0 8px 48px rgba(0,0,0,0.65);
  --logo-color:  #f0f0f0;

  /* Stroke text */
  --vatluri-fill:   transparent;
  --vatluri-stroke: #e3000f;
  --rajesh-color:   #f0f0f0;
}

[data-theme="light"] {
  --bg:          #ffffff;
  --bg-alt:      #f4f4f4;
  --bg-card:     #fafafa;
  --bg-card-h:   #eeeeee;
  --border:      rgba(0,0,0,0.07);
  --border-s:    rgba(0,0,0,0.16);
  --text-1:      #111111;
  --text-2:      #555555;
  --text-3:      #aaaaaa;
  --nav-bg:      rgba(255,255,255,0.94);
  --shadow:      0 8px 48px rgba(0,0,0,0.10);
  --logo-color:  #111111;

  --vatluri-fill:   transparent;
  --vatluri-stroke: #e3000f;
  --rajesh-color:   #111111;
}

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-text-size-adjust:100%}
body{
  font-family:'DM Sans',sans-serif;
  background:var(--bg);
  color:var(--text-1);
  line-height:1.7;
  overflow-x:hidden;
  transition:background .3s,color .3s;
}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;display:block}
button{cursor:pointer;border:none;background:none}

/* ---- Typography helpers ---- */
.section-tag{
  font-family:'JetBrains Mono',monospace;
  font-size:.75rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--red);
  display:block;margin-bottom:.55rem;
}
.section-title{
  font-family:'Bebas Neue',sans-serif;
  font-weight:500;
  font-size:clamp(2.4rem,5vw,4rem);
  letter-spacing:.03em;line-height:1;
  color:var(--text-1);
}
.section-sub{
  margin-top:.9rem;
  font-size:1rem;color:var(--text-2);
  max-width:520px;
}
.accent{color:var(--red)}
.accent-text{color:var(--red);font-weight:600}
.dot{color:var(--red)}
.highlight{color:var(--red);font-weight:700;font-family:'JetBrains Mono',monospace}
.tag-red{
  background:var(--red-glow);color:var(--red);
  padding:.15em .55em;border-radius:3px;
  font-size:.88em;font-weight:600;
  border:1px solid rgba(227,0,15,.28);
}

/* ---- Layout ---- */
.container{max-width:1100px;margin:0 auto;padding:0 2rem}
.section{padding:5.5rem 0}
.section-alt{background:var(--bg-alt)}
.section-header{margin-bottom:3rem}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 2rem;
  background:var(--nav-bg);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  transition:padding .3s,background .3s,border-color .3s;
}
.navbar.scrolled{padding:.6rem 2rem}

.nav-logo{
  font-family:'Bebas Neue',sans-serif;
  font-size:1.7rem;letter-spacing:.05em;
  color:var(--logo-color);
  transition:color .3s;
  flex-shrink:0;
}

.nav-links{display:flex;gap:1.8rem;align-items:center}
.nav-links a{
  font-size:.84rem;font-weight:500;letter-spacing:.04em;
  color:var(--text-2);transition:color .2s;
  padding:.25rem 0;
  position:relative;
}
.nav-links a::after{
  content:'';position:absolute;bottom:-2px;left:0;right:0;
  height:1px;background:var(--red);
  transform:scaleX(0);transform-origin:left;
  transition:transform .25s;
}
.nav-links a:hover{color:var(--red)}
/* .nav-links a:hover::after,.nav-links a.active::after{transform:scaleX(1)} */
.nav-links a.active{color:var(--red)}

.nav-actions{display:flex;align-items:center;gap:.9rem;flex-shrink:0}

.theme-toggle{
  background:var(--bg-card);
  border:1px solid var(--border-s);
  border-radius:50%;
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;color:var(--text-1);
  transition:transform .25s,border-color .25s,background .3s;
}
.theme-toggle:hover{transform:rotate(22deg);border-color:var(--red)}

[data-theme="dark"]  .icon-sun  {display:block}
[data-theme="dark"]  .icon-moon {display:none}
[data-theme="light"] .icon-sun  {display:none}
[data-theme="light"] .icon-moon {display:block}

.btn-nav{
  font-family:'JetBrains Mono',monospace;
  font-size:.78rem;font-weight:600;letter-spacing:.07em;
  color:var(--red);border:1px solid var(--red);
  padding:.42rem 0.5rem;border-radius:3px;
  transition:background .2s,color .2s;white-space:nowrap;
}
.btn-nav:hover{background:var(--red);color:#fff}

/* Hamburger */
.hamburger{
  display:none;flex-direction:column;gap:5px;
  padding:4px;border-radius:4px;
}
.hamburger span{
  display:block;width:24px;height:2px;
  background:var(--text-1);border-radius:2px;
  transition:all .28s cubic-bezier(.4,0,.2,1);
}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile nav drawer */
@media(max-width:860px){
  .nav-links{
    display:none;
    position:fixed;
    top:60px;left:0;right:0;
    flex-direction:column;gap:0;
    background:var(--nav-bg);
    backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border);
    padding:1rem 0 1.5rem;
    z-index:999;
  }
  .nav-links.open{display:flex}
  .nav-links a{
    font-size:1rem;padding:.85rem 2rem;
    border-bottom:1px solid var(--border);
    color:var(--text-1);
  }
  .nav-links a:last-child{border-bottom:none}
  .hamburger{display:flex}
  .btn-nav{display:none}
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  min-height:100vh;
  padding:7rem 2rem 3rem;
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;
  justify-content:center;
  max-width:1300px;margin:0 auto;
}

.hero-bg-text{
  position:absolute;
  right:-3rem;top:50%;transform:translateY(-52%);
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(10rem,20vw,22rem);
  color:var(--border);line-height:1;
  pointer-events:none;user-select:none;
  letter-spacing:-.05em;transition:color .3s;
}

/* 3-column hero layout */
.hero-layout{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:3rem;
  align-items:center;
  width:100%;
  z-index:1;
  position:relative;
}

/* LEFT */
.hero-left{display:flex;flex-direction:column;justify-content:center}

.hero-label{
  font-family:'JetBrains Mono',monospace;
  font-size:.78rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--red);margin-bottom:1rem;
  display:flex;align-items:center;gap:.7rem;
}
.hero-label::before{
  content:'';display:inline-block;
  width:28px;height:1px;background:var(--red);
}

.hero-name{
  font-family:'Bebas Neue',sans-serif;
  /* font-weight:500; */
  font-size:clamp(3.5rem,8vw,8rem);
  line-height:.92;letter-spacing:.025em;
  margin-bottom:1.4rem;
}

/* RAJESH — solid fill per theme */
.name-rajesh{
  font-weight:300;
  display:block;
  color:var(--rajesh-color);
  transition:color .3s;
}

.name-vatluri{
  /* font-weight:300; */
  font-weight:300;
  display:block;
  color:var(--red);
  transition:color .3s;

/* VATLURI — red stroke, transparent fill */
  /* display:block;
  color:var(--vatluri-stroke);
  color:transparent;
  -webkit-text-stroke:0.0000001px var(--vatluri-stroke);
  text: stroke 0.00001px var(--vatluri-stroke);
  transition:-webkit-text-stroke .3s; */
}


.hero-sub{
  font-family:'JetBrains Mono',monospace;
  font-size:.82rem;color:var(--text-2);
  letter-spacing:.07em;margin-bottom:2rem;
}

.hero-ctas{display:flex;gap:.85rem;flex-wrap:wrap}

/* Hero button swap */
/* .hero-ctas .btn-primary {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--text-1);
}
.hero-ctas .btn-primary:hover {
  background: var(--red);
  color: #ffffff;
  border: 1px solid var(--red);
  transform: translateY(-2px);
}
.hero-ctas .btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.hero-ctas .btn-outline:hover {
  background: var(--red);
  color: #ffffff;
  transform: translateY(-2px);
} */

/* MIDDLE — Photo */
.hero-photo-wrap{
  display:flex;flex-direction:column;
  align-items:center;gap:.9rem;
}
.hero-photo-ring{
  width:220px;height:220px;
  border-radius:50%;
  position:relative;
  flex-shrink:0;
}
.hero-photo-ring::before{
  content:'';
  position:absolute;inset:-5px;
  border-radius:50%;
  border:2px solid var(--red);
  opacity:.9;
}
.hero-photo-ring::after{
  content:'';
  position:absolute;inset:-10px;
  border-radius:50%;
  border:1px solid rgba(227,0,15,.3);
}
.hero-photo{
  width:100%;height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

/* ---- Theme-based photo swap ----
   VR_white.png (light-colored subject/outline) shows on dark theme.
   VR_black.png (dark-colored subject/outline) shows on light theme.
   Both images are stacked in the same ring; only one is visible
   at a time based on data-theme on <html>. */
.hero-photo-ring{
  display:grid; /* stack both images on top of each other */
}
.hero-photo--dark,
.hero-photo--light{
  grid-area:1/1;
  width:100%;height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}
[data-theme="dark"]  .hero-photo--dark  { display:block; }
[data-theme="dark"]  .hero-photo--light { display:none; }
[data-theme="light"] .hero-photo--dark  { display:none; }
[data-theme="light"] .hero-photo--light { display:block; }

.hero-photo-tag{
  font-family:'JetBrains Mono',monospace;
  font-size:.68rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--text-3);
}

/* RIGHT */
.hero-right{
  display:flex;flex-direction:column;
  align-items:flex-end;gap:2rem;
}
.hero-badge{
  display:flex;flex-direction:column;
  align-items:flex-end;
  border-right:3px solid var(--red);
  padding-right:1.2rem;
  gap:.1rem;
}
.badge-label{
  font-family:'JetBrains Mono',monospace;
  font-size:.65rem;letter-spacing:.15em;
  text-transform:uppercase;color:var(--text-3);
}
.badge-value{
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(3rem,5vw,5rem);
  color:var(--red);line-height:1;
  letter-spacing:.04em;
}
.badge-sub{
  font-family:'Bebas Neue',sans-serif;
  font-size:1.4rem;color:var(--text-2);
  letter-spacing:.06em;
}

.hero-stats{
  display:grid;grid-template-columns:1fr 1fr;
  gap:1px;background:var(--border);
  border:1px solid var(--border);
  border-radius:4px;overflow:hidden;
}
.stat{
  background:var(--bg);
  padding:1rem .85rem;
  display:flex;flex-direction:column;
  align-items:center;gap:.2rem;
  transition:background .3s;
}
.stat-num{
  font-family:'Bebas Neue',sans-serif;
  font-size:1.8rem;color:var(--red);letter-spacing:.03em;
}
.stat-label{
  font-family:'JetBrains Mono',monospace;
  font-size:.6rem;color:var(--text-3);
  text-align:center;letter-spacing:.06em;
  text-transform:uppercase;
}

/* Scroll indicator */
.scroll-indicator{
  position:absolute;right:2rem;bottom:2.5rem;
  display:flex;flex-direction:column;
  align-items:center;gap:.45rem;
  z-index:1;
}
.scroll-indicator span{
  font-family:'JetBrains Mono',monospace;
  font-size:.62rem;letter-spacing:.16em;
  color:var(--text-3);writing-mode:vertical-rl;
}
.scroll-line{
  width:1px;height:52px;
  background:linear-gradient(to bottom,var(--red),transparent);
  animation:scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse{
  0%,100%{opacity:1;transform:scaleY(1)}
  50%{opacity:.35;transform:scaleY(.55)}
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary{
  display:inline-block;
  background:var(--red);color:#fff;
  font-weight:700;font-size:.86rem;letter-spacing:.06em;
  padding:.88rem 1.8rem;border-radius:3px;
  transition:background .2s,transform .2s;
  white-space:nowrap;
}
.btn-primary:hover{background:var(--red-dim);transform:translateY(-2px)}
.btn-outline{
  display:inline-block;
  color:var(--text-1);
  font-weight:600;font-size:.86rem;letter-spacing:.06em;
  padding:.88rem 1.8rem;border-radius:3px;
  border:1px solid var(--border-s);
  transition:border-color .2s,color .2s,transform .2s;
  white-space:nowrap;
}
.btn-outline:hover{border-color:var(--red);color:var(--red);transform:translateY(-2px)}
.btn-full{display:block;text-align:center;width:100%}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid{
  display:grid;grid-template-columns:1fr 320px;
  gap:3.5rem;align-items:start;
}
.about-text p{color:var(--text-2);margin-bottom:1.1rem}
.about-text .lead{font-size:1.1rem;color:var(--text-1);line-height:1.65}
.about-text strong{color:var(--text-1);font-weight:700}
.about-links{display:flex;flex-direction:column;gap:.55rem;margin-top:1.6rem}
.about-link{
  font-family:'JetBrains Mono',monospace;
  font-size:.8rem;color:var(--text-2);
  letter-spacing:.04em;transition:color .2s;
}
.about-link:hover{color:var(--red)}

.about-card{position:sticky;top:6rem}
.about-card-inner{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:6px;padding:1.8rem;
  display:flex;flex-direction:column;gap:1.1rem;
}
.about-initials{
  font-family:'Bebas Neue',sans-serif;
  font-size:3.5rem;
  color:var(--logo-color);
  line-height:1;letter-spacing:.05em;
  border-bottom:1px solid var(--border);
  padding-bottom:.9rem;
  transition:color .3s;
}
.about-detail{display:flex;flex-direction:column;gap:.12rem}
.detail-label{
  font-family:'JetBrains Mono',monospace;
  font-size:.65rem;color:var(--text-3);
  text-transform:uppercase;letter-spacing:.1em;
}
.detail-value{font-size:.88rem;color:var(--text-1);font-weight:500}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.4rem;
}
.skill-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:6px;padding:1.7rem;
  position:relative;overflow:hidden;
  transition:border-color .25s,transform .25s,box-shadow .25s;
}
.skill-card::before{
  content:'';position:absolute;
  top:0;left:0;width:3px;height:100%;
  background:var(--red);
  transform:scaleY(0);transform-origin:top;
  transition:transform .3s ease;
}
.skill-card:hover{
  border-color:var(--border-s);
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.skill-card:hover::before{transform:scaleY(1)}
.skill-icon{font-size:1.7rem;margin-bottom:.9rem;display:block}
.skill-cat{
  font-family:'JetBrains Mono',monospace;
  font-size:.78rem;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;
  color:var(--text-1);margin-bottom:.7rem;
}
.skill-list{display:flex;flex-direction:column;gap:.38rem}
.skill-list li{
  font-size:.86rem;color:var(--text-2);
  padding-left:1rem;position:relative;
}
.skill-list li::before{
  content:'▸';position:absolute;left:0;
  color:var(--red);font-size:.68rem;top:.15em;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline{position:relative;padding-left:2rem}
.timeline::before{
  content:'';position:absolute;
  left:6px;top:12px;bottom:12px;
  width:1px;background:var(--border-s);
}
.timeline-item{position:relative;margin-bottom:2.5rem;padding-left:2.4rem}
.timeline-item:last-child{margin-bottom:0}
.timeline-marker{
  position:absolute;left:-2rem;top:10px;
  width:14px;height:14px;border-radius:50%;
  background:var(--red);
  border:3px solid var(--bg);
  box-shadow:0 0 0 2px var(--red);
  transition:background .3s,border-color .3s;
}
.timeline-marker--intern{
  background:var(--bg-card);
  border-color:var(--border-s);
  box-shadow:0 0 0 2px var(--border-s);
}
.timeline-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:6px;padding:1.8rem;
  transition:border-color .25s;
}
.timeline-card:hover{border-color:var(--red)}
.timeline-meta{
  display:flex;justify-content:space-between;
  align-items:center;margin-bottom:.5rem;
  flex-wrap:wrap;gap:.4rem;
}
.tl-company{
  font-family:'JetBrains Mono',monospace;
  font-size:.75rem;color:var(--red);
  letter-spacing:.08em;text-transform:uppercase;
}
.tl-period{
  font-family:'JetBrains Mono',monospace;
  font-size:.72rem;color:var(--text-3);letter-spacing:.05em;
}
.tl-role{font-size:1.15rem;font-weight:700;color:var(--text-1);margin-bottom:.9rem}
.tl-points{display:flex;flex-direction:column;gap:.65rem}
.tl-points li{
  font-size:.88rem;color:var(--text-2);
  padding-left:1.15rem;position:relative;line-height:1.6;
}
.tl-points li::before{
  content:'—';position:absolute;left:0;
  color:var(--red);font-weight:700;font-size:.72rem;top:.22em;
}
.tl-points strong{color:var(--text-1)}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid{display:grid;gap:1.8rem}
.project-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:6px;padding:2.2rem;
  position:relative;
  transition:border-color .25s,transform .25s;
}
.project-card:hover{border-color:var(--red);transform:translateY(-3px)}
.project-card--featured{border-left:3px solid var(--red)}
.project-badge{
  position:absolute;top:1.4rem;right:1.4rem;
  font-family:'JetBrains Mono',monospace;
  font-size:.65rem;letter-spacing:.12em;text-transform:uppercase;
  background:var(--red-glow);color:var(--red);
  border:1px solid rgba(227,0,15,.28);
  padding:.22em .65em;border-radius:3px;
}
.project-top{margin-bottom:.9rem}
.project-title{font-size:1.35rem;font-weight:700;color:var(--text-1);margin-bottom:.25rem}
.project-period{
  font-family:'JetBrains Mono',monospace;
  font-size:.72rem;color:var(--text-3);letter-spacing:.05em;
}
.project-desc{font-size:.9rem;color:var(--text-2);margin-bottom:1.4rem;line-height:1.65}
.project-achievements{display:flex;flex-direction:column;gap:.85rem;margin-bottom:1.6rem}
.achievement{display:flex;gap:.75rem;font-size:.87rem;color:var(--text-2);line-height:1.6}
.ach-icon{flex-shrink:0;font-size:.95rem;margin-top:.1rem}
.achievement strong{color:var(--text-1)}
.project-tags{display:flex;flex-wrap:wrap;gap:.45rem}
.project-tags span{
  font-family:'JetBrains Mono',monospace;
  font-size:.7rem;padding:.28em .65em;
  border-radius:3px;background:var(--bg-alt);
  border:1px solid var(--border);color:var(--text-2);
  letter-spacing:.04em;transition:border-color .2s,color .2s;
}
.project-card:hover .project-tags span{
  border-color:rgba(227,0,15,.28);color:var(--text-1);
}

/* ============================================================
   CREATIVE SPACE
   ============================================================ */
.creative-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.6rem;
}
.creative-card{
  display:block;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:8px;overflow:hidden;
  transition:transform .28s,border-color .28s,box-shadow .28s;
  position:relative;
}
.creative-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}
.creative-card--github:hover{border-color:#6e40c9}
.creative-card--instagram:hover{border-color:#e1306c}
.creative-card--youtube:hover{border-color:#ff0000}

.creative-card-inner{
  padding:2rem 1.8rem 1.6rem;
  display:flex;flex-direction:column;
  gap:.75rem;height:100%;
  position:relative;
}

.creative-platform-badge{
  font-family:'JetBrains Mono',monospace;
  font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--text-3);
}
.creative-card--github .creative-platform-badge{color:#6e40c9}
.creative-card--instagram .creative-platform-badge{color:#e1306c}
.creative-card--youtube .creative-platform-badge{color:#ff0000}

.creative-icon{
  color:var(--text-2);
  transition:color .25s,transform .25s;
  width:fit-content;
}
.creative-card:hover .creative-icon{transform:scale(1.08)}
.creative-card--github:hover  .creative-icon{color:#6e40c9}
.creative-card--instagram:hover .creative-icon{color:#e1306c}
.creative-card--youtube:hover .creative-icon{color:#ff0000}

.creative-title{
  font-size:1.05rem;font-weight:700;color:var(--text-1);
}
.creative-desc{
  font-size:.86rem;color:var(--text-2);line-height:1.6;flex:1;
}
.creative-handle{
  font-family:'JetBrains Mono',monospace;
  font-size:.75rem;color:var(--text-3);
  letter-spacing:.05em;
}
.creative-arrow{
  font-size:1.2rem;color:var(--text-3);
  align-self:flex-end;
  transition:transform .25s,color .25s;
}
.creative-card:hover .creative-arrow{
  transform:translateX(4px);
  color:var(--text-1);
}

/* ============================================================
   EDUCATION
   ============================================================ */
.edu-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-left:3px solid var(--red);
  border-radius:6px;padding:2.2rem;
  display:flex;justify-content:space-between;
  align-items:center;gap:2rem;flex-wrap:wrap;
}
.edu-degree{font-size:1.2rem;font-weight:700;color:var(--text-1);margin-bottom:.35rem}
.edu-school{font-size:.95rem;color:var(--text-2);margin-bottom:.2rem}
.edu-location{
  font-family:'JetBrains Mono',monospace;
  font-size:.75rem;color:var(--text-3);letter-spacing:.05em;
}
.edu-right{display:flex;flex-direction:column;align-items:center;gap:.45rem}
.edu-cgpa{display:flex;flex-direction:column;align-items:center}
.cgpa-num{
  font-family:'Bebas Neue',sans-serif;
  font-size:3.2rem;color:var(--red);line-height:1;
}
.cgpa-label{
  font-family:'JetBrains Mono',monospace;
  font-size:.65rem;color:var(--text-3);
  letter-spacing:.12em;text-transform:uppercase;
}
.edu-year{
  font-family:'JetBrains Mono',monospace;
  font-size:.75rem;color:var(--text-3);letter-spacing:.06em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{
  display:grid;grid-template-columns:1fr 340px;
  gap:3.5rem;align-items:start;
}
.contact-lead{font-size:1.05rem;color:var(--text-2);margin-bottom:1.8rem;line-height:1.7}
.contact-items{display:flex;flex-direction:column;gap:1rem}
.contact-item{
  display:flex;align-items:center;gap:1rem;
  padding:.95rem 1.15rem;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:5px;
  transition:border-color .2s,transform .2s;
}
.contact-item:hover{border-color:var(--red);transform:translateX(4px)}
.c-icon{
  font-family:'JetBrains Mono',monospace;
  font-size:.95rem;color:var(--red);
  width:26px;text-align:center;flex-shrink:0;
}
.c-label{
  display:block;font-family:'JetBrains Mono',monospace;
  font-size:.64rem;text-transform:uppercase;
  letter-spacing:.1em;color:var(--text-3);
}
.c-value{display:block;font-size:.86rem;color:var(--text-1);font-weight:500}

/* .contact-cta{
  margin-top: 6rem;
} */
.cta-box{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-top:3px solid var(--red);
  border-radius:6px;padding:2.2rem;
  position:sticky;top:12rem;
}
.cta-box h3{font-size:1.25rem;font-weight:700;margin-bottom:.7rem;color:var(--text-1)}
.cta-box p{font-size:.88rem;color:var(--text-2);margin-bottom:1.6rem;line-height:1.6}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background:var(--bg-alt);
  border-top:1px solid var(--border);
  padding:1.8rem 0;
}
.footer-inner{
  display:flex;align-items:center;
  justify-content:space-between;
  gap:1rem;flex-wrap:wrap;
}
.footer-logo{
  font-family:'Bebas Neue',sans-serif;
  font-size:1.5rem;color:var(--logo-color);
  letter-spacing:.05em;transition:color .3s;
}
.footer-copy{
  font-family:'JetBrains Mono',monospace;
  font-size:.72rem;color:var(--text-3);letter-spacing:.04em;
}
.footer-top{
  font-family:'JetBrains Mono',monospace;
  font-size:.75rem;color:var(--text-2);
  letter-spacing:.07em;transition:color .2s;
}
.footer-top:hover{color:var(--red)}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.fade-in{
  opacity:0;transform:translateY(22px);
  transition:opacity .6s ease,transform .6s ease;
}
.fade-in.visible{opacity:1;transform:translateY(0)}

@media(prefers-reduced-motion:reduce){
  .fade-in{opacity:1;transform:none;transition:none}
  .scroll-line{animation:none}
}

/* ============================================================
   RESPONSIVE — TABLET (860px)
   ============================================================ */
@media(max-width:860px){
  .hero-layout{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    gap:2rem;
    text-align:center;
  }
  .hero-left{align-items:center}
  .hero-label::before{display:none}
  .hero-label{justify-content:center}
  .hero-ctas{justify-content:center}
  .hero-photo-wrap{order:-1}
  .hero-photo-ring{width:180px;height:180px}
  .hero-right{align-items:center}
  .hero-badge{align-items:center;border-right:none;border-bottom:3px solid var(--red);padding-right:0;padding-bottom:.8rem}
  .hero-bg-text{display:none}
  .scroll-indicator{display:none}

  .about-grid{grid-template-columns:1fr}
  .about-card{position:static}
  .skills-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
  .contact-cta{margin-top: 0rem;}
  .cta-box{position:static}
  .creative-grid{grid-template-columns:repeat(2,1fr)}
}

/* ============================================================
   RESPONSIVE — MOBILE (580px)
   ============================================================ */
@media(max-width:580px){
  .section{padding:4rem 0}
  .container{padding:0 1.25rem}
  .navbar{padding:.75rem 1.25rem}
  .navbar.scrolled{padding:.55rem 1.25rem}

  .hero{padding:6rem 1.25rem 2.5rem}
  .hero-photo-ring{width:150px;height:150px}
  .hero-name{font-size:clamp(3rem,14vw,5rem)}
  .hero-ctas{flex-direction:column;width:100%}
  .btn-primary,.btn-outline{text-align:center}

  .skills-grid{grid-template-columns:1fr}
  .creative-grid{grid-template-columns:1fr}

  .timeline{padding-left:1.2rem}
  .timeline-item{padding-left:1.6rem}
  .timeline-marker{left:-1.2rem}

  .edu-card{flex-direction:column;align-items:flex-start;gap:1.5rem}
  .edu-right{align-items:flex-start}

  .hero-stats{grid-template-columns:repeat(2,1fr)}

  .footer-copy{display:block}
  .footer-inner{justify-content:space-between}

  .section-title{font-size:clamp(2rem,8vw,3rem)}
  .contact-cta{margin-top: 0rem;}
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (380px)
   ============================================================ */
@media(max-width:380px){
  .hero-photo-ring{width:130px;height:130px}
  .hero-stats{grid-template-columns:repeat(2,1fr)}
  .stat-num{font-size:1.5rem}
  .badge-value{font-size:2.5rem}
  .contact-cta{margin-top: 0rem;}
}
