* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
html,
body {
  height: 100%;
  width: 100%;
  background-color: black;
  color: white;
  padding: 15px 10px;
}

.page1 {
  height: 100%;
  width: 100%;
  /* padding: 20px 20px; */
  overflow-x: hidden;
}

#string {
  width: 100%;
  /* margin-bottom: 10%; */
}

.nav {
  overflow-x: hidden;
  display: flex;
  /* padding: 0 8px; */
  align-items: center;
  justify-content: center;
  justify-content: space-between;
}

.navbar h2 {
  padding: 8px;
  font-size: 25px;
  font-weight: 900;
  border-radius: 5px;
  background-color: #e6c88c;
  color: black;
  /* text-transform: uppercase; */
}

.navbar i {
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
}

.navbar {
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
}

.tag {
  height: 100%;
  width: 20%;
  display: flex;
  /* justify-content: space-between; */
  flex-direction: column;
  padding: 100px 60px;
  position: fixed;
  top: 0%;
  right: -25%;
  background-color: rgba(0, 1, 2, 0.45);
  backdrop-filter: blur(15px);
  overflow-x: hidden;
  z-index: 10000;
}
.tag a {
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 25px;
  color: white;
  cursor: pointer;
}

.page1i {
  min-height: 100vh;
  width: 100%;
}
.edu-section {
  min-height: 100vh;
  width: 100%;
  /* background: #0d0d0d; */
  padding: 30px;
  color: #fff;
  /* overflow: hidden; */
}

.edu-wrapper {
  position: relative;
  height: 280px;
  width: 100%;
  margin-top: 10%;
}

/* Backbone */
.edu-line {
  position: absolute;
  top: 50%;
  width: 1500px;
  height: 6px;
  background: linear-gradient(to right, #ff9f1c, #ffbf69, #ffd6a5);
  transform: translateY(-50%);
}

/* Moving Dot */
.edu-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  background: #ff9f1c;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(255, 149, 0, 0.489);
  z-index: 5;
}

/* Cards */
.edu-card {
  position: absolute;
  height: 160px;
  width: 260px;
  background: #151515;
  border-radius: 14px;
  padding: 18px 22px;
  border: 2px solid #ffbf69;
  opacity: 0;
  transform: translateY(60px) scale(0.7);
}

.edu-card h3 {
  color: #ffd6a5;
  margin-bottom: 8px;
}

.edu-card p {
  color: #ccc;
  line-height: 1.5;
}

.edu-card span {
  color: #ffbf69;
  font-size: 14px;
}

/* Positions (matching image) */
.card-1 {
  left: 8%;
}
.card-2 {
  left: 29%;
}
.card-3 {
  left: 50%;
}
.card-4 {
  left: 71%;
}

.top {
  bottom: 205px;
}
.bottom {
  top: 205px;
}

/* Current (B.Tech) blink */
.current {
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 10px rgba(255, 159, 28, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 159, 28, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 159, 28, 0);
  }
}

/* .tag a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: rgb(66, 255, 53);
  transition: all 0.3s ease;
} */

.tag i {
  position: absolute;
  top: 6%;
  right: 15.5%;
  color: #020424;
  background-color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: 15px;
  padding: 4px;
  cursor: pointer;
}
.hero {
  overflow-x: hidden;
  position: absolute;
  top: 25%;
  width: 70%;
  z-index: 2;
  padding: 15px;
}
.mid {
  display: flex;
  justify-content: space-between;
}
.hero #down {
  text-transform: uppercase;
  font-size: 100px;
}
.hero #top {
  text-transform: uppercase;
  font-size: 70px;
}
#down {
  color: rgb(71, 252, 0);
}
.bubble p {
  color: white;
  font-family: monospace;
  border: 3px solid rgb(66, 255, 53);
  width: fit-content;
  padding: 6px;
  border-radius: 15px;
  font-size: 15px;
  position: absolute;
  top: 15%;
  left: 54%;
}
.box1 {
  text-align: center;
  font-size: 20px;
  height: 35px;
  width: 80px;
  border: 2px solid rgb(66, 255, 53);
  border-radius: 10px;
  position: absolute;
  top: 25%;
  left: 70%;
}
.box2 {
  text-align: center;
  height: 25px;
  width: 40px;
  border: 2px solid rgb(66, 255, 53);
  border-radius: 10px;
  position: absolute;
  top: 30%;
  left: 75%;
}
.page1 img {
  position: absolute;
  height: 600px;
  width: 320px;
  border-radius: 50%;
  object-fit: cover;
  top: 25%;
  left: 75%;
  overflow-x: hidden;
}
#one {
  rotate: 20deg;
}

#two {
  rotate: 16deg;
}

#three {
  rotate: 12deg;
}

#four {
  rotate: 8deg;
}

#five {
  rotate: 4deg;
}
#about {
  height: 300px;
  width: 900px;
  padding: 30px;
  position: absolute;
  top: 55%;
  width: 70%;
  z-index: 2;
}
#about p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  color: rgb(152, 152, 152);
}
#about p span {
  color: rgba(255, 255, 255, 0.874);
}

.page2 {
  min-height: 100vh;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}
.page2-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 5vh;
}

.page2 h1 {
  font-family: "Gill Sans";
  font-size: 40vw;
  font-weight: 550;
  letter-spacing: 0.075em;
  color: #e6c88c;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-separator {
  height: 40px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.479),
    transparent 5px,
    transparent 15px
  );
  margin: 80px 0;
}

