/* General */

* {
  border-radius: 0 !important;
}

html {
	font-size: 100%;
}

body {
	font-size: 1rem;
  overflow-x: hidden;
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  }
  
::placeholder {
  color: #cccccc !important;
  opacity: 1; /* Firefox */
}

section {
    padding: 45px 0;
}

#what-we-do {
    padding-top: 90px;
}

#network {
    padding-top: 90px;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.col-lg-12 {
			width: 100%;
}

h3 {
    font-family: 'Noto Sans', sans-serif;
}

section h3 {
    font-size: 25px;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 30px;
    text-transform: none;
    font-family: 'Noto Sans', sans-serif;
		color: #6c757d;
}

p, table, .form-display-wrapper {
  font-size: initial;
  color: #6c757d;
  margin-bottom: 1rem;
}

a, .btn-link, .btn-link:focus  {
	color: #5fd3bc;
}

li {
  line-height: 1.75;
  color: #6c757d;
}

table {
  width: 100%;
}

table a, .table a {
    text-decoration: none;
}

table td {
  padding-bottom: 1em;
}

#openings {
    padding: 0 0 90px 0;
    margin: 0 100px;
}

#why .row, #openings .row {
    border-top: 1px solid #e1e1e1;
    padding-top: 90px;
}

#current-openings li {
  margin-bottom: 0;
}

.nav > li {
    margin-bottom: 0;
}

h1 {
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

section h1 {
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

h2 {
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

section h2 {
    font-size: 32px;
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

section h4 {
	font-size: 1.5rem;
  text-transform: none;
  line-height: 1.3;
  margin-top: 1.5rem;
  font-family: 'Noto Sans', sans-serif;
}

h4 {
  font-family: 'Noto Sans', sans-serif;
}

section h5 {
    font-size: 1.1rem;
  text-transform: none;
  line-height: 1.5;
  margin-top: 1.5rem;
}

hr {
  margin: 90px 0;
  width: 100%;
  border-top-color: #e1e1e1;
}

.products hr {
  margin: 0;
}

.font-weight-bold {
	font-weight: bold;
}

.fs-3 {
  font-size: calc(1.3rem + .6vw)!important;
  line-height: 1.5;
}

.p-2 {
  padding: 0.75rem;
}

.p-3 {
  padding: 0.75rem!important;
}
.p-4 {
  padding: 1.5rem!important;
}

.pl-5, .px-5 {
    padding-left: 3rem!important;
}
.pr-5, .px-5 {
    padding-right: 3rem!important;
}
.ml-3, .mx-3 {
	margin-left: 1rem!important;
}
.mr-3, .mx-3 {
    margin-right: 1rem!important;
}
.mt-2, .my-2 {
	margin-top: 0.5rem!important;
}
.mt-3, .my-3 {
    margin-top: 1rem!important;
}
.mt-4, .my-4 {
	margin-top: 2rem!important;
}
.ml-5, .mx-5 {
	margin-left: 3rem!important;
}
.mr-5, .mx-5 {
    margin-right: 3rem!important;
}

.align-self-center {
	-ms-flex-item-align: center!important;
	align-self: center!important;
}

.justify-content-center {
    -ms-flex-pack: center!important;
    justify-content: center!important;
}

.text-left {
    text-align: left;
}

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

.text-muted {
  color: #6c757d;
  line-height: 1.75;
}

/* Navbar */

.navbar-default {
	padding: 4px 0;
	font-size: 90%;
	background-color: #5fd3bc;	
}

.navbar-default.navbar-shrink {
	background-color: #5fd3bc;
	padding: 4px 0;
}

.navbar>.container, .navbar>.container-fluid {
	align-items: center;
}

.navbar-default .navbar-brand {
	background-image: url('../img/purpose-analytics-logo.png');
	background-repeat: no-repeat;
	background-size: contain;
	width: 168px;
	height: 80px;
	text-indent: -10000px;
	margin: 0 0 0 15px;
	padding: 0;
}

.navbar-default.navbar-shrink .navbar-brand {
	height: 66px;
  transition: all 0.5s ease;
}

.navbar-default .nav li a {
	line-height: 26px;	
}	

.navbar-default .nav li a:hover, .navbar-default .nav li a:focus {
	background-color: transparent;
	color: #ffffff;
}

.navbar-default .nav li.ask-us a {
	color: #fed136;
	font-weight: bold;
}

.navbar-default .nav li.contact a {
	color: #fed136;
	font-weight: bold;
}

.navbar-default .nav li a:hover {
  opacity: 0.75;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .nav li li.active a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	background-color: transparent;
	color: #ffffff;
	opacity: 0.75;
	position: relative;
	font-weight: bold;
}

.navbar-default .navbar-nav > .active > a::after, .navbar-default .nav li.active > a::after {
	content: '';
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	height: 3px;
	background-color: #fed136;
	transition: bottom 0.3s ease;
}

.navbar-default.navbar-shrink .navbar-nav > .active > a::after, .navbar-default.navbar-shrink .nav li.active > a::after {
	bottom: 10px;
	transition: bottom 0.3s ease;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > .active > a::after, .navbar-default .nav li.active > a::after {
		bottom: 40px;
		transition: bottom 0.3s ease;
	}
	
	.navbar-default.navbar-shrink .navbar-nav > .active > a::after, .navbar-default.navbar-shrink .nav li.active > a::after {
		bottom: 10px;
		transition: bottom 0.3s ease;
	}
}

.navbar-default.navbar-shrink .nav li a {
	line-height: 26px;
  transition: all 0.5s ease;	
}

.navbar-default.navbar-shrink .navbar-right .dropdown-menu {
	margin-top: -12px;
  transition: all 0.5s ease;	
}

.navbar-default.navbar-shrink .navbar-right .dropdown-menu a {
	line-height: 1em;
}

.navbar-default .navbar-toggle {
	font-size: 12px;
	right: 0;
	padding: 13px;
	text-transform: uppercase;
	color: white;
	border: 0;
	background-color: #5fd3bc;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
   background-color: #b5ebe0;
}

nav .navbar-right .dropdown-menu {
  left: 0;
  right: auto;
  background-color: #5fd3bc;
  border: 0px none;
  box-shadow: none;
}

nav .navbar-right .dropdown-menu li a, nav .navbar-right .dropdown-menu li.open a {
  line-height: 15px;
  padding: 3px 20px; W
}

.navbar-nav .open .dropdown-menu > li > a {
    line-height: 15px;
}

.navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
  padding: 3px 20px;
}

nav .navbar-right .dropdown-menu li:first-of-type a {
  margin-top: 10px;
}

.dropdown-menu > .active > a {
  background-color: transparent;
  font-weight: bold;
}


.dropdown:hover .dropdown-menu {
    display: block;
}
        
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555555;
    background-color: transparent;
    font-weight: bold;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  background-color: transparent;
}

/* Logos */

.approach .img-responsive, .thumbnail > img {
    display: block;
    max-width: 100%;
    max-height: 80px;
}

.pa-service-img img {
  padding-bottom: 1em;
}
  
/* Personas */

#personas h2 {
    text-align: center;
}

#personas h2.statement {
    color: #5fd3bc;
    text-align: left;
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.25;
}

