body, html {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000000b7;
  /* padding: 30px; */
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 1107px;
  /* height: 60vh; */
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeIn 2s forwards;
}

.about-section:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.112);
}

.about-image {
  position: relative;
  width: 400px;
  height: auto;
  margin-right: 30px;
}

.about-image img {
  position: absolute;
  top: -195px;
  left: 40px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  }
  
  .about-image img:nth-child(1) {
    z-index: 3;
  }
  
  .about-image img:nth-child(2) {
    z-index: 5;
    animation: pulse 3s infinite;
  
  }
  
  .about-image img:nth-child(3) {
    z-index: 1;
  }
.about-image img:hover {
  transform: scale(1.08);
}

.about-content {
  flex: 1;
  padding-left: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-content h2 {
  font-size: 36px;
  margin-top: 10px;
  margin-bottom: -10px;
  color: #ffcc99;
  text-shadow: 0 0 5px black, 0 0 10px black;

}
  .about-content h2::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #7e7e7e;
    bottom: -10px;
    left: 0;
    border-radius: 5px;
  }


  .about-content p {
    font-size: 18px;
    line-height: 1.2;
    /* margin-bottom: 30px;*/
}

.highlight {
  color: #ffcc99;
  font-weight: bold;
}

.about-content p em {
  color: #ff9966;
  font-style: italic;
}

.about-content p strong {
  color: #ffffff;
  font-weight: 700;
}

.about-content button {
  padding: 15px 35px;
  background: linear-gradient(135deg, #ff9966, #ffcc99);
  color: #393939;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.about-content button:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ff9966, #ffbb88);
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
        padding: 20px;
        max-width: 90%;
  }

  .about-image {
    width: 250px;
    margin-bottom: 20px;
  }

  .about-content {
    padding-left: 0;
    text-align: center;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 16px;
  }

  .about-content button {
    width: 100%;
    font-size: 14px;
  }
}
