/* Example of creating a seamless fallback to prevent text jumping */
@font-face {
    font-family: 'Roboto-Fallback';
    src: local('Arial');
    ascent-override: 93%;
    descent-override: 22%;
    line-gap-override: 0%;
    size-adjust: 100%;
}

:root {
     /* colors */
    --primary-color: #F5F0E8;
    --secondary-color: #D9C8B4;
    --highlight-color: #A66F59;
    --dark-color: #51463E;
    --accent: #A6AE99;
    --base-color: #F5F0E8;
    --lighter-base-color: color-mix(in srgb, var(--base-color) 50%, white);
    --alert-color: #ff4d4d;
    --success-color:#079a07;
     /* containers */
    --container-normal: 1100px;
    --container-wide: 1400px;
    --container-narrow: 700px;
    /* font weights */
    --weight-normal: 400;
    --weight-bold: 600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
html {
    scroll-behavior: smooth;
    font-size: 16px; /* ensure 1 rem = 16px */
}

body {
   /* -webkit-font-smoothing: antialiased;
     The browser will use Roboto, but use the smooth fallback while loading */
    font-family: 'Roboto', 'Roboto-Fallback', Arial, sans-serif;
    letter-spacing: 0.5px;
    background-color: var(--lighter-base-color);
    color:var(--dark-color);
    line-height: 1.6;
    font-weight: var(--weight-normal);
}

/* Forces links and form elements to inherit the body color instead of browser defaults */
a, button, input {
  color: inherit; 
}
p, h1, h2, h3, h4, h5 {
    text-align: center;
}
h1, h2, h3, h4, h5{
    font-weight: var(--weight-bold);
    padding: 20px 0;
}
h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.75rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.25rem;
}
h5 {
    font-size: 1rem;
}
p {
    font-size: 1.1rem;
    padding: 0.1rem 0;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}

/* Background Color Utilities */
.bg-primary   { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-highlight { background-color: var(--highlight-color); }
.bg-dark      { background-color: var(--dark-color); }
.bg-accent    { background-color: var(--accent); }
.bg-lighter   { background-color: var(--lighter-base-color); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start; /* Keeps icon aligned with the first line of text */
  margin-bottom: 2px;     /* Slightly increased for better mobile legibility */
}

/* Target the Boxicon inside the list element directly */
.icon-list li .bx {
  flex-shrink: 0;
  margin-right: 5px;      /* Consistent spacing between icon and text across all screens */
  display: inline-flex;    /* Forces Boxicon's internal font container to center itself */
  align-items: center;     
  height: 1.5rem;          /* Matches the natural line-height of your body/span text */
}

.icon-list .list-txt {
  line-height: 1.5;        /* Explicit line-height ensures both mobile and laptop render the baseline identically */
}

.small {
    font-size: 0.9rem;
}
.very-small {
    font-size: 0.75rem;
}
.my-1{
  margin: 1rem 0;
}
.my-2{
  margin: 2rem 0;
}

/*---------------------------------------------*/
/*                 Grid System                 */
/*---------------------------------------------*/
.grid {
    display: grid;
    gap: 2rem;
     /* align-items: center;
  align-items: start;*/
    /* Aligns all grid items to the top */
    align-items: stretch;
}
.col-1 {
    grid-template-columns: 1fr;
}
.col-2 {
    grid-template-columns: repeat(2, 1fr);
}
.col-3 {
    grid-template-columns: repeat(3, 1fr);
}
.col-4 {
    grid-template-columns: repeat(4, 1fr);
}
.col-6 {
    grid-template-columns: repeat(6, 1fr);
}
.col-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* button */
.btn {
    display: inline-flex; /* Use inline-flex so fit-content behaves perfectly on links */
    align-items: center;
    padding: 16px 32px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: var(--weight-bold);
    box-shadow: 0 6px 12px rgba(129, 35, 37, 0.048);
    
    /* Smooth transitions */
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease, background-color 0.5s ease;
    
    /* Base Margin: Centers horizontally, small spacing vertically */
    margin: 15px auto; 
}


/* BUTTON INSIDE A CARD: Pushed perfectly to the bottom AND centered */
.wellbeing .card .btn,
.card .btn {
    margin-top: auto;    /* Pushes the button to the bottom */
    margin-bottom: 0;     /* Keeps the bottom tidy */
    margin-left: auto;   /* Works with right auto to keep it perfectly centered */
    margin-right: auto;  
}


/* BUTTON DIRECTLY INSIDE A GRID COLUMN (No Card Wrapper)           */
.grid > .btn, 
.col-1 > .btn, .col-2 > .btn, .col-3 > .btn, .col-4 > .btn, .col-6 > .btn, .hero .btn, .about .btn, .coaching .btn{
    display: flex;         /* Ensures it centers its own text/icons */
    width: fit-content;    /* Keeps the button tight around the text */
    margin: 50px auto;     /* 50px top/bottom, auto left/right forces perfect centering */
    justify-self: center;  /* Grid specific: Forces the item to center within its grid cell */
}

/* Style y icon and prepare its transition property */
.btn i {
    padding-left: 10px;
    color: var(--primary-color);
    display: inline-block;
    /* Required for transform animations to work */
    transition: transform 0.5s ease;
}

/* Button Hover State (Fade & Shadow) */
.btn:hover {
    opacity: 0.9;
    /* Subtle fade effect */
    /*box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);  Soft, modern shadow layout */
   box-shadow: 0 6px 12px rgba(129, 35, 37, 0.1);
    transform: translateY(-2px);
    /* Optional: Slightly lifts the button up on hover */
}

/* Icon Hover Animation (Nudges the icon slightly to the right) */
.btn:hover i {
    transform: translateX(4px);
}

i {
    color: var(--accent);
}

.card {
    /* Turn the card into a flex container */
    display: flex;
    flex-direction: column;
    height: 100%; /* Forces the card to fill the entire height of the grid row */
    padding: 2rem 1.75rem;
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(129, 35, 37, 0.048);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--lighter-base-color);
    border: 1px solid var(--primary-color);
}

