/* Profile Section */
.profile-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.profile-picture {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-name {
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: #333;
}

.profile-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #0077b5;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background-color: #005885;
  transform: translateY(-2px);
}

.social-links i {
  font-size: 20px;
}

/* Projects Section */
.projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

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

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  margin-bottom: 2rem;
  break-inside: avoid;
  display: inline-block;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.project-title a {
  text-decoration: none;
  color: #333;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 1rem 0;
}

.company-badge {
  background-color: #e9ecef;
  color: #333;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
}

.project-description {
  margin: 0 0 1.5rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.project-link:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.project-link:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .projects,
  .profile-section {
    padding: 1rem;
  }

  .projects h2 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 650px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
