/* Global Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f8f9fa;
  color: #333;
}

header {
  background-color: #007bff;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.menu {
  display: flex;
}

.menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: white;
  height: 3px;
  width: 25px;
  margin: 5px 0;
}

/* Profile Section */
.profile-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.profile-card {
  display: inline-block;
  padding: 20px;
  background: #007bff;
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s;
}

.profile-logo img {
  width: 140px;
  height: auto;
  border-radius: 30%;
  margin-bottom: 15px;
}

.profile-name {
  font-size: 24px;
  margin: 10px 0;
}

.profile-description {
  font-size: 16px;
}

/* Services Section */
.services-section {
  padding: 50px 20px;
  background-color: #f1f1f1;
}

.services-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-item {
  text-align: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  animation: slideUp 1s;
}

.service-item img {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
}

/* Projects Section */
.projects-section {
  padding: 50px 20px;
}

.projects-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-item {
  text-align: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  animation: zoomIn 1s;
}

.project-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Games Section */
.games-section {
  padding: 50px 20px;
  background-color: #f1f1f1;
}

/* Contact Section */
.contact-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

form {
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* Footer */
footer {
  padding: 20px;
  background-color: #333;
  color: white;
  text-align: center;
}

footer a {
  color: #007bff;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: #007bff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border-radius: 10px;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }
}
