/* About Page Styles */

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.about-container {
  display: flex;
  gap: 4rem;
  background: var(--light-bg);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Image Section */
.about-image {
  flex: 0 0 350px;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(93, 63, 211, 0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(93, 63, 211, 0.4);
}

.about-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.about-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--dark-bg);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.about-social a:hover {
  background: rgba(93, 63, 211, 0.1);
  color: var(--accent-color);
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

/* About Text Section */
.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--medium-text);
}

.about-text h3 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--light-text);
  position: relative;
  padding-bottom: 0.5rem;
}

.about-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.skill-category {
  background: rgba(10, 10, 18, 0.4);
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.skill-category h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.skill-category h4 i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skills-list span {
  background: rgba(93, 63, 211, 0.15);
  color: var(--light-text);
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-size: 0.9rem;
  border: 1px solid rgba(93, 63, 211, 0.3);
  transition: all 0.3s ease;
}

.skills-list span:hover {
  background: rgba(93, 63, 211, 0.3);
  transform: translateY(-3px);
}

/* Education Section */
.education {
  margin-top: 1.5rem;
}

.education-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.education-year {
  flex: 0 0 140px;
  color: var(--accent-color);
  font-weight: 600;
  position: relative;
  padding-left: 20px;
}

.education-year::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
}

.education-details h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--light-text);
}

.education-details p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--medium-text);
}

/* CTA Section */
.contact-cta {
  background: linear-gradient(to right, #1a001a, #0a0a12);
  padding: 5rem 0;
  text-align: center;
  margin-top: 4rem;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    padding: 2rem;
  }
  
  .about-image {
    flex: 0 0 auto;
    margin: 0 auto;
    max-width: 300px;
  }
  
  .skills-container {
    grid-template-columns: 1fr;
  }
  
  .education-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}
