*{
    margin:0;
    padding:0;
    outline:none;
    box-sizing:border-box;
}
:root {
  /* ==========================================================================
     1. SCREEN BOUNDARY SETTINGS (Change these per project)
     ========================================================================== */
  --screen-min: 320;
  --screen-max: 1920;
 
  /* H1: Hero Headlines (Dropped from 40px->72px down to 34px->56px) */
  --font-size-h1: clamp(2.125rem, calc(1.4rem + 2.5vw), 3.5rem);

  /* H2: Section Titles (Dropped from 32px->48px down to 26px->38px) */
  --font-size-h2: clamp(1.625rem, calc(1.2rem + 1.4vw), 2.375rem);

  /* H3: Feature Cards & Accordions (Dropped from 24px->32px down to 20px->26px) */
  --font-size-h3: clamp(1.25rem, calc(1.0rem + 0.8vw), 1.625rem);

  /* H4: Small Cards / Form Group Titles (Dropped down to 18px->22px) */
  --font-size-h4: clamp(1.125rem, calc(0.95rem + 0.5vw), 1.375rem);

  /* H5: Section Overlines / Small Labels (16px -> 18px) */
  --font-size-h5: clamp(1.0rem, calc(0.9rem + 0.3vw), 1.125rem);

  /* Body Text: Deep Readability (16px -> 18px) */
  --font-size-body: clamp(1.0rem, calc(0.93rem + 0.2vw), 1.125rem);
  
  /* Section Padding (Top & Bottom spacing for main blocks: 60px -> 120px) */
  --space-section-padding: clamp(1.5rem, calc(0.9rem + 1.8vw), 3rem);

  /* Global Grid Gaps (Spacing between cards/columns: 24px -> 48px) */
  --space-grid-gap: clamp(1.5rem, calc(0.9rem + 1.8vw), 3.0rem);

  /* Card Interior Padding (Inside container boxes: 20px -> 32px) */
  --space-card-padding: clamp(1rem, calc(0.95rem + 1.0vw), 1.5rem);

  /* Element Spacing (Small gaps between headers & paragraph text: 12px -> 16px) */
  --space-element-gap: clamp(0.75rem, calc(0.65rem + 0.3vw), 1.0rem);

    --primary-colour: #0a3981;
    --main-background: #ffffff;
    --secondary-background: #e3f2fd;
    --section-background: #F8FAFC;
    --text-colour: #25364d;
    --navy: #102d52;
    --muted: #68788c;
    --underline: #f41c5e;
}
body{
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    color: var(--text-colour, #334155);
    background: var(--main-background, #ffffff);
    overflow-x: hidden;
    max-width: 1920px;
    line-height: 1.6;
}
h1, h2, h3, h4, h5{
  font-family: "Playfair Display", serif;
  font-weight: normal;
  line-height: 1.1;
  color: var(--primary-colour);
  text-wrap: balance;
}
h1{
  font-size: var(--font-size-h1);
}
h2{
  font-size: var(--font-size-h2);
  text-decoration: underline solid var(--underline) 2px;  
  /* Creates clean gaps around descending letters */
  text-underline-offset: .3em; 
}
h3{
  font-size: var(--font-size-h3);
}
h4{
  font-size: var(--font-size-h4);
}
h5{
  font-size: var(--font-size-h5);
}
p, li{
  font-size: var(--font-size-body);
  color: var(--muted);
}
:is(h1, h2, h3, h4, h5, p) + :is(p,ul){
  margin-top: var(--space-element-gap);
}
a{
    line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
picture {
  width: max-content;
  max-width: 100%;
}
figcaption{
  font-size: 0.7rem;
}
/*layout*/
section, .section {
  display: flex;
  flex-direction: column;
  gap: var(--space-grid-gap);               /* Fluid spacing between columns */
  padding: 0 1em;  /* Fluid padding on top of rows */
}
section:has(.hero-section){
    padding: 0;
}
footer section{
    padding: 0;
}
.section-content{
    flex: 1 1 0;
    padding: var(--space-card-padding) 1em;
}
figure{
    /*width: max-content;*/
}
figure a{
  display: flex;
  flex-direction: row;
}
.menulogo{
    align-items: center;
    justify-content: space-between;
    padding: 0 1em;
}
.menulogo p{
    font-size: 2rem;
}
.button {
  display: inline-block;
  vertical-align: middle;
  font-family: inherit;
  margin: 0;
  padding: 0.4em 1em;
  border: 0;
  border-radius: 3px;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  background-color: var(--secondary-background);
  color: #fefefe;
}
.cards{
	display: flex;
	flex-direction: column;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 20px;
  max-width: 1440px; /* Locks the grid width at your perfect layout size */
  margin: 0 auto;
  justify-content: center;
}
form .input-group:not(:has(input[type='radio'])){
  display: flex;
  flex-direction: column;
  width: 100%;
}
.content a, .content a:hover, .content a:focus {
  color: #005c5c;
  text-decoration: underline;
}
a.button:hover{
  background: #000000;
  color: #ffffff;
}
.full-width{
    float:left;
    width: 100%;
}
.gray {
    color: gray;
}
.logo {
  color: #333;
}    
.utility-nav{
    background: var(--primary-colour);
    color: var(--main-background);
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.utility-nav > :last-child, .menulogo > :last-child{
    max-width: max-content;
}
.social-icons{
    list-style-type: none;
    margin:0;
}
.social-icons li{
    display: inline;
}
.social-icons a {
  
  /* CHOOSE YOUR STYLE HERE: */
  background-color: transparent; /* Or use #0A2540 for Deep Navy */
  
  transition: background-color 0.2s ease;
}

/* The SVG Graphic Element */
.social-icons svg {
  width: 44px;  /* Sizes the icon perfectly inside your 44px wrapper */
  height: 44px;
}

/* FIXED: Target the inner graphic vector path */
.social-icons svg path {
  fill: #FFFFFF; /* Forces the LinkedIn icon art to turn solid white */
  transition: fill 0.2s ease;
}

/* ==========================================================================
   Trust-Building Interaction States (Hover Rules)
   ========================================================================== */

/* Option A: Keep background transparent, but turn the icon LIME GREEN */
.social-icons a:hover svg path {
  fill: #5FBF00; 
}

ul.menu{
    background: none;
    width: 100%;
}
ul.menu li{
    display: flex;
    flex-direction: column;
    align-items: center;
}
ul.menu a{
    color: var(--muted);
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
}
.home-slider{
    position: relative;
}
.bx-wrapper{
    border: none;
    margin-bottom: 0;
}
.bx-wrapper img{
    width: 100%;
    height: calc((100vw / 1920) * 685);
    /*max-width: 1px;*/
    margin: 0 auto;
}
.bx-wrapper .bx-controls-direction a {
    width: 60px;
    height: 60px;
    text-indent: 0;
}
.captions{
    position: absolute;
    top: 0;
    color: #fff;
}
.captions p, .captions h2{
    background: rgba(0,0,0,0.5);
    display: block;
    padding: 3px 10px;
}
.captions h2{
    padding: 3px 20px;
    margin-bottom: 15px;
}
.captions .button, .button.green-btn{
    background: #5fbf00;
    color: #111111;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}
.captions .button:hover{
    background: no-repeat;
    border: 2px solid #5fbf00;
}
ul.menu a:hover{
    color: var(--primary-colour);
    transition: ease-in 0.2s;
}
.captions h2, .inner-head{
    font-weight: bold;
}
.card{
    display: flex;
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 2em;
    margin: 30px;    
    color: #333;
    max-width: 320px;
    overflow: hidden;
}
.card h3{    
    font-weight: bold;
    font-size: 25px;
    color: #000;
    margin-bottom: 1em;
}
.card svg{
    width: 5rem;
    margin: 0 auto;
}
.card-section{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start; 
    background: var(--section-background);
    text-align: left;
}
.card-section .text-center {
    text-align: center;
    margin-bottom: 1em;
}
.card-section h4.text-center {
    margin-top: 1em;
}
.card-section p.text-center {
    margin-top: auto;
}
.card p{
    font-size: 15px;
    padding: .5em;
}
.card.m-green{
    background: #5fbf00;
    margin: 0;
}
.card.l-green{
    background: #66A62B;
    margin: 0;
}
.card.c-green{
    background: #93d841;
    margin: 0;
}
.card img{
    align-self: center;
    margin-bottom: 15px;
    transition: transform 0.4s ease-in-out;
}
.card:hover img {
  transform: scale(1.1); /* Zooms in by 10% */
}
.card.borderless{
  border: none;
}
.page-card-container .card{
    padding: 0;
    margin: 0;
    max-width: 25vw;
}
.page-card-container .card h2{
    text-align: center;
    text-decoration: none;
    font-size: 1.5rem;
}
.button.blue-btn {
  display: inline-block;
  background-color: #0A2540; /* Deep Navy Base */
  color: #FFFFFF; /* High-contrast white text */
  padding: 10px 20px;
  font-family: 'Roboto Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Turn the button LIME GREEN on hover for an interactive, responsive feel */
.button.blue-btn:hover {
  background-color: #5FBF00; /* Your Primary Lime Green */
  color: #0A2540; /* Flip text color to Deep Navy for AAA accessibility rules */
  transform: translateY(-1px);
}
.grey-bg{
    background: #e7e6e6;
}
.home-about {
    padding: 30px 0px 10px 0px;
}
.home-about p{
    font-size: 1.5rem;
    text-align: center;
}
/*
.green-btn{
    font-size: 16px;
}
*/
.more{
    color: #fff;
    font-size: 15px;
    background: #949798;
    padding: 5px 10px;
}
.more i{   
    margin-left: 5px;
}
.more:hover{
    background: #748487;
    color: #fff;
}
/*
.card-section .demo-icon.icon-right-open-big, .blog-content .demo-icon.icon-right-open-big{
    padding: 5px 12px 0 2px;
    font-size: 12px;
}
*/
.green-btn-small, .lg-btn{
    text-transform: uppercase;
    color: #fff;
    border-radius:0;
    background: #5fbf00;
    padding: 12px 30px;
}
.lg-btn{
    background: #93d841;
}
.green-btn-small:hover, .lg-btn:hover{
    background: #64a129;
}
.blog-content .media-object{
    background: #f8f8f8;
    margin-bottom: 25px;
}
.blog-content .thumbnail{
    border-radius:0;
    border: none;
}
.blog-content h4, .blog-card .card-section h4{
    font-size: 16px;
    text-transform: uppercase;
}
.blog-content p, .posted-by{
    font-size: 13px;
}
.posted-by{
    font-size: 12px;
    margin-bottom: 8px;
    display: block;
}
.icon-chat-empty{
    color: #5fbf00;
    margin-left: 20px;
    font-size: 16px;
}
.media-object .media-object-section:nth-child(2){
    padding-right: 15px;
    width: 100%;
    padding-bottom: 10px;
}
footer{  
    font-family: "Roboto", sans-serif;
    color: #fff;
    background: #0A2540;
}
.footer-top{
    background: #4d504e;
    padding: 25px 0;
}
.copyright{
    background: var(--primary-colour);
    color: var(--main-background);
}
.copyright p{
    margin-bottom: 0;
    padding: 10px;
    text-align: center;
    color: var(--main-background);
}
.footer-list li a{
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
}
footer h3, .tab-head{
    font-family: 'Jura', Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}
.footer-column h3{
    border-bottom: 1px solid #5fbf00;
    padding-bottom: 10px;
}
.tab-head{
    font-size: 25px;
}
.footer-list{
    list-style-type: square;
    margin-left: 15px;
}
footer h3 span{
    border-bottom: 1px solid #5fbf00;
    display: block;
    padding-bottom: 10px;
}
.green-bg{
    /*background: #5fbf00;*/
    background: #4d504e;
    /*background: #4c9900;
    background: #80ca44;*/
}
.blue-bg{
    padding: 0;
    background: var(--secondary-background);
    color: var(--main-background);
}
section:has(.footer-column){
  justify-content: center;
  gap: 5em;
}
/*
.subscribe-form h3{
    font-size: 16px;
    color: #fff;
    margin-top: 8px;
}
.subscribe-group{
    width: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}
.subscribe-group > :first-child, .subscribe-group > :last-child > *{
    border-radius:0;
}
.subscribe-group > :first-child{
    padding: 7px 15px;
}
*/
.input-group-label {
    padding: 0 1rem;
    border: 1px solid #93d841;
    background: #93d841;
}
.inner-head{
    color: #5fbf00;
}
ul.menu {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
/* Hero Section with the "Fresh Air" Gradient */
.hero-section {
  padding: 100px 0 1rem; /* Offset for fixed navbar */
  /* Linear gradient mimicking deep breaths and oxygen clarity */
  background: linear-gradient(135deg, #e3f2fd 0%, #f7fafc 50%, #ffffff 100%);
  display: flex;
  align-items: center;
}
.section-content.hero-section{
    padding-bottom: 0;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

/* Left Column: Typography */
.specialty-badge {
  display: inline-block;
  background-color: rgba(30, 136, 229, 0.1);
  color: #0d47a1;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0a192f;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

/* Buttons */
.cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: #0d47a1; /* Strong clinical blue for high contrast primary actions */
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.2);
}

.btn-primary:hover {
  background-color: #0a3981;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #0d47a1;
  border: 2px solid rgba(13, 71, 161, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(13, 71, 161, 0.05);
  border-color: #0d47a1;
}

/* Right Column: Premium Glassmorphism Box */
.hero-visual {
  display: flex;
}
.clinic-info {
  border-top: 1px solid rgba(0, 40, 80, 0.08);
  padding-top: 1.25rem;
}

.clinic-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.clinic-info p:last-child {
  margin-bottom: 0;
}
.expertise{
    padding: var(--space-section-padding) 1em;
}
.expertise ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style-type: none;
    gap: 1em;
}
.expertise ul li{
  border: 1px solid #ccc;
  border-top-left-radius: 1em;
  border-bottom-right-radius: 1em;
  padding: 0 1em;
  width: fit-content;
  background-color: aliceblue;
}
/* Container Box */
.modern-disclosure {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.modern-disclosure[open] {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-background);
}

/* Header/Summary */
.modern-disclosure summary {
  padding: 16px;
  font-weight: bolder;
  color: var(--primary-colour);
  cursor: pointer;
  list-style: none; /* Removes default browser triangle marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: 1.1em;
}

/* Fallback to hide default arrow in Safari */
.modern-disclosure summary::-webkit-details-marker {
  display: none;
}

/* Custom CSS Indicator Arrow */
.modern-disclosure summary::after {
  content: "→";
  font-weight: bold;
  color: #64748b;
  transition: transform 0.2s ease;
}

/* Rotate arrow when component is open */
.modern-disclosure[open] summary::after {
  transform: rotate(90deg);
  color: #2563eb;
}

/* Content Area styling */
.modern-disclosure .content {
  padding: 0 16px 16px 16px;
  color: #475569;
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
}

/* Responsive Breakdown for Tablets/Phones */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .hero-visual {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .nav-links {
    display: none; /* Simplifies layout for smaller viewports */
  }
}

.call-us p{
    background-color: var(--secondary-background);
    color: var(--main-background);
    padding: .5em;
    border-radius: 1em;
    margin: 0;
}
.blog-card{
    padding: 0;
    margin-top: 0;    
}
.blog-card img{
    margin-bottom: 0;
}
.blog-mainheading{
    color: #fff;
    text-align: center;     
}
.search-blog{
    margin: 30px 0 15px 0;
}
.search-blog input, .search-blog select{
    border-radius:0;
}
.breadcrumbs li{
    font-size: 13px;
    font-family: "Raleway", sans-serif;
    line-height: 27px;
}
.breadcrumbs a{
    color:#005C5C;
}
.blog-section{
    color:#333;
}
input::-moz-placeholder, textarea::-moz-placeholder {
    color:#595959;
}
input::placeholder, textarea::placeholder {
    color:#595959;
}
/* ==========================================================================
   1. Card Container Grid Override
   ========================================================================== */
.flip-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-grid-gap);
  justify-content: center;
}

/* ==========================================================================
   2. The Card Wrapper Setup
   ========================================================================== */
.flip-card-container .card.cell {
  background: #FFFFFF; /* Pure White Light Mode Body Background */
  border: 1px solid #E2E8F0;
  color: #333;
  margin: 0 auto;
  padding: 0; 
  width: 100%;
  max-width: 320px;
  position: relative;
  
  /* FIXED: Hides the long text panel until it slides up into view */
  overflow: hidden; 
  
  /* FIXED: Lets each card wrap tightly around its own front content layout height */
  height: auto; 
  
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Hidden checkbox toggle configuration */
.flipbtn {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* ==========================================================================
   3. Front Face Content Area (Tightly Wrapped)
   ========================================================================== */
.front {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.front picture {
  width: 100%;
  display: block;
  height: 200px;
  overflow: hidden;
}

.front img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   4. The Sliding Text Panel Layer (The Back)
   ========================================================================== */
.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F8FAFC; /* Slate Tint for excellent text contrast */
  z-index: 10;
  box-sizing: border-box;
  overflow-y: auto; /* Allows smooth scrolling if text runs extremely long */
  
  /* FIXED: This hides the panel cleanly beneath the bottom edge of the card */
  transform: translateY(100%); 
  
  /* Smooth, high-performance cubic ease sliding transition motion */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* FIXED: When checkbox is clicked, panel slides upward to fill the card */
.flipbtn:checked ~ .flipper .back {
  transform: translateY(0);
}

/* ==========================================================================
   5. Card Section & Typography Elements
   ========================================================================== */
.flip-card-container .card-section {
  padding: var(--space-card-padding);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.flip-card-container .card-section h4 {
  color: #0A2540; /* Deep Navy Title */
  margin-bottom: var(--space-element-gap);
}

.flip-card-container .card-section p {
  color: #475569; /* Soft Slate Charcoal */
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Clean placement for your Action Buttons at the very base line */
.flip-card-container .card-section .text-center:last-child {
  margin-top: auto;
  padding-top: 16px;
}

/* Ensure helper classes don't override layouts */
.flipper {
  width: 100%;
  height: auto;
}


.blue-heading{
  background: var(--secondary-background);
  color: #fff;
  text-align: center;
}
.box {
 border:1px solid #ccc;
 background: #fff;
}
/* Base Icon Styles */
.icon {
  display: inline-block;
  width: 1em;                /* Scales perfectly with surrounding font size */
  height: 1em;               /* Keeps a 1:1 aspect ratio */
  fill: currentColor;        /* Inherits text colour automatically */
  stroke: currentColor;      /* Inherits border colour if icon uses strokes */
  vertical-align: -0.125em;  /* Perfectly aligns icon to text baseline */
  overflow: hidden;          /* Prevents path spillover in old browsers */
  margin-right: 0.25em;      /* Adds standard separation from text */
}
/* Size Modifiers (Mirrors Font Awesome sizing) */
.icon-lg {
  width: 1.33em;
  height: 1.33em;
  vertical-align: -0.2em;    /* Slight adjustment for larger graphic footprint */
}
.icon-2x {
  width: 2em;
  height: 2em;
  vertical-align: -0.3em;
}
/* Optional: Smooth transition for hover effects */
.icon {
  transition: color 0.2s ease-in-out, fill 0.2s ease-in-out;
}
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.filter-form{
    display: flex;
    align-items: flex-end;
    margin: 0 auto;
}
.share-buttons-container {
    display: flex;
    gap: 12px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    fill: #555555;
    transition: fill 0.2s ease;
}

/* Hover Accent Colors */
.share-btn.whatsapp:hover  { background-color: #25D366; }
.share-btn.x-twitter:hover { background-color: #000000; }
.share-btn.linkedin:hover  { background-color: #0077B5; }

.share-btn:hover svg {
    fill: #ffffff;
}
@media screen and (max-width: 39.9375em) {
  .grid-x > .small-12.full-cell{
    text-align: center;
  }
  .logo{
    font-size: 0.9rem;
  }
  .article img{
    height: 50vw;
    width: 100vw;
    object-fit: cover;
  }
  .parallax {
    /* The image used */
    background-image: url("../thumbnails/dartmoor.jpg");
    background-attachment: inherit;
    min-height: 150px;
  }    
}
/* Custom, iPhone Retina */ 
@media only screen and (max-width : 500px) {
    .flexrow:has(.footer-column){
        padding: 1em 20vw;
    }
    .utility-nav{
        flex-direction: column;
    } 
    .menulogo figure a{
        display: flex;
        flex-direction: column;
        align-items: center;
    }.menulogo p {
        font-size: 1.5rem;
        text-align: center;
    }  
    .social-icons{
        font-size: 26px;
    }    
    ul.menu a{
        font-size: 15px;
        border-left: 2px solid var(--underline);
        padding: .5em;
    }
    ul.menu li:first-child a {
        border: none;
    }
    .demo-icon.icon-right-open-big,.demo-icon.icon-left-open-big{
        font-size: 27px;        
    }
    .demo-icon.icon-right-open-big{
        margin-right: -8px;
        float: right;
    }
    .demo-icon.icon-left-open-big{
        margin-left: -8px;
        float:left;
    }
    .captions p{
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    .logo-section img {
        width: 115px;
    }
    .title-bar{
        margin-top: 20px;
    }
    .captions{
        margin-top: 15px;
        margin-left: 6%;
        width: 80%;
    }
    .achievements{
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .blog-content {
        padding: 20px 0;
        -webkit-box-shadow: inset 0 20px 11px -22px rgba(0,0,0,0.8);
    -moz-box-shadow: inset 0 20px 11px -22px rgba(0,0,0,0.8);
    box-shadow: inset 0 20px 11px -22px rgba(0,0,0,0.8);
    }
    .blog-content .media-object{
       display: block;
        min-height: 180px;
        padding: 15px;
    }
    .blog-content .thumbnail{
        text-align: center;
    }
    .blog-content .media-object img{
        width: 95px;
    }
    .blog-content .button{
        margin-top: 0px;
    }
    .subscribe-form img{
        width: 20px;
    }
    .subscribe-form .lg-btn{
        padding: 9px 10px;
    }
    .subscribe-form .input-group-field{
        padding-left:20px;
        padding-right: 20px;
        height:38px;
        margin-bottom: 5px;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    }
    .inner-head{
        margin-bottom: 20px;
    }
    .tab-img{
        text-align: center;
        margin: 0 auto;
    }
    .captions .button{
        font-size: 13px;
        padding: 10px;
    }
    .subscribe-group{
        display: block;
    }
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

}

@media only screen and (max-width : 568px) {
    .title-bar{
        background: none;
    }
    .menu-icon::after, .menu-icon:hover::after  {
        background: #5fbf00;
        box-shadow: 0 7px 0 #5fbf00, 0 14px 0 #5fbf00;
    }
    .title-bar-title{
        color:#5fbf00;
    }
    .accordion-title{
        font-size:15px;
    }
    .tab-head {
        font-size: 20px;
    }
    .tab-img{
        display: table;
        margin-bottom: 10px;
    }
    .subscribe-form .input-group-field{
        width: 65%;
    }
    .subscribe-form .input-group-label{
        display: none;
    }
    .subscribe-form h3{
        font-size: 14px;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

    .flexrow:has(.footer-column){
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 1em 5vw;
    }
    .section-content figure{
        text-align: center;
    }
    .section-content picture{
        text-align: center;
        margin: 0 auto;
        display: block;
    }
    .slant-divider {
        position: relative;
        width: 100%;
        /* Increased to 123px to accommodate the 120px drop + 3px line thickness */
        height: 53px; 
        background-color: #5FBF00; /* Pure Lime Green line sheet */
        margin-bottom: -1px; /* Elimiates sub-pixel rendering gaps */

        /* Both layers use the exact same cookie-cutter slant shape */
        clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 100%);
    }

    /* The Deep Navy overlay that covers everything except the top 3px */
    .slant-divider::before {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #0A2540; /* Match your footer Deep Navy exactly */
        
        /* Mirror the exact same cookie-cutter shape as the parent block */
        clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 100%);
        
        /* FIXED: Shifting down by exactly 3px exposes only a perfectly uniform 
        3px line along the entire length of the slant, with zero triangles. */
        transform: translateY(3px); 
    }
    .top-slant-divider {
        position: relative;
        width: 100%;
        /* 123px height to house the 120px slope + 3px border line thickness */
        height: 53px; 
        background-color: #5FBF00; /* Pure Lime Green line sheet */
        margin-top: -1px; /* Blends seamlessly with the dark hero section above */

        /* 
        REVERSED GEOMETRY: 
        Left side starts low down (0 120px)
        Right side stays at the absolute top (100% 0)
        */
        clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
    }

    /* The Pure White overlay that covers everything except the top 3px line */
    .top-slant-divider::before {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #0A2540; /* Match your white <main> background exactly */
        
        /* Mirror the exact parent clip-path shape */
        clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
        
        /* FIXED: Shifting down by 3px exposes a perfectly uniform 3px lime green
        ribbon that slopes smoothly upwards from left to right. */
        transform: translateY(3px); 
    }
    .page-card-container{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--space-grid-gap) * 3);
        max-width: 1440px; /* Locks the grid width at your perfect layout size */
        margin: 0 auto;
        justify-content: center;
    }
    .content{
        padding: 2em 0;
        max-width: 75%;
        margin: 0 auto;
    }
    .content p{
        line-height: 1.6;
        margin-bottom: 1rem;
        text-rendering: optimizeLegibility;
    }
    /*
    .list:has(.card.cell){
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 20px;
    }
    */
    .social-icons{
        font-size: 35px;
    }
    .captions p{
        font-size: 18px;
        margin-bottom: 15px;
    }
    .demo-icon.icon-right-open-big,.demo-icon.icon-left-open-big{
        font-size: 35px;
    }
    .top-bar{
        float:left;
        margin-top: 20px;
    }
    .logo-section img {
        width: auto;
        margin-right: 15px;
    }
    .title-bar{
        margin-top: 0;
    }
    /*
    .bx-wrapper img{
        height: 350px;
    }
    */
    .captions{
        margin-top: 50px;
        margin-left: 40px;
    }
    ul.menu a{
        font-size: 17px;
        border-left:2px solid var(--underline);
        padding: .75em;
    }
    ul.menu li:first-child a{
        border: none;
    }
    .card{
        min-height: 375px;
    }
    .blog-card{
        margin-bottom: 0;
    }
    .blog-content .media-object{
        display: flex;
        min-height: auto;
        padding:0;
    }
    .blog-content .thumbnail{
        text-align: left;
    }
    .blog-content .media-object img{
        width: auto;
    }
    .blog-content .button{
        margin-top: 40px;
    }    
    .subscribe-form img{
        width: 19px;
    }
    .subscribe-form .lg-btn {
        padding: 5px 20px;
        height: 38px;
    }    
    .acctabs{
        border: none;
    }
    .inner-head{
        margin-bottom: 30px;
    }
    .tab-img{
        float:left;
        margin-right: 15px;
    }    
    .captions .button{
        font-size: 18px;
        padding: 0.85em 1em;
    }
    .subscribe-group{
        display: inline-flex;
        width: 75%;
    }
    .subscribe-form .input-group-field{
        margin-bottom: 0;
    }
    .blog-mainheading{
        padding: 30px 0;
    }
    .blog-mainheading p{
        padding: .5em 20%;
        text-align: left;
    }
    .parallax {
      /* The image used */
      background-image: url("../images/dartmoor.jpg");
      background-attachment: inherit;
      width: 100%;
      min-height: 250px;
      background-size: cover;
    }
    .rwd-break{
      display: none;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .flexrow{
        display: flex;
        flex-direction: row;
    }
    .flexrow:has(.footer-column){
        padding: 1em 10vw;
    }
    .utility-nav > :last-child, .menulogo > :last-child{
        margin-left: auto;
    }
    .logo-section img {
        width: 95px;
    }
    .top-bar, .top-bar-right{
        flex: 0 0 100% !important;
        -ms-flex: 0 0 100% !important;
    }    
    .captions p{
        font-size: 22px;
    }
    .captions h2{
        font-size: 50px;
    }
    .home-about {
        padding: 30px 30px 10px 30px;
    }
    .blog-content{
        padding: 30px 0;
    }
    .card{
        min-height: 300px;
    }
    /*
    .bx-wrapper img{
        height: 572px;
    }
    */
    .captions{
        margin-top: 70px;
    }
    .grid-x > .small-12.full-cell, .grid-x > .large-6.full-cell{
        width:100% !important;
    }
    .card{
        /*margin-bottom: 30px;*/
        min-height: 200px;
    }
    .achieve-box{
        margin: 60px 0;
    }
    .achieve-box .media-object-section:first-child {
        padding-right: 10px;
        padding-left: 10px;
    }
    .media-object .media-object-section:nth-child(2) {
        padding-right: 0px;
    }
    .blog-content .more{
        margin-right:20px;
    }
    .blog-card{
        margin-bottom: 0; 
    }
    .blog-card .card-section{
        position: relative;
        min-height: 200px;
    }
    .blog-card .card-section p{
        font-size: 1rem;
    }
    .blog-card .card-section .button{
        margin: 0;
    }
    .overlay{
      margin-top: -5em;
      margin-bottom: 5em;
    }    
}
@media only screen and (min-width: 1200px){
    .grid-container.max-width {
        max-width: 1370px;
    }
    .grid-x > .small-12.full-cell {
        width: 100% !important;
    }
    .grid-x > .large-6.small-12.full-cell {
        width: 50% !important;
    }
    ul.menu a{
        padding: 12px 13px;
    }
    .top-bar{
        margin-top: 40px;
        float:right;
    }
    .captions{
        margin-left: 0;
    }
    .achieve-box .media-object-section:first-child {
        padding-right: 25px;
        padding-left: 35px;
    }
    .media-object .media-object-section:nth-child(2) {
        padding-right: 15px;
    }    
    .blog-content .more{
        margin-right:0px;
    }
    .subscribe-group {
        display: flex;
        width: auto;
    }
    /*parallax image*/
    .parallax {
      /* The image used */
      background-image: url("../images/dartmoor.jpg");
  
      /* Set a specific height */
      min-height: 500px;
  
      /* Create the parallax scrolling effect */
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    .overlay .section-content{
        width: 75%;
        margin: 0 auto;
        padding: 1em;
        border: 1px solid #999;
    }
    .overlay .section-content:not(.blue-heading){
        background: #fff;        
    }
    .overlay{
      margin-top: -10em;
      margin-bottom: 10em;
    }
}

/*Keyframes*/
@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px)
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px)
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp
}
.fade-animation {
    -webkit-transition: opacity .9s linear;
    transition: opacity .9s linear;
}
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.delay0-5s{
     -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s;
}
.delay1s{
     -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}
.delay1-5s{
     -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s;
}
a[href^=tel]{
  color: var(--main-background);
  text-decoration: none;
}
.overlay p{
    text-align: left;
}
.overlay a{
    color: #fff;
    text-decoration: underline;
    padding: 1em;
}
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--main-background);
    color: var(--text-color);
    padding: 20px;
    z-index: 9999;
    font-family: system-ui, sans-serif;
    border: 2px dashed var(--secondary-background);
}
#cookie-banner h2 { font-size: 18px; margin: 0 0 10px; }
#cookie-banner p { font-size: 14px; margin-bottom: 10px; }
.cookie-options label { display: block; margin-bottom: 6px; }
.cookie-actions button {
    margin-right: 10px;
    padding: 8px 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.accept { background: var(--primary-colour); }
.reject { background: #ef4444; }
.save { background: var(--secondary-background); color: var(--main-background); }
.insurers{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.insurer-icon {
  /* Establish the exact 200px square frame */
  width: 200px;
  height: 200px;
  
  /* Flexbox settings to dead-centre content along both axes */
  display: flex;
  justify-content: center; /* Horizontal alignment */
  align-items: center;     /* Vertical alignment */
  
  /* Optional visual styling to see your box boundaries */
  border: 1px dashed #ccc; 
  box-sizing: border-box;
}

.insurer-icon svg {
  /* Allow the wide logo to scale cleanly within horizontal bounds */
  width: 100%;
  height: auto;
  
  /* Add padding if you don't want the logo edges touching the box borders */
  padding: 10px; 
}
.biography{
    display: grid;
    grid-template-columns: 1fr;
}
.biography .section-content{
    grid-area: 1 / 1;
    padding: 0;
}
.biography .section-content.image img{
    aspect-ratio: 2.5;
    object-fit: cover;
}
.biography .section-content.html{
    z-index: 2;
    margin: auto;
    width: 75%;
    background:rgba(255, 255 , 255, .8);
    color: #000;
    padding: 2em;
}
.biography .section-content.html p{
    color: #333;
}
.narrower{
    width: 75%;
    margin: auto;
}
.doctify{
    width: 100%;
    border: none;
    min-height: 300px;
}
section:has(.insurers), .section-content:has(.insurers){
    padding: 0;
}