@charset "utf-8";
/*
Theme Name: DTGroup
Theme URI: https://www.blackspiraldesign.co.uk
Author: Black Spiral Design
Author URI: http://www.blackspiraldesign.co.uk
Description: This is a Bootstrap 5 base theme for DTGroup
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dtgroup

*/
:root {
	/* Bootstrap 5 font variable override */
  --bs-body-font-family: 'Open Sans', sans-serif;

  /* Custom palette */
  --bg-dark: #202738;
  --bg-darker: #151927;
	--bg-card: #202738;
  --color-teal: #009D97;
  --color-info: #1b83a3;
  --color-purple: #0B5D6E;
  --text-muted: #94a3b8;
}

body {
  background-color: var(--bg-darker);
 
}

.bg-dark {
  background-color: var(--bg-dark)!important;
}

.bg-darker {
  background-color: var(--bg-darker)!important;
}

.bg-darkest {
  background-color: var(--bg-darker)!important;
}

.text-teal {
  color: var(--color-teal) !important;
}

.text-blue {
  color: var(--color-info) !important;
}

.text-purple {
  color: var(--color-purple) !important;
}

.text-muted-custom {
  color: var(--text-muted)!important;
}

/* Custom Buttons */
.btn-teal {
  background-color: var(--color-teal);
  color: #fff;
  border: none;
}

.btn-teal:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--color-teal);
  color: #fff;
}

.btn-blue {
 background-color: var(--color-info);
  color: #fff;
  border: none;
}

.btn-blue:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--color-info);
  color: #fff;
}

.btn-purple {
  background-color: var(--color-purple);
  color: #fff;
  border: none;
}

.btn-purple:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--color-purple);
  color: #fff;
}

.btn-outline-teal {
  border-color: #fff;
  color: #fff;
}

.btn-outline-teal:hover {
  background-color: var(--color-teal);
  
}

.btn-outline-blue {
  border-color: #fff;
  color: #fff;
}

.btn-outline-blue:hover {
  background-color: var(--color-info);
  
}

.btn-outline-purple {
  border-color: #fff;
  color: #fff;
}

.btn-outline-purple:hover {
  background-color: var(--color-purple);
  
}

.bg-teal {
  background-color: var(--color-teal) !important;
}

.bg-blue {
	background-color: var(--color-info) !important;
}

.bg-purple {
  background-color: var(--color-purple) !important;
}

.bg-dark-teal { 
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--color-teal);
}

.bg-dark-blue { 
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--color-info);
}

.bg-dark-purple { 
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--color-purple);
}


.border-info-subtle {
    border-color: rgba(0,158,153,1) !important;
}

a {
	color: var(--color-teal);
}

a:hover {
	color: var(--color-purple);
}

footer li a, #contact-details a {
	color: #fff;
}

footer li a:hover, #contact-details a:hover {
	color: var(--color-teal) !important;
}

a.nav-link {
    color: var(--white);
}

a.nav-link:hover {
    color: var(--color-teal);
}

.icon_btns a:hover {
    background-color:var(--color-teal);
    color:var(--white);
    border-color:var(--color-teal);
}

/* Custom Placeholder Styling for Dark Inputs */
.bg-darker::placeholder,
.bg-dark::placeholder,
.form-control.text-white::placeholder {
    color: rgba(255, 255, 255, 0.65) !important; /* Soft white placeholder */
    opacity: 1; /* Override Firefox default lowering */
}

/* Typography */

/* Sets the base font size for the whole document */
html {
  font-size: 16px;
}

/* Ensure Bootstrap body text inherits it */
body {
  font-size: 1rem; /* 1rem now equals 18px */
	 font-family: var(--bs-body-font-family);
	
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Open Sans', sans-serif;
}

h2 {
	font-weight:700;
	font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
}


h3 {
	font-weight:700;
	font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
}

h4 {
	font-weight:700;
	font-size: clamp(1.25rem, 1.1rem + 1.25vw, 2rem);
	
}



.u-title {
    position: relative;
    width: fit-content;
	padding-bottom:3.5rem;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:0;	
   }

@media (min-width:997px) {
	.u-title {    
	margin-bottom:2rem;	
   }
}
  
   .u-title::after {
     content: "";
     width: 33.33%;
     height: .1em;
     background-color: var(--color-teal); 
     position: absolute;
     bottom: -2px;
     left: 50%;
	   transform: translatex(-50%);
     
   }