#personas .row {
    margin-bottom: 30px;
}

#personas .wrap {
    display: flex;
    flex-wrap: wrap;
}

#what-we-do .row:first-child,
#what-we-do-sector .row:first-child,
#products .row:first-child {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#personas .flex {
  display: flex;    
  justify-content: center;
}

#personas .outline {
  border: 2px solid #5fd3bc;
  display: flex;
  align-items: center;
}

.flip-card {
  background-color: transparent;
  width: 50%;
  height: 280px;
  perspective: 1000px;
  overflow: visible;
}

#what-we-do .flip-card,
#what-we-do-sector .flip-card {
  width: calc(33.333% - 14px);
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

.flip-card p {
  color: #ffffff;
  font-size: 110%;
  line-height: 1.4;
}

.flip-card .btn-primary {
    color: #c6f1e8;
    border-color: #c6f1e8;
}

.flip-card .btn-primary:hover, .flip-card .btn-primary:active {
    color: #5fd3bc;
    background-color: white;
}

.flip-card .inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border: none;
  border-radius: 4px;
}
.flip-card .inner .front,
.flip-card .inner .back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
}
.flip-card .inner .front {
  z-index: 1;
}

.flip-card .inner .front .statement {
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  text-align: left;
  margin-bottom: 1rem;
}

.flip-card-vertical .inner .front {
  align-items: flex-start;
  text-align: left;
}

/* Watermarked icons for each card type */
.flip-card-analytics-reporting .inner .front,
.flip-card-digital-transformation .inner .front,
.flip-card-data-strategy .inner .front {
  background-color: #f7f7f7;
  position: relative;
  overflow: hidden;
}

/* Base styles for first row icons (Analytics, Digital Transformation, Data Strategy) */
.flip-card-analytics-reporting .inner .front::before,
.flip-card-digital-transformation .inner .front::before,
.flip-card-data-strategy .inner .front::before {
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 200px;
  color: #c6f1e8;
  opacity: 0.9;
  bottom: -30px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
}

/* White shadow icons behind teal icons for first row */
.flip-card-analytics-reporting .inner .front::after,
.flip-card-digital-transformation .inner .front::after,
.flip-card-data-strategy .inner .front::after {
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 200px;
  color: #ffffff;
  opacity: 0.9;
  bottom: -37px !important;
  left: -13px !important;
  z-index: -1;
  pointer-events: none;
}

.flip-card-analytics-reporting .inner .front::before {
  content: '\f201';
}

.flip-card-analytics-reporting .inner .front::after {
  content: '\f201';
}

.flip-card-digital-transformation .inner .front::before {
  content: '\f021';
}

.flip-card-digital-transformation .inner .front::after {
  content: '\f021';
}

.flip-card-data-strategy .inner .front::before {
  content: '\f013';
}

.flip-card-data-strategy .inner .front::after {
  content: '\f013';
}
.flip-card .inner .back {
  background-color: #5fd3bc;
  color: white;
  transform: rotateY(180deg);
}
.flip-card:hover .inner {
  transform: rotateY(180deg);
}

/* Vertical flip cards */
.flip-card-vertical .inner .back {
  transform: rotateX(180deg);
}
.flip-card-vertical:hover .inner {
  transform: rotateX(180deg);
}

/* Styling for new vertical flip card types */
.flip-card-network .inner .front,
.flip-card-next-event .inner .front,
.flip-card-sector-tools .inner .front {
  background-color: #f7f7f7;
  position: relative;
  overflow: hidden;
}

.flip-card-network .inner .front::before {
  content: '\f0c0';
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 180px;
  color: #c6f1e8;
  opacity: 0.9;
  bottom: -25px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
}

