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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: #666;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
a:hover {
  color: #667eea;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid #667eea;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn--primary {
  background-color: #667eea;
  color: #fff;
}
.btn--primary:hover {
  background-color: #764ba2;
  border-color: #764ba2;
}
.btn--secondary {
  background-color: transparent;
  color: #667eea;
}
.btn--secondary:hover {
  background-color: #667eea;
  color: #fff;
}
.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn--large {
  padding: 2rem 3rem;
  font-size: 1.125rem;
}

section {
  padding: 3rem 0;
}

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

.hero {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}
.hero__title .highlight {
  color: #ffd700;
}
.hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.about {
  background-color: #f5f5f5;
}
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about__image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about__text p {
  margin-bottom: 1rem;
}

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

.project-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.project-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.project-card:hover .project-card__image img {
  transform: scale(1.05);
}
.project-card__content {
  padding: 2rem;
}
.project-card__title {
  margin-bottom: 1rem;
}
.project-card__description {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.project-card__links {
  display: flex;
  gap: 1rem;
}

.contact {
  background-color: #f5f5f5;
  text-align: center;
}
.contact__text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 3rem 0;
}
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.footer__copyright {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 2rem;
}
.social-links a {
  color: #fff;
  font-size: 1.5rem;
}
.social-links a:hover {
  color: #667eea;
}

.back-to-top {
  color: #fff;
  font-size: 1.5rem;
}
.back-to-top:hover {
  color: #667eea;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .hero__title {
    font-size: 1.75rem;
  }
  .hero__subtitle {
    font-size: 1rem;
  }
  .about__content {
    grid-template-columns: 1fr;
  }
  .footer__content {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 50px 0;
    min-height: auto;
  }
  .hero__title {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .projects__grid {
    grid-template-columns: 1fr;
  }
  .social-links {
    gap: 1rem;
  }
}