/* Parchment Paper Style for Mission and Vision */
.parchment-section {
    background-image: url('../assets/images/about/parchment-background.svg'); /* SVG background */
    background-size: cover;
    padding: 40px;
    margin: 0 auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
    font-family: 'Georgia', serif; /* Traditional serif font */
    color: #3e2f1c; /* Dark brown text to mimic ink */
    line-height: 1.8;
    text-align: justify;
}

/* Title Styling */
.parchment-section h2 {
    font-size: 2.5em;
    color: #4f2a1f;
    text-align: center;
    margin-bottom: 20px;
}

/* Paragraph Styling */
.parchment-section p {
    font-size: 1.2em;
    text-align: justify;
    margin-bottom: 20px;
}

.speaking-engagement-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.speaking-engagement-section h3 {
    color: #333;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.speaking-engagement-section p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.speaking-engagement-section .cta-link {
    color: #1e90ff;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #1e90ff;
    transition: color 0.3s, border-bottom-color 0.3s;
}

.speaking-engagement-section .cta-link:hover {
    color: #FFB800;
    border-bottom-color: #FFB800;
}

/* General Styles for Parchment Section */
.parchment-section {
    max-width: 900px;
    padding: 40px;
    margin: 0 auto;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    color: #3e2f1c;
    line-height: 1.8;
    text-align: justify;
}

.chairman-image-container img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 50%; /* Round image */
    margin: 0 auto;
    display: block;
}

/* Responsive Design */

/* Medium screens (tablets, 768px and up) */
@media (min-width: 768px) {
    .parchment-section {
        padding: 30px;
    }

    .chairman-image-container img {
        max-width: 250px; /* Slightly larger for medium screens */
    }

    .speaking-engagement-section {
        margin-top: 40px;
    }

    .parchment-section h2, .parchment-section h3 {
        text-align: left; /* Align headings to the left for larger screens */
    }
}

/* Large screens (desktops, 992px and up) */
@media (min-width: 992px) {
    .parchment-section {
        padding: 50px;
        max-width: 1100px;
    }

    .chairman-image-container img {
        max-width: 300px; /* Larger size for high-resolution displays */
    }

    .speaking-engagement-section {
        margin-top: 50px;
    }

    .parchment-section p {
        font-size: 1.15em;
    }
}

/* Extra-large screens (1200px and up) */
@media (min-width: 1200px) {
    .parchment-section {
        padding: 60px;
    }

    .parchment-section h2 {
        font-size: 3em; /* Increase heading size for large displays */
    }

    .parchment-section p {
        font-size: 1.2em;
    }
}

/* Small screens (up to 600px) */
@media (max-width: 600px) {
    .parchment-section {
        padding: 20px;
        max-width: 100%;
    }

    .parchment-section h2 {
        font-size: 1.8em;
    }

    .parchment-section p {
        font-size: 1em;
        line-height: 1.5;
    }

    .chairman-image-container img {
        max-width: 150px; /* Smaller size for compact screens */
    }

    .speaking-engagement-section h3, .speaking-engagement-section p {
        font-size: 0.9em;
    }
}


.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.team-member h3 {
  margin: 15px 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4em;
  color: #4f2a1f;
}

.team-member p {
  font-size: 1em;
  line-height: 1.6;
  color: #3e2f1c;
  max-width: 700px;
}

/* Larger screens = side-by-side */
@media (min-width: 768px) {
  .team-member {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  .chairman-image-container {
    flex: 0 0 200px;
    margin-right: 20px;
  }
  .team-member h3, .team-member p {
    flex: 1;
  }
}
