:root {
  /* Layout */
  --head-foot-width: 100%;

  /* Fonts */
  --font-main: 'Nunito', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  /* Text */
  --text-color: #2E3A46;
  --text-size: 16px;
  --text-weight: 300;
  --heading-weight: 700;

  /* Shadows */
  --shadow-top: 0 -4px 8px rgba(0, 0, 0, 0.1);
  --shadow-bottom: 0 4px 8px rgba(0, 0, 0, 0.1);

  /* Buttons (keep for now, we’ll unify later) */
  --button-font: var(--font-heading);
  --button-weight: 700;
  --button-transition: transform 0.2s;
  --button-margin: 20px 0;

  /* Footer */
  --footer-color: #508d24;
  --footer-weight: 300;

  /* Misc */
  --cursor: pointer;
  --page-icon-size: 100px;
  --page-icon-opacity: 0.5;

  /* Social (leave these, they’re brand-specific) */
  --facebook: #4267B2;
  --instagram: #E1306C;
  --twitter: #000000;

  /* Brand Colours */
--primary: #2a6f8a;
--primary-hover: #255e74;
--primary-soft: #eaf4f8;

--text-main: #2E3A46;
--text-muted: #6b7c87;

--border-soft: #e6edf2;
--background-soft: #f9fbff;

--success: #508d24;
--warning: #f2c94c;
--danger: #d64545;

--accent-purple: #933c84; /* or whatever you want */
--accent-blue: #2a6f8a;   /* or similar to your primary */
--accent-green: #508d24; 
--border-strong: #000;
--success-green: #508d24;
}
a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}
body {
  font-family: var(--font-main);
  font-size: var(--text-size);
  line-height: 1.6;
  color: var(--text-color);
}
aside {
  display: block !important;
}
/* Icons you already use */
section .home-page-icon,
section .material-symbols-outlined {
    font-size: 3.2rem;
    color: #2a6f8a;
    margin-bottom: 1rem;
    opacity: 0.85;
}
/* Page background */
main {
    padding-bottom: 3rem;
}

/* Centre content when "centered-content" is used */
.centered-content {
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    section {
        padding: 2rem 1.3rem;
        border-radius: 16px;
        background: white;
    }

    section .material-symbols-outlined {
        font-size: 2.8rem;
    }
}
aside:first-of-type {
  margin-top: 90px;  /* Adjust this value based on your sticky header's height */
}
.header-container {
  width: var(--head-foot-width);
  box-shadow: var(--shadow-bottom);  /* Add a shadow at the top */
  margin-top: 20px; /* Add some space at the top */
}

.header-banner {
  width: var(--head-foot-width);
  max-height: 200px;
}
.page-overview-bold {
    color: #508d24;  /* green color */
    font-weight: bold;
}

 .centered-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-color);
  font-weight: var(--heading-weight);
}
p {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-main);

  line-height: 1.7;
  margin-bottom: 1.2em;
  max-width: 65ch;
}
q {
  font-weight: bold;
}
ul {
  list-style: none;
  padding-left: 20px;
  margin: 20px 0;
}

li {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px; /* space for custom bullet */
}
li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}
.heading-hr {
margin-top: 20px;  /* Adjust this value as needed */
    margin-bottom: 60px;  /* Adjust this value as needed */
}
.button-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.button {
  font-family: var(--button-font);
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #2f7d99);
  padding: 12px 20px; /* slightly more balanced */
  border: none;
  border-radius: 12px; /* smoother, more modern */
  color: #fff;
  font-weight: var(--button-weight);
  font-size: 0.95rem;
  text-decoration: none;
  cursor: var(--cursor);
  margin: var(--button-margin);
  transition: all 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); /* slightly softer + deeper */
  background: var(--primary-hover);
}
.button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.button:focus-visible {
  outline: 3px solid rgba(42, 111, 138, 0.4);
  outline-offset: 2px;
}
a.button {
  color: #fff;
}

a.button:hover {
  color: #fff;
}
.save-button {
  display: inline-block;
  background-color: #fff; /* White background */
  color: rgba(28, 76, 84, 0.8); /* Adapting the original color but making it a bit transparent */
  padding: 15px 20px;
  border: 2px solid rgba(28, 76, 84, 0.8);  /* 2px wide, solid, same color as text */
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-left: 0;
  transition: transform 0.2s; /* Optional: Smoothens the scaling effect */
}
.custom-button {
  display: inline-block;
  background-color: #fff; /* White background */
  color: rgba(28, 76, 84, 0.8); /* Adapting the original color but making it a bit transparent */
  padding: 15px 20px;
  border: 2px solid rgba(28, 76, 84, 0.8);  /* 2px wide, solid, same color as text */
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-left: 0;
  transition: transform 0.2s; /* Optional: Smoothens the scaling effect */
  
}

.save-button:active {
  transform: scale(0.65);
}
.delete-button {
  display: inline-block;
  background-color: #fff;
  color: rgba(28, 76, 84, 0.8);
  padding: 15px 20px;
  border: 2px solid rgba(28, 76, 84, 0.8);
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-left: 0;
  transition: transform 0.2s;

}

.delete-button::before {
  content: "\f2ed";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}
.delete-button:active {
  transform: scale(0.65);
}

/* Adding the Font Awesome icon */
.save-button::before {
  content: "\f019";  /* Unicode for the 'save' icon in Font Awesome */
  font-family: "Font Awesome 5 Free"; /* Font family for Font Awesome icons */
  font-weight: 900;  /* Necessary for Font Awesome */
  margin-right: 0.5em;  /* Spacing between the icon and the button text */}

/* Back to Top Button*/
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;    /* puts it in the bottom right */
    z-index: 9000;

    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;

    font-size: 24px;
    padding: 8px 16px;

    border: none;
    border-radius: 4px;
    cursor: pointer;

    opacity: 0;
    transition: opacity 0.3s ease-in-out;

    width: auto;         /* <-- fixes stretching */
    display: inline-flex; /* <-- stops full-width behaviour */
}

