* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "articulat-cf", sans-serif;
}

nav {
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}

.left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.left h4 {
  font-weight: 700;
}

.right {
  display: flex;
  list-style: none;
  gap: 35px;
}

.right li a {
  position: relative;
  text-decoration: none;
  color: white;
  display: inline-block;
}

.right li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: rgb(46, 229, 189);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.right li a:hover::after {
  transform: scaleX(1);
}

a {
  text-decoration: none;
}

ul {
  display: flex;
  list-style: none;
  gap: 40px;
  padding: 0;
  margin: 0;
}

ul li {
  width: auto;
  margin-left: 0;
}

.relative {
  position: relative;
}

ul li a {
  position: relative;
  text-decoration: none;
  padding: 20px;
  color: white;
  font-weight: 500;
}

ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: rgb(46, 229, 189);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

ul li a:hover::after {
  transform: scaleX(1);
}

.lni {
  font-size: 35px;
  z-index: 1;
}

.lni-code-1 {
  color: rgb(46, 229, 189)
}

.hvit {
  color: white;
}

body {
  margin: 0;
  min-height: 100vh;

  background:

    radial-gradient(circle at top left,
      rgba(0, 255, 180, 0.10) 0%,
      transparent 28%),

    radial-gradient(circle at right center,
      rgba(45, 90, 255, 0.12) 0%,
      transparent 35%),

    radial-gradient(circle at bottom center,
      rgba(0, 180, 255, 0.08) 0%,
      transparent 40%),

    linear-gradient(135deg,
      rgb(1, 12, 22) 0%,
      rgb(4, 18, 35) 25%,
      rgb(7, 24, 46) 50%,
      rgb(3, 14, 28) 75%,
      rgb(1, 12, 22) 100%);

  background-attachment: fixed;
  color: white;
}

.hero-section {
  margin-top: -100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 60px;
  min-height: 85vh;
  gap: 60px;
}

.hero-left {
  flex: 1;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-right img {
  max-width: 520px;
  width: 100%;
  object-fit: contain;
  border-radius: 20px;
  filter:
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 35px rgba(34, 211, 238, 0.12));
  transition: .3s ease;
}

.hero-section img:hover {
  transform: translateY(-8px) scale(1.02);
}

.hero-section h3 {
  color: white;
  font-weight: 400;
  margin-bottom: 10px;
}

.name {
  font-size: 64px;
  font-weight: 700;
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.roles {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  color: white;
}

.roles .line {
  width: 20px;
  height: 2px;
  background: #444;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

button {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
}

.primary {
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  color: white;
  transition: .3s ease;
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgba(34, 211, 238, 0.25),
    0 0 20px rgba(99, 102, 241, 0.2);
}

.secondary {
  background: transparent;
  border: 1px solid #444;
  color: white;
  transition: transform 0.3s ease;
}

.secondary:hover {
  border-color: #4cc9f0;
  box-shadow: 0 0 20px rgba(76, 201, 240, 0.2);
  transform: translateY(-2px);
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.socials a {
  color: white;
  font-size: 20px;
  opacity: 0.8;
  transition: 0.2s;
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.lni-arrow-right,
.lni-download-1 {
  font-size: 20px;
}

.about-section {
  margin: 80px 40px;
  padding: 60px;

  margin-top: -10px;

  display: flex;
  justify-content: space-between;
  gap: 80px;

  border-radius: 30px;

  background:
    linear-gradient(90deg,
      rgba(0, 150, 255, 0.06),
      rgba(0, 0, 0, 0.15));

  border: 1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(20px);

  position: relative;
  overflow: hidden;
}

/* subtle glow */
.about-section::before {
  content: "";
  position: absolute;

  left: -100px;
  top: 0;

  width: 300px;
  height: 100%;

  background: radial-gradient(circle,
      rgba(34, 211, 238, 0.12),
      transparent 70%);

  pointer-events: none;
}

.about-left {
  flex: 1;
  max-width: 600px;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #4ade80;
  font-weight: 600;
  letter-spacing: 2px;
}

.about-left h2 {
  font-size: 52px;
  margin: 18px 0;
}

.about-left p {
  color: #a1a1aa;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-btn {
  padding: 14px 26px;
  border-radius: 14px;

  border: 1px solid rgba(74, 222, 128, 0.35);

  background: rgba(74, 222, 128, 0.05);
  color: #4ade80;

  transition: 0.25s ease;
}

.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.12);
}

.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;

  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.icon-box .lni-code-1 {
  color: white;
}

.icon-box {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);

  font-size: 28px;
}

.info-item h4 {
  font-size: 24px;
  margin-bottom: 6px;
}

.info-item p {
  color: #a1a1aa;
  line-height: 1.6;
}

.more-about {
  max-height: 0;
  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.7s ease,
    opacity 0.4s ease;

  margin-top: 0;
}

.more-about.active {
  max-height: 700px;
  opacity: 1;
  margin-top: 30px;
}

.about-card {
  padding: 22px;
  margin-bottom: 18px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(10px);

  transform: translateY(10px);
  transition: 0.3s ease;
}

.more-about.active .about-card {
  transform: translateY(0);
}

.about-card h4 {
  margin-bottom: 10px;
  color: white;
}

.about-card p {
  color: #9ca3af;
}

.projects-section {
  margin: 80px 40px;
  padding: 60px;

  border-radius: 30px;

  background:
    linear-gradient(90deg,
      rgba(0, 150, 255, 0.06),
      rgba(0, 0, 0, 0.15));

  border: 1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(20px);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 45px;
}

.projects-header h2 {
  font-size: 52px;
  margin-top: 12px;
}

.projects-btn {
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.05);
  color: #4ade80;

  padding: 14px 24px;
  border-radius: 14px;

  transition: .3s ease;
}

