* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Knight Souls";
  src: url("/font/KnightSoulsPersonalUse-BW868.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Emerland-serif";
  src: url("font/blackemerald-wyowv.ttf") format("truetype");
}

html,
body {
  background: #10092c;
  overscroll-behavior: none;
  font-family: "inter";
  color: white;
}

#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.glassy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 3cm;
  opacity: 0.75;
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

h1,
h2,
h3 {
  width: fit-content;
  background: linear-gradient(to top, #cecece 0%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -0.03cm;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.home h1 {
  font-size: 80px;
  margin-bottom: 1.5rem;
  font-family: "Emerland-serif", sans-serif;
}
.home h3 {
  font-family: "Source Code Pro", monospace;
  font-weight: 400;
  font-size: 20px;
}
.lottie-wrapper {
  position: absolute;
  right: 0;
  padding-right: 150px;
  padding-top: 250px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

@media screen and (max-width: 600px) {
  .lottie-wrapper {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  .home h1 {
    font-size: 60px;
  }

  .lottie-wrapper dotlottie-wc {
    width: 100%;
    max-width: 250px;
    height: auto;
  }
}

.scroll-down-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce-down 1.5s infinite;
  font-size: 2rem;
  color: #fff;
  user-select: none;
}

@keyframes bounce-down {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .scroll-down-arrow {
    font-size: 1.5rem;
    bottom: 20px;
  }
}

@media (max-width: 400px) {
  .scroll-down-arrow {
    font-size: 1.2rem;
    bottom: 15px;
  }
}

.button-group {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid white;
  border-radius: 12px;
  background-color: #ffffff15;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.icon-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

section p {
  max-width: 700px;
  font-size: 18px;
  color: #d2d2d2;
  line-height: 1.6;
}
@media screen and (max-width: 600px) {
  .container {
    height: auto;
    overflow-y: auto;
  }

  section {
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
    scroll-snap-align: none;
  }
  .container {
    padding: 20px 10px;
  }
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}
.contact h2 {
  font-family: "Knight Souls", sans-serif;
}
.contact h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 6px auto 0;
  background-color: #a855f7;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.contact form {
  display: flex;
  font-family: "Source Code Pro", monospace;
  font-weight: 400;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

.contact input,
.contact textarea {
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #ccc;
  border-radius: 8px;
  color: white;
  font-size: 16px;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #aaa;
}

#send-btn {
  font-size: 15px;
  font-family: "Source Code Pro", monospace;
  font-weight: bold;
  color: var(--glow-color);
  background-color: var(--btn-color);
  border: none;
  border-radius: 1em;
  padding: 1em 3em;
  outline: none;
  cursor: pointer;
  --glow-color: rgb(217, 176, 255);
  --glow-spread-color: rgba(191, 123, 255, 0.781);
  --enhanced-glow-color: rgb(231, 206, 255);
  --btn-color: rgb(100, 61, 136);
  box-shadow: 0 0 1em 0.25em var(--glow-color),
              0 0 4em 1em var(--glow-spread-color),
              inset 0 0 0.75em 0.25em var(--glow-color);
  text-shadow: 0 0 0.5em var(--glow-color);
  position: relative;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#send-btn::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 120%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--glow-spread-color);
  filter: blur(2em);
  opacity: 0.7;
  transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
}

#send-btn:hover {
  color: var(--btn-color);
  background-color: var(--glow-color);
  box-shadow: 0 0 1em 0.25em var(--glow-color),
              0 0 4em 2em var(--glow-spread-color),
              inset 0 0 0.75em 0.25em var(--glow-color);
}

#send-btn:active {
  box-shadow: 0 0 0.6em 0.25em var(--glow-color),
              0 0 0.25em 2em var(--glow-spread-color),
              inset 0 0 0.5em 0.25em var(--glow-color);
  transform: scale(0.97);
}

.contact h2 {
  font-size: 50px;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 100px auto;
}
.timelinecon {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(60px) scale(0.6);
  animation: movedownScaleFade 1s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
  z-index: 1;
}

.left-container {
  left: 0;
}

.right-container {
  left: 50%;
}

