:root {
  /* Official britnrg.com Brand Color Palette */
  --primary-dark: #1f4532;       /* Official BritNRG Dark Forest Green (.uk-section-secondary, dropdown, footer) */
  --primary-navy: #1f4532;       /* Mapped to Official Dark Forest Green */
  --primary-blue: #234648;       /* Official BritNRG Deep Teal-Green ("NRG" logo color) */
  --accent-purple: #744181;      /* Official BritNRG Brand Purple ("brit" logo color, buttons, nav active) */
  --accent-purple-hover: #56305f;
  --accent-red: #744181;         /* Mapped to Official BritNRG Purple #744181 across all pages */
  --accent-red-hover: #56305f;
  --accent-blue: #234648;        /* Official BritNRG Deep Teal */
  --accent-teal: #257479;        /* Official BritNRG Teal Accent */
  --accent-amber: #4e6c19;       /* Official BritNRG Olive-Green Accent */
  --text-dark: #222328;          /* Official Heading / Dark Text Color */
  --text-muted: #5f5f63;         /* Official Body Text Color */
  --text-light: #ffffff;
  --bg-light: rgba(106, 154, 21, 0.05); /* Official .uk-section-muted Background (#f8fbf3) */
  --bg-white: #ffffff;
  --border-color: #eeeeee;       /* Official Divider Border (#eee) */
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --font-hero: "Kanit", sans-serif;
  --max-width: 1200px;
  --header-height: 100px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 25px rgba(0, 0, 0, 0.14);
  --radius-sm: 0px;
  --radius-md: 4px;
  --radius-lg: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: normal;
  line-height: 1.58;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background: #ffffff;
  color: var(--text-muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: #ffffff;
  color: var(--text-muted);
  line-height: 1.58;
  overflow-x: hidden;
  font-size: 17px;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6 {
  font-family: var(--font-primary);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0 0 20px 0;
}

h1, .uk-h1 { font-size: 46px; line-height: 1.2; }
h2, .uk-h2 { font-size: 38px; line-height: 1.3; }
h3, .uk-h3 { font-size: 32px; line-height: 1.4; }
h4, .uk-h4 { font-size: 26px; line-height: 1.4; }
h5, .uk-h5 { font-size: 20px; line-height: 1.4; }

p {
  margin-bottom: 1.2rem;
}

a,
.uk-link {
  text-decoration: none;
  color: #744181;
  cursor: pointer;
  transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

a:hover,
.uk-link:hover {
  color: #4e6c19;
}

ul {
  list-style: none;
}

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

.container,
.uk-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

.uk-container-large {
  max-width: 1400px;
}

.uk-container-expand {
  max-width: none;
  padding: 0 40px;
}

.uk-text-center {
  text-align: center !important;
}

.uk-text-left {
  text-align: left !important;
}

.uk-text-bold {
  font-weight: 700 !important;
}

.uk-margin {
  margin-bottom: 20px;
}

.uk-margin-remove-top {
  margin-top: 0 !important;
}

.uk-margin-remove-bottom {
  margin-bottom: 0 !important;
}

.uk-padding-remove-top {
  padding-top: 0 !important;
}

.uk-padding-remove-bottom {
  padding-bottom: 0 !important;
}

.uk-width-1-1 {
  width: 100%;
}

.uk-position-relative {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Buttons (Official britnrg.com UIkit button styles + sitewide .btn)
   ========================================================================== */
.uk-button,
.btn {
  margin: 0;
  border: 0;
  overflow: visible;
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 0 25px;
  vertical-align: middle;
  font-size: 17px;
  line-height: 45px;
  text-align: center;
  text-decoration: none;
  transition: 0.17s ease-in-out;
  transition-property: color, background-color, background-position, border-color, box-shadow;
  background-size: 200%;
  background-position-x: 100%;
  font-weight: 300;
  cursor: pointer;
}

.uk-button-primary,
.btn {
  background-color: var(--accent-purple);
  color: #ffffff;
  background-image: linear-gradient(90deg, var(--primary-dark) 50%, var(--accent-purple) 50%);
}

.uk-button-primary:hover,
.uk-button-primary:focus,
.btn:hover,
.btn:focus {
  background-color: var(--primary-dark);
  color: #ffffff;
  background-position-x: 0;
  text-decoration: none;
}

.uk-button-secondary,
.btn-secondary {
  background-color: var(--primary-dark);
  color: #ffffff;
  background-image: none;
  border: 1px solid var(--primary-dark);
}

.uk-button-secondary:hover,
.uk-button-secondary:focus {
  background-color: var(--primary-dark);
  color: var(--accent-teal);
}

.btn-secondary:hover {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #ffffff;
}

.uk-button-small {
  padding: 0 15px;
  line-height: 32px;
  font-size: 14px;
}

.btn-outline-white {
  background-color: transparent;
  background-image: none;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #ffffff;
}

/* ==========================================================================
   Header & Navigation (Identical to britnrg.com .tm-header / .uk-navbar)
   ========================================================================== */
header.tm-header,
header {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
}

.brand-logo.uk-logo,
.brand-logo {
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 15px 0 0;
}

.brand-logo img,
.uk-responsive-height {
  max-height: 100%;
  height: 100px;
  width: auto;
  max-width: none;
  padding: 12px;
  display: block;
}

nav {
  height: 100%;
}

nav > ul.uk-navbar-nav,
nav > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  gap: 0;
}

nav > ul > li {
  height: 100%;
  display: flex;
  align-items: center;
}

nav > ul > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  height: 100px;
  padding: 0 15px;
  font-size: 18px;
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-dark);
  text-transform: none;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.1s ease-in-out;
}

nav > ul > li > a::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 30px;
  height: 2px;
  background-color: transparent;
  transition: 0.3s ease-in-out;
  transition-property: background-color, height, right;
  left: 15px;
  right: calc(102% - 15px);
}

