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

:root {
  --bg: #f9f9f9;
  --text: #111;
  --muted: #8a8a8a;
  --line: rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, .logo {
  font-family: 'General Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}


/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--text);
  z-index: 300;
}

/* BLOBS */
.blob-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
strong{
  font-weight: 600;
  color: pink;
}
#changing-word {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
  width:9.5ch;
}


.blob {
  position: absolute;
  width: 420px;
  height: 420px;
  opacity: 0.15;
  filter: blur(50px);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  -webkit-backdrop-filter:blur(40px);
  backdrop-filter:blur(40px);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
}

.nav-links a {
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.6;
}

.nav-links a.active {
  opacity: 1;
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
}

.hero p {
  max-width: 420px;
  margin-top: 2rem;
  color: var(--muted);
}

.button {
  margin-top: 3rem;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
}
.button:hover{
  background: var(--text);
  color: var(--bg);
  transition: 0.3s;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
}

.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.about {
  padding: 140px 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* LEFT */
.about-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

.about-left h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.2;
  margin-top: 20px;
}

.about-left h2 span {
  color: #ff6f91;
}

/* RIGHT */
.about-main {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.85;
  max-width: 520px;
}

/* POINTS */
.about-points {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point span {
  font-size: 0.8rem;
  opacity: 0.4;
  min-width: 24px;
}

.point p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
.about {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

/* GHOST WORD */
.about-ghost {
  position: absolute;
  top: 20px;
  left: -40px;
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* keep content above ghost */
.about-wrapper {
  position: relative;
  z-index: 2;
}
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.about-ghost {
  position: absolute;
  top: 30px;
  left: -60px;
  font-family: 'General Sans', sans-serif;
  font-size: clamp(8rem, 18vw, 17rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}
/* PROJECTS SECTION */
.projects {
  position: relative;
  margin-top: 8rem;
}

.projects-head {
  max-width: 520px;
  margin-bottom: 4rem;
}

.projects-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.projects h2 {
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  margin: 0.6rem 0;
}

.projects p {
  opacity: 0.75;
}

/* PROJECT LIST */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-item,.item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: opacity 0.3s ease;
}

.project-index {
  font-family: 'General Sans', sans-serif;
  font-size: 1.2rem;
  opacity: 0.35;
}

.project-main h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.project-main p {
  max-width: 480px;
  opacity: 0.7;
}

.project-tags {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
}

.project-tags span {
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
}

/* LINK */
.project-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-link:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* HOVER FADE OTHERS */
.projects-list:hover .project-item {
  opacity: 0.4;
}

.projects-list:hover .project-item:hover {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 900px) {
  .project-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-index {
    display: none;
  }

  .project-link {
    margin-top: 1rem;
  }
}
/* CONTACT FEATURE SECTION */
.contact {
  margin-top: 10rem;
  padding: 8rem 2rem;
  position: relative;
  background: radial-gradient(
    circle at top,
    rgba(0,0,0,0.04),
    transparent 70%
  );
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1.4rem;
}

.contact h2 {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.6rem;
}

.contact p {
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  opacity: 0.75;
}

/* ACTIONS */
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.contact-primary,
.contact-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  cursor:pointer;
}

/* PRIMARY CTA */
.contact-primary {
  background: #111;
  color: #fff;
}

.contact-primary:hover {
  transform: translateY(-4px);
}

/* SECONDARY CTA */
.contact-secondary {
  border: 1px solid rgba(0,0,0,0.2);
  color: #111;
  opacity: 0.7;
}

.contact-secondary:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
  .contact {
    padding: 6rem 1.5rem;
  }
}
/* MODAL OVERLAY */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}

/* SHOW MODAL */
.contact-modal-overlay.show {
  display: flex;
}

/* MODAL BOX */
.contact-modal {
  background: rgba(255,255,255,0.85);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 0.95rem;
  resize: none;
}

.contact-form button.primary {
  margin-top: 0.8rem;
  width: fit-content;
  align-self: flex-start;
}
.cursor, .cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.cursor {
  width: 14px;
  height: 14px;
  background: var(--accent);
  mix-blend-mode: difference;
  transition: width 0.2s ease, height 0.2s ease;
}

.cursor-trail {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  opacity: 0.25;
  transition: width 0.2s ease, height 0.2s ease;
}
.cursor{
  background:black;
  width:20px;
  height:20px;

}
/* SKILLS */
.skills {
  margin-top: 10rem;
}

.skills-head {
  max-width: 520px;
  margin-bottom: 4rem;
}

.skills-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.skills h2 {
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  margin: 0.6rem 0;
}

.skills p {
  opacity: 0.75;
}

/* GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

/* CARD */
.skill-card {
  background: #111;
  color: #fff;
  border-radius: 22px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ICON */
.skill-icon {
  width: 64px;
  height: 64px;
}

.skill-icon svg {
  width: 100%;
  height: 100%;
}

/* SHAPE STYLES */
.skill-icon * {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* COLORS */
.skill-icon.white *  { stroke: #ffffff; }
.skill-icon.orange * { stroke: #ff8a3d; }
.skill-icon.blue *   { stroke: #6f8cff; }
.skill-icon.pink *   { stroke: #ff6f91; }

/* TEXT */
.skill-card h4 {
  font-family: 'General Sans', sans-serif;
  font-size: 1.4rem;
}

.skill-card p {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* HOVER (clean) */
.skill-card:hover .skill-icon * {
  stroke-width: 3;
  transition: 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .skills {
    margin-top: 7rem;
  }
}
#hii{
  border: 0.7px solid var(--text);
  padding: 8px 20px;
  border-radius: 2px;
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:5px;
  transition: 0.5s;
}
#hii:hover{
  background: var(--text);
  color: var(--bg);
  transition: 0.3s;
  transform: translate(0px);
}

#project-preview{
  position: fixed;
  top:0;
  left:0;
  pointer-events:none;
  opacity:0;
  z-index:9999;
  transform:translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

#project-preview img{
  width:300px;
  border-radius:14px;
  box-shadow:0 30px 60px rgba(0,0,0,0.35);
}
#project-preview{
  position: fixed;
  top:0;
  left:0;
  pointer-events:none;
  opacity:0;
  z-index:9999;
}

#project-preview img{
  width:320px;
  border-radius:14px;
  box-shadow:0 25px 60px rgba(0,0,0,0.35);
  transform:scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#project-preview.show img{
  transform:scale(1);
}
body{
  cursor:none;
}

/* center dot */

.cursor-dot{
  width:8px;
  height:8px;
  background:#000;
  border-radius:50%;
  position:fixed;
  top:0;
  left:0;
  pointer-events:none;
  z-index:9999;
}

/* outer follower */

.cursor-outline{
  width:35px;
  height:35px;
  border:2px solid #000;
  border-radius:50%;
  position:fixed;
  top:0;
  left:0;
  pointer-events:none;
  z-index:9998;
  transition:transform 0.15s ease;
}