*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

html{
  scroll-behavior:smooth; /* ✅ smooth scroll */
}

body{
  background:#f3e354;
  overflow-x:hidden; /* ✅ allow vertical scroll */

}

/* NETWORK */
#network{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:-1;
}

/* NAV */
header{
  position:fixed;        /* ✅ FIXED HEADER */
  top:0;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 60px;
  background:#f3e354;    /* ✅ prevents overlap issue */
  z-index:1000;
}

.logo{
  font-weight:700;
}

nav a{
  margin-left:25px;
  font-weight:500;
  cursor:pointer;
  text-decoration:none;
  color:#000;
}

nav .active{
  color:#000000;
  border-bottom:2px solid #000000;
}

/* SECTIONS */
.section{
  min-height:100vh;
  padding:120px 80px; /* ✅ offset for fixed header */
}

/* HERO */
.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow: 8px 8px 0 #000000;
}

.left h1{
  font-size:52px;
  line-height:1.2;
}

.blue{ color:#803900; }
.orange{ color:#023157; }

.left h3{
  margin:20px 0;
  font-weight:500;
}

#typing{
  color:#c1121f;
}

/* BUTTON */
.cta{
  background:linear-gradient(90deg,#2b59ff,#6a8bff);
  color:white;
  padding:14px 30px;
  border:none;
  border-radius:30px;
  font-size:16px;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(43,89,255,0.4);
}

/* SOCIALS */
.socials{
  display:flex;
  gap:15px;
  margin-top:25px;
}

.social{
  width:42px;
  height:42px;
  background:#000;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  text-decoration:none;
  transition:all .3s ease;
}

.social:hover{
  transform:translateY(-5px) scale(1.1);
  background:#2563eb;
}

/* IMAGE */ 
.photo-ring{ width:360px; 
  height:349px; 
  background:#ffeb3b; 
  border-radius:100%; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  transform: translateX(-80px); /* move left */ 
  box-shadow:0 0 0 10px white;
 } 
.photo-ring img{ width:360px; 
  border-radius:50%; 
}

/* IMAGE HOVER */
.photo-ring:hover{
  animation:pulse 1.5s infinite;
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(255,235,59,.6);}
  70%{box-shadow:0 0 0 25px rgba(255,235,59,0);}
  100%{box-shadow:0 0 0 0 rgba(255,235,59,0);}
}


/* ================= ABOUT SECTION ================= */

.about {
  margin: 80px auto;
  border-left: 4px solid #000;
  border-right: 4px solid #000;
  box-shadow: 8px 8px 0 #000000;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

/* IMAGE */
.image-box {
  position: relative;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-box:hover img {
  transform: scale(1.05);
}

.image-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff3b3b;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border: 2px solid #000;
}

/* CONTENT */
.about-content h2 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 24px;
}

.about-main {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.highlight {
  background: #ffffff;
  padding: 2px 6px;
  border: 2px solid #000;
}

.about-points {
  font-size: 17px;
  color: #000000;
  border-left: 4px solid #6a00ff;
  padding-left: 16px;
  margin-bottom: 30px;
}

.about-badges {
  display: flex;
  gap: 16px;
}

.badge {
  padding: 8px 14px;
  font-size: 14px;
  border: 2px solid #000;
  font-weight: 600;
}

.location {
  background: #000;
  color: #fff;
}

.status {
  background: #2dff57;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-points {
    border-left: none;
    border-top: 4px solid #6a00ff;
    padding-left: 0;
    padding-top: 16px;
  }

  .about-badges {
    justify-content: center;
  }
}

/* ================== MARQUEE ================== */
.marquee-strip {
  width: 100%;
  background: rgba(255, 235, 59, 0.6); /* yellow transparent */
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  overflow: hidden;
  padding: 14px 0;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite; /* 🔥 slower speed */
}

.marquee span {
  display: inline-block;
  font-weight: 700;
  font-size: 20px;
  color: #000;
  padding-right: 80px;
  white-space: nowrap;
}

/* animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ================== SKILLS (EXACT STYLE) ================== */
.skills-section {
  position: relative;
  background: #141414;
  color: #fff;
  padding: 100px 60px;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  overflow: hidden;
}

/* GRID BACKGROUND */
.skills-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(#333 1px, transparent 1px),
    linear-gradient(90deg, #333 1px, transparent 1px);
  background-size: 40px 40px;
}

/* CONTAINER */
.skills-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: auto;
}

/* HEADER */
.skills-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 4px solid #fff;
  padding-bottom: 16px;
  margin-bottom: 40px;
}

