* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #080808;
  color: white;
  overflow-x: hidden;
}

/* Background Blur */

.blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

.blur1 {
  width: 350px;
  height: 350px;
  background: #ff00ff;
  top: -100px;
  left: -100px;
  opacity: 0.18;
}

.blur2 {
  width: 350px;
  height: 350px;
  background: #7c4dff;
  bottom: -100px;
  right: -100px;
  opacity: 0.18;
}

.blur3 {
  width: 300px;
  height: 300px;
  background: #ff6b00;
  top: 40%;
  left: 40%;
  opacity: 0.15;
}

/* Navbar */

header {
  width: 100%;
  padding: 25px 8%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 35px;
  font-weight: 700;
  background: linear-gradient(45deg, #ff00ff, #7c4dff, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  transition: 0.4s;
}

nav ul li a:hover {
  color: #ff00ff;
}

.nav-btn {
  padding: 14px 34px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(45deg, #ff00ff, #7c4dff, #ff6b00);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s;
}

.nav-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px #ff00ff;
}

/* Hero */

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 170px 8%;
  gap: 80px;
}

.hero-text {
  flex: 1;
  animation: left 1.5s ease;
}

.mini-title {
  color: #ff00ff;
  letter-spacing: 4px;
  margin-bottom: 25px;
}

.hero-text h1 {
  font-size: 95px;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-p {
  color: #d1d1d1;
  line-height: 1.9;
  max-width: 650px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn1,
.btn2 {
  padding: 16px 38px;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.4s;
  color: white;
}

.btn1 {
  background: linear-gradient(45deg, #ff00ff, #7c4dff);
}

.btn2 {
  background: linear-gradient(45deg, #ff6b00, #ff00ff);
}

.btn1:hover,
.btn2:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px #ff00ff;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  text-decoration: none;
}

.social-icons i {
  width: 55px;
  height: 55px;
  background: #181818;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff00ff;
  font-size: 22px;
  transition: 0.4s;
}

.social-icons i:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px #ff00ff;
}

/* Hero Image */

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  animation: right 1.5s ease;
}

.glass {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: rotate(10deg);
  backdrop-filter: blur(10px);
}

.hero-image img {
  width: 430px;
  border-radius: 35px;
  position: relative;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

/* Marquee */

.marquee {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.track h2 {
  font-size: 45px;
  color: #1d1d1d;
}

/* About */

.about {
  padding: 160px 8%;
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image img {
  width: 430px;
  border-radius: 35px;
  animation: float 5s ease-in-out infinite;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 65px;
  margin-bottom: 20px;
}

.about-text p {
  color: #d1d1d1;
  line-height: 1.9;
  margin-bottom: 40px;
}

.skill {
  margin-bottom: 25px;
}

.skill span {
  display: block;
  margin-bottom: 10px;
}

.line {
  width: 100%;
  height: 10px;
  background: #222;
  border-radius: 20px;
  overflow: hidden;
}

.fill {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(45deg, #ff00ff, #7c4dff, #ff6b00);
}

.html {
  width: 95%;
}

.css {
  width: 90%;
}

.js {
  width: 88%;
}

/* Services */

.services {
  padding: 160px 8%;
}

.title {
  text-align: center;
  font-size: 65px;
  margin-bottom: 80px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 35px;
  border-radius: 35px;
  transition: 0.5s;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-15px);
  border: 1px solid #ff00ff;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.card i {
  font-size: 55px;
  margin-bottom: 25px;
  background: linear-gradient(45deg, #ff00ff, #7c4dff, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card h2 {
  margin-bottom: 18px;
}

/* Projects */

.projects {
  padding: 160px 8%;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: 35px;
}

.project img {
  width: 100%;
  display: block;
  transition: 0.5s;
}

.overlay {
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  padding-bottom: 40px;
  transition: 0.5s;
}

.overlay h2 {
  color: #ff00ff;
}

.project:hover img {
  transform: scale(1.1);
}

.project:hover .overlay {
  bottom: 0;
}

/* Contact */

.contact {
  padding: 160px 8%;
}

form {
  max-width: 750px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input,
form textarea {
  padding: 20px;
  border: none;
  border-radius: 20px;
  background: #181818;
  color: white;
  outline: none;
}

form textarea {
  height: 200px;
}

form button {
  padding: 18px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(45deg, #ff00ff, #7c4dff, #ff6b00);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.4s;
}

form button:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px #ff00ff;
}

/* Footer */

footer {
  padding: 60px 8%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer h2 {
  font-size: 35px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff00ff, #7c4dff, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-icons a {
  text-decoration: none;
}

.footer-icons i {
  width: 50px;
  height: 50px;
  background: #181818;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff00ff;
  transition: 0.4s;
}

.footer-icons i:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px #ff00ff;
}

/* Animations */

@keyframes float {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes left {

  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes right {

  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes marquee {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Responsive */

@media(max-width:950px) {

  nav ul,
  .nav-btn {
    display: none;
  }

  .hero,
  .about {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding-top: 190px;
  }

  .hero-text h1 {
    font-size: 55px;
  }

  .hero-btns,
  .social-icons {
    justify-content: center;
  }

  .hero-image img,
  .about-image img {
    width: 100%;
    max-width: 400px;
  }

  .glass {
    width: 300px;
    height: 300px;
  }

  .title {
    font-size: 42px;
  }
}