.page3-header {
  min-height: 100svh;
  width: 100%;
  position: relative;
  background-color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page3-header .marquee {
  margin-top: 30vh;
  height: auto;
  overflow: hidden;
  position: relative;
  transform: rotate(4deg);
  transform-origin: center;
}

.page3-header .marquee-track {
  display: flex;
  align-items: center;
}
.page3-header .marquee-item {
  display: flex;
  align-items: center;
  height: auto;
}
.page3-header .marquee-text {
  font-family: "Bebas Neue";
  font-size: 12em;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  line-height: 0.9;
  color: #0a0a0a;
  opacity: 0.9;
  font-style: normal;
}
.page3 {
  min-height: 100vh;
  width: 100%;
  background-color: #fafaf0;
  position: relative;
  overflow: clip;
  color: #0a0a0a;
  isolation: isolate;
  z-index: 1;
}
.page3::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);

  background-size: 60px 60px;

  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 35%,
    transparent 90%
  );
}
.page3-content {
  width: 100%;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10vh;
  z-index: 1;
  overflow: hidden;
  padding: 8vw 0;
}
.page3-header .edu-wrapper {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
h1.edu {
  font-family: "Bebas Neue";
  font-size: 20vw;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(
    180deg,
    #f2f2f2 0%,
    #bdbdbd 45%,
    #6b6b6b 70%,
    #121212 100%
  );
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;

  display: inline-block;
}
.row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10vh 15vw;
}
.row h1 {
  font-family: "Bebas Neue";
  font-weight: 600;
  font-size: 14vw;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.image-container {
  width: fit-content;
  height: 50vh;
  overflow: hidden;
  border-radius: 1%;
  transform: rotate(0deg);
  border: 0.2vw solid #0a0a0a;
}
.image-container h2 {
  position: absolute;
  bottom: 1px;
  right: 1px;
  font-size: 3vw;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}
.isc-row .image-container {
  transform: rotate(0deg);
}
.row h1 {
  position: relative;
}
.row span.year {
  background-color: yellow;
  padding: 0 0.5vw;
  position: absolute;
  top: 20px;
  left: 0;
  font-size: 2vw;
  transform: rotate(-10deg);
  scale: 0;
  will-change: transform;
}
.row span.board {
  position: absolute;
  padding: 0 0.5vw;
  background-color: #edf2ff;
  bottom: 10px;
  right: 0;
  font-size: 2vw;
  transform: rotate(2deg);
  scale: 0;
  scale: 0;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.btech-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10vh 15vw;
  position: relative;
  width: 100%;
}
.btech-row h1 {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: "Bebas Neue";
  font-size: 14vw;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}
.btech-row h1 span.clgyear {
  background-color: orange;
  padding: 0 0.5vw;
  position: absolute;
  top: 20px;
  left: 0;
  font-size: 2vw;
  transform: rotate(-10deg);
  scale: 0;
}
.btech-row h1 span.clg {
  position: absolute;
  bottom: 0vh;
  right: -10vw;
  font-size: 2vw;
  background-color: darkturquoise;
  transform: rotate(1deg);
  scale: 0;
}

.page3 svg {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 90%;
  height: auto;
  transform: scale(1.95);
  opacity: 0.8;
  display: block;
  object-fit: contain;
  overflow: hidden;
  will-change: transform;
}

.edu-card {
  position: relative;
  width: 260px;
  padding: 1.5rem;
  background: #111111;
  border: 1px solid #333;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.edu-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.edu-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: #0f0000;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.edu-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 1vh;
}
.edu-card .card-content p {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.5vw;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
}
.edu-card .card-content .marks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
}
.edu-card .marks::before {
  content: "";
  flex: 1;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.35);
  transform: translateY(0.15em);
}
.edu-card .score {
  order: 3;
}

.edu-card .marks::before {
  order: 2;
}
.percentage h1 {
  opacity: 0;
  font-size: 20vw;
  will-change: transform;
}
.edu-wrapper {
  height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 768px) {
  .row,
  .btech-row {
    padding: 1vh 6vw;
  }

  .page3 {
    min-height: 40svh;
    padding: 0;
  }
  .page3-header {
    min-height: fit-content;
    padding: 20vh 0;
  }
  .page3-header .edu-wrapper {
    height: 20svh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .page3-header .marquee {
    margin-top: 0vh;
    height: auto;
    overflow: hidden;
    position: relative;
    transform: rotate(4deg);
    transform-origin: center;
  }

  .page3-header .marquee-track {
    display: flex;
    align-items: center;
  }
  .page3-header .marquee-item {
    display: flex;
    align-items: center;
    height: auto;
  }
  .page3-header .marquee-text {
    font-family: "Bebas Neue";
    font-size: 5em;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    line-height: 0.9;
    color: #0a0a0a;
    opacity: 0.9;
    font-style: normal;
  }
  .page3-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    gap: 0;
    padding: 0vh 0vh;
  }
  .row h1 {
    font-size: clamp(5rem, 20vw, 8rem);
  }
  .btech-row h1 {
    font-size: clamp(5rem, 17vw, 8rem);
  }
  .percentage h1 {
    font-size: clamp(5rem, 22vw, 7rem);
  }
  h1.edu {
    font-family: "Bebas Neue";
    font-size: clamp(5rem, 20vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;

    color: #0a0a0a;
    display: inline-block;
  }
  .row span.year,
  .row span.board,
  .btech-row span.clg,
  .btech-row span.clgyear {
    font-size: 1.2rem;
    padding: 0.2rem 0.4rem;
    will-change: transform;
  }

  .btech-row h1 span.clg {
    right: -1vw;
  }
  .page3 svg {
    display: none !important;
  }
  .page3 .svg-path {
    display: none;
  }
  .edu-wrapper {
    height: 10vh;
  }
}
