@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&display=swap');
@font-face {
  font-family: 'ClashDisplay';
  src: url('font/ClashDisplay_Complete/Fonts/OTF/ClashDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'ClashDisplay';
  src: url('font/ClashDisplay_Complete/Fonts/OTF/ClashDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
   
    
}
body{
    background-color: #000000;
    overflow-x: hidden;
    font-family: 'ClashDisplay', sans-serif;
    cursor: none;
}

html {
  scroll-behavior: smooth;
}
.cursor{
  height: 25px;
  width: 25px;
  background: white;
  border-radius: 50%;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
}

#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#preloader h1 {
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  opacity: 0;
}
nav{
    
    top: 0;
    left: 0;
    z-index: 1000;
   
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 1.5rem 10.5vw;

    
    z-index: 10;
}
nav h1{
   font-family: 'Syne', sans-serif;
}
.nav-part2{
  
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
   z-index: 1000;
    padding: 0.8rem 1.5rem;
    display: flex;
    gap: 2rem;

    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.08);

    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    

 
    
}



nav ul {
    display: flex; 
    list-style: none; 
    gap: 2rem; 
    font-weight: 400;
    
}

nav li {
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a{
    text-decoration: none;
    cursor: none;
}
nav button{
    background-color: #0BA34E;
    font-size: 0.8vw;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 14px 14px;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
}
nav button svg{
    height: 0.8vw;
    margin-left: 1.5vw;
}
nav li:hover{
  opacity: 1;
  transform: translateY(-4px);
  filter: drop-shadow(0 0 6px #f4eeee)
  
}



#page1{
    height: 90vh;
    width: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} 
#page1 h1{
    font-size: 6vw;
    text-transform: uppercase;
    
    line-height: 6vw;
}
#page1 h1 svg{
    height: 5vw;
    width: 5vw;
    background-color: #0BA34E;
    border-radius: 50%;
}
#page1 p{
    text-align: center;
    font-weight: 400;
    margin-top: 1rem;
}
#tagss{
   display: flex;
   align-items: center;
   justify-content: center;
   margin-top: 0.5rem;
}
#tagss h4{
    font-weight: 400;
    font-size: 1vw;
    text-transform: lowercase;
    
    padding: 5px  10px ;
    border: 1px solid rgb(111, 111, 111);
    border-radius: 50px;
}
#tagss h4:nth-last-child(2){
    border: none;
    padding: 2px;
}

#page2{
    height: 100vh;
    width: 100%;
    background-color: #000000;
  
}

#moving-div{
    margin-top:10vh ;
    position: absolute;
    bottom: 3%;
    width: 40%;
    white-space: nowrap;
    padding: 1.2vw;
    overflow: hidden;
}
#moving-div .move{
   display: inline-block;
   animation-name: move;
   animation-duration: 10s;
   animation-timing-function: linear;
   animation-iteration-count: infinite;

}
#moving-div .move img{
           height: 1.5vw;
           margin: 0 1.2vw;
}