.page3 {
  min-height: 100vh;
  width: 100%;
  padding: 30px;
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

#skillContainer {
  width: 100%;
  /* background-color: black; */
  padding: 10px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
}
.skillContainer h2 {
  font-weight: 500; /* or 600 for stronger pills */
  /* text-decoration: underline; */
  font-size: 45px;
  font-weight: normal;
  margin-bottom: 32px;
}
.skills {
  /* background-color: #66ff00; */
  height: 320px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding: 50px;
}

.firstScroll,
.secondScroll,
.thirdScroll {
  display: flex;
  gap: 50px;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
/* keyframes */
@keyframes move-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes move-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.firstScroll {
  animation: move-left 18s linear infinite;
}

.secondScroll {
  animation: move-right 25s linear infinite;
}

.thirdScroll {
  animation: move-left 18s linear infinite;
}
.firstScroll:hover,
.secondScroll:hover,
.thirdScroll:hover {
  animation-play-state: paused;
  cursor: pointer;
}

.logo {
  height: fit-content;
  width: fit-content;
  background: #1a1a1a;
  border: 2px solid rgb(102, 255, 0);
  border-radius: 12px;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  gap: 15px;

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
}

/* NEON POP */
.logo:hover {
  transform: translateY(-6px) scale(1.05);
  background: rgb(0, 0, 0);
  border-color: #ffffff;

  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
    0 0 25px rgba(254, 255, 254, 0.4), 0 0 45px rgba(255, 255, 255, 0.2);
}

.logo img {
  height: 30px;
  width: 40px;
}

.logo span {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: white;
  font-size: 25px;
  white-space: nowrap;
  font-weight: 400;
  display: inline-flex;
}

.main {
  height: 15vw;
  width: 100%;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cursor {
  height: 20px;
  width: 20px;
  background-color: #ff5ff7;
  border-radius: 50%;
  position: fixed;
  font-size: 4px;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: #111;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

#image {
  height: 9vw;
  width: 100vw;
  border-radius: 50px;
  background-color: rgb(255, 202, 104);
  position: relative;
  cursor: pointer;
}
#image img {
  border-radius: 45px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  border-radius: 45px;
  background-color: rgba(0, 0, 0, 0.623);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 10;
}
.edudesign {
  height: 8vw;
  width: 90vw;
  border-radius: 50px;
  /* background-color: rgb(255, 202, 104); */
  position: relative;
  cursor: pointer;
  /* margin-left: 50px; */
  /* margin-top: 30px; */
  margin-bottom: 200px;
}
.edudesign img {
  border-radius: 45px;
  height: 100%;
  width: 100%;
  margin-top: 29px;
  object-fit: cover;
}
.edu-title {
  display: flex;
  align-items: center;
  margin-top: 29px;
  justify-content: center;
  font-size: 110px;
  border-radius: 45px;
  background-color: rgba(0, 0, 0, 0.623);
  height: 100%;
  width: 100%;
  position: absolute;
  /* z-index: 10; */
}
.skill-design {
  height: 8vw;
  width: 92vw;
  border-radius: 50px;
  /* background-color: rgb(255, 202, 104); */
  position: relative;
  cursor: pointer;
  /* margin-left: 50px; */
  margin-bottom: 40px;
}
.skill-design img {
  border-radius: 45px;
  height: 100%;
  width: 100%;

  object-fit: cover;
}
.skill-title {
  display: flex;
  align-items: center;

  justify-content: center;
  font-size: 120px;
  border-radius: 45px;
  background-color: rgba(0, 0, 0, 0.623);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 10;
}

.page4 {
  overflow-x: hidden;
  height: 100vw;
  width: 100%;
}
.projects-section {
  padding: 80px 40px;
  background: black;
}

.projects-heading {
  font-size: 60px;
  color: #66ff00;
  margin-bottom: 60px;
}

.projects-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  padding: 80px 40px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  gap: 15px;
  border-radius: 20px;
}

.project-card img {
  width: 800px;
  height: 400px;
  object-fit: cover;
}

.project-card h3 {
  /* position: absolute; */
  font-size: 40px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card p {
  font-size: 20px;
  font-weight: 300;
  color: grey;
  margin-bottom: 5px;
}

.page5 {
  height: 60%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact {
  /* background: lightseagreen; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 50%;
  padding: 70px 30px;
  margin-left: 23%;
  margin-bottom: 7%;
  /* border-top: 1px solid #222; */
}

.contact h2 {
  color: #66ff00;
  font-size: 40px;
  margin-bottom: 30px;
}

#contactForm {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contactForm input,
#contactForm textarea {
  padding: 15px;
  background: #ffffff;
  border: 1px solid #333;
  border-radius: 10px;
  color: rgb(0, 0, 0);
  font-size: 20px;
}

#contactForm button {
  background: #66ff00;
  color: black;
  padding: 15px;
  font-weight: bold;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 20px;
}








.ref-footer {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
  height: 50%;
  /* background: lightseagreen; */
  padding: 50px 20px 35px;
  color: #ffffff;
}

.ref-footer-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ref-name {
  font-size: 42px;
  font-weight: 500;
  color: white;
}

.ref-icons {
  display: flex;
  gap: 18px;
}

.ref-icons svg {
  width: 25px;
  height: 25px;
  fill: #ffffff;
}

.ref-line {
  font-size: 18px;
  margin-bottom: 6px;
}

.ref-copy {
  font-size: 22px;
  color: #c4c4c4;
}
