.about-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.about-hero {
  text-align: center;
  background: #2A9D8F;
  color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.about-hero h2 {
  margin-top: 0;
}

.about-photo {
  text-align: center;
  margin-bottom: 20px;
}

.about-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.about-summary, .about-personal {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-summary h3, .about-personal h3 {
  color: #264653;
  margin-top: 0;
}

.about-summary p, .about-personal p {
  font-size: 15px;
  line-height: 1.6;
}

.about-photo {
  text-align: center;
  margin-bottom: 20px;
}

.about-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.photo-caption {
  margin-top: 10px;
}

.photo-caption h3 {
  margin: 5px 0 0 0;
  font-size: 18px;
  color: #264653;
}

.photo-caption p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

.contact-cta {
  text-align: center;
  background: #E9C46A;
  padding: 30px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.contact-cta p {
  margin: 0 0 10px 0;
  color: #264653;
  font-weight: bold;
}

.contact-button {
  display: inline-block;
  background: #264653;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background: #2A9D8F;
}

.social-links {
  text-align: center;
  margin: 40px 0;
}

.social-links h3 {
  margin-bottom: 10px;
  color: #264653;
}

.social-icons a {
  margin: 0 10px;
  color: #264653;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #2A9D8F;
}

/* This styles the link to the hidden Social Page */
.social-link-top {
  text-align: right;
  background: #f7f9fa;
  padding: 10px 20px 0 0;
}

.social-link-top a {
  text-decoration: none;
  color: #2A9D8F;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-link-top a:hover {
  color: #264653;
  text-decoration: underline;
}

/* The social style code ends here  */

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
}