@keyframes movedownScaleFade {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.6);
  }
  50% {
    opacity: 0.05;
    transform: translateY(30px) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.text-box {
  padding: 15px 25px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #a855f7;
  position: relative;
  border-radius: 6px;
  font-size: 20px;
}
.left-container {
  left: 0;
}
.right-container {
  left: 50%;
}
.timelinecon img {
  position: absolute;
  width: 40px;
  border-radius: 50%;
  right: -20px;
  top: 32px;
  z-index: 10;
}

.right-container img {
  left: -20px;
}
.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  background: #a855f7;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  animation: moveline 6s linear forwards;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

@keyframes moveline {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
.text-box small {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Source Code Pro", monospace;
}
.left-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #a855f7;
  right: -15px;
}
.right-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #a855f7;
  left: -15px;
}
.text-box h2,
.text-box small,
.text-box p {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: rgb(240, 238, 238);
}
.text-box p {
  line-height: 1.5;
  font-family: "Source Code Pro", monospace;
  font-weight: 400;
  font-size: 13px;
  color: #f3f3f3;
}
.text-box h2 {
  font-family: "Knight Souls", sans-serif;
  font-size: 15px;
}
@media screen and (max-width: 768px) {
  .education-heading{
    font-size: 2.5rem;
    margin-bottom: 20px;
}
  .timeline {
    margin: 10px auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 20px; 
    align-items: center; 
  }
  .left-container{
    float: none !important;
    text-align: center;
  }
  .right-container{
    float: none !important;
    text-align: center;
  }
.left-container,
.right-container{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  text-align: center;
}
.text-box{
  width: 100%;
  margin: 0 auto;
  padding: 18px;
  text-align: left;
}
  .timeline::after {
    display: none;
  }
.timelinecon {
  gap: 20px;
  padding: 0 5px;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  }
.left-container img,
  .right-container img,
  .left-container-arrow,
  .right-container-arrow {
    display: none;
  }
}
@media screen and (max-width :480){
 .education-heading{
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 25px;

 }
 .timeline{
  gap: 8px;
  padding: 0 5px;
 }
 .text-box{
  padding: 15px;
  font-size: 13px;

 }
 .text-box h2{
  font-size: 0.85rem;
  margin-bottom: 12px;
  
 }
 text-box small{
  font-size: 0.85rem;
  margin-bottom: 12px;
  
}
.text-box p{
  font-size: 0.9rem;
}
  
}

#skills h2 {
  font-family: "Knight Souls", sans-serif;
}

.skills {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
}
:root {
  --time: 20s;
}
.education-heading {
  font-family: "Knight Souls", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 2;
}

.education {
  position: relative;
  padding-top: 4rem;
}
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.skills h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 6px auto 0;
  background-color: #a855f7;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.skills {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
}

.scroll {
  position: relative;
  display: flex;
  contain: layout paint;
  width: 700px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #fff 20%,
    #fff 80%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #fff 20%,
    #fff 80%,
    transparent
  );
}

.scroll div {
  display: flex;
  white-space: nowrap;
  animation: scroll var(--time) linear infinite;
  animation-delay: calc(var(--time) * -1);
  will-change: transform;

  transform: translateZ(0);
}

.scroll div:nth-child(2) {
  animation: scroll2 var(--time) linear infinite;
  animation-delay: calc(var(--time) * -1.5);
}