.poi-button::before {
    content: '\e941'; /* Unicode for the icon */
    font-family: 'Material Icons';
    display: inline-block;
    /* Additional styling for the icon */
    font-size: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

section {
    padding-bottom: 40px;  /* Adds a 20px padding at the bottom of each <section> */
    background: linear-gradient(135deg, #ffffff 0%, var(--background-soft) 100%);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Icon Styles*/

.page-heading-icon {
    font-size: 10em;
    opacity: 0.5;

}
.icon {
  font-size: 5em;
    opacity: 0.5;
}

.icon-container {
  margin-bottom: 20px;
}

.home-page-icon {
    font-size: 5em;
    opacity: 0.5;
    color: #000;  
    display: block; /* Will make it behave like a block element */
}
.icon-404 {
   font-size: 5em;
    opacity: 0.5;
}
.page-description-box {
    border: 2px solid #000;  /* Increased border thickness to 2px */
    padding: 10px;          /* Padding inside the box */
    margin: 10px;           /* Margin on all sides */
    background-color: transparent; /* Transparent background */
    width: calc(100% - 24px); /* Adjusting width to account for the increased      border and margin */
    box-sizing: border-box; /* Ensures that padding and border are included in the element's total width */
    border-radius: 10px;    /* Rounded corners */
    text-align: center;
    
}
.page-overview-bold {
    color: #508d24;  /* green color */
    font-weight: bold;
    
}

.on-this-page {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: green;
}
.on-this-page summary {
font-family: var(--font-main);  font-size: 16px;
  font-weight: 700;
  color: #508d24;
}
.on-this-page summary:hover {
  cursor: pointer;
}
.on-this-page:hover {
  cursor: pointer;
}


.details-container {
    list-style-type: none;  /* Removes bullet points */

}

.details-container li {
    text-decoration: underline;  /* Underlines list items */
    color: var(--accent-purple);
}

.disclaimer-box {
    background-color: rgba(255, 255, 204, 0.7); /* Very light, semi-transparent yellow */
    border: 2px solid #FFEB85; /* A slightly darker yellow border for contrast */
    padding: 10px;
    margin: 20px 0; /* Spacing above and below the box */
    border-radius: 5px; /* Rounded corners for a softer look */
    text-align: center;
}

.disclaimer-box p {
    color: #333; /* A dark grey color for the text to ensure it contrasts well with the light yellow background */
    margin-top: 20px; /* Adjust the value to control the space between paragraphs */

}
.disclaimer-box::before {
  content: "\e004";  /* Google Material icon Unicode character */
  font-family: 'Material Icons';  /* Google Material Icons font */
  font-weight: normal;
  font-size: 5em;
  opacity: 0.5;
  display: block;
  margin-bottom: 20px;
  
}
.ul-contacts {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}
.extra-condition-info-box {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.2rem 1.4rem 1.2rem 1.6rem;

    background: #f6faf9;
    border-radius: 12px;

    color: #2f5f73;
    box-sizing: border-box;
    overflow: hidden;
}

/* Soft left accent (like your new style direction) */
.extra-condition-info-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 4px;
    background: #b38cc8;
}

/* Subtle background icon (replaces the big centred one) */
.extra-condition-info-box::after {
    content: "\f51c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    position: absolute;
    right: 10px;
    bottom: -10px;

    font-size: 6rem;
    color: #b38cc8;
    opacity: 0.08;

    pointer-events: none;
}  
.your-story-box {
    position: relative;
    text-align: center;
    padding: 6em 20px 20px 20px; /* Adjusted padding: top, right/bottom/left */
    
    border: 1px solid black;
    border-radius: 10px;
    box-sizing: border-box;  /* This makes sure padding and border are included in total width/height */
}

.your-story-box::before {
    content: "\f0a1";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;  /* Adjusted top positioning */
    left: 50%;
    transform: translateX(-50%);
    font-size: 5em;
    opacity: 0.5;
      margin-bottom: 5em; /* Or use margin-bottom if needed */

}
.search-pages::before {
  content: '\e8b6'; /* This is the Unicode representation of the code point eaf6 */
  font-family: 'Material Symbols Outlined';
  display: inline-block; /* Aligns the icon with the text properly */
  font-size: var(--page-icon-size);
  vertical-align: middle; /* Centers the icon vertically relative to adjacent text */
}
.contact-us-page-grid-container {
    display: flex;          /* Use flexbox to layout items in a row */
    flex-wrap: wrap;        /* Allows items to wrap to next row if there isn't enough space */
    justify-content: center; /* Centers the items horizontally */
    text-align: center;  
}
.contact-us-page-grid-item {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* A more pronounced shadow */
    padding: 16px;         /* Padding inside each box */
    background-color: #ffffff;  /* Background color of the box */
    border-radius: 8px;    /* Rounded corners for each box */
    transition: transform 0.2s, box-shadow 0.2s; /* Transition for hover effect */
    width: 100%;           /* Ensures the item takes the full width of the container */
    max-width: 400px;      /* Optional: Limits the maximum width of the item */
    
}
.contact-us-socials-container {
  display: flex; /* Use flexbox to layout children side by side */
  justify-content: space-between; /* Distribute space evenly between the children */
  align-items: center; /* Align items vertically */
  gap: 10px; /* Adjust as needed for the desired gap between items */
}

/* Optional: Adding a hover effect for a slight "lift" effect */
.contact-us-page-grid-item:hover {
    transform: translateY(-5px);   /* Lifts the box slightly on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1); /* Slightly larger shadow on hover */
}

.explore-grid-container {
    display: flex;          /* Use flexbox to layout items in a row */
    flex-wrap: wrap;        /* Allows items to wrap to next row if there isn't enough space */
    gap: 20px;              /* Gap between items */
    justify-content: center; /* Centers the items horizontally */
    text-align: center;
}

.explore-grid-item {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* A subtle shadow at the bottom */
    padding: 16px;         /* Padding inside each box */
    background-color: #ffffff;  /* Background color of the box */
    border-radius: 8px;    /* Rounded corners for each box */
    transition: transform 0.2s, box-shadow 0.2s; /* Transition for hover effect */
}

/* Optional: Adding a hover effect for a slight "lift" effect */
.explore-grid-item:hover {
    transform: translateY(-5px);   /* Lifts the box slightly on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1); /* Slightly larger shadow on hover */
}
.faq > details {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* A subtle shadow at the bottom */
    padding: 16px;         /* Padding inside each box */
    background-color: #ffffff;  /* Background color of the box */
    border-radius: 8px;    /* Rounded corners for each box */
    transition: transform 0.2s, box-shadow 0.2s; /* Transition for hover effect */
    margin-bottom: 16px;   /* Spacing between each box */
}

/* Optional: Add a hover effect to elevate the box when hovered */
.faq > details:hover {
      cursor: pointer; /* Changes the cursor to a pointer icon */
    transform: translateY(-4px); /* Moves the box slightly upwards */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1); /* Increases the shadow depth */
}

.faq > details > summary {
    font-family: var(--text-font-family);
    color: var(--accent-purple);  /* Set the text color */
    font-weight: bold;  /* Make the text bold */
}

.faq > details,
.faq > details > summary,
.faq > details > p {
    text-align: center;  /* Align text to the centre */
}
.faq h2 {
  text-align: center;
}

.advanced-statement-faq > details {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* A subtle shadow at the bottom */
    padding: 16px;         /* Padding inside each box */
    background-color: #ffffff;  /* Background color of the box */
    border-radius: 8px;    /* Rounded corners for each box */
    transition: transform 0.2s, box-shadow 0.2s; /* Transition for hover effect */
    margin-bottom: 16px;   /* Spacing between each box */
}

/* Optional: Add a hover effect to elevate the box when hovered */
.advanced-statement-faq > details:hover {
    transform: translateY(-4px); /* Moves the box slightly upwards */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1); /* Increases the shadow depth */
}