.skills-header h2 {
  font-size: 72px;
  font-weight: 900;
}

.skills-header h2 span {
  color: #22c55e;
}

.skills-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 12px;
  color: #22c55e;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-left: 2px solid rgba(255,255,255,0.2);
  border-top: 2px solid rgba(255,255,255,0.2);
}

.skill-box {
  height: 96px;
  background: #000;
  border-right: 2px solid rgba(255,255,255,0.2);
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.15s linear;
  cursor: pointer;
}

.skill-box small {
  font-family: monospace;
  font-size: 11px;
  opacity: 0.5;
}

.skill-box h3 {
  font-size: 18px;
  font-weight: 800;
}

/* HOVER */
.skill-box:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
  z-index: 5;
}

/* COLOR VARIANTS */
.yellow:hover { background: #fde047; }
.blue:hover { background: #60a5fa; }
.green:hover { background: #4ade80; }
.pink:hover { background: #f472b6; }
.purple:hover { background: #c084fc; }
.orange:hover { background: #fb923c; }

/* FOOTER */
.skills-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 4px solid #fff;
  font-family: monospace;
  font-size: 12px;
  opacity: 0.6;
}


/* ================= EDUCATION TIMELINE ================= */
.education-section{
    padding:100px 20px;
    max-width:1200px;
    margin:auto;
}

/* Heading */

/* Education Heading Board */

.education-heading{
    font-size:5rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:-2px;
    margin-bottom:80px;
    text-align:center;
    padding:10px 0;

    background:#000000;   /* full board strap */
    color:#ffffff;        /* text color */
}

.edu-highlight{
    color:#40c947;        /* highlight color for _Path */
}

/* Timeline */

.education-timeline{
    position:relative;
    margin-left:20px;
    border-left:4px solid black;
}

.education-card{
    position:relative;
    margin-bottom:50px;
    padding-left:40px;
}

.edu-dot{
    position:absolute;
    left:-11px;
    top:5px;
    width:18px;
    height:18px;
    background:#34ee1b;
    border-radius:50%;
}

/* Card */

.edu-content{
    background:#fff;
    padding:25px;
    border:3px solid black;
    box-shadow:8px 8px 0px black;
    transition:all .3s ease;
}

.edu-content:hover{
    transform:translateY(-5px);
    box-shadow:12px 12px 0px #57db57;
}

/* Text */

.edu-content h3{
    font-size:1.6rem;
    font-weight:700;
}

.edu-college{
    font-weight:600;
    margin:5px 0;
}

.edu-year{
    display:inline-block;
    font-size:.9rem;
    background:#ff0000;
    color:white;
    padding:4px 10px;
    margin-bottom:10px;
}

.edu-desc{
    color:#555;
}

/* Gradient animation */

@keyframes gradientMove{
    0%{background-position:0%}
    100%{background-position:200%}
}

/* Responsive */

@media(max-width:768px){

.education-heading{
    font-size:3rem;
}

.edu-content{
    padding:20px;
}

}

.edu-marks{
  font-weight:600;
  margin-top:5px;
  color:#000;
}




/* ================= Project ================= */
/* PROJECT SECTION */
.projects-section{
  position: relative;
  padding: 100px 10%;
  background: #141414;
}

/* GRID BACKGROUND SAME AS SKILLS */

.projects-bg{
  position:absolute;
  inset:0;
  opacity:0.2;
  background-image:
    linear-gradient(#505050 1px, transparent 1px),
    linear-gradient(90deg, #535353 1px, transparent 1px);
  background-size:40px 40px;
}

/* Heading */

.projects-heading{
  text-align:center;
  font-size:40px;
  margin-bottom:60px;
  position:relative;
  z-index:1;
}

.project-highlight{
  color:#ffffff;
}

/* Grid */

.projects-container{
  position:relative;
  z-index:1;

  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

/* Card */

.project-card{
  background:#111827;
  border-radius:12px;
  overflow:hidden;
  transition:.4s;
}

.project-card:hover{
  transform:translateY(-10px);
}

/* Image */

.project-img{
  width:100%;
  height:200px;
  object-fit:cover;
}

/* Content */

.project-content{
  padding:20px;
}

.project-content h3{
  font-size:22px;
  margin-bottom:10px;
  color: #ffffff;
}

.project-desc{
  font-size:14px;
  color:#8a95a1;
  margin-bottom:15px;
}

/* Skills */

.project-skills{
  margin-bottom:15px;
}

.project-skills span{
  display:inline-block;
  border:1px solid #dbdbdb;
  padding:5px 10px;
  margin:3px;
  border-radius:5px;
  font-size:12px;
  color:#ffffff; 
}

/* Buttons */

.project-buttons a{
  display:inline-block;
  padding:8px 14px;
  margin-right:8px;
  border:1px solid #ffffff;
  border-radius:6px;
  text-decoration:none;
  font-size:13px;
  transition:.3s;
  color:#00ffff;
}

.project-buttons a:hover{
  background:#0f583a;
  color:#ffffff;
}

.github-more{
  text-align:center;
  margin-top:50px;
  position:relative;
  z-index:2;
}

.github-more a{
  display:inline-block;
  padding:12px 25px;
  border:1px solid #00ffff;
  border-radius:8px;
  text-decoration:none;
  color:#00ffff;
  font-size:16px;
  transition:0.3s;
}

.github-more a:hover{
  background:#00ffff;
  color:#000;
}



/* EXPERIENCE SECTION */

.experience-section{
  position: relative;
  padding: 100px 10%;
  background:#141d31;
}

/* Heading */

.experience-heading{
  text-align:center;
  font-size:40px;
  margin-bottom:60px;
}

.exp-highlight{
  color:#00ffff;
}

/* Timeline */

.experience-timeline{
  position:relative;
  max-width:800px;
  margin:auto;
}

/* Vertical Line */

.exp-line{
  position:absolute;
  left:50%;
  top:0;
  width:2px;
  height:100%;
  background:#00ffff;
  transform:translateX(-50%);
}

/* Dot */

.exp-dot{
  position:absolute;
  left:50%;
  width:14px;
  height:14px;
  background:#00ffff;
  border-radius:50%;
  transform:translateX(-50%);
}

/* Content */

.exp-item{
  position:relative;
  padding-top:40px;
}

.exp-content{
  width:45%;
  padding:20px;
  background:#202d44;
  border-radius:10px;
  margin-left:55%;
}

.exp-content h3{
  color:#00ffff;
  margin-bottom:10px;
}

.exp-desc{
  color:#cbd5e1;
  font-size:14px;
  line-height:1.6;
}



/* CONTACT SECTION */
/* CONTACT SECTION */
/* CONTACT SECTION */

.contact{
padding:100px 10%;
background:#0f172a;
color:#fff;
}

.section__header{
text-align:center;
margin-bottom:60px;
}

.contact-heading{
font-size:40px;
margin-bottom:10px;
color:#00ffff;
}

.section__header p{
color:#cbd5e1;
}

/* LAYOUT */

.contact__layout{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
}

/* FORM */

.contact__form{
background:#111827;
padding:30px;
border-radius:10px;
}

.form-field{
display:flex;
flex-direction:column;
margin-bottom:20px;
}

.form-field label{
margin-bottom:5px;
color:#9ca3af;
}

.form-field input,
.form-field textarea{
padding:10px;
border-radius:6px;
border:none;
background:#1f2937;
color:#fff;
}

.form-field input:focus,
.form-field textarea:focus{
outline:1px solid #00ffff;
}

.submit-btn{
margin-top:10px;
padding:12px;
border:none;
border-radius:6px;
background:#00ffff;
color:#000;
cursor:pointer;
}

/* RIGHT SIDE */

.contact__aside{
display:flex;
flex-direction:column;
gap:20px;
}

.contact__intro{
color:#cbd5e1;
}

/* BOX LINKS */

.contact__links{
list-style:none;
padding:0;
display:grid;
gap:15px;
}

.contact__links a{
display:flex;
align-items:center;
gap:10px;

padding:14px 18px;
border-radius:10px;

text-decoration:none;
color:#fff;

background:#111827;
border:1px solid #1f2937;

transition:0.3s;
}

/* HOVER */

.contact__links a:hover{
transform:translateY(-6px);
border-color:#00ffff;
box-shadow:0 10px 25px rgba(0,255,255,0.2);
}

/* DETAILS */

.contact__details{
margin-top:10px;
color:#cbd5e1;
}

.contact__label{
display:block;
font-size:12px;
color:#00ffff;
margin-bottom:5px;
}

/* MOBILE */

@media(max-width:768px){

.contact__layout{
grid-template-columns:1fr;
}

}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width:1024px){

/* HEADER */
header{
  padding:10px 30px;
}

nav a{
  margin-left:15px;
  font-size:14px;
}

/* SECTION PADDING */
.section{
  padding:120px 40px;
}

/* HERO */
.hero{
  flex-direction:column;
  text-align:center;
  gap:40px;
}

.left h1{
  font-size:42px;
}

.photo-ring{
  width:260px;
  height:260px;
  transform:none;
}

.photo-ring img{
  width:260px;
}

/* ABOUT */
.about-container{
  grid-template-columns:1fr;
  gap:40px;
}

/* SKILLS */
.skills-header h2{
  font-size:48px;
}

.skills-section{
  padding:80px 40px;
}

/* PROJECT */
.projects-section{
  padding:80px 5%;
}

/* EXPERIENCE */
.exp-content{
  width:100%;
  margin-left:0;
}

.exp-line{
  left:10px;
}

.exp-dot{
  left:10px;
}

/* CONTACT */
.contact{
  padding:80px 5%;
}

.contact__layout{
  grid-template-columns:1fr;
}

}


/* ================= SMALL MOBILE ================= */

@media (max-width:600px){

/* HEADER */
header{
  padding:10px 20px;
}

.logo{
  font-size:18px;
}

nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}

nav a{
  margin:8px;
  font-size:13px;
}

/* HERO */
.left h1{
  font-size:34px;
}

.left h3{
  font-size:16px;
}

.cta{
  padding:12px 22px;
  font-size:14px;
}

.photo-ring{
  width:220px;
  height:220px;
}

.photo-ring img{
  width:220px;
}

/* ABOUT */
.about-content h2{
  font-size:36px;
}

.about-main{
  font-size:16px;
}

.about-points{
  font-size:15px;
}

/* SKILLS */
.skills-header{
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}

.skills-header h2{
  font-size:36px;
}

/* EDUCATION */
.education-heading{
  font-size:2.5rem;
}

/* PROJECTS */
.projects-heading{
  font-size:30px;
}

/* CONTACT */
.contact-heading{
  font-size:30px;
}

}

/* ================= HAMBURGER MENU ================= */

.menu-toggle{
  display:none;
  flex-direction:column;
  cursor:pointer;
}

.menu-toggle span{
  width:28px;
  height:3px;
  background:#000;
  margin:4px 0;
}

/* MOBILE VIEW */

@media (max-width:768px){

.menu-toggle{
  display:flex;
}

nav{
  position:absolute;
  top:60px;
  left:0;
  width:100%;
  background:#f3e354;
  flex-direction:column;
  align-items:center;
  display:none;
  padding:20px 0;
}

nav a{
  margin:12px 0;
  font-size:16px;
}

nav.active{
  display:flex;
}

}


/* ================= MOBILE FIX ================= */

@media (max-width:768px){

/* HEADER */

header{
  padding:10px 20px;
}

/* Hide desktop nav */
nav{
  display:none;
}

/* HERO SECTION */

.hero{
  flex-direction:column;
  justify-content:center;
  text-align:center;
  min-height:auto;
  padding-top:120px;
  gap:30px;
}

/* TEXT SIZE */

.left h1{
  font-size:34px;
}

.left h3{
  font-size:16px;
}

/* IMAGE */

.photo-ring{
  width:220px;
  height:220px;
  transform:none;
  margin-top:20px;
}

.photo-ring img{
  width:220px;
}

/* SOCIAL ICON */

.socials{
  justify-content:center;
}

}