.card img {
    width: 100%;       /* Spans the full width of the card */
    height: 200px;     /* Set a uniform height for all card images */
    object-fit: cover; /* Magic rule: crops and fills the space without warping the photo */
}

/* Push the button/footer to the bottom */
.card button, .card .btn-wrapper {
    margin-top: auto; /* This magic line pushes the button to the bottom of the card */
}

/*------------------------------*/
/*      Structure               */
/*------------------------------*/
.section {
    margin: 0;
    padding: 7rem 0;
}
.container {
    max-width: var(--container-normal);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container,
.container-lg,
.container-sm{
    clear: both;
    overflow: auto;
    /*This forces the container to respect the height of elements inside it */
}

/*------------------------------------------*/
/* Animation                                */
/*------------------------------------------*/

/* 
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
*/
/*------------------------------------------*/
/*           Section Header                 */
/*------------------------------------------*/
.section-header {
    max-width: 750px;
    margin: 0 auto;
    margin-bottom: 1rem;
    padding: 1rem 0;
}

.section-header h2 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    padding: 0;
}
.section-header h3 {
    padding-top: 2rem;
    padding: 0;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.section-header p {
    padding-top: 1.25rem;
    padding: 0 0 1rem 0;
}
.heading-border {
    width: 64px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

/*------------------------------------------*/
/*               Navbar                     */
/*------------------------------------------*/
.navbar {
    background: var(--highlight-color);
    padding: 0.5rem 2rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.5s ease-in-out;
}

.navbar.navbar-scroll {
    background-color: rgba(72, 87, 48, 0.628);
    backdrop-filter: blur(10px);
}

.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar img {
    max-width: 100%;  /* Prevents the logo from breaking the layout on small phones */
    width: 300px;     /* Your desired display width */
    height: auto;     /* IMPORTANT: Keeps the aspect ratio perfect so it doesn't squish */
}

.navbar .main-menu-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar a {
    color: var(--primary-color);
    font-weight: var(--weight-bold);
}

.navbar a:hover {
    opacity: 0.8;
}

.navbar a.active {
    opacity: 1;
    border-bottom: 2px solid var(--primary-color);
}

/* Base styles for the Pill Button */
.nav-pill-btn,
.nav-pill-btn:link,
.nav-pill-btn:visited {
    display: inline-block;
    background-color: var(--lighter-base-color) !important;
    color: var(--dark-color) !important;
    /* Forces the text to stay black */

    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: var(--weight-bold);
    font-size: 0.9rem;

    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 12px rgba(129, 35, 37, 0.048);
}

.nav-pill-btn:hover {
    background-color: var(--lighter-base-color) !important;
    color: var(--dark-color) !important;
    /* Keeps it black on hover */
    transform: translateY(-1px);
}

/*------------------------------------------*/
/*             Hero                         */
/*------------------------------------------*/
#home {
  position: relative; 
  /* Your existing .bg-primary styles go here */
}

.hero-content {
    padding-top: 50px;
}

.hero .hero-content h2, .hero .hero-content p{
    font-weight: var(--weight-normal);
    font-size: 1.25rem;
}
.hero .hero-content p {
    padding-bottom: 1rem;
}

/*------------------------------*/
/*     About Section            */
/*------------------------------*/
.about .about-content p{
    text-align: left;
    padding-bottom:0.25rem;
}

.certification {
    padding-bottom: 50px;
}
.certification img {
    padding: 20px 0;
}

/*
.cert-item {
  margin: 0;
  display: flex;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform; 
  cursor: pointer;
}


.cert-item:hover {

  transform: scale(1.03) rotate(3deg);
  

  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08)) 
          drop-shadow(0 4px 6px rgba(0, 0, 0, 0.04));
}


.cert-item:nth-child(odd):hover {
  transform: scale(1.03) rotate(3deg);
}

.cert-item:nth-child(even):hover {
  transform: scale(1.03) rotate(-3deg);
}
*/

/*------------------------------*/
/*     coaching Section            */
/*------------------------------*/
.coaching .coaching-content p, .coaching .coaching-additional p{
    text-align: left;
}
.coaching .coaching-content li {
    font-size: 1.2rem;
}
.coaching .coaching-content ul li i {
    color: var(--accent);
    padding-right: 5px;
}
.coaching-additional{
    padding-top:1rem;
}
.life-top{
    margin-bottom:1rem;
}

/* Container styles to stack elements vertically */
.life-top {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers everything horizontally */
  width: 100%;
}

/* Image wrapper forced to stretch full width */
.section-img {
  width: 100%;
}

/* Image settings to perfectly center, fill the space, and scale nicely */
.section-img img {
  display: block;
  width: 100%;          /* Makes image fill the width of the div */
  max-width: 100%;      /* Prevents it from overflowing the container */
  height: auto;         /* Maintains proper aspect ratio */
  object-fit: cover;    /* Ensures it cleanly fills the box without distortion */
  object-position: center; /* Centers the focus of the image content */
}

/* Text area layout sitting neatly underneath the image */
.coaching-content {
  width: 100%;
  margin-top: 20px;     /* Adds a clean gap between the image and text */
  text-align: left;     /* Keeps text readable; change to center if desired */
}


/*------------------------------*/
/*     wellbeing Section            */
/*------------------------------*/

.wellbeing .card {
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);

}
.wellbeing .card p{
   text-align: left;
}