@keyframes move {
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }
}
#blur-left{
    height: 100%;
    width: 20%;
    background:linear-gradient(to left, transparent,#000000);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
#blur-right{
    height: 100%;
    width: 20%;
     background:linear-gradient(to right, transparent,#000000);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}
.page1_5{
  height: 100vh;
  height: 100svh;
  width: 100%;
  padding: 2rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;

}
.page1_5 h1{
  
  font-size: 30vw;
    white-space: nowrap;
    will-change: transform;
  line-height: 1;
  margin: 0;
}
/* ── PAGE 2: TIMELINE STORY ── */
#page2 {
    /* Large scrolling height for the timeline */
    min-height: 350vh;
    width: 100%;
    background-color: black;
    position: relative;
    padding: 10vh 0; /* Changed padding for the timeline */
    display: flex;
    flex-direction: column;        
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page2-title {
    font-size: 4vw;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5vh;
    position: relative;
    z-index: 10;
}

.svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Keep it fixed so it scrolls nicely, or absolute if it's drawn downwards */
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.svg-container svg {
    height: 100%;
    width: auto;
    max-width: 100%;
}

/* Story Content & Nodes */
.story-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    /* Space out the items equally */
    gap: 40vh;
    padding: 20vh 20px;
}

.story-node {
    width: 100%;
    display: flex;
    opacity: 0; /* For GSAP reveal */
    transform: translateY(50px);
}

/* Alternate left and right */
.story-node.left {
    justify-content: flex-start;
}

.story-node.right {
    justify-content: flex-end;
}

/* The actual glassmorphism card */
.node-card {
    width: 45%;
    background: rgba(22, 22, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.node-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 163, 78, 0.4); /* Neon green glow on border */
    box-shadow: 0 15px 45px rgba(11, 163, 78, 0.1);
}

.node-year {
    font-family: 'Syne', sans-serif;
    color: #0BA34E;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.node-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.node-card p {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    font-size: 1.05rem;
}


.uni-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.uniLogo {
    height: 24px;
}

.uni-tag {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #eee;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #0BA34E;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(11, 163, 78, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(11, 163, 78, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(11, 163, 78, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(11, 163, 78, 0); }
}

/* Stack styling inside nodes */
.stack-label {
    font-family: 'Courier New', Courier, monospace !important;
    color: #0BA34E !important;
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.tech-item img {
    height: 20px;
    width: auto;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.tech-item:hover {
    background: rgba(11, 163, 78, 0.1);
    border-color: rgba(11, 163, 78, 0.3);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVENESS for TIMELINE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .node-card {
        width: 80%;
    }
    
    .story-node.left, .story-node.right {
        justify-content: center;
    }

    .svg-container {
        opacity: 0.3; /* fade it to background on small screens */
    }
}

@media (max-width: 600px) {
    .page2-title {
        font-size: 8vw;
    }
    
    .node-card {
        width: 95%;
        padding: 25px;
    }
    
    .node-card h3 {
        font-size: 1.8rem;
    }

    .story-content {
        gap: 20vh;
    }
    
    .tech-grid {
        gap: 10px;
    }
}

#page3{
    height: 100vh;
    width: 100%;
}
/* Make the video fill the background */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures it covers the whole area */
  z-index: -1;       /* behind your content */
}

/* Section styling */
.projects-section {
  position: relative;
  width: 100%;
  min-height: 100vh; /* full screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
}


.projects-section .content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
}
/* Full section setup */
.projects-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px;
  color: white;
  overflow: hidden;
}

/* Background video */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 2s;
  transition-delay: 1300ms;
  z-index: -2;
  opacity: 0;
}

/* ── Google Font import ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --accent:       #ff4c4c;
  --accent-hot:   #ff1f1f;
  --card-bg:      rgba(22, 22, 28, 0.82);
  --border-dim:   rgba(255, 255, 255, 0.07);
  --text-primary: #f0f0f0;
  --text-muted:   rgba(255, 255, 255, 0.55);
  --glow:         rgba(255, 76, 76, 0.18);
}

/* ── Section wrapper ── */
.projects-section {
  position: relative;
  padding: 80px 20px 100px;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
}

/* ── Section title ── */
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(135deg, #ffffff 40%, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Cards container ── */
.projects-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 45px;
}

/* ── Project card ── */
.project-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px 30px;
  width: 40%;
  max-width: 700px;

  border: 1px solid var(--border-dim);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255,255,255,0.05) inset;

  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  transition:
    transform   0.35s cubic-bezier(.22,.68,0,1.2),
    box-shadow  0.35s ease,
    border-color 0.35s ease;

  opacity: 0;
  transform: translateY(24px);
  animation: cardReveal 0.55s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.22s;align-self:flex-end; }
.project-card:nth-child(3) { animation-delay: 0.34s; }
.project-card:nth-child(4) { animation-delay: 0.46s; }

@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}