@keyframes scroll {
  0% {
    transform: translate3d(100%, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes scroll2 {
  0% {
    transform: translate3d(0%, 0, 0);
  }
  100% {
    transform: translate3d(-200%, 0, 0);
  }
}

.scroll div span {
  display: inline-flex;
  margin: 10px;
  letter-spacing: 0.2cm;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.5s;
}

.scroll div span:hover {
  background: black;
  cursor: pointer;
}

.imgbox div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.imgbox img {
  max-width: 80px;
  height: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.imgbox div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px;
  padding-right: 20px;
}

.imgbox img:hover {
  transform: scale(1.1);
  cursor: pointer;
}
@media (max-width: 768px) {
  .scroll {
    width: 90%;
  }

  .imgbox img {
    max-width: 60px;
    padding: 8px;
  }
}
.projects {
  padding: 60px 20px;
  text-align: center;
}

.project-heading {
  font-family: "Knight Souls", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  width: 100%;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.projects .project-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 6px auto 0;
  background-color: #a855f7;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.project-card {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 2px solid #0b1299;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  height: 200px;
  position: relative;
  opacity: 0;
  transform: translateY(60px) scale(0.6);
  animation: movedownScaleFade 1s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.project-card:nth-child(2) {
  animation-delay: 0.2s;
}
.project-card:nth-child(3) {
  animation-delay: 0.4s;
}
.project-card:nth-child(4) {
  animation-delay: 0.6s;
}
.project-card:nth-child(5) {
  animation-delay: 0.8s;
}
@keyframes movedownScaleFade {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.6);
  }
  50% {
    opacity: 0.05;
    transform: translateY(30px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6), 0 0 30px rgba(168, 85, 247, 0.4),
    0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: rgba(255, 255, 255, 0.12);
  border-color: #a855f7;
}

.project-card:hover img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}
.project-card:hover .project-text {
  transform: translateX(5px);
  transition: transform 0.4s ease;
}

.project-card img {
  width: 40%;
  height: 100%;
  object-fit: cover;
}

.project-text {
  padding: 20px;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: #fff;
  position: relative;
}

.project-text h2 {
  font-family: "Emerland-serif", sans-serif;
  font-size: 20px;
  color: #fff;

  margin-bottom: 5px;
}

.project-text p {
  font-family: "Source Code Pro", monospace;
  font-size: 14px;
  margin: 2px 0;
  stroke: #0b1299;
  stroke-width: 5px;
  text-shadow: #fff;
  color: #fff;
}

.tech-used {
  font-style: italic;
  color: #fff;
  stroke: #f0f0f4;
  stroke-width: 16px;
  font-size: 13px;
}

.project-links {
  margin-top: 10px;
  display: none;
  gap: 10px;
  flex-wrap: wrap;
}

.project-card:hover .project-links {
  display: flex;
}

.btn2 {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-family: sans-serif;
  transition: background 0.3s, transform 0.2s;
  color: white;
  font-size: 13px;
}

.visit-btn {
  background-color: #3741d1;
}

.visit-btn:hover {
  background-color: #4c47d2;
  transform: scale(1.05);
}

.github-btn {
  background-color: #3741d1;
}

.github-btn:hover {
  background-color: #3741d1;
  transform: scale(1.05);
}
@media (max-width: 767px) {
  .project-card {
    flex-direction: column;
    min-height: 350px;
    height: auto;
  }

  .project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .project-text {
    width: 100%;
  }
}
.btn {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-family: "Source Code Pro", monospace;
  font-size: 14px;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  background-color: #3741d1;
  box-shadow: 0 4px 10px rgba(55, 65, 209, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn::after {
  content: "»";
  transform: translateX(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.05);
  background-color: #4c47d2;
  box-shadow: 0 8px 18px rgba(55, 65, 209, 0.5);
}

.btn:hover::after {
  transform: translateX(4px);
  opacity: 1;
}
:root {
  --cert-time: 30s;
}

.certifications {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.certifications h2 {
  font-family: "Knight Souls", sans-serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 50px;
  position: relative;
}

.certifications h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 6px auto 0;
  background-color: #a855f7;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.cert-scroll {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1300px;
  padding: 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #fff 10%,
    #fff 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #fff 10%,
    #fff 90%,
    transparent
  );
}

.cert-track {
  display: flex;
  white-space: nowrap;
  animation: cert-scroll var(--cert-time) linear infinite;
  will-change: transform;
  gap: 4rem;
}

@keyframes cert-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cert-card {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #a855f7;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
  width: 45%;
  padding: 0 10px;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cert-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(168, 85, 247, 0.15) 0%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

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

.cert-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-img {
  transform: scale(1.03);
}

.cert-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 40, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  font-family: "Source Code Pro", monospace;
  z-index: 2;
  border-top: 1px solid #a855f7;
  text-align: center;
}

.cert-card:hover .cert-info {
  transform: translateY(0%);
  opacity: 1;
}

.cert-info h3 {
  font-family: "Emerland-serif", sans-serif;
  font-size: 18px;
  margin-bottom: 4px;
  color: #fff;
}

.cert-info p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.4;
}

.cert-info .view-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background-color: #a855f7;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Source Code Pro", monospace;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cert-info .view-btn:hover {
  background-color: #9333ea;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cert-card {
    width: 100%;
  }

  .certifications h2 {
    font-size: 2.2rem;
  }

  .cert-info h3 {
    font-size: 16px;
  }

  .cert-info p {
    font-size: 13px;
  }
}
.navbar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  position: fixed;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle img {
  width: 28px;
  height: 28px;
}

ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  width: 100%;
}

#nav-links a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-family: "Source Code Pro", monospace;
  font-weight: 500;
  transition: color 0.3s ease;
}

#nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #fff;
  bottom: 0;
  left: 50%;
  transition: all 0.3s ease;
}

#nav-links a:hover::after {
  width: 100%;
  left: 0;
}

#nav-links a:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .container {
    scroll-behavior: smooth;
  }

  .navbar {
    background: transparent;
    border: none;
    box-shadow: none;

    justify-content: flex-end;
    padding: 0.5rem 1rem;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    top: 2rem;
    right: 5px;
    transform: translateY(-50%);
    z-index: 1100;
  }

  #nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    z-index: 1000;
  }

  #nav-links.active {
    display: flex;
  }

  #nav-links li {
    width: 100%;
    text-align: center;
  }

  #nav-links li a {
    width: 100%;
    display: block;
  }
}

@media (max-width: 768px) {
  .lottie-wrapper {
    display: none !important;
  }
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Source Code Pro", monospace;
  font-size: 15px;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}
button {
  font-family: inherit;
  font-size: 15px;
  background: #3f82ce;
  color: white;
  fill: rgb(155, 153, 153);
padding: 0.2em 0.4em;
  padding-left: 0.4em;
  font-family: "Source Code Pro", monospace;

  display: flex;
  align-items: center;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  font-weight: 1000;
}

button span {
  display: block;
  margin-left: 0.2em;
  transition: all 0.3s ease-in-out;
}

button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

button:hover {
  background: #3f82ce;
}

button:hover .svg-wrapper {
  transform: scale(1.25);
  transition: 0.5s linear;
}

button:hover svg {
  transform: translateX(1.2em) scale(1.1);
  fill: #fff;
}

button:hover span {
  opacity: 0;
  transition: 0.5s linear;
}

button:active {
  transform: scale(0.95);
}
.btn-text {
  z-index: 2;
  font-family: "Source Code Pro", monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}
.cert-info {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;   
  gap: 1rem;            
  margin-top: 2rem;     
}

.cert-info .btn {
  margin-top: 1rem;
}
  

.cert-info .btn {
  margin-top: 1rem;
}
