/* Full-width dark background panel */
.about-panel {
  background-color: #1a1a1a;
  padding: 80px 20px; /* Added horizontal padding */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* A more professional font */
}

/* Gold-boxed content wrapper */
.about-panel .about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px; /* Increased padding */
  border: 2px solid #ffd700;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Main content area with text and image */
.about-main {
  display: flex;
  align-items: flex-start;
  gap: 50px; /* Space between text and image */
  margin-bottom: 4rem;
}

.about-text {
  flex: 2; /* Allows text to take up more space */
}

.about-image {
  flex: 1;
  max-width: 350px; /* Controls the maximum area */
  margin-top: 20px;
  /* Optional: Center the image within its flex container if it's smaller than max-width */
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 300px;  /* Set a fixed width to make it square */
  height: 300px; /* Set a fixed height to make it square */
  object-fit: cover; /* Ensures the image covers the area, cropping if needed */
  border-radius: 50%; /* This makes it a perfect circle! */
  border: 2px solid #ffd700; /* Matching gold border */
}
/* Page title */
.about-wrapper h1 {
  font-size: 3rem; /* Slightly adjusted for balance */
  color: #ffd700;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left; /* Aligned with the text block */
}

/* Paragraphs */
.about-wrapper p {
  font-size: 1.2rem; /* Increased for readability */
  line-height: 1.8;  /* Increased for spacing */
  color: #eee;
  text-align: left; /* Justified text looks more formal */
  margin-bottom: 1.5rem;
}

/* Credentials section */
.about-credentials {
  text-align: center;
  border-top: 1px solid rgba(255, 215, 0, 0.5); /* A more subtle separator */
  padding-top: 3rem;
}

.about-credentials h2 {
  font-size: 2.5rem; /* Larger, more prominent heading */
  color: #ffd700;
  margin-bottom: 2.5rem;
}

.credentials-columns {
  display: flex;
  justify-content: center;
  gap: 80px;
  text-align: left;
}

.credential-item h3 {
  font-size: 1.5rem; /* Clearer sub-heading */
  color: #ffd700;
  margin-bottom: 1rem;
}

.credential-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credential-item ul li {
  font-size: 1.1rem; /* Much more legible */
  color: #eee;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .about-main {
    flex-direction: column; /* Stack text and image vertically */
    align-items: center;
    text-align: center;
  }
  .about-wrapper h1,
  .about-wrapper p {
    text-align: center;
  }
  .credentials-columns {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .credential-item {
    text-align: center;
  }
}