@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Ovo&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;
  color: #eee;
  font-family: 'inter', sans-serif;
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: #eee;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

p {
  font-family: 'ovo', serif;
  font-weight: 400;
}

.navbar {
  padding: 1.5rem 0;
  background-color: #111;
  position: relative;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo span {
  color: #c75df0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  background: #181818;
  padding: 1rem 2.5rem;
  margin: 2rem auto;
  border-radius: 32px;
  box-shadow: 0 4px 15px rgba(40, 147, 255, 0.12);
  max-width: 1000px;
  align-items: center;
  transition: box-shadow 0.3s, background 0.3s;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ccc;
  transition: color 0.2s;
}

.nav-links a.active {
  color: #c75df0;
  font-weight: 600;
  border-bottom: 2px solid #c75df0;
}

.nav-links a:hover {
  color: #c75df0;
}

.social-icons i {
  margin-left: 1rem;
  color: #ccc;
  transition: color 0.2s;
}

.social-icons i:hover {
  color: #c75df0;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  width: 30px;
  height: 30px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ecf0f1;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 5px;
}

.hamburger span:nth-child(2) {
  top: 13px;
}

.hamburger span:nth-child(3) {
  top: 21px;
}

.hamburger.active span:nth-child(1) {
  top: 13px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -30px;
}

.hamburger.active span:nth-child(3) {
  top: 13px;
  transform: rotate(-135deg);
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0 2rem 0;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-text {
  flex: 1 1 350px;
}

.hero-text h1 {
  font-size: 3.5rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #eee;
}

.hero-text p {
  font-size: 2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #c75df0, #2893ff);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(199, 93, 240, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #2893ff;
  border: 2px solid #2893ff;
}

.btn-secondary:hover {
  background: #2893ff;
  color: white;
  transform: translateY(-2px);
}

.highlight {
  color: #2893ff;
  background: linear-gradient(90deg, #c75df0 40%, #2893ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-img {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  border-radius: 50%;
  border: 10px solid transparent;
  background: linear-gradient(270deg, #c75df0, #2893ff, #c75df0);
  background-size: 400% 400%;
  animation: gradient-animate 6s ease infinite;
  width: 350px;
  height: 350px;
  object-fit: cover;
}

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

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

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

.tech-stack {
  text-align: center;
  padding: 4rem 0;
}

.tech-stack h2 {
  background: linear-gradient(90deg, #c75df0 40%, #2893ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stack-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.stack-icons img {
  width: 70px;
  height: 70px;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.8;
}

.stack-icons img:hover {
  transform: translateY(-8px) scale(1.1);
  filter: grayscale(0%);
  opacity: 1;
}

.projects {
  text-align: center;
  padding: 4rem 0;
}

.project-header {
  margin-bottom: 2rem;
}

.project-header h2 {
  background: linear-gradient(90deg, #c75df0 35%, #2893ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.project-header p {
  color: #ccc;
  font-size: 1.2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.view-all-projects {
  text-align: center;
  margin-top: 2rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(199, 93, 240, 0.3);
}

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

.project-info {
  padding: 1.5rem;
}

/* .project-info h3 {
  color: #c75df0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.project-info h5 {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.project-info p {
  margin-bottom: 1rem;
  text-align: left;
  color: #555;
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.project-links .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.project-links .btn:hover {
  background-color: #c75df0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(199, 93, 240, 0.3);
}

.stack-used {
  font-size: 0.8rem;
  color: #888;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.project-links {
  margin-top: 1rem;
}

.project-links a {
  margin-right: 1rem;
  font-size: 0.9rem;
  color: #ccc;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.project-links a:hover {
  color: #c75df0;
} */


.project-heading h2 {
  background: linear-gradient(90deg, #c75df0 5%, #2893ff 25%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.project-heading p {
  font-size: 1.2rem;
  color: #718096;
  margin-top: 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 24px;
}

.project-title {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 12px;
}

.project-description {
  color: #718096;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: #c75df0;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.project-links :hover {
  background-color: #c75df0;
  color: white;
  /* transform: translateY(-2px); */
  box-shadow: 0 4px 15px rgba(199, 93, 240, 0.3);
}

footer {
  background-color: #000;
  padding: 2rem 0;
  color: #aaa;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-left {
  font-family: 'inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-left span {
  color: #c75df0;
}

.footer-left,
.footer-center,
.footer-right {
  margin-bottom: 1rem;
}

.footer-center p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  max-width: 400px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-right i {
  transition: color 0.2s;
}

.footer-right i:hover {
  color: #c75df0;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom nav {
  display: flex;
  justify-content: center;
  background: #181818;
  padding: 1rem 2rem;
  margin: 2rem auto;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(40, 147, 255, 0.08);
  max-width: 480px;
}

.footer-bottom nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin: 0 0.75rem;
  color: #ccc;
  transition: color 0.2s;
}

.footer-bottom nav a:hover {
  color: #c75df0;
}

.footer-bottom hr {
  border: none;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #c75df0 40%, #2893ff 100%);
  margin: 2rem 0;
  opacity: 0.7;
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #777;
}

.copyright span {
  color: #2893ff;
}

@media (max-width: 768px) {
  .navbar-inner {
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 2rem 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    margin: 1.5rem 0;
    font-size: 1.2rem;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    transform: scale(1.05);
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #2c3e50;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    transition: left 0.5s ease;
  }


  .social-icons {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-img img {
    width: 250px;
    height: 250px;
  }

  .stack-icons {
    gap: 1.5rem;
  }

  .stack-icons img {
    width: 60px;
    height: 60px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-center {
    margin: 1rem 0;
  }

  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .projects h2,
  .tech-stack h2 {
    font-size: 2rem;
  }

  .stack-icons {
    gap: 1rem;
  }

  .stack-icons img {
    width: 50px;
    height: 50px;
  }

  .project-card {
    margin: 0 1rem;
  }

  .footer-bottom nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
}