nav > ul > li:hover > a,
nav > ul > li > a:focus {
  color: var(--text-dark);
  outline: 0;
}

nav > ul > li > a.active,
nav > ul > li.uk-active > a {
  color: var(--accent-purple);
}

nav > ul > li:hover > a::before,
nav > ul > li > a:focus::before,
nav > ul > li > a.active::before {
  right: 15px;
  background-color: var(--accent-purple);
  height: 2px;
}

nav > ul > li > a:active {
  color: var(--accent-purple);
}

nav > ul > li > a:active::before {
  background-color: var(--primary-dark);
  height: 2px;
}

/* Dropdown Menu (Identical to britnrg.com .uk-navbar-dropdown: #1f4532, 325px) */
.dropdown {
  position: relative;
}

nav ul.dropdown-menu,
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1020;
  box-sizing: border-box;
  width: 300px;
  height: auto !important;
  padding: 22px 24px;
  margin: 0;
  background-color: #1f4532;
  color: #ffffff;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.dropdown:hover > .dropdown-menu {
  display: flex;
}

nav ul.dropdown-menu > li,
.dropdown-menu > li {
  width: 100%;
  height: auto !important;
  display: block;
}

nav ul.dropdown-menu > li > a,
.dropdown-menu > li > a {
  display: block;
  height: auto !important;
  padding: 6px 0;
  font-size: 17px;
  font-weight: 400;
  color: #ffffff;
  text-align: left;
  text-transform: none;
  white-space: normal;
  line-height: 1.4;
}

nav ul.dropdown-menu > li > a::before,
nav ul.dropdown-menu > li > a::after,
.dropdown-menu > li > a::before,
.dropdown-menu > li > a::after {
  display: none !important;
}

nav ul.dropdown-menu > li > a:hover,
nav ul.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #a7a7a7;
  background-color: transparent;
}

nav ul.dropdown-menu > li.sub-link,
.dropdown-menu > li.sub-link {
  padding-left: 15px;
}

nav ul.dropdown-menu > li.sub-link > a,
.dropdown-menu > li.sub-link > a {
  font-size: 16px;
  color: #a7a7a7;
}

