/* Layout */
.container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 1800px;
  margin: 0 auto;
}

/* Profile Sidebar */
.profile-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
  padding: 2rem;
  background: linear-gradient(145deg, #1a1a1a, #242424);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 400px;
  position: sticky;
  top: 2rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.profile-image {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, #8a2be2, #4a90e2);
}

.profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1a1a1a;
}

.profile-sidebar h1 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.8rem;
}

.title {
  text-align: center;
  color: #4a90e2;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-me {
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.about-me h2 {
  color: #4a90e2;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.about-me p {
  color: #ccc;
  line-height: 1.6;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(74, 144, 226, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(74, 144, 226, 0.2);
  transform: translateX(5px);
}

.social-links i {
  color: #4a90e2;
}

/* Main Content */
.main-content {
  padding: 1rem;
}

/* Skills Section */
.skills-section {
  display: grid;
  gap: 2rem;
}

.skill-category {
  background: linear-gradient(145deg, #1a1a1a, #242424);
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #892be2b0, #4a90e2);
}

.skill-category h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.skill-category h2 i {
  color: #4a90e2;
}

.subtitle {
  color: #888;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-item:hover {
  background: rgba(74, 144, 226, 0.1);
  transform: translateX(5px);
}

.skill-item img,
.skill-item i {
  width: 24px;
  height: 24px;
}

.skill-item i {
  color: #4a90e2;
}

/* Language Toggle Button */
.language-toggle {
  display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    grid-template-columns: 350px 1fr;
  }
}

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

  .profile-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
  }
}

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

  .container {
    padding: 1rem;
  }
}
