#about {
  width: 100%;
  min-height: 100vh;
  height: auto;
  display: flex;
}

#containerAbout {
  display: none;
  margin-top: 10px;
  grid-template-columns: auto auto auto;
}

.aboutBox {
  display: flex;
  flex-direction: column;
  color: black;
  font-size: 14px;
  text-align: center;
  width: 100%;
  height: 29vh;
  align-items: center;
  text-align: center;
}

.aboutBox img {
  margin-top: 5px;
  margin-bottom: 5px;
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-bottom: 1px solid orange;
  border-top: 1px solid orange;
  border-radius: 14px;
}

.aboutTitle {
  padding: 25px;
  margin-top: 35px;
  color: orange;
  font-size: 22px;
  font-weight: 150;
}

.aboutDescription {
  border-top: 1px solid orange;
  padding-top: 25px;
  margin-left: 25px;
  margin-right: 25px;
}

.about-modern {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  color: #222;
  gap: 60px;
  margin: 0 auto;
}

.about-modern img {
  width: 400px;
  max-width: 90vw;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.about-modern-content {
  max-width: 600px;
}

.about-modern-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #000;
}

.about-modern-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #444;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-feature i {
  font-size: 24px;
  color: orange;
}

.about-feature span {
  font-weight: 600;
  font-size: 16px;
  color: #222;
}

.about-modern-gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-modern-gallery img {
  width: 400px;
  max-width: 90vw;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.about-contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.about-social-icons {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-social-icons a {
  font-size: 30px;
  color: #222;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-social-icons a:hover {
  transform: scale(1.2);
}

.about-social-icons a:nth-child(1):hover {
  color: #1877f2;
}
.about-social-icons a:nth-child(2):hover {
  color: #ff0000;
}
.about-social-icons a:nth-child(3):hover {
  color: #000; 
}


@media (max-width: 950px) {
  #about {
    display: flex;
  }
  .about-social-icons {
    flex-direction: row;
    justify-content: center;
  }
  .about-contact-block{
    display: none;
    margin-top: -40px;
    margin-bottom:-90px;
    padding-left: 80px;
  }

  .about-social-icons a {
    font-size: 26px;
  }
  #containerAbout {
    display: none;
    position: relative;
    top: 0;
    flex-direction: column;
    grid-template-columns: auto auto auto;
  }

  .aboutTitle {
    font-size: 18px;
    margin: 0;
    margin-top: 60px;
  }

  .aboutDescription {
    margin-bottom: 120px;
  }

  .aboutBox img {
    margin-top: 80px;
    width: 100%;
    border-radius: 0;
    border: none;
  }

  .about-modern-gallery {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-modern-gallery img {
    display: none; 
    width: 100%;
  }
    .about-modern {
    flex-direction: column;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-feature {
    justify-content: center;
  }
}