.flip-card-network .inner .front::after {
  content: '\f0c0';
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 180px;
  color: #ffffff;
  opacity: 0.9;
  bottom: -32px;
  left: -13px;
  z-index: -1;
  pointer-events: none;
}

.flip-card-next-event .inner .front::before {
  content: '\f075';
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 180px;
  color: #c6f1e8;
  opacity: 0.9;
  bottom: -25px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
}

.flip-card-next-event .inner .front::after {
  content: '\f075';
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 180px;
  color: #ffffff;
  opacity: 0.9;
  bottom: -32px;
  left: -13px;
  z-index: -1;
  pointer-events: none;
}

.flip-card-sector-tools .inner .front::before {
  content: '\f279';
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 180px;
  color: #c6f1e8;
  opacity: 0.9;
  bottom: -25px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
}

.flip-card-sector-tools .inner .front::after {
  content: '\f279';
  font-family: 'FontAwesome';
  position: absolute;
  font-size: 180px;
  color: #ffffff;
  opacity: 0.9;
  bottom: -32px;
  left: -13px;
  z-index: -1;
  pointer-events: none;
}

/* Clients */

#clients {
  background-color: #f7f7f7;
}

#clients h2 {
  text-align: center;
}

#clients .container ul {
  column-count: 3;
  column-gap: 60px;
  column-width: 240px;
  list-style-type: none;
  padding-top: 2em;
  padding-left: 0;
}

/* New */

@media (min-width: 2000px) {
  .starter-dashboard .container {
     max-width: 1600px !important;
   }
}

.starter-dashboard section {
    padding: 30px 0;
}

.starter-dashboard .col-md-10  {
    width: 100%;
}

.free-tools section  {
    padding-top: 0;
}

.free-tools section .container {
    padding-top: 90px;
    border-top: 1px solid #e1e1e1;
}

.free-tools section  h2 {
    text-align: center;
}

.free-tools section .row {
    margin: 0 60px;
}

.free-tools section  p {
    margin-bottom: 1em;
}

.free-tools #lemr img {
  padding-top: 12px;
}


/* About */
.img-circle {
  border-radius: 50% !important;
}

/* Blog */

.blog-listing section {
  padding: 60px 0;
}

.card-grid, .related-pages {
  text-align: left;
  width: auto;
  padding: 0;  
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  flex-flow: row wrap;
  width: 100%;
  padding: 0;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  margin: 0 2% 30px 0;
  border: 1px solid #e1e1e1;
  width: 31%;
  position: relative;
}

.card-footer {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  flex-grow: 1;
}

.card-subtitle, .h-entry .blog-date, .h-entry .blog-author  {
  color: #999999;
}

.h-entry .blog-author {
    margin-top: 2em;
}

.h-entry .blog-author img {
    border: 3px solid #e6e6e6;
    border-radius: 100% !important;
    margin-right: 6px;
    float: left;
}

.user-details img {
    height: 66px;
    border-radius: 100%;
    margin-top: -2px;
}

.h-entry .blog-date, .h-entry .blog-author {
  display: block;
  text-align: left;
}

.h-entry .blog-date, .author-title {
    font-size: 0.8em;
}
  
.h-entry .content-title {
  padding-bottom: 1.5rem;
}
    
.card-date .blog-date, .h-entry .card-date {
  display: inline;
}

/* Header */

header {
		background-image: none;
    background-color: #5fd3bc;
}
 
header .intro-text {
   padding: 200px 0 60px 0;
   position: relative;
 }
 
.home header .intro-text {
   padding: 300px 0 100px 0;
   position: relative;
   overflow: visible;
 }

.home header .header-icon {
    position: absolute;
    bottom: 84px;
    right: 5%;
    opacity: 0.6;
    z-index: 1;
}

.home header .header-svg-icon {
    width: 200px;
    height: auto;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .home header .header-icon {
        right: 2%;
    }
    
    .home header .header-svg-icon {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .home header .header-icon {
        display: none;
    }
}

.home header .intro-text h1 {
    font-size: 3rem;
}

.home header .intro-text p {
    font-size: 1.44rem;
    color: #c6f1e8;
}
 
header .intro-text h1 {
	font-size: 2.5rem;
	font-weight: 600;
	font-style: normal;
	line-height: 1.3;
	margin-top: 80px;
	margin-bottom: 20px;
	font-family: 'Titillium Web', sans-serif;
	color: #ffffff;
	text-transform: none;
}
 
header .intro-text p {
	font-size: 1.2rem;
	line-height: 1.5;
	margin-bottom: 25px;
	color: #ffffff;		
	font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.home header .intro-text p {
    color: #c6f1e8;
}

.btn-xl {
    background-color: transparent;
    border-color: transparent;
    color: #c6f1e8;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 15px 30px;
    margin-top: 20px;
}

.btn-xl:active, .btn-xl:focus, .btn-xl:hover {
    background-color: transparent;
    border-color: transparent;
    color: #ffffff;
    transition: 0.3s;
}

.header-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-cta-btn i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    opacity: 0.9;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.header-cta-btn:hover i {
    animation-duration: 1s;
    opacity: 1;
}


footer span.copyright {
  font-family: inherit;
  color: #6c757d;
  font-size: 90%;
}

/* About */

.impact h4 {
  font-size: 1.9rem;
  font-family: 'Noto Sans', sans-serif;
}

mark, .mark {
  background-color: #fec503;
}

.impact p, .impact li {
  font-size: 1.25rem;
  margin-bottom: 0;
}

section#about {
  padding-bottom: 90px;
}

section#why {
  padding-top: 0;
}

