
:root {
  --primary: #10b981;
  --primary-dark: #047857;
  --primary-light: #d1fae5;
  --secondary-color: #1f2937;
  --text-color: #374151;
  --background-color: #f9fafb;
}

.about {
  background-color: #fff;
  padding: 0 5vw 80px 5vw;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.about__container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about__title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about__title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.about__text {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.about__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary-dark);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.about__panels .tab-panel {
  display: none;
}

.about__panels .tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-gap: 25px;
  row-gap: 15px;
}

.tab-panel li {
  color: var(--text-color);
  position: relative;
  padding-left: 25px;
  line-height: 1.6;
  font-size: 1rem;
}

.tab-panel li::before {
  content: '✓';
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
  font-size: 1.1rem;
}

.tab-panel small {
  color: #6b7280;
  font-size: 0.9rem;
}

#certs-panel ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.about__visuals {
  text-align: center;
}

.about__illustration img {
  max-width: 350px;
  width: 100%;
  height: auto;
}

.about__tools-title {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  margin: 30px 0 15px 0;
}

.about__tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.tool-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;

}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.15);
}


.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--primary-light) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.tool-card:hover::before {
  opacity: 1;
}


.tool-card__icon-wrapper {
  background-color: var(--background-color);
  padding: 20px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  z-index: 2;

}

.tool-card img {
  width: 48px;
  height: 48px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tool-card:hover img {
  transform: scale(1.1);
}


.tool-card__name {
  display: block;
  padding: 12px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  background-color: #fff;
  position: relative;
  z-index: 2;
  
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}




/* --- Responsive Design --- */
@media (max-width: 992px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about__content {
    text-align: center;
  }

  .about__title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about__tabs {
    justify-content: center;
  }

  #certs-panel ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about {
    padding: 60px 5vw;
  }

  .about__title {
    font-size: 2.2rem;
  }

  .about__tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #certs-panel ul {
    grid-template-columns: 1fr;
  }
}