nav {
    border-bottom: 2px solid orange;
}


.about-hero {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 1px 10%;
  background: #f9f9f9;
}

.about-content {
  flex: 1;
}

.about-content h1 {

  font-size: 3rem;
  color: #333;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

.about-content h2 {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;

}

.about-content p {
  line-height: 1.8;
  color: #666;
  font-size: 1.5rem;
  width: 50%;         /*Required: Define a width*/
  margin: 0 auto;     /*Auto-calculates equal left/right margins */
/*  display: block;     Ensures it behaves as a block element */

  margin-bottom: 1rem;
}


.about-image {
  border: 1px solid #D4D4D4;
  margin-top: 20px;
  padding-bottom: 20px;
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover effect for extra polish */
.about-image:hover img {
  transform: scale(1.05);
}
