* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: #050508;
  /* Fixed: Solid dark for canvas contrast */
  font-family: 'Outfit', sans-serif;
  color: white;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#neural-network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  /* Behind content */
  pointer-events: none;
}

:root {
    --primary: #a5b4fc;
    --bg: #0a0a0a;
}

.awwwards-hero {
    height: 100vh;
    background: var(--bg);
    padding: 30px 4vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

/* Subtle Film Grain Effect - Awwwards Secret */
.awwwards-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 10;
}

.top-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    color: #555;
    z-index: 5;
}

/* Kinetic Title */
.main-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.outline-text {
    font-size: 14vw;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    font-weight: 900;
    margin: 0;
}

.middle-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: -2vw 0;
}

.solid-text {
    font-size: 14vw;
    color: #fff;
    font-weight: 900;
    margin: 0;
}

.profile-reveal {
    width: 12vw;
    height: 16vw;
    background: #222;
    clip-path: polygon(10% 0, 100% 0%, 90% 100%, 0% 100%); /* Brutalist Shape */
    overflow: hidden;
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-reveal img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1);
}

/* Circular CTA Button */
.cta-circle {
    width: 120px;
    height: 120px;
    position: relative;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.cta-circle a { color: var(--primary); text-decoration: none; font-size: 12px; font-weight: bold; }
.cta-circle:hover { background: var(--primary); }
.cta-circle:hover a { color: #000; }

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
}

.large-meta { font-size: 1.5rem; color: #fff; margin-top: 10px; font-weight: 500; }
.small-title { font-size: 11px; color: #555; letter-spacing: 2px; }

@media (max-width: 768px) {
    .solid-text, .outline-text { font-size: 14vw; }
    .profile-reveal { display: none; }
    .awwwards-hero { height: 75vh;}
    .top-meta { font-size: 10px;}
}
.awwwards-hero {
    /* Purana code waisa hi rahega, bas ye niche wali lines add karein */
    position: relative;
    
    /* Ye magic line hai jo niche se fade karegi */
    -webkit-mask-image: linear-gradient(to bottom, 
        black 80%, 
        rgba(0, 0, 0, 0.5) 90%, 
        transparent 100%
    );
    mask-image: linear-gradient(to bottom, 
        black 80%, 
        rgba(0, 0, 0, 0.5) 90%, 
        transparent 100%
    );
}

/* Isse joint aur bhi zyada smooth ho jayega */
.awwwards-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: -50px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 5;
}

/* hero section */

h1 {
  font-size: 3.5rem;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}

.subtitle {
  color: #a5b4fc;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.workflow-container {
  padding: 100px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  opacity: 0.6;
  margin-bottom: 50px;
}

.card {
  --r: 30px;
  --s: 40px;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 30px;
  color: white;
  clip-path: shape(from 0 0, hline to calc(100% - var(--s) - 2 * var(--r)), arc by var(--r) var(--r) of var(--r) cw, arc by var(--s) var(--s) of var(--s), arc by var(--r) var(--r) of var(--r) cw, vline to 100%, hline to 0);
}

.card-circle {
  width: 50px;
  height: 50px;
  background: #a5b4fc;
  color: #000;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.card-figure {
  margin-top: 15px;
  border-radius: 15px;
  overflow: hidden;
  height: 180px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.controls {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
    background: red;
}

/* Circular Cards Styling */
/* --- Skills Section Fix --- */

.skills-container {
  width: 100%;
  padding: 20px 0;
  position: relative;
  z-index: 5;
  /* Canvas ke upar */
}

.circular-skills-swiper {
  width: 100%;
  padding: 40px 0 80px !important;
}

.circular-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-content {
  width: 140px;
  /* Thoda chota kiya taaki look clean rahe */
  height: 140px;
  border-radius: 50%;
  background: rgba(165, 180, 252, 0.07);
  border: 1px solid rgba(165, 180, 252, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.circle-content h3 {
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  padding: 10px;
  background: linear-gradient(to bottom, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hover Effect */
.circle-content:hover {
  border-color: #a5b4fc;
  background: rgba(165, 180, 252, 0.15);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(165, 180, 252, 0.3);
}

/* Mobile responsive dots */
.skill-pagination {
  bottom: 20px !important;
}

.skill-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1;
}

.skill-pagination .swiper-pagination-bullet-active {
  background: #a5b4fc !important;
  width: 20px;
  border-radius: 5px;
}



/* education */
.education-section {
  padding: 100px 20px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.timeline-container {
  max-width: 1000px;
  margin: 50px auto;
  position: relative;
}

/* Central Vertical Line */
.timeline-line {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #a5b4fc, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  justify-content: flex-start;
  /* Default left */
  position: relative;
}

.timeline-item.right {
  justify-content: flex-end;
}

/* Dots on the line */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: #a5b4fc;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px #a5b4fc;
  z-index: 2;
}

/* Content Cards */
.timeline-content {
  width: 45%;
  padding: 25px;
  background: rgba(165, 180, 252, 0.05);
  border: 1px solid rgba(165, 180, 252, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  transition: 0.4s all ease;
  cursor: default;
}

.timeline-content:hover {
  background: rgba(165, 180, 252, 0.1);
  border-color: #a5b4fc;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.year {
  color: #a5b4fc;
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.timeline-content h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: #ccc;
  font-size: 0.95rem;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s all ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: 85%;
    margin-left: 50px;
  }

  .timeline-item.right {
    justify-content: flex-start;
  }
}



/* xyz creative */
.container {
  width: 101%;
  max-width: 1439px;
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #581c87 100%);
  left: 2%;
}

.anchor-title {
  anchor-name: --main-title;
  text-align: center;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* Ornaments positioning fix */
.ornament-left {
  position: absolute;
  position-anchor: --main-title;
  left: anchor(left);
  top: anchor(center);
  transform: translateY(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, #fff);
  margin-left: -80px;
}

.ornament-right {
  position: absolute;
  position-anchor: --main-title;
  right: anchor(right);
  top: anchor(center);
  transform: translateY(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to left, transparent, #fff);
  margin-right: -80px;
}

.subtitle {
  anchor-name: --subtitle;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-top: 2rem;
  font-weight: 300;
}

/* Quote positioning fix - Center align */
.quote {
  position: relative;
  /* Anchor se hatakar relative kiya taaki overlap na ho */
  margin-top: 3rem;
  text-align: center;
  max-width: 600px;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
}

.arch {
  position: relative;
  margin-top: 4rem;
  width: 120px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px 60px 0 0;
  border-bottom: none;
}

/* Baaki saari particles aur corner CSS same to same rahegi */
.arch::before,
.arch::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.arch::before {
  left: -2px;
}

.arch::after {
  right: -2px;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: float 20s infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
}

.particle:nth-child(2) {
  top: 40%;
  left: 80%;
  animation-delay: 5s;
}

.particle:nth-child(3) {
  top: 60%;
  left: 20%;
  animation-delay: 10s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-delay: 15s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }

  50% {
    transform: translateY(-100px);
    opacity: 0.6;
  }
}

.corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.corner-tl {
  top: 1rem;
  left: 1rem;
  border-right: none;
  border-bottom: none;
}

.corner-tr {
  top: 1rem;
  right: 1rem;
  border-left: none;
  border-bottom: none;
}

.corner-bl {
  bottom: 1rem;
  left: 1rem;
  border-right: none;
  border-top: none;
}

.corner-br {
  bottom: 1rem;
  right: 1rem;
  border-left: none;
  border-top: none;
}

@media (max-width: 768px) {

  .ornament-left,
  .ornament-right {
    display: none;
  }

  .quote {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
}



/* for project */
.smooth-slider-section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
}

.slider-wrapper {
  display: flex;
  padding: 0 10vw;
  gap: 40px;
  will-change: transform; /* Performance optimization */
}

.intro-card {
  min-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-card h2 { font-size: 5rem; line-height: 1; color: #fff; margin: 20px 0; }

.project-card-apple {
  min-width: 300px;
  height: 400px;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: #111;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-card-apple img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: 0.8s;
}

.project-card-apple:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.p-info {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: white;
}

.p-info h3 { font-size: 2rem; margin-bottom: 5px; }
.p-info span { color: #a5b4fc; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

@media (max-width: 768px) {
  .project-card-apple { min-width: 300px; height: 450px; }
}




/* about me */
.about-bento-section {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 180, 252, 0.1);
    border-radius: 35px;
    padding: 40px;
    backdrop-filter: blur(15px);
}

/* Profile Block Fix */
.profile-block {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    min-height: 500px; /* Fixed height so it's not just a circle */
}

.profile-frame {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid #a5b4fc;
    padding: 10px;
    overflow: hidden;
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.social-links-bento {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links-bento a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(165, 180, 252, 0.3);
    transition: 0.3s;
}

.social-links-bento a:hover {
    background: #a5b4fc;
    color: #000;
    transform: translateY(-5px);
}

/* Bio Block Styling */
.bio-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-tag {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bio-block h2 { font-size: 3rem; color: #fff; line-height: 1.1; }
.purple-glow { color: #a5b4fc; text-shadow: 0 0 15px rgba(165, 180, 252, 0.5); }
.bio-block p { color: #86868b; margin-top: 25px; font-size: 1.2rem; max-width: 90%; }

/* Info Block Styling */
.info-block {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: #fff; display: block; }
.stat-label { color: #86868b; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 2px; }

/* Responsive */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .profile-block { min-height: auto; }
}


/* working system */
.now-working-section {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    background: transparent;
}

.status-terminal {
    max-width: 1200px;
    width: 100%;
    background: rgba(5, 5, 10, 0.8);
    border: 1px solid rgba(165, 180, 252, 0.2);
    border-radius: 24px;
    padding: 2px; /* For animated border effect */
    position: relative;
    overflow: hidden;
}

/* Moving Border Glow (Advanced) */
.status-terminal::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, transparent, var(--primary), transparent);
    animation: rotate-border 6s linear infinite;
    z-index: 0;
}

@keyframes rotate-border {
    100% { transform: rotate(360deg); }
}

.terminal-body {
    background: #05050a;
    border-radius: 22px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

/* Typography */
.timestamp { color: #555; font-family: monospace; margin-right: 10px; }
.status-value.active {
    color: #10b981;
    text-shadow: 0 0 10px #10b981;
    font-weight: bold;
}

.main-mission h2 {
    font-size: 2.2rem;
    color: #fff;
    line-height: 1.3;
    margin: 30px 0;
    font-weight: 500;
}

.cyber-gradient {
    background: linear-gradient(90deg, #a5b4fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.alert-text {
    color: #ff5f56;
    border-bottom: 2px dashed rgba(255, 95, 86, 0.3);
}

/* Data Stream Animation */
.data-stream {
    font-family: monospace;
    font-size: 0.8rem;
    color: #444;
}

.stream-item {
    margin-bottom: 5px;
    animation: blink-text 2s infinite alternate;
}

@keyframes blink-text {
    from { opacity: 0.3; } to { opacity: 0.8; }
}

/* Radar Animation (The Advance Part) */
.terminal-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.radar-box {
    width: 40px; height: 40px;
    position: relative;
    border: 1px solid #10b981;
    border-radius: 50%;
}

.radar-scanner {
    position: absolute;
    top: 50%; left: 50%;
    width: 50%; height: 2px;
    background: #10b981;
    transform-origin: left;
    animation: scan-radar 2s linear infinite;
}

@keyframes scan-radar {
    100% { transform: rotate(360deg); }
}



/* footer*/
.ultra-footer {
    background: #000;
    padding: 120px 5vw 40px;
    border-top: 1px solid rgba(165, 180, 252, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Big Text Animation */
.cta-sub {
    color: #a5b4fc;
    font-size: 0.8rem;
    letter-spacing: 5px;
    font-weight: 700;
}

.cta-main-text {
    font-size: clamp(3rem, 10vw, 8rem);
    color: #fff;
    font-weight: 900;
    margin: 20px 0 80px;
    letter-spacing: -3px;
    line-height: 1;
}

.footer-gradient {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    transition: 0.5s;
}

.cta-main-text:hover .footer-gradient {
    color: #a5b4fc;
    -webkit-text-stroke: 1px #a5b4fc;
    text-shadow: 0 0 30px rgba(165, 180, 252, 0.4);
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.f-label {
    color: #555;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.f-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.f-link.big {
    font-size: clamp(1.2rem, 2vw, 2.5rem);
    font-weight: 500;
}

.f-link:hover { color: #a5b4fc; }

/* Socials Link Styling */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s-item {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.s-item:hover {
    padding-left: 10px;
    color: #a5b4fc;
}

/* Bottom Copyright Bar */
.bottom-bar {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    color: #333;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-main-text { font-size: 4rem; }
}