/* Expertise */

#expertise h3 {
    margin-bottom: 0px;
}

.expertise-heading {
  margin: 15px 0;
  text-transform: none;
}

/* Services */

.pa-icon {
	display: inline-block;
  padding-bottom: 6px;
  min-height: 48px;
  height: auto;
}

.pa-icon img {
	zoom: 33%;
}

/* Team */
.team-member img {
	width: 225px;
	height: 225px;
}

.team-member h4 {
    display: inline;
    margin-right: 6px;
    font-family: 'Noto Sans', sans-serif;
}

/* Center last board member when odd number */
#team .row:last-of-type > div {
    margin-left: auto;
    margin-right: auto;
}

#team .row:last-of-type .col-md-6.offset-md-3 {
    margin-left: 25% !important;
    margin-right: auto;
}

/* Make board members full width on tablet and small screens */
@media (max-width: 991px) and (min-width: 768px) {
    #team .row:last-of-type .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #team .row:last-of-type .col-md-6.offset-md-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #team .row:last-of-type > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    #team .row:last-of-type .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #team .row:last-of-type .col-md-6.offset-md-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #team .row:last-of-type > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
    

ul.social-buttons li a {
    font-size: 20px;
    line-height: 30px;
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 5px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: #dddddd;
		background-color: transparent;
    border-radius: 100%;
    outline: none;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
    color: #5fd3bc;
		background-color: transparent;		
}

/* Events */
#events {
  background-color: #f7f7f7;
}

#events h4 {
  margin-bottom: 1rem;
}

#events .btn-primary {
  margin: 14px 0;
}

/* Center the events section content */
#events .container,
section#events .container {
}

#events .col-md-12,
section#events .col-md-12 {
  margin: 0 auto;
}

#events .container,
section#events .container {
  max-width: 50%;
  margin: 0 auto;
}

@media (max-width: 991px) and (min-width: 768px) {
    #events .container,
    section#events .container {
        max-width: 75%;
    }
}

@media (max-width: 767px) {
    #events .container,
    section#events .container {
        max-width: 100%;
    }
}

#events table {
  margin: 0 auto;
  text-align: left;
}

/* Right-align register buttons in events table */
#events table td:last-child,
#events table td:nth-child(3) {
  text-align: right;
}

#joinNetwork.jqmodal {
  width: auto !important;
  height: auto !important;
}

/* Form */

form {
	width: 100%;
}

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
  margin-left: 0;
}

#contact form fieldset {
    visibility: visible !important;
}

.form-control {
	border-radius: 0;
  font: 700 18px Arial;	
	color: #333333;
}

.subscribe .form-control {
  display: inline-block;
  width: 60%;
  vertical-align: middle;
}

.subscribe .btn-primary {
  font-size: 0.8rem;
  height: 40px;
}

footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .col-md-4:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

footer .buttons.subscribe {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* Maintain footer alignment on tablet screens - same as large screens */
@media (max-width: 991px) {
  footer .row {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  footer .col-md-4 {
    flex: 0 0 auto;
    width: auto;
  }
  
  /* Center social icons */
  footer .col-md-4:nth-child(2) {
    text-align: center;
  }
  
  footer .col-md-4:nth-child(2) .list-inline {
    text-align: center;
    justify-content: center;
  }
  
  footer .col-md-4:last-child {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  footer .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  /* Subscribe button - on top */
  footer .col-md-4:last-child {
    order: 1;
    width: 100%;
    align-items: flex-start;
  }
  
  footer .buttons.subscribe {
    justify-content: flex-start;
  }
  
  /* Social icons - second */
  footer .col-md-4:nth-child(2) {
    order: 2;
    width: 100%;
    text-align: left;
  }
  
  footer .col-md-4:nth-child(2) .list-inline {
    text-align: left;
    justify-content: flex-start;
  }
  
  /* Copyright - bottom */
  footer .col-md-4:first-child {
    order: 3;
    width: 100%;
    text-align: left;
  }
}

.subscribe .error-success-container {
  padding: 2px 10px;
  margin: -40px 0 0 0;
}

.notices.success, .notices.warning {
	background-color: #5fd3bc !important;
}

.notices.success p, .notices.warning p {
	color: #ffffff !important;
	font-size: 125%;
	font-weight: bold;
}

section#contact .form-control:focus {
	border-color: #5fd3bc;
}

#form-result p {
	margin: 15px 0;
}
	
section#contact {
  background-image: none;
  background-color: #f7f7f7;
}

section#contact h2 {
	color: inherit;
}

section#contact .form-group select.form-control {
  height: auto;
}

.sib-form, #sib-container {
    padding: 0 !important;
}
    
section#contact .form-group select {
    padding: 20px;
}

label.inline {
	display: none;
}

.btn-primary {
    background-color: #5fd3bc;
    color: #ffffff;
		border-color: transparent;
		border-radius: 0;
}

.blog-page .btn-primary, .prev-next .btn-primary {
    background-color: white;
    color: #5fd3bc;
    border-color: #5fd3bc;
    border-radius: 0;
}

.prev-next {
  margin-top: 60px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    border-color: transparent;
    color: #fff;
    background-color: #aaaaaa;
}

.error-success-container {
    display: none;
    position: relative !important;
    top: 0 !important;
    border-left: 10px solid #5cb85c;
    background: #f1f9f1;
    color: #3d8b3d;
    padding: 1px 1px 1px 30px;
    margin: 15px 0;
    border-radius: 3px;
}


