/* About section styling with modern tech aesthetic */

.about-section {
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

/* Add subtle tech background elements */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 35%, rgba(91, 152, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(56, 214, 174, 0.05) 0%, transparent 50%);
  z-index: -1;
}

/* Tech-inspired heading with gradient */
.about-section .section-title {
  background: linear-gradient(90deg, #5B98FF 0%, #38D6AE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* Core Skills section */
.about-core-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.skill-pill {
  background-color: rgba(91, 152, 255, 0.1);
  border: 1px solid rgba(91, 152, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.skill-pill:hover {
  background-color: rgba(91, 152, 255, 0.2);
  transform: translateY(-2px);
}

.skill-pill i {
  color: var(--bs-accent);
  font-size: 1rem;
}

/* Bio highlight styling */
.bio-highlight {
  background: linear-gradient(90deg, #5B98FF 0%, #38D6AE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* About bio styling */
.about-bio {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Tech stack icons */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.tech-icon img {
  width: 100%;
  height: auto;
}

.tech-icon:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.15);
}

/* CTA buttons */
.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-outline-tech {
  background-color: transparent;
  color: #fff;
  border: 1px solid var(--bs-accent);
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-tech:hover {
  background-color: rgba(91, 152, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* Stats card with modern design */
.about-stats-card {
  background-color: var(--bs-light-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  background: linear-gradient(90deg, #5B98FF 0%, #38D6AE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Companies worked with section */
.companies-worked-with {
  background-color: var(--bs-light-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.companies-worked-with h5 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

/* Improved company logo grid with tag-like appearance */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.logo-item {
  background-color: rgba(91, 152, 255, 0.08);
  border: 1px solid rgba(91, 152, 255, 0.2);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
}

.logo-item:hover {
  background-color: rgba(91, 152, 255, 0.15);
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 991px) {
  .about-section {
    padding: 3rem 1rem;
  }
  
  .about-stats-card {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: 2.5rem 1rem;
  }
  
  .about-bio {
    font-size: 1.1rem;
  }
  
  .about-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-outline-tech {
    width: 100%;
    justify-content: center;
  }
  
  .skill-pill {
    font-size: 0.8rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .logo-grid {
    gap: 0.6rem;
  }
  
  .logo-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    flex-grow: 1;
    flex-basis: calc(50% - 0.6rem);
  }
}