.advanced-statement-faq > details > summary {
    color: var(--accent-purple);  /* Set the text color */
    font-weight: bold;  /* Make the text bold */
}

.advanced-statement-faq > details,
.advanced-statement-faq > details > summary,
.advanced-statement-faq > details > p {
    text-align: center;  /* Align text to the centre */
/* boxes */
}
.medical-advice-box {
  display: flex;
  justify-content: center; /* Centers children horizontally */
  align-items: center; /* Centers children vertically */
  flex-direction: column; /* Stack children vertically; remove if you want horizontal stacking */
  border: 2px solid #000;
  padding: 10px;
  margin: 10px;
  background-color: transparent;
  width: calc(100% - 24px);
  box-sizing: border-box;
  border-radius: 10px;
  position: relative; /* Keeps before pseudo-element positioning */
}

.medical-advice-box:hover {
      transform: scale(1.05);
}

.affirmations-box {
  border: 2px solid #000;
    padding: 10px;
    margin: 10px;
    background-color: transparent;
    width: calc(100% - 24px);
    box-sizing: border-box;
    border-radius: 10px;
    position: relative; /* Added so the ::before pseudo-element is positioned relative to this box */
    text-align: center; /* Centers the content inside */
}
.how-you-can-help-box {
    padding: 20px;                     /* Spacing inside the box */
    margin: 10px;                      /* Spacing outside the box (to create gaps) */
    border: 1px solid rgba(0, 0, 0, 0.6); /* Subtle border with 60% opacity */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Small shadow at the bottom */
    background-color: #ffffff;         /* White background, but you can change this */
    transition: all 0.3s ease;         /* Smooth transition for any interaction */
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* Optional: You can add a hover effect to make the box slightly pop-up */
.how-you-can-help-box:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

textarea {
    font-family: var(--font-main);
    font-weight: bold;
    width: 80%;
    height: 150px;
    padding: 10px;
    resize: vertical;
    border-radius: 10px; /* Adjust this value to get the desired roundness */
    border: 2px solid black; /* Adjust the 2px to increase thickness and 'black' is the color */
}
textarea::placeholder {
    color: var(--accent-blue);             /* Sets the color of the placeholder text */
    font-family: var(--font-main); /* Sets the font family of the placeholder text */
    font-weight: bold;          /* Makes the placeholder text bold */
}

.more-info-urls-box summary {
  color: var(--accent-purple);  /* Change to the color you desire */
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  text-align: center;
  cursor: pointer;
  
}
.centered {
  text-align: center;
}
.hidden { display: none; }

 .overview-grid-container {
    display: flex;
    justify-content: center; /* Center the content horizontally */
  }

  .overview-grid-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
  }

  .overview-tile {
    width: calc(33.33% - 10px);
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border-radius: 10px;
    transition: transform 0.2s;
  }

  .overview-tile:hover {
    transform: scale(1.05);
  }

  .overview-icon {
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.5;
  }

  /* You can add specific styles for each tile if needed */
  .overview-tile:nth-child(odd) {
    background-color: #f2f2f2;
  }

  .overview-tile:nth-child(even) {
    background-color: #e0e0e0;
  }
.full-image-container {
  text-align: center; /* Center the image and caption horizontally */
    margin: 20px 0; /* Add some margin around the container */
    display: flex; /* Use flexbox to center content */
    flex-direction: column; /* Stack image and caption vertically */
    align-items: center; /* Center items horizontally */
}
.image {
  width: 60vw; /* Set the image width to 60% of the viewport width */
  height: auto; /* Maintain the aspect ratio */
  max-width: 100%; /* Ensure the image does not exceed the container width */
}
.full-image-container {
  text-align: center; /* Center the image and caption horizontally */
  margin: 20px 0; /* Add some margin around the container */
  display: flex; /* Use flexbox to center content */
  flex-direction: column; /* Stack image and caption vertically */
  align-items: center; /* Center items horizontally */
}

