:root {
      /* Typography System */
  --font-primary: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, monospace;

  --text-rendering: optimizeLegibility;
  --min-fs: 1;
  --max-fs: 1.5;
  --min-vw: 20;
  --max-vw: 45;

  --min-fs-rem: calc(var(--min-fs) * 1rem);
  --max-fs-rem: calc(var(--max-fs) * 1rem);
  --min-vw-rem: calc(var(--min-vw) * 1rem);

  --slope: calc((var(--max-fs) - var(--min-fs)) * (100vw - var(--min-vw-rem)) / (var(--max-vw) - var(--min-vw)));
  font-size: clamp(var(--min-fs-rem), calc(var(--min-fs-rem) + var(--slope)), var(--max-fs-rem));
  /* Container sizes */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;

  /* Spacing system */
  --spacing-unit: 0.25rem;
  --spacing-xs: calc(var(--spacing-unit) * 2);
  --spacing-sm: calc(var(--spacing-unit) * 4);
  --spacing-md: calc(var(--spacing-unit) * 6);
  --spacing-lg: calc(var(--spacing-unit) * 8);
}

/* Improved container component */
.inlay {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Responsive container variations */
@media (max-width: 1200px) {
  .inlay {
    max-width: var(--container-md);
    padding: 0 var(--spacing-sm);
  }
}

@media (max-width: 768px) {
  .inlay {
    max-width: var(--container-sm);
    padding: 0 var(--spacing-xs);
  }
}


body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: var(--text-rendering);
  background-color: #ffffff;
  color: #222;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

.site-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.inlay {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  font-weight: 500;
  color: #333;
}

.nav-links li a:hover {
  color: #0073e6;
}

.nav-links li a:focus {
  outline: 2px solid #0073e6;
  outline-offset: 2px;
}

/* Responsive navigation */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: var();
    align-items: flex-start;
  }
}
.main-content {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.all-featured-cards {
    margin-top: 20px;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-item img {
    max-width: 90%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.card-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.card-item a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.card-item a:hover {
    text-decoration: underline;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  margin: auto;
  z-index: 1;
  padding: 2rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  box-sizing: border-box;

}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent black background */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: transparent;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 900px; /* Limit maximum width for better rendering */
}

/* The Close Button */
.close {
  color: white;
  position: relative;
  top: 15px;
  right: 30px;
  font-size: 60px;
  font-weight: bold;
  z-index: 2;
}

.close:hover,
.close:focus {
  color: #ccc;
  text-decoration: none;
  cursor: pointer;
}

/* Full-screen image styling */
.modal-content .mySlides img.full-image {
  width: 100%; /* Make the image responsive */
  max-width: 100%; /* Prevent overflow */
  max-height: 80vh; /* Ensure the image fits within the viewport height */
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* Add rounded corners for aesthetics */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Add subtle shadow for visibility */
}

/* Caption styling */
.caption-container {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black for contrast */
  color: white;
  padding: 10px;
  font-size: 16px;
  position: relative;
  border-radius: 0 0 8px 8px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .modal-content {
    width: 95%; /* Slightly increase the width on smaller devices */
  }

  .modal-content .mySlides img.full-image {
    max-height: 75vh; /* Adjust max height for smaller screens */
    border-radius: 4px;
  }

  .caption-container {
    font-size: 14px; /* Slightly smaller caption on smaller screens for readability */
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 100%;
  }

  .modal-content .mySlides img.full-image {
    max-height: 70vh; /* Adjust height further for smaller viewport */
    border-radius: 2px;
  }

  .caption-container {
    font-size: 12px; /* Scale down caption size for very small devices */
    padding: 8px;
  }
}


/* Form container */
form {
  background-color: #f9f9f9; /* Soft background for form */
  border: 1px solid #ddd; /* Subtle border */
  border-radius: 8px; /* Rounded corners */
  padding: 2rem; /* Internal padding for comfortable spacing */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  max-width: 600px; /* Limit maximum width for readability */
  margin: 2rem auto; /* Center form horizontally */
}

/* Fieldset Styling */
fieldset {
  border: 1px solid #ccc; /* Light border for separation */
  border-radius: 8px; /* Rounded corners */
  padding: 1.5rem; /* Consistent spacing for internal content */
  margin-bottom: 1.5rem; /* Separate fieldsets visually */
}

/* Legend Styling */
legend {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  padding: 0 0.5rem; /* Padding around text for better display */
}

/* Input and Textarea Styling */
.form-input,
.form-textarea {
  width: 100%; /* Full width for consistency */
  padding: 0.75rem; /* Comfortable padding inside fields */
  font-size: 1rem; /* Modern readable font size */
  border: 1px solid #bbb; /* Subtle border */
  border-radius: 4px; /* Rounded corners */
  margin-top: 0.5rem; /* Space between label and input */
  box-sizing: border-box; /* Prevent overflow on padding */
}

.form-input:focus,
.form-textarea:focus {
  border-color: #0073e6; /* Highlight on focus */
  outline: none; /* Remove default focus outline */
  box-shadow: 0 0 4px rgba(0, 115, 230, 0.5); /* Subtle glow */
}

/* Label Styling */
label.form-label {
  font-weight: 600; /* Slightly bold label text */
  color: #444; /* Dark text for contrast */
}

/* Small helper text */
small {
  display: block; /* Ensure new line for readability */
  font-size: 0.85rem; /* Smaller font for additional hints */
  color: #666; /* Grey color for secondary emphasis */
  margin-top: 0.2rem; /* Space between input and helper text */
}

/* Submit Button Styling */
button[type="submit"] {
  background-color: #0073e6; /* Primary button color */
  color: white; /* Text color for contrast */
  font-size: 1rem; /* Modern readable size */
  font-weight: bold; /* Emphasize the button */
  padding: 0.75rem 2rem; /* Balance width and height */
  border: none; /* No border for cleaner design */
  border-radius: 4px; /* Rounded corners for aesthetic */
  cursor: pointer; /* Show pointer to users */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  background-color: #005bb5; /* Slightly darker hover state */
}

/* Align centered content */
.inlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Response Adjustments for Smaller Screens */
@media (max-width: 768px) {
  form {
    padding: 1.5rem;
    margin: 1rem;
  }

  fieldset {
    padding: 1rem;
  }

  legend {
    font-size: 1rem;
  }

  button[type="submit"] {
    width: 100%; /* Full width button on smaller devices */
  }
}

/* Form container */
form {
  background-color: #f9f9f9; /* Soft background for form */
  border: 1px solid #ddd; /* Subtle border */
  border-radius: 8px; /* Rounded corners */
  padding: 2rem; /* Internal padding for comfortable spacing */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  max-width: 600px; /* Limit maximum width for readability */
  margin: 2rem auto; /* Center form horizontally */
}

/* Fieldset Styling */
fieldset {
  border: 1px solid #ccc; /* Light border for separation */
  border-radius: 8px; /* Rounded corners */
  padding: 1.5rem; /* Consistent spacing for internal content */
  margin-bottom: 1.5rem; /* Separate fieldsets visually */
}

/* Legend Styling */
legend {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  padding: 0 0.5rem; /* Padding around text for better display */
}

/* Input and Textarea Styling */
.form-input,
.form-textarea {
  width: 100%; /* Full width for consistency */
  padding: 0.75rem; /* Comfortable padding inside fields */
  font-size: 1rem; /* Modern readable font size */
  border: 1px solid #bbb; /* Subtle border */
  border-radius: 4px; /* Rounded corners */
  margin-top: 0.5rem; /* Space between label and input */
  box-sizing: border-box; /* Prevent overflow on padding */
}

.form-input:focus,
.form-textarea:focus {
  border-color: #0073e6; /* Highlight on focus */
  outline: none; /* Remove default focus outline */
  box-shadow: 0 0 4px rgba(0, 115, 230, 0.5); /* Subtle glow */
}

/* Label Styling */
label.form-label {
  font-weight: 600; /* Slightly bold label text */
  color: #444; /* Dark text for contrast */
}

/* Small helper text */
small {
  display: block; /* Ensure new line for readability */
  font-size: 0.85rem; /* Smaller font for additional hints */
  color: #666; /* Grey color for secondary emphasis */
  margin-top: 0.2rem; /* Space between input and helper text */
}

/* Submit Button Styling */
button[type="submit"] {
  background-color: #0073e6; /* Primary button color */
  color: white; /* Text color for contrast */
  font-size: 1rem; /* Modern readable size */
  font-weight: bold; /* Emphasize the button */
  padding: 0.75rem 2rem; /* Balance width and height */
  border: none; /* No border for cleaner design */
  border-radius: 4px; /* Rounded corners for aesthetic */
  cursor: pointer; /* Show pointer to users */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  background-color: #005bb5; /* Slightly darker hover state */
}

/* Align centered content */
.inlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Response Adjustments for Smaller Screens */
@media (max-width: 768px) {
  form {
    padding: 1.5rem;
    margin: 1rem;
  }

  fieldset {
    padding: 1rem;
  }

  legend {
    font-size: 1rem;
  }

  button[type="submit"] {
    width: 100%; /* Full width button on smaller devices */
  }
}

/* Footer System */
.site-footer {
  background-color: #f1f1f1;
  padding: var(--spacing-lg) var(--spacing-md);
  margin-top: auto;
  border-top: 1px solid #ddd;
}

.footer-container {
  max-width: var(--container-lg);
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.footer-links li a {
  color: #333;
  font-weight: var(--fw-normal);
  transition: color 0.2s ease;
}

.footer-links li a:hover,
.footer-links li a:focus {
  color: #0073e6;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    text-align: left;
    gap: var(--spacing-xs);
  }
}
.gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
        padding: 20px;
    }

.gallery img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        transition: transform 0.3s;
        cursor: pointer;
    }
.gallery img:hover {
        transform: scale(1.05);
    }

    /* Lightbox styles */
.lightbox {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
    }

.lightbox img {
        max-width: 90vw;
        max-height: 90vh;
        object-fit: contain;
        width: auto;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }

.lightbox:target {
        display: flex;
}

.close {
        position: fixed;
        top: 20px;
        right: 30px;
        font-size: 30px;
        color: white;
        text-decoration: none;
}