.wellbeing ul{
    padding-top:1rem;
}

.wellbeing .definitions-additional{
    padding:1rem 0;;
}
.wellbeing .definitions-additional p{
    text-align:left;
}

/* ================================================================ */
/* SHARED WRAPPER RULES (Safe for all sections)                 */
/* ================================================================ */
.about .img-holder, 
.coaching .section-img,  
.wellbeing .card-img-wrap, 
.gift .img-holder {
    width: 100%;
    overflow: hidden;   /* Keeps zoom effect clipped inside the frame */
    border-radius: 6px;
    margin-bottom: 20px;
}

/* ================================================================ */
/* NATURAL IMAGES (About, coaching, Gift - scaling naturally)       */
/* ================================================================ */
.about .img-holder img, 
.coaching .section-img img, 
.gift .img-holder img {
    /* These will safely inherit your global max-width: 100% and height: auto */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* ================================================================ */
/* ISOLATED SERVICE CARD IMAGES (Cropped to match perfectly)     */
/* ================================================================ */
.wellbeing .card-img-wrap {
    height: 250px; /* Only locks the frame height for the service cards */
}

.wellbeing .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Only crops the service card images */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* ================================================================ */
/* HOVER ANIMATIONS (Applies to all)                            */
/* ================================================================ */
.about .img-holder:hover img, 
.coaching .section-img:hover img, 
.wellbeing .card-img-wrap:hover img{
    transform: scale(1.05);
}

/*------------------------*/
/*     Testimonials       */
/*------------------------*/

.testimonial .testimonial .card p {
  flex-grow: 1; /* Pushes the paragraph to take up all available vertical space */
  margin-bottom: 15px; /* Adds a bit of breathing room above the name */
}

.card h4 {
  margin-top: auto; /* Acts as a secondary safety anchor to keep it at the bottom */
}

.testimonial .card p {
    font-style: italic;
    font-size: 1rem;
}
.testimonial .card i{
    opacity:0.9;
}

/*------------------------*/
/*        Gift            */
/*------------------------*/

.gift-txt p{
    text-align: left;
    padding:0;
    margin:0;
}
.privacy-consent a{
    text-decoration: underline;
}
.privacy-consent a:hover{
    text-decoration: none;
}

/* Container framework to align items side-by-side */
.subscribe-form {
  display: flex;
  width: 100%;
  max-width: 500px; 
  margin: 0;                   /* Moves the entire form container to the left */
  box-sizing: border-box;
}

/* Email input styling */
.subscribe-input {
  flex: 1; /* Makes the input expand to fill available space */
  padding: 12px 20px;
  font-size: 1rem;
  border: 1px solid var(--dark-color);
  border-right: none; /* Removes the border between the input and button */
  border-top-left-radius: 8px; /* Smooth curves on the far left */
  border-bottom-left-radius: 8px;
  outline: none;
  box-sizing: border-box;
}

.privacy-consent {
  display: block;
  width: 100%;
  margin: 12px 0;
  text-align: left;
}

.privacy-consent input,
.privacy-consent label {
  display: inline-block;
  vertical-align: middle;
}

/* Curved, coloured submit button styling */
.subscribe-button {
  background-color: var(--highlight-color); /* Change this to your preferred brand colour */
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: var(--weight-bold);
  padding: 12px 24px;
  border: none;
  border-top-right-radius: 8px; /* Smooth curves on the far right */
  border-bottom-right-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-button:hover {
  background-color: var(--accent) ;
}

/*--------------------------------*/
/*     contact Section            */
/*--------------------------------*/
.contact li{
    padding: 1rem 0;
    font-size: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px; /* Matches your subscription form width */
  margin: 0 auto;
  box-sizing: border-box;
}

/* Form group to stack labels and inputs vertically */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Optional label styling for clarity */
.contact-label {
  font-size: 0.95rem;
}

/* Input and Textarea styling following your brand rules */
.contact-input {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  border: 1px solid var(--dark-color);
  border-radius: 8px; /* Smooth curves on all sides for a standard layout */
  outline: none;
  box-sizing: border-box;
}

/* Specific styling for the textarea to allow vertical resizing */
.contact-textarea {
  resize: vertical;
  font-family: inherit; /* Ensures consistent font styling */
}

/* Full-width curved, coloured submit button styling */
.contact-button {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: var(--weight-bold);
  padding: 12px 24px;
  border: none;
  border-radius: 8px; /* Consistent smooth curves */
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-button:hover {
  background-color: var(--accent);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;  /*Centres the icons horizontally */
   margin: 1.5rem auto;     /* auto helps block layout centering */
  gap: 1rem;
  padding: 0;
  width: 100%;             /* Ensures it takes up the full width of the parent */
}

/* Individual link item styling */
.social-links a {
  color: var(--dark-color); /* Classy, neutral dark grey primary colour */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover transition */
}

/* Individual Icon adjustments */
.social-links a i {
  display: block;      /* Strips away default font baseline padding */
}

/* Hover Effects */
.social-links a:hover {
  transform: translateY(-3px); /* Subtle, elegant lift effect */
}

/* Brand-specific hover colours */
.social-links a .bxl-facebook-square {
  color: #1877F2;      /* Official Facebook Blue */
}

.social-links a .bxl-instagram {
  color: #E1306C;      /* Official Instagram Pink/Red */
}

.social-links a .bxl-linkedin-square {
  color: #0077B5;      /* Official LinkedIn Blue */
}

/* PHP Email Form Messages
------------------------------*/

.loading, 
.error-message, 
.sent-message {
  
  display: none;
    /* width: 100%;       Takes up the full width 
  flex-basis: 100%;  /* Forces Flexbox wraps to drop to a new line */
}

/* Styles the input only after the user interacts with it or tries to submit the form */
.subscribe-input:user-invalid, .contact-input:user-invalid {
  border: 3px solid var(--alert-color);
}


/* Update your d-block rule to support this layout */
.d-block {
  display: block !important;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap; /* Allows items to drop to the next line */
 /* gap: 10px;       /* Spacing between the input, button, and messages */
}

.form-messages {
  flex-basis: 100%; /* Forces the message container to take up its own full line */
  margin-top: 10px;  /* Adds clean spacing below the input/button row */
}

.php-email-form .error-message {
  display: none;
  background: var(--success-color);
  color: var(--lighter-base-color);
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .sent-message {
  display: none;
  color: var(--lighter-base-color);
  background: var(--success-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: var(--weight-bold);
}

.php-email-form .loading {
  display: none;
  background: var(--accent);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent);
  border-top-color: var(--dark-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*-------------------------------------
Thought Section
--------------------------------------*/
.thought {
    padding: 25px 10px;
}

/* Center alignment for the grid section */
.thought .grid.col-1 {
  padding: 40px 20px;
}

/* Elegant header styling */
.thought h4 {
  padding:0;  
  letter-spacing: 2px; /* Gives it an upscale, modern editorial look */
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--lighter-base-color);
}

/* The Quote Container wrapper */
.quote-box {
  position: relative; /* Essential to let quote icons sit relative to this box */
  max-width: 650px;   /* Prevents a single line of text from stretching too wide to read easily */
  margin: 0 auto;
  padding: 0 50px;    /* Leaves perfect breathing room for the absolute icons */
}

/* Beautiful main quote text typography */
.quote-text {
  font-size: 1.4rem;
  font-style: italic;
  margin: 0;
  padding:0 5px;
  color: var(--lighter-base-color);
}

/* Shared styling for the large background quote marks */
.quote-box .quote-icon {
  position: absolute;
  font-size: 2rem; /* Replaces fa-3x with explicit, clean control */
  color: var(--lighter-base-color);
  opacity:30%;
  pointer-events: none; /* User can click or select text right through the icon */
}

/* Position the left quote icon */
.quote-box .icon-left {
  top: -10px;
  left: 0;
}

/* Position the right quote icon */
.quote-box .icon-right {
  bottom: -10px;
  right: 0;
}

/*------------------------------------------*/
/* FAQ                                  */
/*------------------------------------------*/

.faq .faq-item {
    position: relative;
    padding: 24px 48px 24px 24px;
    border: 1px solid color-mix(in srgb, var(--dark-color), transparent 90%);
    margin-bottom: 1rem;
    transition: all 0.3s ease-out;
    background-color: var(--lighter-base-color);
}



.faq .faq-item h3 {
    font-size: 1.25rem;
    letter-spacing: -0.25px;
    padding-right : 1rem;
   
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease-out;
    text-align: left;
}
.faq .faq-item .faq-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.25rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    cursor: pointer;
    transition: transform 0.3s ease-out;
     padding-top:10px;
}

.faq .faq-item h3:hover {
    color: var(--dark-color);
}
.faq .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq .faq-item .faq-content p {
    font-size: 1rem;
    color: color-mix(in srgb, var(--dark-color), transparent 20%);
    margin: 1rem 0 0;
    text-align: left;
}

/* favicon style */
.faq .faq-item .faq-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    cursor: pointer;
    transition: transform 0.3s ease-out;
}
.faq .faq-item.faq-active {
    border-color: color-mix(in srgb, var(--dark-color), transparent 20%);
}

.faq .faq-item.faq-active h3 {
    color: var(--highlight-color);
}

.faq .faq-item.faq-active .faq-content {
    max-height: 800px;

}

.faq .faq-item.faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--highlight-color);
}

/*------------------------------------------*/
/* Footer                                   */
/*------------------------------------------*/
.footer {
    padding: 1rem 0;
}
.footer .grid {
    gap: 0; /* Strips out any automatic row spacing from your grid layout */
}
.copy-right p{
    font-size:1rem;
}
/* Mobile View: Stack them vertically by default */
.copy-right {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Adjust this value for spacing between stacked paragraphs */
}
.copy-right a{
    display: inline-block; /* Required for transforms to work on inline links */
    text-decoration: underline;
  /* The Transition Property: defines WHAT to animate, HOW LONG it takes, and the SPEED curve */
  transition: 0.3s ease; 
}
.copy-right a:hover{
    text-decoration: none;
      /* Scales up by 5% and moves up by 2 pixels */
  transform: scale(1.02) translateY(-2px); 
}

/* Target the elements inside the footer grid directly */
.footer .grid > * {
    padding-bottom: 12px; /* Adds clean, controlled spacing below each block */
}

/* Remove the padding from the very last paragraph so the bottom of your footer looks perfectly balanced */
.footer .grid > *:last-child {
    padding-bottom: 0;
}

/* Optional: Make the text sizes match your class names */
.footer .small {
    opacity: 0.9;
}

.footer .very-small {
    opacity: 0.7; /* Subtly fades the medical/legal disclaimer */
    line-height: 1.4;
}


/*--------------------------------------*/
/*            Privacy                   */
/*--------------------------------------*/
.privacy h1{
    padding:5rem 0;
}
.privacy-txt h2, .privacy-txt p{
    text-align: left;
    font-size: 1rem;
}
.privacy-txt ul{
    margin-left:5rem;
}
.privacy-txt li{
    
    padding-left:1rem;
    list-style: circle;
}
.rev-date{
    text-align: right;
}

/* Container alignment */
.privacy-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: sans-serif;
}