nav ul.dropdown-menu > li.sub-link > a:hover,
nav ul.dropdown-menu > li.sub-link > a:focus,
.dropdown-menu > li.sub-link > a:hover,
.dropdown-menu > li.sub-link > a:focus {
  color: #ffffff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

/* Header Spacer */
.header-spacer {
  height: var(--header-height);
}

/* ==========================================================================
   Homepage Sections (Identical to britnrg.com)
   ========================================================================== */
.uk-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.uk-section-xsmall {
  padding-top: 20px;
  padding-bottom: 20px;
}

.uk-section-default {
  background: #ffffff;
}

.uk-section-muted {
  background: rgba(106, 154, 21, 0.05);
}

.uk-section-secondary {
  background: var(--primary-dark);
  color: #ffffff;
}

.uk-flex {
  display: flex;
}

.uk-flex-middle {
  align-items: center;
}

/* Video Cover Sections (#page#1 and #page#42) */
.uk-section-video {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  width: 100%;
  background-color: #222328;
}

#page-42.uk-section-video {
  min-height: calc(100vh - var(--header-height) - 20px);
}

.uk-cover-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.uk-position-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Hero Text on #page#1 */
#page-4 {
  font-size: 2.8rem;
  margin-top: 0;
  margin-bottom: 20px;
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background-color: transparent !important;
  padding: 10px !important;
  font-weight: bold;
}

#page-5 {
  color: #ffffff !important;
  background-color: transparent !important;
  padding: 10px !important;
  font-size: 1.5em !important;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 15px;
}

/* Intro Paragraph #page#10 */
#page-10 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--text-dark);
  margin: 0;
}

#page-10 a {
  color: #744181;
  font-weight: 300;
}

#page-10 a:hover {
  color: #4e6c19;
}

/* Fixed Background Parallax Banners (#page#14, #page#27, #page#36) */
.uk-background-norepeat {
  background-repeat: no-repeat;
}

.uk-background-cover {
  background-size: cover;
}

.uk-background-center-center {
  background-position: 50% 50%;
}

.uk-background-fixed {
  background-attachment: fixed;
}

.uk-parallax-viewport {
  min-height: calc(100vh - var(--header-height) - 20px);
}

.uk-heading-hero {
  font-family: var(--font-hero);
  font-size: 72px;
  line-height: 1;
  font-weight: 200;
  text-transform: uppercase;
  color: #ffffff;
}

#page-14,
#page-27,
#page-36 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Three Strategic Columns under Strategic Positioning */
.uk-grid-3-equal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.uk-panel .el-title {
  font-size: 26px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Striped List (#page#32) */
.uk-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.uk-list-striped > li {
  padding: 10px 10px;
}

.uk-list-large.uk-list-striped > li {
  padding: 30px 10px;
}

.uk-list-striped > li:nth-of-type(odd) {
  background: rgba(106, 154, 21, 0.05);
}

#page-32 .el-link {
  font-size: 1.4em !important;
  font-weight: 700;
  color: #333333;
  display: inline-block;
}

#page-32 .el-link:hover span {
  color: var(--accent-purple) !important;
}

/* Divider List (#page#41) */
.uk-list-divider > li:nth-child(n+2) {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
}

.uk-list-large.uk-list-divider > li:nth-child(n+2) {
  margin-top: 30px;
  padding-top: 30px;
}

#page-41 h4 {
  margin-bottom: 0 !important;
  font-size: 26px;
  font-weight: 300;
  color: var(--text-dark);
}

/* Three Logos in Bottom Video (#page#45) */
.uk-grid-3-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  align-items: center;
  text-align: center;
}

#page-45 .el-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#page-45 .el-image {
  max-width: 200px;
  margin: 0 auto;
}

/* ==========================================================================
   Subpages Hero & Content Styles (Consistent with britnrg.com Official Palette)
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%), url('/assets/images/about.jpg') center/cover no-repeat fixed;
  color: #ffffff;
  padding: 100px 0 90px 0;
  text-align: center;
}

.page-hero.hero-strategy { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%), url('/assets/images/strategy.jpg'); }
.page-hero.hero-assets { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%), url('/assets/images/assets.png'); }
.page-hero.hero-low-carbon { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.20) 100%), url('/assets/images/Sustainable_Development_Projects.png'); background-position: center bottom; }
.page-hero.hero-traditional { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.20) 100%), url('/assets/images/fossil.png'); background-position: center left; }
.page-hero.hero-field { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%), url('/assets/images/black-silhouette-oil-drilling-rig-field-night.jpg'); }
.page-hero.hero-investors { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%), url('/assets/images/londra_2.jpeg'); }
.page-hero.hero-governance { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%), url('/assets/images/governance.jpg'); }
.page-hero.hero-purple { background: var(--accent-purple); }

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-hero);
  color: #ffffff;
  font-size: 3.4rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65);
}

.page-hero p.lead {
  background-color: rgba(255, 255, 255, 0.82);
  color: #222328;
  padding: 22px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 24px auto 0 auto;
  max-width: 920px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
}

.page-hero p.lead a {
  color: #744181;
  font-weight: 600;
  text-decoration: underline;
}

.page-hero p.lead a:hover {
  color: #4e6c19;
}

.breadcrumbs {
  margin-bottom: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
  color: #ffffff;
}

.breadcrumbs a:hover {
  color: #e2d4e8;
}

.breadcrumbs span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.6);
}

/* Sections */
.section-padding {
  padding: 70px 0;
}