.full-image-container img {
  width: 60vw; /* Set the image width to 60% of the viewport width */
  max-width: 70%; /* Ensure the image does not exceed the container width */
  height: auto; /* Maintain the aspect ratio */
}

.caption {
    font-family: var(--font-main);
    font-size: 14px; /* Set font size for the caption */
    color: #555; /* Optional: Set a color for the caption */
    margin-top: 8px; /* Add some space between the image and caption */
    font-weight: bold;
}
.ul-no li::before {
  content: "✗";
  color: var(--danger);
}

.ul-yes li::before {
  content: "✓";
  color: var(--success);
}

.ul-info li::before {
  content: "ⓘ";
  color: var(--primary);
}@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}
.shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}
.success-message::before {
  content: '\e2e6'; /* Code point for the 'task_alt' icon */
  font-family: 'Material Icons'; /* Ensures the correct font is used */
  display: inline-block;
  margin-right: 10px; /* Adjust spacing as needed */
  /* Additional styling as needed (color, font-size, etc.) */
  color: green; /* Example color */
  font-size: 1.5em; /* Example font size */
  vertical-align: middle; /* Aligns icon with the text */
}
footer {
  /* Background */
  background-color: #ffffff; /* fallback */
  background-image: url('/assets/images/company_logos/Footer-image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  box-shadow: 0 -2px 6ox rgba(0,0,0,0,.06);
  /* Layout */
  padding: 35px 16px 28px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Shared link list styling */
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 0;
  margin: 10px 0 10px 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  text-decoration: none;
  color: #356a73;          /* calm teal, readable */
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}
.footer-links li::before {
  content: none;
}

/* Social list just sits a touch lower */
.footer-socials-links a {
  font-size: 13px;
  opacity: 0.8;
}
/* Copyright text */
.footer-copyright {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 400;
  color: #808080;
  margin-top: 6px;
  line-height: 1.5;
}

/* Optional: make it breathe a bit more on large screens */
@media (min-width: 1024px) {
  footer {
    padding: 45px 40px 35px;
  }

  .footer-links a {
    font-size: 15px;
  }
}
.footer-trust {
  margin-top: 12px;
  opacity: 0.9;
}
/* =========================
   FOOTER NEWSLETTER
   ========================= */

.footer-newsletter {
  padding: 50px 20px;
}

.footer-newsletter-wrap {
  display: flex;
  justify-content: center;
}

.footer-newsletter-inner {
  position: relative;
  width: 100%;
  max-width: 460px;

  padding: 18px 20px 18px 26px;

  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: transparent;

  text-align: center;
}

/* Accent line */
.footer-newsletter-accent {
  position: absolute;
  left: 14px;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 4px;
  background: var(--warning);
  opacity: 0.6;
}

/* Heading */
.footer-newsletter-inner h2 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #3a3a3a;
}

/* Subtext */
.footer-newsletter-inner p {
  margin-bottom: 20px;
}

/* Form */
#footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Inputs */
#footer-newsletter-email,
#footer-newsletter-name {
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
}
/* Result box */
#footer-newsletter-result {
  margin-top: 15px;
  font-size: 15px;
  text-align: center;
}
.footer-newsletter-inner::before {
  content: "";
  position: absolute;
  left: 0;          /* attach to the left side */
  top: 18px;        /* same as old padding */
  bottom: 18px;
  width: 4px;       /* thin accent line */
  border-radius: 4px;
  background: var(--accent-green); /* site-wide accent */
  opacity: 0.6;
}

.feedback-form {
  position: fixed;
  left: -250px; /* Start off-screen */
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: 1px solid #ddd;
  padding: 20px;
  width: 200px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: left 0.5s;
  text-align: center;
}

/* Form visible */
.form-visible {
  left: 0;
}

/* Close Button Style */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  padding: 5px;
  border: none;
  background-color: transparent;
  font-size: 16px;
  font-weight: bold;
}

/* Optional: Hover effect for close button */
.close-button:hover {
  color: red;
}

.feedback-form button[type="submit"] {
  display: none;
}

.feedback-form label {
  display: inline-block; /* Display labels side-by-side */
  cursor: pointer;
  margin-right: 10px;
}

.feedback-form input[type="radio"] {
  display: none; /* Hide the radio button */
}

.feedback-form .feedback-icon {
  vertical-align: middle; /* Align icons vertically */
  font-size: 24px; /* Adjust size as needed */
}

.feedback-form input[type="radio"]:checked + .material-symbols-outlined {
  color: #4CAF50; /* Change color when selected, adjust as needed */
}
.bottom-of-page-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 10px;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.bottom-of-page-nav-button {
  padding: 10px 20px;
  border: 1px solid var(--accent-purple);
  background-color: rgba(147,60,132,0.5);
  color: white;
  font-family: var(--font-main);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
}

.bottom-of-page-nav-button:hover {
  background-color: var(--accent-purple);
  transform: translateY(-1px);
}

.bottom-of-page-nav-button:active {
  transform: scale(0.96);
}

.bottom-of-page-nav-button:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}

.nav-left-button::before {
  content: '\e408';
  font-family: 'Material Icons';
  font-size: 24px;
  margin-right: 8px;
}

.nav-right-button::after {
  content: '\e409';
  font-family: 'Material Icons';
  font-size: 24px;
  margin-left: 8px;
}

