/* ============================================
   THOMAS GROUP - Main Stylesheet
   Version: 1.0
   Colours: Green #97c455, Orange #ea993e, Dark Grey #4b4c51
   Fonts: Mulish (headings), Inter (body)
   ============================================ */

/* ----------------------------------------
   CSS Custom Properties (Variables)
   ---------------------------------------- */
:root {
    /* Brand Colours */
    --tg-green: #97c455;
    --tg-green-dark: #7eb03d;
    --tg-green-light: #b5d680;
    --tg-orange: #ea993e;
    --tg-orange-dark: #d4832a;
    --tg-orange-light: #f0b366;
    --tg-dark: #4b4c51;
    --tg-dark-light: #6b6c71;
    --tg-white: #ffffff;
    --tg-off-white: #f8f9fa;
    --tg-light-grey: #e9ecef;
    --tg-medium-grey: #dee2e6;
    
    /* Typography */
    --font-heading: 'Mulish', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-weight-heading: 900;
    --font-weight-body: 300;
    
    /* Spacing */
    --section-padding: 80px;
    --section-padding-mobile: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ----------------------------------------
   Base Styles
   ---------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-body);
    color: var(--tg-dark);
    line-height: 1.7;
    font-size: 16px;
    background-color: var(--tg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    color: var(--tg-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--tg-green);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--tg-green-dark);
}

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

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--tg-green);
    color: var(--tg-white);
    padding: 8px 16px;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ----------------------------------------
   Top Bar
   ---------------------------------------- */
.top-bar {
    background-color: var(--tg-dark);
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-link {
    color: var(--tg-white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.top-bar-link:hover {
    color: var(--tg-green);
}

.top-bar-link i {
    color: var(--tg-green);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.top-bar-social a {
    color: var(--tg-white);
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.top-bar-social a:hover {
    color: var(--tg-green);
}

.top-bar-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* ----------------------------------------
   Main Header & Navigation
   ---------------------------------------- */
.main-header {
    background-color: var(--tg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .navbar {
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--tg-dark);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--tg-green);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--tg-dark) !important;
  padding: 10px 40px !important;
  position: relative;
  transition: color var(--transition-fast);
  text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--tg-green);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--tg-green) !important;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--tg-dark);
    padding: 10px 20px;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--tg-off-white);
    color: var(--tg-green);
    padding-left: 25px;
}

/* Navigation CTA Button */
.nav-cta {
    margin-left: 10px;
}

.btn-cta-primary {
    font-family: var(--font-heading);
    font-weight: 700;
    background-color: var(--tg-green);
    color: var(--tg-white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-fast);
}

