.about-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 80px;
  z-index: 3;
}

.about-card{
  position: relative;   
  overflow: visible;  
  display: flex;
  flex-direction: row; 
  
  width: 90%;
  max-width: 1500px;
  min-height: 600px;
  
  margin: 20px;

  background: radial-gradient(87.68% 50% at 50% 50%, #130091 25.48%, #0B0056 87.5%);
  border-radius: 1.25rem;
  box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.9);
}

.about-image {
  overflow: visible;

  flex: 1;    
  display: flex;
  justify-content: center;
  
  padding: 0 40px;
}

.about-image img {
  overflow: visible; 

  display: block;
  
  max-width: 100%;
  height: auto;
  
  margin-top: -80px;    
  object-fit: cover;    
}

.about-content {
  padding-top: 2rem;
  text-align: left;
  font-family: 'Sora', sans-serif;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(1rem, 5vw, 4rem);
}   

/******************************************** MOBILE VIEW  *********************************************/
@media (max-width: 1350px) {
  .about-section { margin-top: 20px; }

  .about-card { flex-direction: column-reverse; }

  .about-content {
    flex: 2;
    padding: clamp(1rem, 5vw, 4rem);
    padding-top: 3rem;
  }

  .about-image  { flex: 3; }

  .about-image img{
    width: clamp(450px, 50vw, 600px);
    height: auto;
    margin: 0;
  }
}

/********************************************************************************************************/

.tech-group{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  
  gap: 20px;
  margin-top: 20px;
}


.teck-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo{
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;           
  background-position: center center; 
  background-size: contain;        
  border-radius: 12px;
}

.about-content h2{
  font-size: 2.75rem;
  font-weight: 500;
  margin-bottom: 2.25rem;
}

.about-content h3{
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 10px;
  margin-top: 2.25rem;
}

.about-content p{ font-size: 1.5rem; }

.teck-item p{ margin-top: 1rem; font-size: 1.2rem; }

@media (max-width: 700px) {
    
.skill-name {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  padding: 4px 8px;
  background: #222;
  color: white;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 0.85rem;
  z-index: 10;
}
.skill-logo {
  position: relative;
  display: inline-block;
  cursor: pointer;
}


.skill-logo:hover .skill-name,
.skill-logo:focus-within .skill-name,
.skill-logo.active .skill-name {
  display: block;
}
}



/********************************************************************************************************/

.certs-grid {
  width: 90%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 40px;
  margin: 20px auto 40px;
}

.cert-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e1e2e1;
  min-height: 100px;
  height: 100%;
  background: radial-gradient(87.68% 50% at 50% 50%, #130091 25.48%, #0B0056 87.5%);
  
  border-radius: 1.25rem;
  box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.9);
  padding: 20px;
}

.cert-image{
  align-self: center;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
}

.cert-placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 50%;
  height: 0;
  padding-bottom: 50%;
  border-radius: 50%;
  margin-bottom: 15px;
}
/******************/

.cert-card.in-progress .cert-image {
  filter: grayscale(100%) brightness(0.85);
  opacity: 0.75;
}

.cert-card h3{
  font-size: 1.55rem;
  text-decoration: none;
  font-weight: 400;
  margin-top: clamp(0.5rem, 30vw, 1.25rem);
  margin-bottom: 5px;
  text-align: center;
}

@media (max-width: 1300px) {
  .certs-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

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