* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.7;
  scroll-behavior: smooth;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #666666;
  border-top: 4px solid #000000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader p {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #000000;
}

.loaded .loader {
  opacity: 0;
  visibility: hidden;
}

.loaded {
  overflow-y: auto;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    filter: blur(5px);
    opacity: 0;
  }
  to {
    filter: blur(0);
    opacity: 1;
  }
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  max-width: 1200px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000000;
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #000000;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #000000;
  cursor: pointer;
}

.theme-toggle:hover {
  color: #333333;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 4rem 0;
}

.hero-content {
  padding: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 2.5rem;
  background-image: url('image/sigma.jpg');
  background-size: cover;
  background-position: center;
  border: 3px solid #000000;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: #000000;
}

.tagline {
  font-size: 1.3rem;
  margin: 1rem 0 2.5rem;
  color: #333333;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.cta-button {
  padding: 1rem 2.5rem;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background: #333333;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid #000000;
  color: #000000;
}

.cta-button.secondary:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 6rem 0;
}

.section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #000000;
  position: relative;
  padding-left: 1.8rem;
}

.section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 75%;
  background: #000000;
  border-radius: 5px;
}

.section p {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  color: #333333;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .about-details {
    gap: 3.5rem;
  }
}

.detail-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
}

.detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.detail-card h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1rem;
}

.detail-card p {
  font-size: 1.1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .skills-grid {
    gap: 3.5rem;
  }
}

.skill-category {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  width: 100%;
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.skill-category h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1.5rem;
}

.skill-category ul {
  list-style: none;
  font-size: 1.1rem;
  color: #333333;
  padding-left: 1.5rem;
}

.skill-category ul li {
  padding: 0.75rem 0;
}

.skill-category ul li::before {
  content: '•';
  color: #000000;
  margin-right: 0.75rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .services-grid {
    gap: 3.5rem;
  }
}

.service-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card i {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1.1rem;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.socials {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.socials a {
  font-size: 2rem;
  color: #000000;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: #333333;
  transform: translateY(-4px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
  background: #ffffff;
  border: 2px solid #666666;
  border-radius: 10px;
  padding: 1.2rem;
  color: #000000;
  font-size: 1.1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .cta-button {
  align-self: center;
  padding: 1.2rem 3rem;
}

.footer {
  padding: 2.5rem 0;
  text-align: center;
  background: #000000;
  color: #ffffff;
}

.footer p {
  font-size: 1.1rem;
}

.footer-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-links a:hover {
  color: #cccccc;
}

.footer-socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-socials a {
  font-size: 1.5rem;
  color: #ffffff;
}

.footer-socials a:hover {
  color: #cccccc;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .tagline {
    font-size: 1.1rem;
  }
  .section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .nav-links a {
    font-size: 1.2rem;
    padding: 0.75rem 0;
  }
  .theme-toggle {
    margin-top: 1.5rem;
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .avatar {
    width: 120px;
    height: 120px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  .cta-button {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  .services-grid,
  .about-details,
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 0;
  }
  .logo {
    font-size: 1.5rem;
  }
  .hamburger {
    right: 1.5rem;
  }
  .avatar {
    width: 100px;
    height: 100px;
  }
  .section h2 {
    font-size: 1.8rem;
  }
  .socials a {
    font-size: 1.8rem;
  }
  .form-group input,
  .form-group textarea {
    padding: 1rem;
    font-size: 1rem;
  }
}

[data-aos] {
  opacity: 0;
}

[data-aos].aos-animate {
  opacity: 1;
}