/* Define your color scheme here for easy modifications */
:root {
  --primary-color: #1F3B4D;      /* Main heading & section titles */
  --secondary-color: #3E7A99;    /* Subsection headings */
  --accent-color: #E27D60;       /* Accent elements (if needed) */
  --background-color: #F4F4F9;   /* Page background */
  --text-color: #333333;         /* Default text color */
  --separator-color: #D8D8D8;    /* Color for the horizontal rules */
}

/* Basic Reset and Typography */
body {
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

/* Container for the whole page */
.achievements-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.achievements-container h1 {
  margin: 6rem auto 2rem auto;
}

/* Section styling */
.achievement-section {
  margin-bottom: 40px;
}

.achievement-section h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--separator-color);
  padding-bottom: 5px;
  margin-bottom: 20px;
}

/* Individual achievement items */
.achievement-item {
  padding: 10px 0;
}

.achievement-item h3 {
  color: var(--secondary-color);
  margin-bottom: 5px;
}

/* Separator styling */
.section-separator {
  border: 0;
  height: 1px;
  background-color: var(--separator-color);
  margin: 20px 0;
}

/* Optional: Styling for attachments (images, pdf links) */
.attachment {
  margin-top: 10px;
}

.attachment a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.attachment img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 5px;
}

  /* Styling for Scope & Sequence Image Thumbnails */
  .gallery-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
  }

  .scope-thumbnail {
    width: 150px; /* Adjusted thumbnail size */
    height: auto;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
  }

  .scope-thumbnail:hover {
    transform: scale(1.1);
  }

  /* Lightbox styling */
  #lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  #lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
  }

  #close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }