/* Override Zephyr + Bootstrap navbar colours */
.navbar,
.navbar.bg-primary,
.navbar.bg-light,
.navbar.bg-dark,
.navbar.navbar-expand-lg {
  background-image: none !important;
  background-color: #eda232  !important;     
  border-color: #eda232  !important;
}


/* Navigation link styling */
.navbar .nav-link {
  color: white !important;
  font-weight: 500;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}



.navbar .nav-link:hover {
  color: #003087 !important;   /* NHS blue accent */
}

.navbar .nav-link.active {
  color: #003087 !important;
}



/* ==============================



/* ================================
   SIDEBAR – NHS INFORMATION STYLE
================================ */

.sidebar {
  width: 180px;
  background-color: #609c91 !important;
  border-right: none;
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Sidebar links */
.sidebar a {
  color: white !important;
  font-weight: 400;
  display: block;
  margin-bottom: 1rem; /* space between sub-links */
}

/* Hover state */
.sidebar a:hover {
  color: #003087 !important;
}

/* Active page */
.sidebar .active {
  color: #003087 !important;
}

/* Section titles */
.sidebar-section-title {
  color: white !important;
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0.8rem; /* smaller than before */
  padding-top: 1rem; 
}

.sidebar .nav-link {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.sidebar .sidebar-section .nav-link:last-child {
  margin-bottom: 0;
}


.sidebar-section {
  margin-bottom: 2.5rem;
}






.reference-logos {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: center;
  gap: 10px;                /* vertical space between images */
  justify-self: center;
}




.reference-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}



.reference-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;   /* increase this for more vertical space */
}



.reference-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1rem 1rem 0.6rem 1rem;
  background-color: #f5f7f8;
  border-left: 6px solid #609c91;
}

/* Logo sizing */
.reference-logo {
  width: 120px;
  max-height: 60px;
  object-fit: contain;
  justify-self: center;
}

/* Text block */
.reference-content {
  line-height: 1.4;
}

/* Trust name */
.reference-content strong {
  display: block;
  margin-bottom: 0.07rem;
}

/* Link spacing */
.reference-content a {
  display: inline-block;
  margin-top: 0.2rem;
  font-weight: 500;
}






.homepage-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  margin-bottom: 2rem;
}












/* White bordered homepage container */
.homepage-card {
  background-color: white;
  padding: 1.5rem 2rem 2.4rem; /* extra space at bottom */
  margin: 0.3rem auto 2.5rem auto; /* small gap below navbar */
  border-radius: 0px;
  max-width: 1100px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Image inside card */
.homepage-image {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  margin-bottom: 0.5rem;
}


.page-index .content {
  padding-left: 0.75rem;
}













.contact-list {
  margin-top: 1.2rem;
}

.contact-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid #e2e6e8;
  line-height: 1.45;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item a {
  text-decoration: none;
  font-weight: 500;
}






/* ===========================================
   LOGO — white box behind logo
   =========================================== */

/* 
.navbar-brand {
  background-color: #003087 !important;   
  border: 3px solid #ffffff !important;   
  padding: 6px 12px !important;          
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 46px !important;               
  border-radius: 0 !important;            
  margin-right: 12px !important;          
}
*/

/* Logo sizing */
.navbar-brand img {
  height: 34px !important;   /* fits inside box */
  width: auto !important;
}


/* ===========================================
   BLUE INFO BOXES
   =========================================== */

.blue-box {
  background-color: #d97f25;  /* your mid-blue */
  color: white;
  padding: 20px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 1.1em;
  border-left: 6px solid #003087;         /* NHS blue accent */
}

.blue-box .highlight {
  color: #003087;  /* for example, gold */
}



.feature {
  flex: 1 1 400px;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}



.features-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 20px 0;
}

.feature-item {
  display: flex;
  flex-direction: column;  /* heading on top, text below */
  flex: 1 1 250px;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 1em;
  line-height: 1.4;
}






/* ===========================================
   BREAKOUT IMAGES — full-width images
   =========================================== */

.top-image {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  display: block;
  margin-top: 0 !important;    /* remove space above image */
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* Remove parent container margin/padding for this first image only */
.top-image-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}








/* ===========================================
   TYPOGRAPHY + SPACING
   =========================================== */

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
    background-color: #f0f0f0; 

}

h1, h2, h3 {
  color: #003087;           /* NHS Blue for headings */
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  text-align: justify;
}