#signupForm .error-success-container {
	top: -18px !imageportant;
}

.error-success-container p {
    margin: 15px 0;
}


/* Modal */
.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}

.modal-content{
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

.free-tools .col-md-8 img {
  width: 100%;
}

button.close {
	color: unset;
}
	
.modal form {
	clear: both;
}

.jqmodal {
  max-width: inherit !important;
  height: 100% !important;
}

.blocker {
  z-index: 10000 !important;
}

/* Data products page */
.products > .container > .row {
	margin-top: 200px;
}

.product-image img {
	margin: 8px 0;
	width: 60%;
}

/* Remove padding from all sections on products page */
.products section {
	padding: 0 !important;
}

/* Ensure intro section has no padding if it renders */
.products section#intro,
.products section[id="intro"] {
	padding: 0 !important;
	margin: 0 !important;
}

.products header {
    padding-top: 0;
    padding-bottom: 0;
}

header {
    padding-top: 0;
}

.products header .intro-text {
    text-align: center;
    padding: 200px 0 60px 0;
}

.products header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

.products header p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.products .col-lg-10 {
    text-align: left;
}

/* Product Cards */
/* Products Page - Accordion Layout */
.products-grid-section {
    padding: 90px 0 60px 0 !important;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
}

.products-grid > .product-card-wrapper:first-child {
    margin-top: 30px;
}

.product-card-wrapper {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

.product-card {
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 15px;
}

.product-header-content {
    flex: 1;
    position: relative;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
}

.product-title-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.product-what-it-is {
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.product-toggle {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
}

.product-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}

.product-toggle:hover {
    color: #00a8a8;
}

.product-content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.product-card[data-expanded="true"] .product-content-wrapper,
.product-content-wrapper[style*="max-height: 2000px"] {
    max-height: 2000px !important;
    padding-top: 20px !important;
    overflow: visible !important;
}

.product-logo {
    height: 76.5px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.product-title {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    border: none;
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

.product-row {
    margin: 0;
    padding: 0;
}

.product-image-col {
    padding-right: 20px;
    padding-left: 0;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-content-col {
    padding-left: 20px;
}

.product-content {
    display: flex;
    flex-direction: column;
}

.product-content h2:first-of-type {
    display: none;
}

.product-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 0;
    align-items: start;
}

.product-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    vertical-align: top;
    margin-top: 0;
    padding-top: 0;
}

.product-column > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

.product-column h3 {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.product-column strong {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    margin-top: 0;
}

.product-column p {
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}

.product-column p:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.product-column br:first-child {
    display: none;
}

.product-column strong + br {
    display: none;
}

.product-column p strong + br {
    display: none;
}

.product-column ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.product-column ul li {
    margin-bottom: 6px;
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

.product-content p {
    margin-bottom: 0;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}

.product-cta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.product-cta .btn {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 12px 24px;
}

@media (max-width: 992px) {
    .product-image-col {
        padding-right: 15px;
        margin-bottom: 20px;
    }
    
    .product-content-col {
        padding-left: 15px;
    }
    
    .product-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Network page - remove centering */
.network .buttons,
#network .buttons,
section#network .buttons {
    text-align: left;
}

/* Custom CTA Section */
#custom-cta {
    background: #f7f7f7;
    padding: 30px 0 !important;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}

/* Ensure tools page CTA matches services page bottom spacing */
body.tools #custom-cta,
.tools #custom-cta {
    padding-bottom: 30px !important;
    margin-bottom: 0;
}

/* Remove padding from empty sections after CTA on tools page */
body.tools #custom-cta ~ section,
.tools #custom-cta ~ section {
    padding: 0 !important;
    margin: 0 !important;
}

#custom-cta .container {
    text-align: center;
}

#custom-cta .col-md-12 {
    text-align: center;
    width: 100%;
    max-width: 100%;
}

/* Ensure custom-cta section on products page has proper padding */
.products #custom-cta {
    padding: 30px 0 !important;
}


/* Fix anchor scroll jumping */
html {
    scroll-behavior: smooth;
}

.service-card-wrapper[id],
section[id] {
    scroll-margin-top: 100px;
}

#custom-cta h2 {
    color: #333;
    margin-bottom: 15px;
    margin-top: 0;
    padding-top: 16px;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

#custom-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#custom-cta .btn {
    display: inline-block;
    margin: 0 auto;
}

/* Questions Section */
#contact.questions-section {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #e1e1e1;
    margin-top: 20px;
}

#contact.questions-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Noto Sans', sans-serif;
}

#contact.questions-section p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .product-card {
        padding: 25px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-cta .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

/* @media widths */


@media screen and (max-width: 991px) and (min-width: 768px) {
  .flip-card {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }
  
  /* Ensure flip card wrapper divs stack on tablet */
  .flex.col-md-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  
  #what-we-do .flip-card,
  #what-we-do-sector .flip-card {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  
  #what-we-do .row:first-child,
  #what-we-do-sector .row:first-child {
    flex-wrap: wrap !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  #what-we-do .row:first-child > div,
  #what-we-do-sector .row:first-child > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
  }
  
  /* Align cards row to match heading row */
  #what-we-do .row.justify-content-center,
  #what-we-do-sector .row.justify-content-center {
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    justify-content: flex-start !important;
  }
  
  /* Center all flipcard content when stacked */
  #what-we-do .flip-card .inner .front,
  #what-we-do-sector .flip-card .inner .front {
    align-items: center !important;
    text-align: center !important;
  }
  
  #what-we-do .flip-card .inner .front .statement,
  #what-we-do-sector .flip-card .inner .front .statement {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  #what-we-do .flip-card .inner .front > div,
  #what-we-do-sector .flip-card .inner .front > div {
    text-align: center !important;
    padding-left: 0 !important;
    width: 100% !important;
  }
  
  #what-we-do .flip-card .inner .front p,
  #what-we-do-sector .flip-card .inner .front p {
    text-align: center !important;
  }
}

