html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #2c2554;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

a {
  text-decoration: none;
  background: linear-gradient(93.51deg, #9B51E0 2.84%, #3081ED 99.18%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.landingpage {
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  max-width: 1100px;
  background-color: #1F1D2B;
  overflow-x: hidden;
}

.landingpage::before,
.landingpage::after {
  content: "";
  position: absolute;
  width: 123px;
  height: 123px;
  filter: blur(90px);
  z-index: 0;
}

.landingpage::before {
  left: 60%;
  top: 138px;
  background-color: #FB37FF;
}

.landingpage::after {
  left: 80%;
  top: 550px;
  background-color: #18B2DE;
  filter: blur(80px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.navlogo {
  font-weight: 700;
  font-size: 32px;
  background: linear-gradient(93.51deg, #9B51E0 2.84%, #3081ED 99.18%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navlinkwrap {
  display: flex;
  gap: 32px;
}

.navlink {
  font-weight: 500;
  font-size: 13px;
  color: #BCBCBC;
  transition: color 0.3s;
}

.navlink:hover {
  color: #fff;
}

.createbtn {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 10px 20px;
  color: #BCBCBC;
  font-size: 12px;
  transition: all 0.3s ease;
}

.createbtn.selectedbtn {
  border: 1px solid #D7D7D7;
  border-radius: 10px;
}

.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 80px;
  gap: 40px;
}

.infobox {
  max-width: 55%;
  animation: leftslide 0.8s ease forwards;
}

.infobox-boldtext {
  margin-bottom: 20px;
  font-size: 55px;
  font-weight: 600;
  line-height: 1.1;
}

.infobox-slimtext {
  margin-top: 15px;
  font-size: 16px;
  color: #E2E2E2;
  line-height: 22px;
}

.infobox-btnwrapper {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.infobox-btnwrapper button {
  padding: 14px 36px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #fff;
}

.infobox-explorebtn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #9B51E0;
  color: #9B51E0;
  backdrop-filter: blur(10px);
}

.infobox-explorebtn:hover {
  background: rgba(155, 81, 224, 0.2);
  color: #9B51E0 !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.infobox-createbtn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9B51E0 !important;
  backdrop-filter: blur(10px);
}

.infobox-createbtn:hover {
  background: rgba(155, 81, 224, 0.2);
  color: #fff !important;
  border-color: #9B51E0;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.display {
  padding: 20px;
  background: linear-gradient(169.44deg, rgba(58, 129, 191, 0.08) 1.85%, rgba(65, 48, 90, 0.08) 98.72%);
  border-radius: 35px;
  max-width: 40%;
  text-align: center;
  animation: rightslide 0.8s ease forwards;
}

.display-nft {
  width: 250px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
}

.infowrapper {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.info-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.info2 {
  text-align: right;
  font-size: 12px;
}

.iconwrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.started {
  margin-top: 120px;
  text-align: center;
}

.started-boldtext {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 40px;
  text-align: center;
}

.started-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

.started-items-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.started-items-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

.itemwrapper p {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

.experience,
.projects {
  margin-top: 100px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 25px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.job {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 25px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.job:hover,
.project-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.job h3,
.project-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.job-time,
.company {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.job-desc,
.project-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #ddd;
}

.job-stack,
.stack {
  font-size: 14px;
  font-weight: 500;
  color: #9B51E0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.discover {
  margin-top: 150px;
}

.discover-title {
  text-align: center;
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 50px;
}

.discover-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.item-img:hover {
  transform: scale(1.05);
}

.item-title {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 600;
}

.item-date {
  font-size: 14px;
  color: #BCBCBC;
}

.footer {
  margin-top: 80px;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  font-size: 24px;
  font-weight: 500;
}

.footer-navigate {
  display: flex;
  gap: 40px;
}

.footer-navigate .nav {
  text-align: center;
}

.footer-navigate h5 {
  margin-bottom: 8px;
  font-size: 16px;
}

.education {
  margin-top: 120px;
  margin-bottom: 80px;
}

.certifications {
  margin-top: 120px;
}

.education h2,
.certifications h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.edu-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 25px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.edu-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.edu-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.edu-item p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
  margin: 5px 0;
}

.cert-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}

.cert-table thead {
  background: rgba(255, 255, 255, 0.07);
}

.cert-table th,
.cert-table td {
  padding: 12px 15px;
  font-size: 14px;
  color: #ddd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  word-wrap: break-word;
}

.cert-table th {
  font-weight: 600;
  color: #fff;
}

.cert-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.cert-table th:nth-child(1),
.cert-table td:nth-child(1) {
  width: 40%;
}
.cert-table th:nth-child(2),
.cert-table td:nth-child(2) {
  width: 20%;
}
.cert-table th:nth-child(3),
.cert-table td:nth-child(3) {
  width: 10%;
}
.cert-table th:nth-child(4),
.cert-table td:nth-child(4) {
  width: 20%;
  text-align: right;
}

.cert-table th:nth-child(4) {
  text-align: center;
}
.cert-table td:nth-child(4) {
  text-align: right;
}

.cred-btn {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid #fff;
  border-radius: 8px;
  text-decoration: none !important;
  text-align: center;
  white-space: nowrap;
  transition: all 0.3s ease;
  background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
}

.cred-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .cert-table {
    display: block;
  }
  .cert-table thead {
    display: none;
  }
  .cert-table tbody tr {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 12px;
    padding: 10px;
  }
  .cert-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-bottom: none;
  }
  .cert-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #9B51E0;
  }
}

@media (max-width: 900px) {
  .box {
    flex-direction: column;
    text-align: center;
  }
  .infobox,
  .display {
    max-width: 100%;
  }
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
  .footer {
    flex-direction: column;
    gap: 30px;
  }
}

@keyframes leftslide {
  from {
    transform: translateX(-40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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