.one,.two,.three{
   position: relative;
   
    background: rgba(0, 0, 0, 0.168);
}
.project-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: rgb(47, 151, 255);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.one::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('to-do-list img.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0; /* hidden by default */
  transition: opacity 0.3s ease;
  z-index: 0;
}
.two::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('realistic-weather-widget_1284-4092.avif');
  background-size: cover;
  background-position: center;
  opacity: 0; /* hidden by default */
  transition: opacity 0.3s ease;
  z-index: 0;
}
.three::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('queuemanagment_img.png');
  background-size: cover;
  background-position: center;
  opacity: 0; /* hidden by default */
  transition: opacity 0.3s ease;
  z-index: 0;
}
.one:hover::after,.two:hover::after,.three:hover::after {
  opacity: 0.2; 
}

.one h3,
.one p,
.one a 
.two h3,
.two p,
.two a ,
.three h3,
.three p,
.three a 
{
  position: relative;
  z-index: 1; /* keep text on top */
}
/* ── Card hover ── */
.project-card:hover {
  
    
  transform: translateY(-6px);
  border-color: rgba(255, 76, 76, 0.28);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.65),
    0 0 30px rgb(55, 86, 225),
    0 1px 0 rgba(255,255,255,0.07) inset;
}

.project-card:hover::before {
  opacity: 1;
}

/* ── Card number tag ── */
.project-card .card-number {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

/* ── Card title ── */
.project-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text-primary);
  line-height: 1.25;
}

/* ── Card description ── */
.project-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* ── Tech tags ── */
.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-card .tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.25s, color 0.25s;
}

.project-card:hover .tag {
  border-color: rgba(255, 76, 76, 0.28);
  color: rgba(255,255,255,0.72);
}

/* ── CTA Button ── */
.project-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: #0BA34E;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(255, 76, 76, 0.3);
}

.project-card .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.project-card .btn:hover {
  background: #0d8d45;
  transform: translateY(-2px);
  
}

.project-card .btn:hover::after {
  transform: translateX(100%);
}

.project-card .btn:active { transform: translateY(0); }

.project-card .btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.project-card .btn:hover svg { transform: translateX(3px); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .project-card { width: 82%; }
}

@media (max-width: 600px) {
  .project-card {
    width: 92%;
    padding: 22px 20px;
  }
}



@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

#page1 h1 {
  opacity: 0;
  animation: heroReveal 0.8s ease forwards;
}

#page1 h1:nth-child(1) {
  animation-delay: 0.2s;
}

#page1 h1:nth-child(2) {
  animation-delay: 0.5s;
}
@keyframes fadeInSoft {
  from { opacity: 0; }
  to { opacity: 1; }
}

#page1 p {
  opacity: 0;
  animation: fadeInSoft 1.2s ease forwards;
  animation-delay: 0.9s;
}
@keyframes popUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#tagss h4 {
  opacity: 0;
  animation: popUp 0.6s ease forwards;
}

#tagss h4:nth-child(1) { animation-delay: 1.1s; }
#tagss h4:nth-child(2) { animation-delay: 1.3s; }
#tagss h4:nth-child(3) { animation-delay: 1.5s; }
#tagss h4:nth-child(4) { animation-delay: 1.7s; }

@keyframes buttonGlow {
  0% { box-shadow: 0 0 0px rgba(255,255,255,0.2); }
  50% { box-shadow: 0 0 20px rgba(255,255,255,0.5); }
  100% { box-shadow: 0 0 0px rgba(255,255,255,0.2); }
}

nav button {
  animation: buttonGlow 3s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.code-editor,
.right-card,
.page2-title {
  opacity: 0;
  transform: translateY(40px);
  transition: all 2.5s ease;
}
.show {
  opacity: 1;
  transform: translateY(0);
}

.right-card {
  animation-delay: 0.3s;
}
@keyframes pulseGlow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

.uniLogo {
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.page2-title::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}
.tech-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-10px);
}


/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE STYLES
   Breakpoints: 768px (tablet), 480px (phone)