.btn-cta-primary:hover {
    background-color: var(--tg-green-dark);
    color: var(--tg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cta-secondary {
    font-family: var(--font-heading);
    font-weight: 700;
    background-color: var(--tg-orange);
    color: var(--tg-white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-fast);
}

.btn-cta-secondary:hover {
    background-color: var(--tg-orange-dark);
    color: var(--tg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cta-light {
    font-family: var(--font-heading);
    font-weight: 700;
    background-color: var(--tg-white);
    color: var(--tg-green);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-fast);
}

.btn-cta-light:hover {
    background-color: var(--tg-off-white);
    color: var(--tg-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cta-outline {
    font-family: var(--font-heading);
    font-weight: 700;
    background-color: transparent;
    color: var(--tg-white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 2px solid var(--tg-white);
    transition: all var(--transition-fast);
}

.btn-cta-outline:hover {
    background-color: var(--tg-white);
    color: var(--tg-green);
    transform: translateY(-2px);
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234b4c51' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--tg-dark) 0%, #2d2e31 100%);
    background: linear-gradient(to right, rgba(45,46,49,.75), rgba(45,46,49,.75)), url(/media/ol4i2owd/home-top.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/media/hero-pattern.svg') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(151, 196, 85, 0.15);
    color: var(--tg-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.hero-title {
    color: var(--tg-white);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--tg-green);
}

.hero-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 540px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.hero-feature i {
    color: var(--tg-green);
    font-size: 1.25rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-stats {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: var(--tg-white);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 30px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--tg-orange);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--tg-dark-light);
    margin-top: 5px;
    display: block;
}

/* ----------------------------------------
   Page Header (Inner Pages)
   ---------------------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--tg-dark) 0%, #2d2e31 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(151, 196, 85, 0.1) 100%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    color: var(--tg-white);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.page-title span {
    color: var(--tg-green);
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a:hover {
    color: var(--tg-green);
}

.breadcrumb-item.active {
    color: var(--tg-green);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------
   Section Styles
   ---------------------------------------- */
.section {
    padding: var(--section-padding) 0;
}

.section-grey {
    background-color: var(--tg-off-white);
}

.section-dark {
    background-color: var(--tg-dark);
}

.section-green {
    background-color: var(--tg-green);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background-color: rgba(151, 196, 85, 0.15);
    color: var(--tg-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 15px;
}

.section-title span {
    color: var(--tg-green);
}

.section-text {
    color: var(--tg-dark-light);
    font-size: 1.0625rem;
}

/* ----------------------------------------
   Service Cards
   ---------------------------------------- */
.service-card {
    background: var(--tg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-image {
    position: relative;
    height: 220px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-icon {
    position: absolute;
    bottom: -25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: var(--tg-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.service-card-body {
    padding: 40px 25px 25px;
}

.service-card-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-card-title a {
    color: var(--tg-dark);
    transition: color var(--transition-fast);
}

.service-card-title a:hover {
    color: var(--tg-green);
}

.service-card-text {
    color: var(--tg-dark-light);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.service-card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--tg-green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-fast);
}

.service-card-link:hover {
    gap: 12px;
    color: var(--tg-green-dark);
}

/* ----------------------------------------
   Feature List
   ---------------------------------------- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tg-light-grey);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--tg-green);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-list li span {
    font-size: 0.9375rem;
}

/* ----------------------------------------
   Service List Grid
   ---------------------------------------- */
.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--tg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.service-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.service-list-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--tg-green) 0%, var(--tg-green-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-list-content h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.service-list-content p {
    font-size: 0.8125rem;
    color: var(--tg-dark-light);
    margin: 0;
}

/* ----------------------------------------
   Trust Section
   ---------------------------------------- */
.trust-item {
    text-align: center;
    padding: 30px 20px;
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tg-green) 0%, var(--tg-green-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--tg-white);
    font-size: 2rem;
}

.trust-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--tg-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--tg-dark-light);
}

/* ----------------------------------------
   Partner Sites
   ---------------------------------------- */
.partner-card {
    background: var(--tg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-medium);
    height: 100%;
}

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

.partner-card-logo {
    height: 60px;
    margin-bottom: 20px;
}

.partner-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.partner-card-text {
    font-size: 0.9375rem;
    color: var(--tg-dark-light);
    margin-bottom: 20px;
}

.partner-card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ----------------------------------------
   Areas Covered
   ---------------------------------------- */
.areas-section {
    position: relative;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.area-tag {
    background: var(--tg-white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--tg-dark);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border-left: 3px solid var(--tg-green);
}

.area-tag:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--tg-orange);
}

/* ----------------------------------------
   Compliance & Quality Section
   ---------------------------------------- */
.compliance-card {
    background: var(--tg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all var(--transition-fast);
}

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

.compliance-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(151, 196, 85, 0.15) 0%, rgba(151, 196, 85, 0.25) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--tg-green);
    font-size: 1.75rem;
}

.compliance-card h5 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.compliance-card p {
    font-size: 0.875rem;
    color: var(--tg-dark-light);
    margin: 0;
}

/* ----------------------------------------
   Image Gallery
   ---------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(75, 76, 81, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--tg-white);
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ----------------------------------------
   CTA Banner
   ---------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--tg-green) 0%, var(--tg-green-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-title {
    color: var(--tg-white);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.cta-banner-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    max-width: 600px;
}

/* ----------------------------------------
   Page CTA Section
   ---------------------------------------- */
.page-cta {
    background: var(--tg-dark);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.page-cta-title {
    color: var(--tg-white);
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.page-cta-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.page-cta-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.page-cta-contact a {
    color: var(--tg-white);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.page-cta-contact a i {
    color: var(--tg-green);
    font-size: 1.25rem;
}

.page-cta-contact a:hover {
    color: var(--tg-green);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.site-footer {
    background: var(--tg-dark);
    padding: 70px 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col {
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: var(--tg-white);
    font-size: 1.5rem;
}

.footer-about {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-white);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--tg-green);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--tg-white);
    font-size: 1.125rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--tg-green);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--tg-green);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.75rem;
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9375rem;
}

.footer-contact li i {
    color: var(--tg-green);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover {
    color: var(--tg-green);
}

.footer-compliance {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 20px;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.compliance-badge i {
    color: var(--tg-green);
}

.footer-bottom {
    padding: 25px 0;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.credit {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.credit a {
    color: var(--tg-green);
}

.credit a:hover {
    color: var(--tg-green-light);
}

/* ----------------------------------------
   Back to Top Button
   ---------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--tg-green);
    color: var(--tg-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--tg-green-dark);
    color: var(--tg-white);
    transform: translateY(-5px);
}

/* ----------------------------------------
   Contact Form
   ---------------------------------------- */
.contact-form {
    background: var(--tg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--tg-dark);
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid var(--tg-medium-grey);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--tg-green);
    box-shadow: 0 0 0 3px rgba(151, 196, 85, 0.2);
}

.form-select {
    border: 1px solid var(--tg-medium-grey);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9375rem;
}

.form-select:focus {
    border-color: var(--tg-green);
    box-shadow: 0 0 0 3px rgba(151, 196, 85, 0.2);
}

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

/* ----------------------------------------
   Contact Info Cards
   ---------------------------------------- */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--tg-off-white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--tg-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-content p {
    font-size: 0.9375rem;
    color: var(--tg-dark-light);
    margin: 0;
}

.contact-info-content a {
    color: var(--tg-dark);
    font-weight: 400;
}

.contact-info-content a:hover {
    color: var(--tg-green);
}

/* ----------------------------------------
   About Page Specific
   ---------------------------------------- */
.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: var(--tg-orange);
    color: var(--tg-white);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    display: block;
}

.about-experience-badge .text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
}

.value-card {
    text-align: center;
    padding: 30px;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--tg-green) 0%, var(--tg-green-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--tg-white);
    font-size: 1.75rem;
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--tg-dark-light);
    margin: 0;
}

/* ----------------------------------------
   Responsive Styles
   ---------------------------------------- */
@media (max-width: 991.98px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .navbar-collapse {
        background: var(--tg-white);
        padding: 20px;
        margin-top: 15px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .nav-cta .btn-cta-primary {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 30px;
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .cta-banner {
        text-align: center;
    }
    
    .cta-banner .text-lg-end {
        margin-top: 25px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        display: none;
    }
    
    .top-bar-contact {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .top-bar-social {
        justify-content: center;
    }
    
    .top-bar-text {
        display: none;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .page-cta {
        padding: 30px 20px;
    }
    
    .page-cta-contact {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-compliance {
        text-align: center;
    }
    
    .compliance-badges {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        margin-top: 10px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .about-experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .service-list-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.text-green { color: var(--tg-green) !important; }
.text-orange { color: var(--tg-orange) !important; }
.text-dark { color: var(--tg-dark) !important; }
.bg-green { background-color: var(--tg-green) !important; }
.bg-orange { background-color: var(--tg-orange) !important; }
.bg-dark { background-color: var(--tg-dark) !important; }

.mb-section { margin-bottom: var(--section-padding); }

/* Print Styles */
@media print {
    .top-bar,
    .main-header,
    .cta-banner,
    .site-footer,
    .back-to-top {
        display: none !important;
    }
    
    .section {
        padding: 20px 0;
    }
}

/* Additional CSS */

.navbar-brand img {
  width: 200px;
}

@media(max-width:767px){
    .navbar-brand img {
      width: 160px;
    }
}

.footer-logo img {
    width: 140px;
}

.section-coverage {
  background: linear-gradient(to right, rgb(255, 255, 255) 15%,rgba(255,255,255,.5)), url(/media/dcyawriu/tenby.jpg);
  background-size: cover;
}

.section-trust {
  background: linear-gradient(to bottom, rgb(255, 255, 255) 25%,rgba(255,255,255,.75)), url(/media/lagd522n/pembrokeshire.jpg);
  background-size: cover;
}

.trust-icon {
  background: linear-gradient(135deg, var(--tg-orange) 0%, var(--tg-orange-dark) 100%);
}

.orange-text {
    color: var(--tg-orange) !important;
}

.section-badge-orange {
  background-color: rgba(234, 153, 62, 0.15);
  color: var(--tg-orange);
}

.compliance-icon {
  background: linear-gradient(135deg, rgba(234, 153, 62, 0.15) 0%, rgba(234, 153, 62, 0.25) 100%);
  color: var(--tg-orange);
}

.nav-cta .btn {
  text-transform: uppercase;
}

.small-logo img {
  height: 2.5rem;
  margin: .5rem;
}