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

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #ffffff;
  transition: all 0.3s ease;
}
body.dark-mode {
  color: #f1f5f9;
  background: #0f172a;
}
body.dark-mode .navbar {
  background: rgba(15, 23, 42, 0.95);
}
body.dark-mode .hero {
  background: linear-gradient(135deg, #60a5fa, #34d399);
}
body.dark-mode .project-card {
  background: #1e293b;
}
body.dark-mode .skills-category {
  background: #1e293b;
  border-left: 4px solid #60a5fa;
}
body.dark-mode .skills-category h3 {
  color: #60a5fa;
}
body.dark-mode .footer {
  background: #1e293b;
}
body.dark-mode section:nth-child(even) {
  background: #1e293b;
}
body.dark-mode .nav-links {
  background: rgba(15, 23, 42, 0.95) !important;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 1rem;
}
.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar .nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .nav-content .nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3b82f6;
  text-decoration: none;
}
.navbar .nav-content .nav-links {
  display: flex;
  gap: 2rem;
}
.navbar .nav-content .nav-links a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.navbar .nav-content .nav-links a:hover {
  color: #3b82f6;
}
.navbar .nav-content .nav-links.active {
  background: rgba(255, 255, 255, 0.95);
  flex-direction: column;
  transition: all 0.3s ease;
  display: none;
}
.navbar .nav-content .theme-toggle,
.navbar .nav-content .menu-toggle {
  background: none;
  border: none;
  color: #1f2937;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
}
.navbar .nav-content .menu-toggle {
  display: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin-top: 0;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  position: relative;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding-top: 4rem;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
}
.hero-content .social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.hero-content .social-links a {
  color: #1f2937;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid #1f2937;
  border-radius: 25px;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.hero-content .social-links a:hover {
  background: #1f2937;
  color: #ffffff;
  transform: translateY(-2px);
}

section {
  padding: 5rem 2rem;
}
section:nth-child(even) {
  background: #f8fafc;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #3b82f6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: auto;
}
.project-card .project-image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.project-card .project-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.3s ease;
}
.project-card .aantarya {
  background-color: #0f172a !important;
}
.project-card .project-overlay {
  display: none;
}
.project-card .project-content {
  padding: 1rem;
}
.project-card .project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #000;
}
.project-card .project-content .project-brief {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  opacity: 0.9;
}
.project-card .project-content .project-details {
  height: auto;
  opacity: 1;
  margin-top: 1rem;
}
.project-card .project-content .project-details .tech-stack {
  margin: 1rem 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
.project-card .project-links {
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-around;
}
.project-card .project-links .project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}
.project-card .project-links .project-link i {
  font-size: 1em;
}
.project-card .project-links .project-link.demo {
  background: #3b82f6;
  color: white;
}
.project-card .project-links .project-link.demo:hover {
  background: #10b981;
  transform: translateY(-2px);
}
.project-card .project-links .project-link.source {
  background: rgba(255, 255, 255, 0.1);
  color: #000000;
  border: 1px solid rgba(65, 62, 62, 0.2);
}
.project-card .project-links .project-link.source:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.project-card:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skills-category {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #3b82f6;
}
.skills-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.skills-category h3 {
  color: #3b82f6;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.skills-category h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #10b981;
  border-radius: 2px;
}
.skills-category .skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}
.skills-category .skills-list .skill-tag {
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  border: 1px solid #1f2937;
  color: #1f2937;
}
.skills-category .skills-list .skill-tag:hover {
  transform: translateY(-2px);
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border: none !important;
}
.skills-category .skills-list .skill-tag:nth-child(1) {
  animation-delay: 0.1s;
}
.skills-category .skills-list .skill-tag:nth-child(2) {
  animation-delay: 0.2s;
}
.skills-category .skills-list .skill-tag:nth-child(3) {
  animation-delay: 0.3s;
}
.skills-category .skills-list .skill-tag:nth-child(4) {
  animation-delay: 0.4s;
}
.skills-category .skills-list .skill-tag:nth-child(5) {
  animation-delay: 0.5s;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.education-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #3b82f6;
}
.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.education-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3b82f6;
}
.education-card .institution {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.education-card .duration {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.education-card .grade {
  font-size: 1rem;
  font-weight: 500;
  color: #10b981;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.certificate-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #3b82f6;
}
.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.certificate-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3b82f6;
}
.certificate-card .certificate-brief {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.certificate-card .certificate-details {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #f8fafc;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: #3b82f6;
  outline: none;
}
.contact-form .form-group input.error,
.contact-form .form-group textarea.error {
  border-color: #ef4444 !important;
}
.contact-form .submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form .submit-btn:hover {
  background: #10b981;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-content img {
  width: 100%;
  max-height: 85vh;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: -40px;
  right: -30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}
.close-modal:hover {
  color: #3b82f6;
  transform: scale(1.1);
}

.view-certificate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.view-certificate:hover {
  background: #10b981;
  transform: translateY(-2px);
}
.view-certificate i {
  font-size: 1.1em;
}

.footer {
  background: #f8fafc;
  padding: 1rem 0px;
  text-align: center;
}

.toggle {
  --size: 1.8rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  cursor: pointer;
  width: var(--size);
  height: var(--size);
  box-shadow: inset calc(var(--size) * 0.33) calc(var(--size) * -0.25) 0;
  border-radius: 999px;
  color: #e2e8f0;
  transition: all 500ms;
  margin-right: 0.5rem;
}

.toggle:checked {
  --ray-size: calc(var(--size) * -0.4);
  --offset-orthogonal: calc(var(--size) * 0.65);
  --offset-diagonal: calc(var(--size) * 0.45);
  transform: scale(0.75);
  color: #fbbf24;
  box-shadow: inset 0 0 0 var(--size), calc(var(--offset-orthogonal) * -1) 0 0 var(--ray-size), var(--offset-orthogonal) 0 0 var(--ray-size), 0 calc(var(--offset-orthogonal) * -1) 0 var(--ray-size), 0 var(--offset-orthogonal) 0 var(--ray-size), calc(var(--offset-diagonal) * -1) calc(var(--offset-diagonal) * -1) 0 var(--ray-size), var(--offset-diagonal) var(--offset-diagonal) 0 var(--ray-size), calc(var(--offset-diagonal) * -1) var(--offset-diagonal) 0 var(--ray-size), var(--offset-diagonal) calc(var(--offset-diagonal) * -1) 0 var(--ray-size);
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}
.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: #10b981;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.animate {
  animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
  }
  .toggle {
    --size: 1.5rem;
  }
  .nav-content {
    padding: 0 1rem;
    position: relative;
  }
  .nav-content .nav-links {
    display: none !important;
    position: fixed;
    top: 73px;
    right: 0;
    width: 225px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1rem;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }
  .nav-content .nav-links.active {
    display: flex !important;
  }
  .nav-content .nav-links a {
    padding: 0.5rem1rem;
    width: 100%;
    text-align: left;
  }
  .nav-content .toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .nav-content .nav-logo {
    font-size: 1.2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  section {
    padding: 3rem 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  .social-links a {
    width: 200px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .skills-category {
    padding: 1.5rem;
  }
  .skill-tag {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card .project-links .project-link {
    font-size: 0.8rem;
  }
  .education-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .education-card {
    padding: 1.5rem;
  }
  .education-card h3 {
    font-size: 1.2rem;
  }
  .education-card .institution {
    font-size: 1rem;
  }
  .footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .certificates-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .certificate-card {
    padding: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  .certificate-brief {
    font-size: 1rem;
  }
  .certificate-details {
    font-size: 0.9rem;
  }
  .modal {
    padding: 15px;
  }
  .modal-content {
    width: 90%;
  }
  .modal-content .close-modal {
    top: -55px;
    right: -25px;
    font-size: 1.75rem;
  }
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--primary-color);
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}/*# sourceMappingURL=style.css.map */