═══════════════════════════════════════════ */

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {

  /* NAV */
  nav {
    padding: 1.2rem 5vw;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .nav-part2 {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.6rem 1.2rem;
    gap: 1.2rem;
    width: auto;
    max-width: 90vw;
  }

  nav ul {
    gap: 1.2rem;
    font-size: 0.85rem;
  }

  nav button {
    font-size: 12px;
    padding: 10px 14px;
  }

  nav button svg {
    height: 12px;
    margin-left: 8px;
  }

  /* PAGE 1 — HERO */
  #page1 {
    padding: 0 5vw;
    text-align: center;
  }

  #page1 h1 {
    font-size: 11vw;
    line-height: 11vw;
  }

  #page1 h1 svg {
    height: 9vw;
    width: 9vw;
  }

  #page1 p {
    font-size: 3.5vw;
    padding: 0 4vw;
  }

  #tagss {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 4vw;
  }

  #tagss h4 {
    font-size: 2.8vw;
    padding: 4px 10px;
  }

  /* PAGE 2 — ABOUT */
  #page2 {
    height: auto;
    min-height: 100vh;
    padding: 80px 6vw 60px;
  }

  .page2-title {
    font-size: 6vw;
  }

  #page2-content {
    flex-direction: column;
    height: auto;
    gap: 2rem;
  }

  #page2-left {
    width: 100%;
    height: auto;
  }

  #page2-right {
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .code-editor {
    margin: 0 auto;
    width: 100%;
  }

  .right-card {
    max-width: 100%;
    padding: 1.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
  }

  /* PROJECTS */
  .projects-section {
    padding: 60px 5vw 80px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: 35px;
  }

  .projects-container {
    align-items: center;
    gap: 30px;
  }

  .project-card {
    width: 90% !important;
    align-self: center !important;
  }

  /* MOVING DIV */
  #moving-div {
    width: 71%;
  }

  #moving-div .move img {
    height: 3vw;
    margin: 0 2vw;
  }
}


/* ── Mobile (≤ 480px) ── */
@media (max-width: 480px) {
 
   .page1_5{
    opacity: 0;
    height: 0vh;
   }
   .cursor,.cursor-dot{
    display: none;
   }
   nav{
    margin-top: 2rem;
    
   }


  /* NAV — collapse to icon-only pill */
  .nav-part2 {
    gap: 0.9rem;
    padding: 1rem 1rem;
    top: 0.75rem;
  }
  #page1{
    justify-content:flex-start;
    margin-top: 5rem;
  }

  nav ul {
    gap: 0.9rem;
    font-size: 0.78rem;
  }

  nav button {
    font-size: 10px;
    padding: 8px 12px;
  }

  /* PAGE 1 — HERO */
  #page1 h1 {
    line-height: 14vw;
  }

  #page1 h1 svg {
    height: 11vw;
    width: 11vw;
  }

  #page1 p {
    font-size: 3.8vw;
    padding: 0 2vw;
  }

  #tagss {
    gap: 0.3rem;
  }

  #tagss h4 {
    font-size: 3.2vw;
    padding: 3px 8px;
  }

  /* PAGE 2 */
  #page2 {
    padding: 70px 5vw 50px;
  }

  .page2-title {
    font-size: 7.5vw;
    margin-bottom: 2rem;
  }
      #page2-content{
        gap: 4rem;
      }
  .code-editor {
    font-size: 12px;
    width: 90%;
  }

  .code {
    font-size: 12px;
    padding: 14px;
  }

  .right-card {
    padding: 1.2rem;
    gap: 1rem;
    width: 90%;
  }

  .uniLogo {
    width: 110px;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .tech-item {
    padding: 0.6rem 0.3rem;
  }

  .tech-item img {
    width: 28px;
    height: 28px;
  }

  .tech-item span {
    font-size: 0.55rem;
  }

  /* PROJECTS */
  .projects-section {
    padding: 50px 4vw 60px;
  }

  .project-card {
    width: 96% !important;
    padding: 18px 16px;
  }

  .project-card h3 {
    font-size: 1.1rem;
  }

  .project-card p {
    font-size: 0.85rem;
  }

  .project-card .btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    width: 100%;
    justify-content: center;
  }

  /* MOVING DIV */
  #moving-div {
    width: 90%;
    padding: 2vw;
  }

  #moving-div .move img {
    height: 5vw;
    margin: 0 3vw;
  }
}