@media screen and (max-width: 768px) {
  .card {
    width: 47%;
    margin-right: 3%;
  }

  .flip-card {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }
  
  /* Ensure flip card wrapper divs stack on mobile */
  .flex.col-md-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  
  #what-we-do .flip-card,
  #what-we-do-sector .flip-card {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  
  #what-we-do .row:first-child,
  #what-we-do-sector .row:first-child {
    flex-wrap: wrap !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  #what-we-do .row:first-child > div,
  #what-we-do-sector .row:first-child > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
  }
  
  /* Align cards row to match heading row */
  #what-we-do .row.justify-content-center,
  #what-we-do-sector .row.justify-content-center {
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    justify-content: flex-start !important;
  }
  
  /* Center all flipcard content when stacked */
  #what-we-do .flip-card .inner .front,
  #what-we-do-sector .flip-card .inner .front {
    align-items: center !important;
    text-align: center !important;
  }
  
  #what-we-do .flip-card .inner .front .statement,
  #what-we-do-sector .flip-card .inner .front .statement {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  #what-we-do .flip-card .inner .front > div,
  #what-we-do-sector .flip-card .inner .front > div {
    text-align: center !important;
    padding-left: 0 !important;
    width: 100% !important;
  }
  
  #what-we-do .flip-card .inner .front p,
  #what-we-do-sector .flip-card .inner .front p {
    text-align: center !important;
  }
  
  #personas .col-sm-10 {
    width: 100%;
  }
  
    .text-nowrap {
        white-space: normal;
    }
     
    .home header .intro-text {
       padding: 150px 0 60px 0;
     }
 
}

@media screen and (max-width: 640px) {
  .card {
    width: 100%;
  }
}


@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: none;
    }
    
    .navbar-default .navbar-collapse {
        display: none !important;
    }
    
    .navbar-default .navbar-collapse.in {
        display: block !important;
    }
    
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    
    /* width */
    .navbar-collapse::-webkit-scrollbar {
      width: 10px;
    }

    /* Track */
    .navbar-collapse::-webkit-scrollbar-track {
      background: #f1f1f1;
    }

    /* Handle */
    .navbar-collapse::-webkit-scrollbar-thumb {
      background: #b5ebe0;
    }

    /* Handle on hover */
    .navbar-collapse::-webkit-scrollbar-thumb:hover {
      background: #5fd3bc;
    }        
    
    .navbar-collapse {
        margin-bottom: 60px;
    }
    
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    /* Make active menu link inline-block so underline fits text width */
    .navbar-default .navbar-nav > .active > a,
    .navbar-default .nav li.active > a {
        display: inline-block;
    }
    
    /* Make active menu underline only as wide as text on mobile */
    .navbar-default .navbar-nav > .active > a::after, 
    .navbar-default .nav li.active > a::after {
        left: 0;
        right: auto;
        width: 100%;
        bottom: 10px;
    }
    
    .navbar-default.navbar-shrink .navbar-nav > .active > a::after, 
    .navbar-default.navbar-shrink .nav li.active > a::after {
        left: 0;
        right: auto;
        width: 100%;
        bottom: 10px;
    }
		
	.navbar-default .navbar-brand {
		width: 168px;
		height: 80px;
	}
	
	header .intro-text h1 {
		font-size: 2.5rem;
		line-height: 1.3;
		margin-bottom: 20px;
		color: #ffffff;
	}		
    
    .dropdown:hover .dropdown-menu, .dropdown .dropdown-menu {
    position: relative;
    float: none;
    margin: 0;
    line-height: 15px;
    }
    
    nav .navbar-right .dropdown-menu li a, nav .navbar-right .dropdown-menu li.open a {
        margin-left: 20px;
    }
	
	header .intro-text p {
		font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #ffffff;
	}
  
  .pa-service-img img {
    max-width: 300px;
    width: 100%;
  }
}


@media (min-width: 576px) {
	.container {
			max-width: 540px;
	}	
	
	.modal-dialog-centered {
    min-height: calc(100% - (1.75rem * 2));
	}
	
	.modal-dialog {
    width: 480px;
    margin: 30px auto;
	}
	
	.modal-dialog.modal-fullscreen {
		width: calc(100vw - 20px) !important;
		max-width: calc(100vw - 20px) !important;
		height: calc(100vh - 20px) !important;
		margin: 10px auto !important;
	}
	
}

@media (min-width: 768px) {
	.container {
			max-width: 720px;
	}
	
	header .intro-text h1 {
		margin-top: 0;		
	}
}

