  body {
      margin: 0;
      min-height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: radial-gradient(circle at top, #151922 0%, #0f1115 60%);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .main {
      height: 100vh;  
      overflow-y: auto;
      padding-top: 80px;
      padding-bottom: 120px;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

    h1 {
      font-size: 84px;
      font-weight: 700;
      margin: 0;
      letter-spacing: -2px;
    }

    .blue {
      color: #2b8bbf;
    }

    .green {
      color: #2fa84f;
      letter-spacing: 2px;
    }
    .subtitle {
      margin-top: 12px;
      font-size: 22px;
      color: #b8bcc4;
      text-align: center;
      letter-spacing: 0.5px;
    }
.btn {
  margin-top: 30px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #2b8bbf, #2fa84f);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 139, 191, 0.3);
}

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

.services h2 {
  font-size: 32px;
  margin-bottom: 60px;
  color: white;
}

.service-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.service h3 {
  margin-bottom: 10px;
  color: #2b8bbf;
}

.service p {
  color: #aaaaaa;
  font-size: 14px;
}    

.service {
  max-width: 280px;
  padding: 24px;
  border-radius: 12px;
  background-color: #151922;
  border: 1px solid #1f2430;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.service:hover {
  transform: translateY(-6px);
  background-color: #1b2030;
}

.project {
  max-width: 280px;
  padding: 24px;
  border-radius: 12px;
  background-color: #151922;
  border: 1px solid #1f2430;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.project:hover {
  transform: translateY(-6px);
  background-color: #1b2030;
}

@media (max-width: 768px) {
  
  h1 {
    font-size: 42px;
  }

  .subtitle {
    font-size: 14px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .services {
    margin-top: 80px;
  }

  .services h2 {
    font-size: 26px;
  }

  .service-list {
    flex-direction: column;
    align-items: center;
  }

  .service {
    max-width: 90%;
  }
  .top-nav {
    top: 20px;
    right: 20px;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .top-nav a {
    font-size: 13px;
  }
}

.top-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  background: linear-gradient(135deg, #2b8bbf, #2fa84f);
  z-index: 1000;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);*/
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    transparent 100%
  );
}

.top-nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -32px;
  width: 100%;
  height: 32px;
  background: linear-gradient(
    to bottom,
    rgba(43, 139, 191, 0.22) 0%,
    rgba(43, 139, 191, 0.12) 35%,
    rgba(43, 139, 191, 0.05) 65%,
    rgba(43, 139, 191, 0) 100%
  );
  pointer-events: none;
}

.top-nav a,
.top-nav a:visited {
  color: white;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  opacity: 1;
}

.top-nav a:hover {
  opacity: 0.8;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: width 0.3s ease;
}

.top-nav a:hover::after {
  width: 100%;
}
.page-content {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about {
  margin-top: 120px;
  max-width: 720px;
  text-align: center;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: white;
}

.about p {
  color: #aaaaaa;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.projects h2 {
  font-size: 32px;
  margin-bottom: 60px;
  color: white;
}

.project-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.project h3 {
  margin-bottom: 10px;
  color: #2fa84f;
}

.project p {
  color: #aaaaaa;
  font-size: 14px;
}

html {
  scroll-behavior: smooth;
}

.footer {
  margin-top: 140px;
  padding: 30px 20px;
  text-align: center;
  background-color: #151922;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  border: 1px solid #1f2430;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer p {
  color: #aaaaaa;
  margin-bottom: 8px;
}

.footer a {
  color: #2b8bbf;
  text-decoration: none;
}

.footer a:hover {
  color: #2fa84f;
}

.footer .copyright {
  margin-top: 20px;
  font-size: 12px;
  color: #666666;
}

section {
  scroll-margin-top: 100px;
}

.main {
  scroll-behavior:smooth;
}

#home {
  scroll-margin-top: 120px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}