.section-padding-sm {
  padding: 45px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 300;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  color: var(--text-dark);
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-purple);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 750px;
  margin: 15px auto 0 auto;
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-light {
  background-color: var(--bg-light);
}

/* Quotes & Highlights */
.quote-banner {
  background-color: var(--bg-light);
  border-left: 5px solid var(--accent-purple);
  padding: 30px 40px;
  margin: 40px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.quote-banner blockquote {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.5;
  font-style: italic;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-purple);
}

.card-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(116, 65, 129, 0.1);
  color: var(--accent-purple);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* Graphic Next Navigation Cards & Mission Features */
.next-nav-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8ece9;
  border-left: 5px solid #744181;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.next-nav-card::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 65, 129, 0.08) 0%, rgba(116, 65, 129, 0) 70%);
  pointer-events: none;
  transition: transform 0.35s ease;
}

.next-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(31, 69, 50, 0.14);
  border-color: #1f4532;
  border-left-color: #4e6c19;
}

.next-nav-card:hover::after {
  transform: scale(1.6);
}

.next-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.next-nav-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(116, 65, 129, 0.12) 0%, rgba(31, 69, 50, 0.08) 100%);
  color: #744181;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.next-nav-card:hover .next-nav-icon {
  background: linear-gradient(135deg, #744181 0%, #1f4532 100%);
  color: #ffffff;
  transform: scale(1.06);
}

.next-nav-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.next-nav-card:hover .next-nav-title {
  color: #1f4532;
}

.next-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f6f8f5;
  color: #744181;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.next-nav-card:hover .next-nav-arrow {
  background-color: #4e6c19;
  color: #ffffff;
  transform: translateX(4px);
}

/* Team / Board of Directors Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.team-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 28px;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  transform: scale(1.08);
  transition: transform 0.4s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.13);
}

.team-content {
  padding: 20px 28px 28px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.team-name {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 4px;
  text-align: center;
}

.team-role {
  color: var(--accent-purple);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-align: center;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: justify;
}

/* Custom Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: #ffffff;
}

.custom-table th, .custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.custom-table th {
  background-color: var(--primary-dark);
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.custom-table tr:hover td {
  background-color: var(--bg-light);
}

/* ==========================================================================
   Footer & Regulatory Strip (Identical to britnrg.com #footer#1 & .tm-footer)
   ========================================================================== */
#footer-1.regulatory-strip,
.regulatory-strip {
  background-color: #cccccc;
  color: var(--text-dark);
  padding: 10px 0;
  font-size: 17px;
}

.regulatory-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.regulatory-text a {
  color: #744181;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.regulatory-text a:hover {
  color: #4e6c19;
}

.social-links-strip {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}

.uk-icon-button,
.social-links-strip a {
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  border-radius: 500px;
  background: #f3f3f3;
  color: #a7a7a7;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  transition: 0.1s ease-in-out;
  transition-property: color, background-color;
}

.uk-icon-button:hover,
.uk-icon-button:focus,
.social-links-strip a:hover {
  background-color: var(--accent-purple);
  color: #ffffff;
  outline: 0;
}

.uk-icon-button:active {
  background-color: var(--accent-amber);
  color: #ffffff;
}

footer.tm-footer {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 40px 0;
  font-size: 17px;
  font-weight: 300;
}

.tm-footer-info p {
  color: #ffffff;
  line-height: 1.58;
}

.tm-footer-info a:hover {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Page Navigation (Previous / Next) */
.page-navigation {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}

.nav-links-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  transition: all 0.3s ease;
  max-width: 48%;
  min-width: 260px;
}