@media (min-width: 992px) {
	.container {
			max-width: 960px;
	}

	.col-lg-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;	
	}
		
	.navbar-default .navbar-brand {
		width: 227px;
    height: 108px;
	}
	
    nav .navbar-right .dropdown-menu {
        margin-top: -40px;
    }
        
	.navbar-default .nav li a {
		line-height: 82px;
		transition: all 0.5s ease;		
	}		
    
	header .intro-text h1 {
		font-size: 2.5rem;
		line-height: 1.3;
		margin-bottom: 20px;
		color: #ffffff;
	}
	
	header .intro-text p {
		font-size: 1.2rem;
		line-height: 1.5;
		color: #ffffff;
	}			
    
 
  .modal-dialog.modal-lg, .modal-dialog.modal-xl {
      width: 800px !important;
  }
  
  .modal-dialog.modal-fullscreen {
      width: calc(100vw - 40px) !important;
      max-width: calc(100vw - 40px) !important;
      height: calc(100vh - 40px) !important;
      margin: 20px auto !important;
  }
}

@media (min-width: 1200px) {
	.container {
			max-width: 1140px;
	}
}

.chat__messages-form p {
  margin-bottom: 0;
}

/* Services Page - Grid Layout (All Visible with Horizontal Rules) */
.services-grid-section {
    padding: 60px 0;
}

/* Horizontal rule between services and how we work */
.services-grid-section ~ .container hr {
    margin: 40px auto;
    max-width: 50%;
    border-top: 1px solid #e1e1e1;
    display: block;
}

@media (max-width: 991px) and (min-width: 768px) {
    .services-grid-section ~ .container hr {
        max-width: 75%;
    }
}

.services-grid-section .container {
    max-width: 75%;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .services-grid-section .container {
        max-width: 50%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .services-grid-section .container {
        max-width: 75%;
    }
}

@media (max-width: 767px) {
    .services-grid-section .container {
        max-width: 100%;
    }
    
    .services-grid-section ~ .container hr {
        max-width: 100%;
    }
}

/* Network page - same max-width as Services */
#network .container,
section#network .container {
    max-width: 50%;
    margin: 0 auto;
}

@media (max-width: 991px) and (min-width: 768px) {
    #network .container,
    section#network .container {
        max-width: 75%;
    }
}

@media (max-width: 767px) {
    #network .container,
    section#network .container {
        max-width: 100%;
    }
}

/* Land Acknowledgement - max-width 50% */
#land-acknowledgement .container,
section#land-acknowledgement .container {
    max-width: 50%;
    margin: 0 auto;
}

@media (max-width: 991px) and (min-width: 768px) {
    #land-acknowledgement .container,
    section#land-acknowledgement .container {
        max-width: 75%;
    }
}

@media (max-width: 767px) {
    #land-acknowledgement .container,
    section#land-acknowledgement .container {
        max-width: 100%;
    }
}

/* Why We Do This Work section - same max-width as Services */
#why .container,
section#why .container {
    max-width: 50%;
    margin: 0 auto;
}

@media (max-width: 991px) and (min-width: 768px) {
    #why .container,
    section#why .container {
        max-width: 75%;
    }
}

@media (max-width: 767px) {
    #why .container,
    section#why .container {
        max-width: 100%;
    }
}

.services-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-card-wrapper {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

.service-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding-top: 80px;
    padding-bottom: 80px;
    margin: 0;
    transition: none;
    border-bottom: 1px solid #e1e1e1;
    width: 100%;
    box-sizing: border-box;
}

.service-card-wrapper:last-child .service-card {
    border-bottom: none;
}

.service-icon {
    color: #5fd3bc;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 3rem;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.service-title {
    text-transform: none;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    font-family: 'Titillium Web', sans-serif;
}

.service-title mark {
    padding: 0 0.15em;
    line-height: 1.3;
}

.product-column mark {
    padding: 0.05em 0.15em;
    font-weight: bold;
}

/* Full-screen modal styles */
.modal-dialog.modal-fullscreen {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    height: calc(100vh - 40px) !important;
    margin: 20px auto !important;
    padding: 0 !important;
}

.modal-dialog.modal-fullscreen .modal-content {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 4px !important;
    margin: 0 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.modal-dialog.modal-fullscreen .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-dialog.modal-fullscreen .modal-header .modal-title {
    margin: 0;
    flex: 1;
}

.modal-dialog.modal-fullscreen .modal-header .close {
    margin: 0;
    padding: 0;
    margin-left: 15px;
}

.modal-dialog.modal-fullscreen .modal-body {
    padding: 0 !important;
    overflow: hidden;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: calc(100% - 60px);
}

.modal-dialog.modal-fullscreen .modal-body iframe {
    flex: 1;
    width: 100%;
    height: 100%;
}

section[id^="censusaggregator"] mark,
section[id^="recfinder"] mark,
section[id^="lemr"] mark,
section[id^="ask-us"] mark,
.tool-name-highlight,
mark.tool-name-highlight {
    padding: 0.05em 0.15em;
    line-height: 1.3;
}

.service-content {
    width: 100%;
    box-sizing: border-box;
    padding-top: 0;
}

.service-content > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    width: 100%;
}

.service-content h3:first-child {
    margin-top: 0;
}

.service-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    width: 100%;
}

.service-content ul {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 20px;
    width: 100%;
    box-sizing: border-box;
}

.service-content li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Ensure no card-like styling on nested elements */
.service-content .card,
.service-content section,
.service-content .container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

/* Engagement Models Grid */
.engagement-grid-section {
    padding: 40px 0 60px;
}

.how-we-work-section .engagement-grid {
    margin-top: 20px;
}

.engagement-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}