@media (max-width: 600px) {
  .bottom-of-page-nav-button {
    flex: 1 1 240px;
  }
}
 .page-nav {
    width: 100%;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    background-color: #f8f8f8;
    padding: 10px 0;
    box-sizing: border-box;
    font-family: var(--font-main);
  }

  .page-nav button {
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold; /* Makes the text bold */
    color: purple; /* Sets the text color to purple */
  }

  .page-nav .dropdown-content {
    display: none;
    width: 100%;
    text-align: center; /* Centers the dropdown content */
  }

  .page-nav .dropdown-content a {
    display: inline-block; /* Adjusts display for centering */
    padding: 8px 16px;
    text-decoration: none;
    color: green; /* Sets link color to green */
    font-weight: normal; /* Ensures links are not bold */
  }

  .page-nav .dropdown-content a.active {
    background-color: #ddd;
    text-decoration: none; /* Remove underline from the active link */
  }

  .page-nav-ul {
    list-style-type: none; /* Removes default list styling */
    padding: 0; /* Removes default padding */
  }

  .page-nav-ul li {
    /* Styles for list items */
    padding: 5px 10px; /* Example padding, adjust as needed */
  }
  
  /* Add this CSS to insert the Font Awesome icon before and after the active page */
  .page-nav-ul li a.active::after {
    content: "\f104"; /* Unicode for chevron-right icon */
    font-family: "Font Awesome 6 Free"; /* Font Awesome icon font family */
    margin-left: 5px; /* Adjust spacing as needed */
    font-weight: 900; /* Adjust icon weight as needed */
    font-size: 20px; /* Adjust icon size as needed */
  }

  .page-nav-ul li a.active::before {
    content: "\f105"; /* Unicode for chevron-left icon */
    font-family: "Font Awesome 6 Free"; /* Font Awesome icon font family */
    margin-right: 5px; /* Adjust spacing as needed */
    font-weight: 900; /* Adjust icon weight as needed */
    font-size: 20px; /* Adjust icon size as needed */
  }
  /* Add this CSS to remove underline from the active link */
.page-nav-ul li a.active {
    text-decoration: none; /* Remove underline from the active link */
}
.bottom-of-page-nav-container {
  display: flex; /* This makes the container a flexbox, which helps with alignment and distribution of child elements */
  justify-content: center; /* This centers the child elements horizontally */
  align-items: center; /* This centers the child elements vertically */
  flex-wrap: wrap; /* This allows child elements to wrap onto the next line if there's not enough room */
  gap: 10px; /* This adds space between the child elements */
  padding: 10px; /* This adds space inside the div, which is overwritten by the more specific padding-top and padding-bottom */
  padding-top: 20px; /* Adds additional space to the top inside the div */
  padding-bottom: 20px; /* Adds additional space to the bottom inside the div */
  margin-top: 20px; /* Adds space outside the div at the top */
  margin-bottom: 20px; /* Adds space outside the div at the bottom */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* Adds a shadow around the div */
}


.bottom-of-page-nav-button {
  padding: 10px 20px;
  text-align: center;
  border: 1px solid var(--accent-purple);
  background-color: rgba(147, 60, 132, 0.5);
  color: white;
  font-family: var(--font-main);
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
  white-space: nowrap;
  flex-grow: 0;
  flex-shrink: 0;
  transition: background-color 0.3s, transform 0.1s;
  text-decoration: none !important; /* Remove underline from links */
  display: inline-flex; /* Use inline-flex to center content and icons */
  align-items: center; /* Align icons and text vertically */
  justify-content: center; /* Center content horizontally */
}

.bottom-of-page-nav-button:hover {
  background-color: var(--accent-purple);
}

.bottom-of-page-nav-button:active {
  transform: scale(0.75);
}

.nav-left-button::before {
  content: '\e408';
  font-family: 'Material Icons';
  font-size: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.nav-right-button::after {
  content: '\e409';
  font-family: 'Material Icons';
  font-size: 24px;
  vertical-align: middle;
  margin-left: 8px;
}

/* Responsive adjustment for long button texts */
@media (max-width: 600px) {
  .bottom-of-page-nav-button {
    box-sizing: border-box;
    width: 100%; /* Optional: Make buttons full-width on smaller screens */
  }
}
.search-box-header-container {
  display: flex;
  justify-content: center; /* Horizontally center the content */
  align-items: center; /* Vertically center the content */
  height: 100px; /* Adjust the height as needed */
  background-color: #f5f5f5; /* Example background color */
}

.search-box {
  position: relative;
  display: inline-block;
}

input[type="text"] {
  width: 300px;
  padding: 20px 20px 20px 40px;
  margin-right: 5px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  height: 50px;
}

.search-box-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
}

.search-header-icon {
  font-size: 18px;
  color: #4CAF50;
}

.search-box-button:hover .material-symbols-outlined {
  color: #45a049;
}

.hidden {
  display: none;
}

.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 18px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);

  z-index: 2000;
  transition: all 0.25s ease;
}
.header-logo-link {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;   /* adjust for your logo width */
    height: 140px;  /* match your header height */
    display: block;
    cursor: pointer;
    z-index: 1500;
}
    /* CENTRED LOGO */
.header-logo-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000; /* above everything */
}