/* Hide the default native checkbox */
.gift .privacy-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.contact .privacy-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox style using the label's before element */
.contact .privacy-consent label, .gift .privacy-consent label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
}

/* The custom checkbox box (Black Border) */
.contact .privacy-consent label::before, .gift .privacy-consent label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--dark-color); /* Solid black border */
  background-color: var(--lighter-base-color);
  border-radius: 3px; /* Slightly rounded corners */
  box-sizing: border-box;
}

/* The tick mark indicator (Hidden by default) */
.contact .privacy-consent label::after, .gift .privacy-consent label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--success-color) ;/* Green tick colour */
  border-width: 0 3px 3px 0; /* Creates the L-shape of a tick */
  transform: rotate(45deg); /* Rotates the L-shape into a checkmark */
  display: none;
}

/* Show the green tick when the input is checked */
.gift .privacy-consent input[type="checkbox"]:checked + label::after {
  display: block;
}

.contact .privacy-consent input[type="checkbox"]:checked + label::after {
  display: block;
}

/* Optional: Add a subtle focus style for keyboard accessibility */
.gift .privacy-consent input[type="checkbox"]:focus-visible + label::before {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.contact .privacy-consent input[type="checkbox"]:focus-visible + label::before {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Styles the custom checkbox box if the user tries to submit without checking it */
.gift .privacy-consent input[type="checkbox"]:user-invalid + label::before {
  border: 3px solid var(--alert-color);
}

.contact .privacy-consent input[type="checkbox"]:user-invalid + label::before {
  border: 3px solid var(--alert-color);
}

/*----------------------------------*/
/*     Privacy Popup Container      */
/*----------------------------------*/
/* The banner acts as a fixed modal container */
.privacy-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000; /* Ensure it sits above everything else */
    background: var(--lighter-base-color);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}
.privacy-banner p{
    font-size: 0.9rem;
}
.privacy-banner a{
    text-decoration: underline;
}
.privacy-banner a:hover{
    text-decoration: none;
}

/* A backdrop to block interaction with the background until a choice is made */
.privacy-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/* Helper class to handle hidden states */
.hidden {
    display: none !important;
}

/* Prevent body scrolling while active */
body.no-scroll {
    overflow: hidden;
}

/* Container for alignment */
.banner-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: flex-end;
}