.u-sub {
	position: relative;
    width: fit-content;
	padding-bottom:2rem;
	margin-bottom:3rem;	
}

 .u-sub::after {
     content: "";
     width: 100%;
     height: .1em;
     background-color: var(--color-teal); 
     position: absolute;
     bottom: -2px;
     left: 50%;
	   transform: translatex(-50%);
     
   }

.blue .u-title::after, .blue .u-sub::after {
	background-color: var(--color-info); 
}

.purple .u-title::after, .purple .u-sub::after {
	background-color: var(--color-purple); 
}

/* Left-aligned title variant */
.u-title.text-start {
  margin-left: 0;
  margin-right: auto;
}

.u-title.text-start::after {
  left: 0;
  transform: none;
}

main h2, #page-content-area h2, article h2 {
    margin-bottom:3rem !important;
    position: relative;
    width: fit-content;
	padding-bottom:3.5rem;
	margin-left:auto;
	margin-right:auto;	
   }

 
  main h2::after, #page-content-area h2::after, article h2::after {
     content: "";
     width: 33.33%;
     height: .1em;
     background-color: var(--color-teal); 
     position: absolute;
     bottom: -2px;
     left: 50%;
	   transform: translatex(-50%);
     
   }

main h2:not(:first-of-type), #page-content-area h2:not(:first-of-type), article h2:not(:first-of-type) {
    padding-top: 2rem;
}

/* Align Left: Override Margins for TinyMCE Left-Aligned H2 */
main h2[style*="text-align: left"],
#page-content-area h2[style*="text-align: left"],
article h2[style*="text-align: left"],
main h2[style*="text-align:left"],
#page-content-area h2[style*="text-align:left"],
article h2[style*="text-align:left"],
main h2.alignleft,
#page-content-area h2.alignleft,
article h2.alignleft {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Align Left: Shift Underline Line to Start at Left Edge */
main h2[style*="text-align: left"]::after,
#page-content-area h2[style*="text-align: left"]::after,
article h2[style*="text-align: left"]::after,
main h2[style*="text-align:left"]::after,
#page-content-area h2[style*="text-align:left"]::after,
article h2[style*="text-align:left"]::after,
main h2.alignleft::after,
#page-content-area h2.alignleft::after,
article h2.alignleft::after {
    left: 0 !important;
    transform: none !important;
}


/* custom scrollbar */
::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background-color: #0a0c15;
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-muted);
  border-radius: 20px;
  border: 6px solid #4f4e4e;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-teal);
}


/* larger container */

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px !important; 
    }
}
@media (min-width:1650px) { 
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width:1350px !important;
    }
}
	
	/* Ultra-wide / 1080p+ breakpoint */
@media (min-width: 1920px) { 
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1680px !important;
    }
}


/* nav stuff */

@media(min-width:400px) { a.navbar-brand img {
    max-width:300px!important;
} }

@media (min-width:1650px) {
	
a.navbar-brand img {
    max-width:400px!important;
}	

a.nav-link {
    padding-right: 1rem !important;    
    padding-left:  1rem !important;
}
}

/* Desktop Search Panel Helpers */
.max-width-700 {
  max-width: 700px;
}

/* Desktop Search Panel Override */
#desktopSearchPanel {
  transition: all 0.3s ease-in-out;
}

/* Hide desktop panel on screens smaller than XL (since mobile uses offcanvas) */
@media (max-width: 1199.98px) {
  #desktopSearchPanel {
    display: none !important;
  }
	div#mobileOffcanvas {
    min-width: 75vw;
	}
}

/* Megamenu Desktop Layout */
@media (min-width: 1200px) {
  .nav-item.dropdown-mega {
    position: static;
  }
  .nav-item.dropdown-mega .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
  }
}