.engagement-card-wrapper {
    flex: 0 0 calc(33.333% - 20px);
    width: calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .engagement-grid {
        flex-wrap: wrap;
    }
    
    .engagement-card-wrapper {
        flex: 0 0 calc(50% - 15px);
        width: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .engagement-grid {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .engagement-card-wrapper {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

/* How We Work Section */
.how-we-work-section {
    text-align: center;
    padding: 40px 0 60px;
}

/* Only apply centering to how-we-work-content when inside how-we-work-section */
.how-we-work-section .how-we-work-content {
    text-align: center;
    margin: 0 auto;
}

/* Override any inline styles on how-we-work-content when NOT in how-we-work-section */
section:not(.how-we-work-section) .how-we-work-content,
#network .how-we-work-content,
#about .how-we-work-content {
    text-align: left !important;
}

.how-we-work-section h2,
.how-we-work-content h2 {
    text-align: center !important;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    font-family: 'Titillium Web', sans-serif;
}

.how-we-work-section p,
.how-we-work-content p {
    text-align: center !important;
    margin-bottom: 0 !important;
    font-size: 1.1rem;
    color: #666;
}

.how-we-work-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.how-we-work-section p {
    text-align: center;
    margin-bottom: 0 !important;
}

.engagement-card {
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.engagement-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.engagement-icon {
    margin-bottom: 20px;
    color: #5fd3bc;
}

.engagement-icon i {
    font-size: 3rem;
}

/* Clients Scrolling Banner */
.clients-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    border-radius: 8px;
}

.clients-scroll {
    display: flex;
    gap: 80px;
    animation: scroll-clients 60s linear infinite;
    white-space: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.clients-scroll:hover {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0;
    margin: 0;
}

.client-logo {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-item {
    flex-shrink: 0;
    padding: 15px 30px;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

#clients h2 {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Titillium Web', sans-serif;
}

.clients-text-list {
    margin-top: 60px;
}

.clients-text-list h2 {
    display: none;
}

.clients-text-list li {
    margin-bottom: 0;
}

/* Hide full client list on screens below 991px */
@media (max-width: 991px) {
    .clients-text-list {
        display: none !important;
    }
    
    /* Fix alignment for "Our Clients" title on small screens */
    #clients .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    #clients .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #clients .col-md-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    #clients h2 {
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.engagement-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Titillium Web', sans-serif;
}

.engagement-content {
    color: #666;
    line-height: 1.7;
}

.services header {
    padding-top: 0;
    padding-bottom: 0;
}

.services header .intro-text {
    text-align: center;
    padding: 200px 0 60px 0;
}

.services header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: none;
}

.services header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.services section {
    padding: 10px 0;
}

.services #custom-cta {
    padding: 30px 0 !important;
}

@media (max-width: 991px) {
    
    .service-card,
    .engagement-card {
        padding: 30px;
    }
}

/* Home Page Styles */
.home-section {
    padding: 30px 0;
}

#products.home-section {
    margin-top: 60px;
}

#products .find-out-more-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.find-out-more-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: left;
    flex: 1;
}

.find-out-more-link {
    display: inline-block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.find-out-more-link:hover {
    color: #5fd3bc;
    text-decoration: none;
    transform: translateX(5px);
}

#products .home-tiles-grid {
    margin-top: 80px !important;
}

#products .row.home-tiles-grid {
    margin-top: 80px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
}

#products .home-tile {
    margin-right: 60px !important;
    margin-bottom: 0 !important;
}

#products .home-tile:last-child {
    margin-right: 0 !important;
}

.home-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.home-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.home-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.home-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-card-icon {
    font-size: 2.5rem;
    color: #5fd3bc;
    margin-bottom: 15px;
}

.home-card-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

.home-card-description {
    margin-top: 15px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.sector-tools-split-card {
    min-height: 200px;
}

.sector-tools-split-card .sector-tool-link {
    transition: color 0.3s ease;
}

.sector-tools-split-card .sector-tool-link:hover {
    color: #5fd3bc;
}

.event-card-details {
    text-align: left;
}

.home-tiles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 80px;
}

.home-tile {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.home-tile:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.home-tile-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.home-tile-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
    text-transform: none;
}

.home-cta-strip {
    background: #5fd3bc;
    padding: 40px 0;
    text-align: center;
}

.home-cta-strip .btn {
    margin: 0 10px;
}

/* Tools Grid - Add horizontal rules between items on home page */
#tools .home-tiles-grid.sector-tools-grid {
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 40px;
}

#tools .sector-tools-grid .sector-tool-item {
    width: 100% !important;
    flex: 1 1 100% !important;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e1e1e1;
}

#tools .sector-tools-grid .sector-tool-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Tools Page - Add horizontal rules between tool sections */
body.tools .tool-section,
.tools .tool-section {
    padding-top: 45px;
    padding-bottom: 0;
    margin-bottom: 0;
}

body.tools .tool-section:first-of-type,
.tools .tool-section:first-of-type {
    padding-top: 90px;
}

body.tools .tool-section .container,
.tools .tool-section .container {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 60px;
    margin-bottom: 60px;
}

body.tools .tool-section:last-of-type .container,
.tools .tool-section:last-of-type .container {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

@media (max-width: 991px) and (min-width: 768px) {
    /* Events list - collapse to single column on tablet screens */
    .events-list .event-item .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .events-list .event-item .col-md-4.text-right {
        text-align: left !important;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .home-card {
        flex: 1 1 100%;
    }
    
    .home-tile {
        flex: 1 1 100%;
    }
    
    /* Events list - collapse to single column on small screens */
    .events-list .event-item .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .events-list .event-item .col-md-4.text-right {
        text-align: left !important;
        margin-top: 15px;
    }
}