.nav-item:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-item.prev {
  text-align: left;
}

.nav-item.next {
  text-align: right;
  margin-left: auto;
}

.nav-label {
  font-size: 12px;
  font-family: var(--font-primary);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-purple);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.nav-section {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Contact Form & Input Elements */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cccccc;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--text-dark);
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(116, 65, 129, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-info-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-color);
}

.contact-info-card h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: var(--accent-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background-color: var(--accent-purple);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Cookie Settings Button */
#cookie-settings-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background-color: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

#cookie-settings-btn:hover {
  background-color: var(--accent-purple);
  transform: scale(1.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 16px;
  background-color: rgba(31, 69, 50, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #ffffff;
  margin: 4vh auto;
  padding: 32px;
  border-radius: var(--radius-md);
  max-width: 620px;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  flex-shrink: 0;
}

.modal-header h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.close-modal {
  font-size: 28px;
  color: #a7a7a7;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  color: var(--text-dark);
}

.modal-body {
  margin-bottom: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}

.cookie-categories {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-category {
  background-color: var(--bg-light);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.category-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cccccc;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: var(--accent-purple);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent-purple);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints (Matching britnrg.com mobile rules)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .uk-grid-3-equal {
    grid-template-columns: repeat(2, 1fr);
  }

  nav > ul > li > a {
    font-size: 18px;
    padding: 0 10px;
  }
}

@media (max-width: 900px) {
  header.tm-header,
  header {
    height: 93px;
    border-bottom: 1px solid #cccccc;
  }

  .header-spacer {
    height: 93px;
  }

  .header-container {
    padding: 0 20px;
  }

  .brand-logo img,
  .uk-responsive-height {
    max-height: 77px;
    height: auto;
    padding: 3px;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 93px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 93px);
    background-color: #ffffff;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 30px 24px;
    z-index: 1111;
  }

  nav.active {
    left: 0;
  }

  nav > ul.uk-navbar-nav,
  nav > ul {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 12px;
    width: 100%;
  }

  nav > ul > li {
    width: 100%;
    height: auto;
    flex-direction: column;
    text-align: center;
  }

  nav > ul > li > a {
    height: auto;
    padding: 10px 0;
    font-size: 22px;
  }

  nav > ul > li > a::before {
    display: none;
  }

  nav ul.dropdown-menu,
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    height: auto !important;
    box-shadow: none;
    padding: 15px;
    background-color: #1f4532;
    text-align: center;
    align-items: center;
    margin-top: 6px;
  }

  .dropdown.open > .dropdown-menu {
    display: flex;
  }

  nav ul.dropdown-menu > li > a,
  .dropdown-menu > li > a {
    text-align: center;
  }

  nav ul.dropdown-menu > li.sub-link,
  .dropdown-menu > li.sub-link {
    padding-left: 0;
  }

  .grid-2,
  .contact-grid,
  .uk-grid-3-equal,
  .uk-grid-3-logos {
    grid-template-columns: 1fr;
  }

  .nav-links-container {
    flex-direction: column;
  }

  .nav-item {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #page-4 {
    color: #ffffff !important;
    font-size: 1.5em !important;
  }

  #page-5 {
    color: #ffffff !important;
    font-size: 1em !important;
  }

  #page-10 {
    font-size: 1em !important;
  }

  .uk-heading-hero {
    font-size: 42px;
  }

  #page-32 .el-link {
    font-size: 1.4em !important;
  }

  #page-45 {
    text-align: center;
  }

  #page-45 .el-image {
    max-width: 150px !important;
  }

  .uk-background-fixed {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .modal {
    padding: 12px;
  }

  .modal-content {
    margin: 12px auto 24px auto;
    padding: 20px 16px;
    max-height: calc(100dvh - 24px);
  }

  .modal-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .modal-header h3 {
    font-size: 1.2rem;
  }

  .modal-body {
    margin-bottom: 14px;
  }

  .cookie-categories {
    margin-top: 14px;
    gap: 10px;
  }

  .cookie-category {
    padding: 12px 14px;
  }

  .modal-footer {
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
  }

  .modal-footer .btn {
    width: 100%;
    justify-content: center;
    line-height: 40px;
    font-size: 15px;
  }
}