/* Base button styles */
.banner-buttons button {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

/* Primary "Accept" button */
.btn-accept {
    background-color: var(--success-color); /* Clean, trustworthy green */
    color: #ffffff;
}

.btn-accept:hover {
    background-color: #059669; /* Slightly darker shade on hover */
}

/* Secondary "Reject" button */
.btn-reject {
    background-color: transparent;
    color: #4b5563; /* Subtle neutral gray text */
    border-color: #d1d5db !important; /* Soft border line */
}

.btn-reject:hover {
    background-color: #f3f4f6; /* Soft background on hover */
    color: #1f2937; /* Darken text slightly */
}

/*---------------------------*/
/*       Media Queries       */
/*---------------------------*/
/* Mobile Devices (Large phones, portrait mode): max-width: 576px */
/* Tablets (iDs, standard tablets): max-width: 768px */
/* Laptops (Small desktops, notebooks): max-width: 992px */
/* Desktops (Standard computer monitors): max-width: 1200px */
/* Extra Large Screens (Ultra-wide displays): max-width: 1400px */

/* lap top */
@media (max-width: 992px) {
    .section {
        padding: 1rem 0;
    }
    .navbar-flex img {
        max-width: 300px;
    }

    .section-header {
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }

    .navbar {
        position: static; /* Overrides 'fixed' and restores normal scrolling */
    }

    .navbar .main-menu-items {
        display: none !important;
    }

    .navbar-flex {
        display: flex;
        justify-content: center;
        /* Horizontally centers the logo */
        align-items: center;
        /* Vertically centers the logo */
        width: 100%;
        padding: 10px 0;
        /* Optional padding adjustment for mobile */
    }

    .navbar-flex a[aria-label="Logo"] {
        display: block;
        margin: 0 auto;
        /* Fail-safe centering backup */
    }

    .navbar-flex img {
        max-width: 400px;
    }
}

/* mobile */
    @media (max-width: 768px) {

    .hero-content {
        padding-top:2rem;
    }

  .grid.col-3.cert-grid {
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 10px !important; /* Tightens space so columns don't break */
    padding: 0 10px;      
  }

  /* Optional: Tones down the twist on mobile touch interactions specifically for these items */
  .cert-grid .cert-item:nth-child(odd):hover,
  .cert-grid .cert-item:nth-child(even):hover {
    transform: scale(1.02) rotate(1.5deg);
  }

    .about {
        flex-direction: column;
    }

    .wellbeing .card {
        min-height: 400px;
        padding: 1rem;
    }
    .card .icon-holder {
        margin: 1rem 0;
    }

    .testimonial {
        padding: 1rem;
    }
    .testimonial .card {
        padding: 1rem;
        min-height: unset;
    }

   .gift .img-holder {
        padding-bottom:0;
        justify-content: center;
    }
    .gift .gift-txt {
    padding-top:1rem;
    }

  .subscribe-form {
    flex-direction: column;
    gap: 10px;
  }
  
  .subscribe-input {
    border-right: 1px solid var(--accent);
    border-radius: 8px; /* Full curves when stacked */
  }
  
  .subscribe-button {
    border-radius: 8px; /* Full curves when stacked */
  }

  .quote-text {
    font-size: 18px; /* Drops font size slightly on phones so it wraps beautifully */
  }
  .quote-box {
    padding: 0 25px;
  }


    .col-2, .col-3, .col-4 {
        grid-template-columns: 1fr;
    }
    
    .col-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact,
    .wellbeing {
        scroll-margin-top: 75px;
    }

    .banner-buttons {
        flex-direction: column; /* Stack buttons vertically */
    }
    
    .banner-buttons button {
        width: 100%;
        text-align: center;
    }
    
    /* Put accept on top when stacked */
    .btn-accept {
        order: 1;
    }
    .btn-reject {
        order: 2;
    }
}


/* CARE DONT MIX THIS UP WITH MAX WIDTH - Tablet and Desktop Styles (Screens wider than 768px) */
@media (min-width: 768px) {
  #home {
    /* Ensures the background stays beneath text without fighting over z-index */
    isolation: isolate; 
  }

  #home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* The image path is protected here; mobile browsers will completely ignore it */
    background-image: url('/Assets/images/hero.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 30% opacity */
    opacity: 0.3; 
    
    /* Places the image layer behind the text content */
    z-index: -1; 
  }

  .copy-right{
    flex-direction: row;
  }

  .copy-right p {
    flex: 1; /* Forces all three paragraphs to stretch out to equal widths */
  }
}
