.image-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%; /* Adjust as needed */
    margin: 0 auto;
  }
  
  .centered-image {
    max-width: 100%; /* Prevents the image from overflowing */
    height: auto;    /* Maintains aspect ratio */
  }
  
  .centered-text {
    margin-top: 10px; /* Space between the image and text */
    font-size: 16px;  /* Adjust text size as needed */
    color: #333;      /* Adjust text color as needed */
  }
/* General container for centering content */
.about-me-section {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    padding: 40px 20px; /* Top/bottom padding and side gutters */
    box-sizing: border-box;
    background-color: #f9f9f9; /* Optional: Adds a subtle background color */
  }
  
  /* Internal container for section layout */
  .about-me-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 20px; /* Space between text and image */
    max-width: 1200px; /* Limits width of the section */
    width: 100%; /* Ensures it scales to the viewport */
    margin: 0 auto; /* Centers the entire container with equal margins */
    align-items: center; /* Vertically aligns the text and image */
  }
  
  /* Text content styling */
  .about-me-text {
    flex: 2; /* 2/3 width */
    max-width: 66%; /* Prevents exceeding 2/3 split */
    text-align: left; /* Left-align text */
  }
  
  .about-me-text h1 {
    font-size: 2.5rem; /* Adjusts headline size */
    margin-bottom: 15px;
    text-align: left; /* Centers the heading */
  }
  
  .about-me-text .intro-line {
    font-size: 1.5rem; /* Larger first line */
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }
  
  .about-me-text p {
    line-height: 1.6;
    color: #555;
  }
  
  /* Image styling */
  .about-me-image {
    flex: 1; /* 1/3 width */
    max-width: 33%;
  }
  
  .about-me-image img {
    width: 100%; /* Ensures image is responsive */
    height: auto;
    border-radius: 10px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .about-me-text,
    .about-me-image {
      max-width: 100%; /* Full-width on smaller screens */
      flex: none;
    }
  
    .about-me-text h1 {
      font-size: 2rem;
    }
  
    .about-me-text .intro-line {
      font-size: 1.25rem;
    }
  }
  
  /* PDF Section Styling */
.pdf-section {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
    max-width: 1200px;
  }
  
  .pdf-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  /* PDF Viewer Styling */
  .pdf-viewer {
    width: 100%;
    height: 600px; /* Adjust height as needed */
    border: none; /* Removes the iframe border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow */
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .pdf-viewer {
      height: 400px; /* Reduces height for smaller screens */
    }
  }
  
  /* Make embedded CV PDF page-width on desktop for about-cv.html */
.cv-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
}
.cv-section iframe {
  width: 100%;
  min-height: 80vh;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .cv-section iframe {
    min-height: 60vh;
  }
}

/* Prettier CV download button for about-cv.html */
.pdf-section .cv-download-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-family: 'Sofia', cursive;
  color: #fff;
  background: linear-gradient(90deg, #A47DAB 0%, #dceaf7 100%);
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(164,125,171,0.12);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  margin: 16px 0;
}
.pdf-section .cv-download-btn:hover {
  background: linear-gradient(90deg, #dceaf7 0%, #A47DAB 100%);
  box-shadow: 0 4px 16px rgba(164,125,171,0.18);
  color: #333;
}

/* Professional CV download button with palette colors */
.cv-download-btn {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 16px auto;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Professional font stack */
  color: #fff;
  background-color: #db8180;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s;
}
.cv-download-btn:hover {
  background-color: #e49b9a; /* Slightly lighter hover color */
  color: #fff;
}

/* Make PDF embed full width and height for about-cv.html */
.pdf-section iframe.pdf-viewer {
  width: 100%;
  min-height: 80vh;
  max-width: 1200px;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pdf-section iframe.pdf-viewer {
    min-height: 60vh;
    max-width: 100vw;
    border-radius: 0;
  }
}