.projects-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(74, 222, 128, .15);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 28px;
  overflow: hidden;

  transition: .35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, .15);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, .25),
    0 0 30px rgba(34, 211, 238, .08);
}

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

.project-content {
  padding: 26px;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 18px;
}

.project-top h3 {
  font-size: 34px;
}

.project-content p {
  color: #a1a1aa;
  line-height: 1.7;
}

.tech-tag {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
}

.green {
  background: rgba(74, 222, 128, .15);
  color: #4ade80;
}

.blue {
  background: rgba(59, 130, 246, .15);
  color: #60a5fa;
}

.purple {
  background: rgba(168, 85, 247, .15);
  color: #c084fc;
}

.project-links {
  display: flex;
  gap: 18px;
  margin-top: 26px;
}

.project-links i {
  font-size: 28px;
  cursor: pointer;
  transition: .2s ease;
}

.project-links i:hover {
  transform: translateY(-3px);
  opacity: .8;
}

.project-links a {
  color: white;
}

.project-links .lni-code-1 {
  color: white;
}

.extra-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height .7s ease,
    opacity .4s ease;

  margin-top: 0;
}

.extra-projects.active {
  max-height: 1500px;
  opacity: 1;
  margin-top: 28px;
}

.skills-section {
  margin: 80px 40px;
  padding: 60px;

  border-radius: 30px;

  background:
    linear-gradient(90deg,
      rgba(0, 150, 255, .06),
      rgba(0, 0, 0, .15));

  border: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);
}

.skills-header h2 {
  font-size: 52px;
  margin-top: 14px;
  margin-bottom: 45px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.skill-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);

  border-radius: 24px;
  padding: 28px;

  transition: .3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);

  border-color: rgba(34, 211, 238, .12);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, .25),
    0 0 25px rgba(34, 211, 238, .08);
}

.skill-title {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 28px;
}

.skill-title i {
  font-size: 34px;
}

.skill-title h3 {
  font-size: 28px;
}

.skill {
  margin-bottom: 22px;
}

.skill span {
  display: block;
  margin-bottom: 10px;
  color: #d4d4d8;
}

.progress {
  width: 100%;
  height: 10px;

  border-radius: 999px;
  background: rgba(255, 255, 255, .08);

  overflow: hidden;
}

.fill {
  height: 100%;
  border-radius: 999px;
}

.fill.green {
  background: #4ade80;
}

.fill.blue {
  background: #60a5fa;
}

.fill.purple {
  background: #a855f7;
}

.fill.lime {
  background: #84cc16;
}

.contact-section {
  margin: 80px 40px;
  padding: 60px;

  border-radius: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;

  background:
    linear-gradient(90deg,
      rgba(0, 150, 255, .06),
      rgba(0, 0, 0, .15));

  border: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);

  position: relative;
  overflow: hidden;
}

.contact-left {
  flex: 1.2;
}

.contact-header {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.contact-icon i {
  font-size: 58px;
  color: white;
}

.contact-header h2 {
  font-size: 52px;
  margin-top: 10px;
}

.contact-text {
  margin-top: 30px;
  color: #a1a1aa;
  line-height: 1.8;
  max-width: 300px;
  position: relative;
  left: 85px;
}

.contact-divider {
  width: 1px;
  height: 220px;
  background: rgba(255, 255, 255, .08);
}

.contact-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;

  font-size: 22px;
}

.contact-item i {
  font-size: 34px;
  color: white;
}

.contact-item span {
  color: #d4d4d8;
}

.contact-code {
  flex: 1;
  display: flex;
  justify-content: center;
}

.fake-code {
  width: 320px;
  height: 180px;

  border-radius: 26px;
  padding: 30px;

  border: 1px solid rgba(255, 255, 255, .08);

  background:
    rgba(255, 255, 255, .03);

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.line {
  display: block;
  height: 6px;
  border-radius: 999px;
}

.green2 {
  background: #4ade80;
  width: 45%;
}

.blue2 {
  background: #60a5fa;
  width: 70%;
}

.purple2 {
  background: #a855f7;
  width: 55%;
}

.red {
  background: #ef4444;
  width: 40%;
}

.short {
  width: 35%;
}

.long {
  width: 80%;
}

.fake-code {
  transition: .35s ease;
}

.fake-code:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, .25),
    0 0 30px rgba(34, 211, 238, .08);
}

footer{
  height: 10vh;
  width: 100vw;
  text-align: center;
}