.header-logo-centre img {
  height: 80px;
  width: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-logo-centre img:hover {
  transform: scale(1.04);
  opacity: 0.9;
}
.nav-icon {
  margin-left: auto;
  margin-right: 40px;

  width: 42px;
  height: 42px;

  border-radius: 12px;
  background: var(--primary-soft);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-icon i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: all 0.2s ease;
}

.nav-icon:hover {
  background: var(--primary);
}

.nav-icon:hover i {
  color: #fff;
}.nav-icon i.hidden {
  display: none !important;
}
@media (max-width: 768px) {
  .nav-icon i {
      font-size: 40px; /* Smaller size for mobile devices */
  }
}
.slide-in-menu {
  position: fixed;
  top: 90px;
  right: 0;

  width: 85%;
  max-width: 380px;
  height: calc(100vh - 90px);

  /* glass effect */
  background: rgba(234, 244, 248, 0.85); /* matches --primary-soft */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-left: 1px solid rgba(255,255,255,0.4);

  box-shadow: -12px 0 30px rgba(0,0,0,0.08);

  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  z-index: 2001;
}

.slide-in-menu.active {
  transform: translateX(0);
}
.nav-menu-ul {
  list-style: none;
  padding-left: 15px;
}
.nav-menu-ul li {
  margin: 0;
}
.slide-in-menu .nav-menu-ul {
  padding-left: 0;
}

.slide-in-menu .nav-menu-ul li {
  padding-left: 0;
}

.slide-in-menu .nav-menu-ul li::before {
  content: none;
}
.nav-menu-ul a {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
  color: #1c4c54;
  font-size: 20px; /* Adjusted for better readability */
}
.nav-menu-ul a {
  font-size: 18px;
}
.nav-menu-ul li {
  border-bottom: 1px solid #ccc;
  font-family: var(--font-main);
}
/* Search box inside the slide-in menu */
.slide-in-menu #search-form {
  padding: 20px 15px;
  border-top: 1px solid #ccc;
}
.slide-in-menu .search-box {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px; /* small gap between input and button */
}

/* Make the search input full width inside the menu */
.slide-in-menu #search-input {
  width: 100%;
  max-width: 350px; /* keeps it neat on large phones */
  padding: 7px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Style the search button so it matches */
.slide-in-menu #search-button {
  padding: 10px 12px;
  border: none;
  background: #1c4c54;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.quick-exit {
  position: absolute;
  right: 115px;
  top: 50%;
  transform: translateY(-50%);

  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 0.8rem;
  font-weight: 600;

  padding: 4px 8px;
  border-radius: 6px;

  background: transparent;
  color: var(--text-muted);

  text-decoration: none;
  opacity: 0.8;
z-index: 2100;
  transition: all 0.2s ease;
}
.quick-exit:hover {
  background: var(--primary-soft);
  color: var(--primary);
  opacity: 1;
}/* =========================
   MENU OVERLAY (PREMIUM LAYER)
   ========================= */
.exit-mini {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  gap: 4px;

  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;

  background-color: #7ee4fe;
  padding: 3px 8px;
  border-radius: 8px;

  color: black;
  opacity: 0.9;
  cursor: pointer;
  text-decoration: none;
    margin-left: -40px;
    cursor: pointer;

}

.exit-mini i {
  font-size: 15px;
}
  /* Style for the error page icon */
  .error-page-icon {
    font-size: 100px;
    opacity: 0.5;
  }
  .successful-report-icon {
    font-size: 50px;
    opacity: 0.5;
    
  }
  #thank_you_message {
    display: none; /* Initially hidden */
    border: 1px solid #aaa; /* Example border styling */
    padding: 10px;
    margin-top: 10px;
    background-color: #f8f8f8; /* Light grey background */
    text-align: center;
    /* Add more styling as needed */
}
 .missing-link-button {
    margin-top: 10px; /* Space at the top outside the button */
    margin-bottom: 10px; /* Space at the bottom outside the button */
}
.home-page-box {
  background: #fff; /* or any color that fits your design */
  padding: 20px;
  margin-bottom: 30px;
  margin-top: 160px;

  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increased Y-offset, blur-radius, and shadow color opacity */
  border-radius: 5px; /* Optional: if you want rounded corners */

}
.socials-icons-homepage {
  margin: 0 10px; /* This adds space to the left and right of each SVG */
}

.socials-homepage-container {
  display: flex;
  justify-content: center; /* This centers the icons in the container */
  align-items: center; /* This ensures they are centered vertically as well */
}
.cookie-banner {
  display: none;

  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 24px);
  max-width: 720px;
  backdrop-filter: blur(6px); 
  background: var(--background-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;

  padding: 14px 16px;

  box-shadow: var(--shadow-top);

  z-index: 1000;

  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-main);

  text-align: left;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--primary-hover);
}

.cookie-banner .button {
  margin-top: 10px;

  padding: 6px 14px;
  border-radius: 999px;

  background: var(--primary);
  color: #fff;
  border: none;

  font-size: 0.85rem;
  cursor: pointer;

  transition: all 0.2s ease;
}