/* Hover effect on Megamenu links */
.mega-menu-link {
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s ease;
  padding: 0.35rem 0;
  display: block;
}
.mega-menu-link:hover {
  color: var(--bs-info, #0dcaf0);
  transform: translateX(4px);
}

/* Smooth Megamenu Open Transition */
@media (min-width: 1200px) {
    /* Base hidden state */
    .dropdown-mega .dropdown-menu {
        display: block; /* Keep in DOM for smooth transitions */
        opacity: 0;
        transform: translateY(-10px); /* Start slightly above for a fade-down entry */
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    /* Active open state */
    .dropdown-mega .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
}


/* ==========================================
   Hero Section & Hanging Ellipse
   ========================================== */

/* 1. Establish full section height using Flex */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible !important; 
	z-index: 10;
}

/* 2. Dark Overlay Pseudo-element */
.hero-overlay-dark::before {
  content: '';
  position: absolute;
  inset: 0;
/*  background-color: rgba(0, 0, 0, 0.8);*/
	background: linear-gradient(to right, rgba(10, 12, 21, 0.8) 30%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

/* 3. Force container to take up full remaining vertical height */
.hero-section > .container {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  align-items: center; 
  flex-direction: column;
}

/* 4. Ensure row spans width */
.hero-section .row {
  width: 100%;
	flex: 1;
}

/* 5. Right column anchor */
.hero-ellipse-col {
  position: relative;
}

/* 6. Base Circle Styling */
.hero-ellipse-hang {
  width: 33vh;
  height: 33vh;
  position: relative;
  z-index: 10;
}

/* 7. Desktop Positioning: Pins circle relative to bottom of Hero Section */
@media (min-width: 992px) {
  .hero-ellipse-col {
    flex: 1 1 auto !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
	  align-self: stretch !important;
  }

  .hero-ellipse-hang {
    /* Pulls circle 50% past the bottom edge of the hero section */
    transform: translateY(20%);
    margin-bottom: 0;
  }
}



/* Force text to remain bright against the overlay */
.hero-section h1 {
    color: #ffffff !important;
}

/* Helper class for absolute inset pinning */
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Ensure background slider wrapper fills section without interfering with z-index */
#heroCarousel {
  z-index: 0;
  pointer-events: none; /* Prevents slider touch-swipe from blocking content clicks */
}

/* Slide background image formatting */
.hero-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Custom Hero Carousel Indicators */
.hero-carousel-indicators.carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-teal);
  background-color: transparent;
  padding: 0;
  opacity: 0.4; /* Inactive buttons are semi-transparent */
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-carousel-indicators.carousel-indicators button.active {
  background-color: var(--color-teal);
  opacity: 1; /* Active button is fully opaque */
  transform: scale(1.15);
}

.hero-carousel-indicators.carousel-indicators button:hover {
  opacity: 0.8;
}

.hero-carousel-indicators.carousel-indicators {
  position: static; /* or relative/absolute depending on your hero layout */
  margin: 0;
  justify-content: flex-start; /* overrides Bootstrap's center default if needed */
}


/* Pagehead */

.page-header.hero-section
 {
    min-height: 45vh;
}

/* Swiper Pagination Customization */

.accreditations-swiper .swiper-pagination-bullet {
  background-color: #ffffff;
  opacity: 0.3;
	height:1rem;
	width:1rem;
	margin:0 0.5rem !important;
}

.accreditations-swiper .swiper-pagination-bullet-active {
  background-color: var(--color-teal, #00a896);
  opacity: 1;
}

/* Ensure images fit nicely inside slides */
.accreditations-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.accreditations-swiper .swiper-slide img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

/* Forces Swiper wrapper to transition at a constant linear speed */
.accreditations-swiper .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

/* Form Overrides */
.form-control {
  background-color: #ffffff;
  border: none;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 168, 150, 0.25);
}

/* Gallery Background Band Effect */
.gallery-strip-section {
  /* Linear gradient creates a 50% height band centered vertically */
  background: linear-gradient(
    to bottom,
    var(--bg-darker, #121624) 0%,
    var(--bg-darker, #121624) 25%,
    var(--bg-card, #1c2234) 25%,
    var(--bg-card, #1c2234) 75%,
    var(--bg-darker, #121624) 75%,
    var(--bg-darker, #121624) 100%
  );
}

/* Ensure images maintain a fixed aspect ratio or uniform height */
.gallery-card img {
  height: 25vh; /* Adjust height to match your desired photo proportions */
  object-fit: cover;
  display: block;
}

.posts-strip-section {
    background: linear-gradient(to bottom, var(--bg-dark, #1c2234) 0%, var(--bg-dark, #1c2234) 45%, var(--bg-darker, #121624) 45%, var(--bg-darker, #121624) 65%, var(--bg-dark, #1c2234) 65%, var(--bg-dark, #1c2234) 100%);
}

/* Vertical Project Card Base */
.project-card {
  height: 420px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  transform: translateY(-4px);
}

/* Gradient overlay for readability */
.project-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.95) 80%);
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.98) 65%);
}

/* Buttery-Smooth CSS Grid Expand Mechanism */
.project-details-grid {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-details-grid {
  grid-template-rows: 1fr;
}

/* Inner content transition */
.project-details-inner {
  overflow: hidden;
}

.project-details-content {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.project-card:hover .project-details-content {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animation for Live Status Badge */
@keyframes pulse-glow {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.status-dot-pulse {
  animation: pulse-glow 2s infinite ease-in-out;
}

/*Footer */

footer li {
    margin-bottom:1rem;
}

footer a {
	text-decoration: none !important;
}

/*To the top button */

#tttbutton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
	z-index: 99999;
	color: transparent;

}

#tttbutton .i_container{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background: var(--color-teal);
  -webkit-box-shadow: 1px 1px 5px 0px rgba(99,32,98,0.5);
  -moz-box-shadow: 1px 1px 5px 0px rgba(99,32,98,0.5);
  box-shadow: 1px 1px 5px 0px rgba(99,32,98,0.5);
  color:#fff;
 }


#tttbutton .i_container:hover {
     background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--color-teal);
}

/* fix to avoid conflict with recaptcha badge on forms */

.grecaptcha-badge {
    bottom: 90px !important;
  position: fixed !important;
  z-index: 9999 !important;
  /* Ensure it doesn't inherit parent transform calculations during AOS transitions */
  transform: none !important;
}

/* Alternative global shield for horizontal page overflow caused by animations */
html, body {
  overflow-x: hidden;
}

/* Card Base Setup */
.card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

/* Dramatic Card Lift & Teal Glow */
.card:hover {
  /* Lift up 12px and scale the entire card slightly */
  transform: translateY(-12px) scale(1.02);
  border-color: var(--color-teal, #009D97) !important;
  /* Multi-layered shadow creates a rich ambient teal glow */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
              0 0 25px rgba(0, 157, 151, 0.35) !important;
}

/* Image Zoom & Lighting Shift */
.card .position-relative img,
.card > img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

/* Deeper 10% Zoom + Brightness Pop on Hover */
.card:hover .position-relative img,
.card:hover > img {
  transform: scale(1.10);
  filter: brightness(85%) contrast(115%) !important;
}

/* ==========================================
   Filterable Project Cards & Grid
   ========================================== */

/* Card Container Base */
.project-card {
  min-height: 380px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

/* Dark Gradient Overlay */
.project-card .project-overlay {
  background: linear-gradient(180deg, rgba(21, 25, 39, 0.2) 0%, rgba(21, 25, 39, 0.95) 80%);
  transition: background 0.3s ease;
}

.project-card:hover .project-overlay {
  background: linear-gradient(180deg, rgba(21, 25, 39, 0.3) 0%, rgba(21, 25, 39, 0.98) 90%);
}

/* Smooth Accordion Details Reveal on Hover */
.project-details-grid {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-details-inner {
  overflow: hidden;
}

.project-card:hover .project-details-grid {
  grid-template-rows: 1fr;
}

/* Pulsing Status Dot for Live Projects */
.status-dot-pulse {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(25, 135, 84, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
  }
}

/* Filter Item Transitions */
.filter-item.is-hidden {
  display: none !important;
}

.filter-item.is-fading-out {
  opacity: 0;
  transform: scale(0.96);
}


/* Base Card Sizing */
.project-card {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card .project-overlay {
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.2) 0%, rgba(17, 20, 29, 0.95) 85%);
}

/* Visibility transitions for Filtering & Search */
.project-item.is-hidden {
  display: none !important;
}

.project-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-item.is-fading-out {
  opacity: 0;
  transform: scale(0.95);
}


/* Ensure search input placeholder text is bright white-50 */
#news-search::placeholder, #project-search::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1; /* Overrides Firefox default lower opacity */
}

a.btn.btn-teal.active {
    background-color: var(--color-teal) !important;
}



/* ==========================================================================
   Global Teal Pagination Styling (WordPress Native Output)
   ========================================================================== */

/* 1. Horizontal Flex Container for the <ul> */
ul.page-numbers {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Space between pill items */
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important; /* Ensures wrapper has no background */
  border: none !important;           /* Ensures wrapper has no border */
}

/* 2. Inline <li> Items */
ul.page-numbers li {
  display: inline-block !important;
  list-style: none !important;
  margin: 0 !important;
}

/* 3. Base Pill Buttons (Only targeting <a> and <span> links/buttons) */
ul.page-numbers a.page-numbers,
ul.page-numbers span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark, #1a1e21);
  color: #ffffff;
  border: 1px solid rgba(0, 157, 151, 0.4); /* Subtle teal border */
  border-radius: 50rem !important; /* Pill shape */
  padding: 0.6rem 1.25rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

/* 4. Hover State */
ul.page-numbers a.page-numbers:hover {
  background-color: var(--color-teal, #009d97);
  color: #ffffff;
  border-color: var(--color-teal, #009d97);
  transform: translateY(-1px);
}

/* 5. Active Page State */
ul.page-numbers .current {
  background-color: var(--color-teal, #009d97) !important;
  border-color: var(--color-teal, #009d97) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 157, 151, 0.3);
}

/* 6. Disabled / Dots State */
ul.page-numbers .dots {
  background-color: var(--bg-darker, #121517);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* ==========================================================================
   Gravity Forms Bootstrap Dark Theme Overrides
   ========================================================================== */

/* Hide Gravity Forms Default Titles/Labels if using placeholders
.dt-gravity-form-wrapper .gform_wrapper .gfield_label {
    display: none !important;
}  */

/* Form Container Layout */
.dt-gravity-form-wrapper .gform_wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Inputs & Selects - Pill Shaped */
.dt-gravity-form-wrapper input[type="text"],
.dt-gravity-form-wrapper input[type="email"],
.dt-gravity-form-wrapper input[type="tel"],
.dt-gravity-form-wrapper input[type="number"],
.dt-gravity-form-wrapper select {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border-radius: 50rem !important; /* rounded-pill */
   /* background-color: #212529 !important; */
    border: 1px solid rgba(13, 202, 240, 0.25) !important; /* border-info-subtle */
    color: #ffffff !important;
    font-size: 1rem;
}

/* Textarea - Rounded Card */
.dt-gravity-form-wrapper textarea {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border-radius: 2rem !important; /* rounded-5 */
    /*background-color: #212529 !important;*/
    border: 1px solid rgba(13, 202, 240, 0.25) !important;
    color: #ffffff !important;
    min-height: 150px;
}

/* Placeholder Styling */
.dt-gravity-form-wrapper input::placeholder,
.dt-gravity-form-wrapper textarea::placeholder {
    color: #a0a0a0 !important;
}

/* Input Focus States */
.dt-gravity-form-wrapper input:focus,
.dt-gravity-form-wrapper textarea:focus {
    outline: none !important;
    border-color: #0dcdca !important; /* teal */
    box-shadow: 0 0 0 0.25rem rgba(13, 205, 202, 0.25) !important;
}

/* Submit Button */
.dt-gravity-form-wrapper .gform_footer,
.dt-gravity-form-wrapper .gform_page_footer {
    text-align: right;
    margin-top: 0.5rem;
}

.dt-gravity-form-wrapper input[type="submit"],
.dt-gravity-form-wrapper button[type="submit"] {
    background-color: #0dcdca !important; /* btn-teal */
    color: #ffffff !important;
    padding: 0.85rem 3rem !important;
    border-radius: 50rem !important;
    border: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dt-gravity-form-wrapper input[type="submit"]:hover,
.dt-gravity-form-wrapper button[type="submit"]:hover {
    background-color: #0ba8a6 !important;
    transform: translateY(-2px);
}

/* Error / Validation Styles */
.dt-gravity-form-wrapper .gfield_error input,
.dt-gravity-form-wrapper .gfield_error textarea {
    border-color: #dc3545 !important;
}

.dt-gravity-form-wrapper .validation_message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Remove italics and style the asterisk red */
.gfield_required,
.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_text {
    font-style: normal !important;
    color: #c97676 !important; /* Adjust to match your preferred theme red */
}

.wp_mapit_multipin_map {
    border-radius: 2rem;
}

/* Disable hover effects on static contact icons */
#contact-details .btn-teal {
    pointer-events: none;
}

#contact-details .btn-teal:hover,
#contact-details .btn-teal:focus,
#contact-details .btn-teal:active {
    background-color: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    box-shadow: none !important;
}

/* Background Video Styling */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none; /* Prevents user interactions on background video */
}

/* Core Values Custom Styling */
#core-values .hover-teal {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#core-values .hover-teal:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal, #20c997) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

/* Core Values Timeline & Spine Line */
@media (min-width: 992px) {
  /* Continuous vertical spine line between columns */
  .dt-timeline-container {
    padding-left: 2rem;
  }
  
  .dt-timeline-container::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 0;
    width: 2px;
    background-color: var(--bs-info-border-subtle, rgba(13, 202, 240, 0.25));
  }

  /* Node Dot / Blob on each card */
  .dt-timeline-blob {
   position: absolute;
        left: -2rem;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 22px;
        height: 22px;
        background-color: var(--bg-darker);
        border: 5px solid #fff;
        border-radius: 50%;
        z-index: 2;
        
    }
}

/* Apply greyscale and boost contrast/brightness to blend with dark themes */
#contact-map .leaflet-tile-container {
    filter: grayscale(100%) invert(90%) contrast(120%);
}

/* Ensure custom marker icon keeps its natural color */
#contact-map .leaflet-marker-pane img {
    filter: none !important;
}

html {
    scroll-behavior: smooth;
}

/* 1. Override CookieYes Global Theme Variables */
:root {
    --cky-color-primary: #009d97 !important;
    --cky-button-accept-bg: #009d97 !important;
    --cky-button-accept-border: #009d97 !important;
}

/* 2. Target CookieYes Action Buttons AND Revisit Widget */
.cky-btn-accept,
.cky-btn-preferences,
.cky-btn-customize,
.cky-btn-save,
.cky-banner-btn,
.cky-btn-revisit-wrapper,
.cky-btn-revisit-wrapper .cky-btn-revisit {
    background-color: #009d97 !important;
    border-color: #009d97 !important;
    color: #ffffff !important;
}

/* Hover & Active States */
.cky-btn-accept:hover,
.cky-btn-preferences:hover,
.cky-btn-customize:hover,
.cky-btn-save:hover,
.cky-banner-btn:hover,
.cky-btn-revisit-wrapper:hover,
.cky-btn-revisit-wrapper .cky-btn-revisit:hover {
    background-color: #00827d !important; /* Slightly darker teal on hover */
    border-color: #00827d !important;
}

/* Team Member Avatar Badge (Larger 180px Frame) */
.team-avatar-wrapper {
    width: 180px;
    height: 180px;
    margin-top: -90px; /* Pulls exactly half (90px) above the card top border */
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Ensure images maintain high quality focus */
.team-avatar-wrapper img {
    object-fit: cover;
    object-position: top center;
}

/* Smooth zoom on card hover */
.card:hover .team-avatar-wrapper {
    transform: scale(1.04);
    border-color: #ffffff !important;
}

/* Clear vertical spacing for multi-row card grids */
#team-divisions .row-gap-5 {
    row-gap: 4.5rem !important;
}

/* Center slides when insufficient items exist */
.accreditations-swiper .swiper-wrapper {
    justify-content: center;
}

/* Gravity Forms: Ensure typed input text and placeholders are dark */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea,
.gform_wrapper select {
    color: #212529 !important; /* Dark text for typed input */
    background-color: #ffffff !important; /* Solid white field background */
}

/* Ensure placeholder text is easily readable */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

/* Fix dropdown option text color across browsers */
.gform_wrapper select option {
    color: #212529;
    background-color: #ffffff;
}

/* Custom Lightbox Close Button Styling */
.custom-lightbox-close {
  /* Set explicit background color and shape */
  background-color: var(--color-teal) !important;
  border-radius: 50% !important;
  opacity: 1 !important; /* Overrides Bootstrap's default 0.5 opacity */
  
  /* Sizing and Padding */
  width: 2.25rem !important;
  height: 2.25rem !important;
  padding: 0.65rem !important;
  
  /* Reset Bootstrap's native CSS filters interfering with icon rendering */
  filter: none !important;
  
  /* SVG Icon Replacement for high-contrast white "X" */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-size: 0.85rem !important;
  background-repeat: no-repeat !important;

  /* Box shadow and smooth hover transitions */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover and Focus States */
.custom-lightbox-close:hover,
.custom-lightbox-close:focus {
  background-color: var(--color-teal) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  opacity: 1 !important;
}