.cookie-banner .button:hover {
  background: var(--primary-hover);
}  /* Back to Top Button */
.back-to-top {
    position: fixed right;
    bottom: 20px;
    right: 20px;   /* moved from left to right */
    z-index: 9000;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.back-to-top:active {
    transform: scale(0.95);
}

.back-to-top i {
    margin-right: 8px;
}
.feedback-button {
  background: none;
  border: none;
  margin: 0;
  font-family: var(--font-main);
  font-size: 0.9em;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  opacity: 0.75;
  transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.feedback-button:hover {
  color: #000;
  opacity: 1;
  text-decoration: underline;
}
.feedback-icon {
  font-size: 1.1em;
  line-height: 1;
}
   .login-status {
    border: 2px solid #000;
    padding: 10px;
    margin: 10px;
    background-color: transparent;
    width: calc(100% - 24px);
    box-sizing: border-box;
    border-radius: 10px;
    position: relative; /* Allows positioning of pseudo-elements if needed */
    text-align: center; /* Centers the content inside the box */
}
.version-banner {
    float: right;
    clear: both;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 12px 16px;
    max-width: 300px;

    border-left: 5px solid;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    font-family: sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
}

.kids-version {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.adult-version {
    background-color: #fff3e0;
    border-color: #fb8c00;
}
.helpline-spotlight-container {
  margin-top: 2em;
  padding: 1em;
  background: #f9fcfe;
  border-radius: 12px;
}

.helpline-spotlight-container h2 {
  font-size: 1.6rem;
  margin-bottom: 1em;
}

.helpline-spotlight-card {
  border-left: 4px solid #0077cc;
  background: #fff;
  padding: 1em 1.5em;
  margin-bottom: 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.helpline-spotlight-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #0077cc;
}

.helpline-description {
  margin: 0.8em 0;
  line-height: 1.6;
}

.helpline-contact p {
  margin: 0.4em 0;
}
  .subpages {
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  padding: 2em;
  margin: 3em auto;
  border-radius: 12px;
  max-width: 900px;
}
.subpages::before {
  content: "expand_more"; /* the icon name as literal text */
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 4em;
  display: block;
  text-align: center;
  margin-bottom: 0.5em;
  color: #666;
  opacity: 0.5;
}
.homepage-banner {
    width: 100%;
    margin: 0;
    height: auto;
    padding-top: 40px;
}

.homepage-banner img {
    width: 100%;
    height: auto;       /* this keeps the correct proportions */
    display: block;
    max-width: 100%;    /* prevents any stretching */
    object-fit: contain; /* makes sure the entire picture stays visible */
    margin: 0 auto;
}
/* =========================
   BASE BOX (shared system)
   ========================= */

.box {
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 14px;
  position: relative;
}

/* Accent line (you already made this) */
.box--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 4px;
  background: var(--accent-purple);
  opacity: 0.6;
}

/* =========================
   URGENT SUPPORT BOX
   ========================= */

.urgent-support-wrap {
  padding: 0 1rem;
}

.urgent-support-box {
  background: #eef4f2;
  text-align: center;
  transition: all 0.25s ease;
}

/* Heading */
.urgent-support-box h2 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0b5d5a;
}

/* Hover = gentle urgency */
.urgent-support-box:hover {
  background: #f6ecec;
}

/* Accent reacts */
.urgent-support-box:hover::before {
  background: var(--danger);
  opacity: 1;
}

.urgent-support-box:hover h2 {
  color: #8f2f2f;
}

.urgent-support-box:hover .button {
  background: var(--danger);
}

/* List inside box */
.urgent-box-ul {
  list-style: none;
  margin: 20px 0;
  color: #24678d;
  padding-left: 35px;
  position: relative;
}


/* =========================
   DID YOU KNOW BOX
   ========================= */

.did-you-know-note {
  background: #f6faf9;
  color: #24678d;

  /* local sizing */
  --text-small: 0.9rem;
  --text-xsmall: 0.8rem;
  --text-xxsmall: 0.7rem;
}

/* Heading */
.did-you-know-note h2 {
  margin: 0 0 0.35rem;
  font-size: var(--text-small);
  font-weight: 600;
  color: #0b5d5a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Fact text */
.did-you-know-note p {
  margin: 0.2rem 0 0.5rem;
  font-size: var(--text-small);
  line-height: 1.55;
}

/* Links */
.did-you-know-note summary,
.did-you-know-note a {
  font-size: var(--text-xsmall);
  color: #1f6f64;
}

.did-you-know-note summary {
  cursor: pointer;
}

.did-you-know-note summary:hover,
.did-you-know-note a:hover {
  text-decoration: underline;
}

/* Dismiss */
.did-you-know-dismiss {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--accent-purple);
  cursor: pointer;
}

.did-you-know-dismiss:hover {
  opacity: 0.7;
}

/* Source */
.did-you-know-source {
  margin-top: 0.4rem;
  font-size: var(--text-xxsmall);
  color: #9aa3a1;
  opacity: 0.5;
}

.did-you-know-source a {
  color: inherit;
}

.did-you-know-source a:hover {
  opacity: 1;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
  .box {
    padding: 1.2rem 1.3rem;
  }

  .urgent-support-box h2 {
    font-size: 1.25rem;
  }
}
/* =========================
   ICON BUTTONS (GLOBAL)
   ========================= */

.icon-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 60px;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    transform: scale(1.15);
}


/* =========================
   CHOICE STATES (YES / NO)
   ========================= */

.choice {
    color: var(--text-muted);
}

.choice--yes.selected {
    color: var(--success);
}

.choice--no.selected {
    color: var(--danger);
}

/* Hover feedback */
.icon-btn.choice--yes:hover {
    color: var(--success);
    text-shadow: 0 0 8px rgba(80, 141, 36, 0.4);
}

.icon-btn.choice--no:hover {
    color: var(--danger);
    text-shadow: 0 0 8px rgba(214, 69, 69, 0.4);
}


/* =========================
   BUTTON ROW (REUSABLE LAYOUT)
   ========================= */

.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}


/* =========================
   SECONDARY BUTTON (BACK / CANCEL)
   ========================= */

.nav-button {
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: transparent;
    color: var(--text-muted);

    padding: 10px 16px;
    border: 2px solid var(--text-muted);
    border-radius: 10px;

    font-weight: 600;
    font-size: 0.9rem;

    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

.nav-button:active {
    transform: scale(0.96);
}


/* =========================
   ACTION BUTTONS (COPY / SHARE / EMAIL)
   ========================= */

.action-button {
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #fff;
    color: var(--primary);

    padding: 10px 16px;
    border: 2px solid var(--border-soft);
    border-radius: 10px;

    font-weight: 600;
    font-size: 0.9rem;

    cursor: pointer;
    transition: all 0.2s ease;
}

.action-button:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-1px);
}

.action-button:active {
    transform: scale(0.96);
}
.tool-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
/* =========================
   TOOL: QUESTION SYSTEM
   ========================= */

.question-box {
  display: none;
}

.question-box.visible {
  display: block;
}

.question-box form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.question-box input {
  display: none;
}

.question-box label {
  width: calc(33.33% - 10px);
  padding: 10px;
  font-weight: 700;
  border: 1px solid var(--border-soft);
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.question-box label:hover {
  border-color: var(--primary);
}

.question-box label.selected {
  border: 2px solid var(--primary);
  background: var(--primary-soft);
}
/* =========================
   PAGE JOURNEY NAV (NEXT / PREV)
   ========================= */

.page-journey-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0;
}

.page-journey-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 10px 18px;
  border: 2px solid var(--primary);
  border-radius: 999px;

  background: transparent;
  color: var(--primary);

  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;

  text-decoration: none;
  transition: all 0.2s ease;
}

.page-journey-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.page-journey-prev::before {
  content: "←";
}

.page-journey-next::after {
  content: "→";
}

.page-journey-link:active {
  transform: scale(0.96);
}

.page-journey-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .page-journey-link {
    flex: 1 1 240px;
    justify-content: center;
  }
}
/* =========================
   LAST UPDATED
   ========================= */
.last-updated-container {
  border: 2px solid var(--border-strong);
  padding: 1em;
  margin: 2em auto;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
}
.last-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
}
/* Optional login message (refined) */
.login-optional {
  margin-top: 2rem;
  text-align: center;

  font-size: 0.9rem;
  color: var(--text-muted);

  opacity: 0.85;
}

/* Keep it soft and not pushy */
.login-optional p {
  margin: 0;
  max-width: 60ch;
}

/* Link feels like a gentle option, not a CTA */
.login-optional a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 111, 138, 0.3);
  transition: all 0.2s ease;
}

.login-optional a:hover {
  color: var(--primary-hover);
  border-bottom-color: var(--primary-hover);
}
.nav-menu-ul .user-menu-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
}

/* Stop global <a> styles bleeding in */
.nav-menu-ul .user-name-link,
.nav-menu-ul .logout-link {
  display: inline-block;
  width: fit-content;
  text-decoration: none; /* 🔑 override global underline */
}

/* Name */
.nav-menu-ul .user-name-link {
  font-weight: 600;
}

.nav-menu-ul .user-name-link:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

/* Logout */
.nav-menu-ul .logout-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  opacity: 0.85;
}

.nav-menu-ul .logout-link:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}
/* =========================
   TOOLBOX (HRE4U STYLE)
   ========================= */

/* Wrapper (optional header icon) */
.tools-div {
  text-align: center;
  margin-bottom: 20px;
}

.tools-div::before {
  content: '\ea3c';
  font-family: 'Material Symbols Outlined';
  display: block;
  font-size: 4rem;
  opacity: 0.25;
  margin-bottom: 10px;
}


/* =========================
   GRID
   ========================= */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px 0 40px;
}


/* =========================
   CARD (matches your .box system)
   ========================= */

.tool-card {
  background: var(--background-soft);
  border-radius: 14px;
  padding: 18px 18px 16px 22px;

  border: 1px solid var(--border-soft);

  position: relative;
  transition: all 0.2s ease;
}

/* Soft accent line (same pattern as your other boxes) */
.tool-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 4px;
  background: var(--tool-accent, var(--accent-purple));
  opacity: 0.6;
}

/* Hover = gentle lift, not aggressive */
.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}


/* =========================
   CONTENT
   ========================= */

.tool-card-title {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-main);

  display: flex;
  align-items: center;
  gap: 6px;
}

/* Icon (soft, subtle) */
.tool-card-title::before {
  content: var(--tool-icon, "");
  font-size: 1rem;
  opacity: 0.6;
}

.tool-card-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 14px;
}


/* =========================
   ACTIONS
   ========================= */

.tool-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* =========================
   BUTTONS (aligned with your system)
   ========================= */

/* Open = primary action */
/* Open Tool = upgraded action button */
.tool-open-btn {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.tool-open-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Save = secondary */
.tool-save-btn {
  background: #fff;
  border: 1px solid var(--border-soft);

  padding: 8px 14px;
  border-radius: 10px;

  font-size: 0.85rem;
  color: var(--primary);
  cursor: pointer;
}

.tool-save-btn:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}


/* Remove = softer danger (not aggressive red) */
.tool-remove-btn {
  background: rgba(214, 69, 69, 0.08);
  border: 1px solid rgba(214, 69, 69, 0.2);

  padding: 8px 14px;
  border-radius: 10px;

  font-size: 0.85rem;
  color: var(--danger);
  cursor: pointer;
}

.tool-remove-btn:hover {
  background: rgba(214, 69, 69, 0.15);
}


/* Login button */
.tool-login-btn {
  background: #fff;
  border: 1px solid var(--border-soft);

  padding: 8px 14px;
  border-radius: 10px;

  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
}

.tool-login-btn:hover {
  background: var(--primary-soft);
}


/* =========================
   ICONS (clean + consistent)
   ========================= */

.tool-open-btn::before {
  content: "→";
  margin-right: 6px;
}

.tool-save-btn::before {
  content: "💾";
  margin-right: 6px;
}

.tool-remove-btn::before {
  content: "✖";
  margin-right: 6px;
}


/* =========================
   COLOUR THEMES
   ========================= */

.tools-start { --tool-accent: #b38cc8; --tool-icon: "✨"; }
.tools-thinking { --tool-accent: #8fa6d8; --tool-icon: "💭"; }
.tools-assess { --tool-accent: #8ec8a4; --tool-icon: "🧠"; }
.tools-growth { --tool-accent: #e2a67a; --tool-icon: "🎯"; }
.tools-lifestyle { --tool-accent: #6fb3b8; --tool-icon: "🌿"; }
.tools-relax { --tool-accent: #9dbedb; --tool-icon: "🌙"; }
.tools-curiosity { --tool-accent: #d8a7c9; --tool-icon: "🔎"; }


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
  .tool-grid {
    gap: 14px;
  }

  .tool-card {
    padding: 16px;
  }
}
/* Remove bullets from admin tabs */
.admin-panel-tabs {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.admin-panel-tabs li {
  padding-left: 0;
}

.admin-panel-tabs li::before {
  content: none;
}