/* INCLUDE OTHER CSS SHEETS */
@import "bootstrap.css";
@import "font-awesome.min.css";

/* GLOBAL VARIABLES */

:root {
    --primary-color: #194D73;
    --secondary-color: #7EACB9;
    --text-color: #31465B;
    --alt-color-1: #D4D5C8;
    --alt-color-2: #E8F0F2;
}

html { 
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

/*html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,/*video{margin:0;padding:0;border:0;outline:0;font-size:100%;font:inherit;vertical-align:baseline;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;}*/article,aside,details,figcaption,figure,footer,header,hgroup,menu,section{display:block}html{overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}body{background:#fff;line-height:1;}article,aside,details,figcaption,figure,footer,header,main,section{display:block}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0;}caption,th,td{font-weight:normal;text-align:left;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}blockquote,q{quotes:none}a:focus{outline:none}a:hover,a:active{outline:0}a img{border:0}img{max-width:100%;height:auto;}select{max-width:100%}


/* Accessibility - Text meant only for screen readers */
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:focus { background-color: var(--alt-color-1); border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

*,
*:before,
*:after { 
    -webkit-box-sizing: inherit; -moz-box-sizing: inherit; box-sizing: inherit; 
}

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


.clearfix { zoom: 1; }
.clearfix:before,
.clearfix:after { clear: both; display: table; line-height: 0; content: ""; }

#main-content { 
    padding: 0 0;
}

body,
button,
select,
textarea { font-family: "Montserrat", sans-serif; color: #777; line-height: 1.875; background-color: #fff; -webkit-font-smoothing: antialiased; }
img { height: auto; max-width: 100%; vertical-align: middle; -ms-interpolation-mode: bicubic }

hr { 
    background-color: var(--primary-color); border: 0; height: 1px; margin-bottom: 20px; 
}

a { outline: 0; text-decoration: none; -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s; }

a:hover,
a:focus,
a:active { outline: 0; color: #252525; text-decoration: none }

/* Typography
-------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 { font-family: "Montserrat", sans-serif; color: #252525; line-height: 1.5; margin: 0 0 10px; font-weight: 500; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

h1 { font-size: 2.428em; } /* 34px */
h2 { font-size: 2.142em; } /* 30px */
h3 { font-size: 1.857em; } /* 26px */
h4 { font-size: 1.571em; } /* 22px */
h5 { font-size: 1.285em; } /* 18px */
h6 { font-size: 1.142em; } /* 16px */

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a { color: inherit }

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover { text-decoration: none }

.font-size-18 { font-size: 18px; }

.subtitle { font-size: 1.142em; line-height: 1.785em; max-width: 770px; padding: 2px 0; margin: 0 auto; text-align: center; }

/* List */
ul,
ol { padding: 0; margin: 0 0 20px 35px; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul,
li > ol { margin-bottom: 0; }
ul li,
ol li { line-height: 1.86em; padding: 0.26em 0; }
ul.list-unstyled { margin-left: 0; list-style: none; }
.list-fixed-icon .fa {
    display: inline-block;
    width: 1.2em;
    text-align: right;
    padding-right: 1.4em;
}

dl { margin: 0 0 30px; }
dt { font-weight: bold; }
dd { margin: 0 0 30px; }
del { filter: alpha(opacity=80); opacity: 0.8;}

/* Links */
a { color: var(--alt-color-1); outline: 0; text-decoration: none; -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s; }

.contact a {color: #777777}

a:hover,
a:focus,
a:active { outline: 0; color: #252525; text-decoration: none }

/* Table */
table,
th,
td { border: 1px solid var(--alt-color-1); }
table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 30px; table-layout: fixed; width: 100%; }
caption, th, td { font-weight: normal; text-align: left; }
th { border-width: 0 1px 1px 0; font-weight: bold; }
td { border-width: 0 1px 1px 0; }
th,
td { padding: 5px; }

button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ }

input[type="submit"] { 
    font-weight: 500; 
    background-color: #194D73; 
    color: #fff;
    border-radius: 3px; 
    display: inline-block; 
    -webkit-transition: all ease .238s; 
    -moz-transition: all ease .238s; 
    transition: all ease .238s; }

/* Remove chrome yellow autofill */
input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #f7f7f7 inset }

.page-container {
    width: 1170px;
    margin: 0 auto;
    max-width: 90%
}

#inner-content {
    position: relative;
    z-index: 1;
}

#inner-content:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-style: solid; border-width: 0; z-index: -1;
}

/* Hero Background SlideShow */
.hero-section {
	position: relative;
        right: 0;
        width: 100%;
        height: 100svh;
        padding: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #111;
        transition: 0.5s;
        z-index: 0;
}

.hero-section video {
	position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
        z-index: 0;
}

.hero-section .hero-overlay {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #595959;
    mix-blend-mode: overlay;
    z-index: 0;
}

/* Initial state: hidden */
#site-header-logo.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin-right: auto;
}

/* Visible state */
#site-header-logo.visible {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    margin-right: auto;
}

.hero-section .logo-text { text-align: center; }

.hero-section .text {
	position: relative; 
	z-index: 10;
	padding: 5px 10px 5px 10px;
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: none;
	color: #fff;
	position: relative;
	text-shadow: 1px 1px 3px rgba(0,0,0,.3);
}
        
.hero-section .overlay-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.site-logo { float: left; vertical-align: middle; }
.site-logo .site-logo-text { color: #252525; font-size: 22px; line-height: 34px; font-weight: 700; }

/* Hero Grid Overlay */
.grid-container {
	all:unset;
	width: 100%;
	display: grid;
	column-gap: 5em;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	padding: 10px;;
  }
  
.grid-item {
	background-color: none;
	border: none;
	padding: 10px;
	text-align: left;
	position: relative;
  }

.column1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: clamp(0.8rem,1.2cqw,3rem);
	color: white;
	font-family: "Montserrat", sans-serif;
}

.column1 img,
.column1 p {
	display: block;
	margin: 10px 0;
}

.column2 {
	display:flex;
    font-family: "Montserrat", sans-serif;
	font-weight: 300;
	padding: none;
	font-size: clamp(0.8rem,1.2cqw,3rem);
	align-items: center;
	text-align: justify;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none;
}

.breadcrumb-trail {
    padding-top: 60px;
}

@media (max-width: 900px) {
	.grid-container {
	  grid-template-columns: 1fr; /* Stack items vertically on smaller screens */
	}
  }

  #site-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjusts spacing between logo and navigation */
    padding: 10px;
    background-color: transparent !important;
    position: relative;
    z-index: 998;
}

#site-header #site-header-inner {
    display: flex;
    position: relative;
    align-items: center;
    width: 100%;
    z-index: 999;
}
#site-header.is-sticky #site-header-logo {
    display: block; /* Show logo when header is sticky */
}

#site-header:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 50px; /* Adjust this height to match the height of your header */
    background-color: #000;
    filter: alpha(opacity=10);
    opacity: 0.2;
    -webkit-transition: all ease .238s;
    -moz-transition: all ease .238s;
    transition: all ease .238s;
}

#site-header.is-sticky:after {
    opacity: 0.5; /* Increase opacity when sticky, if needed */

}

.site-logo { 
    float: left; vertical-align: middle; 
}

#site-content { width: 100% !important; max-width: none !important; float: none !important; }

#site-header #main-nav .menu-fallback { padding-right: 24px; }
#main-nav { display:flex; align-items: center; top: 0; z-index: 997;  }

#site-header .mobile-button:before, .mobile-button:after, .mobile-button span { 
    background-color: #fff !important; 
}
#site-header {padding: 10px;}
#site-header #main-nav > ul > li > a { color: #fff; }
#site-header #main-nav > ul > li > a:hover,
#site-header #main-nav > ul > li.current-menu-item > a { color: #7EACB9; }
#site-header #main-nav .menu-item > ul > li.current-menu-item > a { 
    background-color: #D4D5C8;
    color: #194D73; 
}

/* Navigation */
#main-nav .menu-fallback { position: relative; color: #252525; text-decoration: underline; display: inline-block; height: 50px; line-height: 50px; }
#main-nav ul { margin: 0; }
#main-nav ul li { position: relative; list-style: none; padding-top: 0; padding-bottom: 0;}
#main-nav > ul > li { float: left; padding: 0 18px; }
#main-nav > ul > li:first-child { padding-left: 0; }
#main-nav > ul > li > a { display: flex; font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 500; color: #777; text-transform: uppercase; }
#main-nav > ul > li > a:hover { color: #7EACB9; }
#main-nav > ul > li.current-menu-item > a { position: relative;}
#main-nav > ul > li.current-menu-item > a:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 3px;
    background-color: #7EACB9;
}
#main-nav > ul > li.menu-item-has-children > a { position: relative; padding-right: 15px; }
#main-nav > ul > li.menu-item-has-children > a:after { content: "\f107"; font-family: "FontAwesome"; position: absolute; right: 0; top: 0; opacity: 1; }

#main-nav > ul > li.menu-item-has-children > ul > li.sub-menu-item-has-children > a { position: relative; }
#main-nav > ul > li.menu-item-has-children > ul > li.sub-menu-item-has-children > a:after { content: "\f054"; font-family: "FontAwesome"; position: absolute; right: 5px; top: 1.5cqh;}

/* Header sticky */
#site-header.is-sticky {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 9996;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

#site-header.is-sticky:after { opacity: 0.5;}

/* Sub Menu */
#main-nav .sub-menu { position: absolute; left: 0; top: 100%; width: 260px; filter: alpha(opacity=0); opacity: 0; visibility: hidden; z-index: 9999;
    -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s;
    -webkit-transform: translateY(3px); -moz-transform: translateY(3px); transform: translateY(3px);
	-webkit-box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
	   -moz-box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
	        box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
}

#about-menu .sub-menu { position: absolute; left: -170%; top: 100%; width: 260px; filter: alpha(opacity=0); opacity: 0; visibility: hidden; z-index: 9999;
    -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s;
    -webkit-transform: translateY(3px); -moz-transform: translateY(3px); transform: translateY(3px);
	-webkit-box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
	   -moz-box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
	        box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
}

#main-nav .sub-menu li a { background-color: #E8F0F2; color: #252525; font-size: 0.928em; font-family: "Montserrat", sans-serif; font-weight: 500; display: block; text-transform: uppercase; border-top: 1px solid #eaeaea; padding: 10px 19px; line-height: 24px; }
#main-nav .sub-menu li:first-child a { border-top: 0; }
#main-nav .sub-menu li a:hover { color: #D4D5C8; background-color: #194D73;}
#main-nav li:hover > .sub-menu { filter: alpha(opacity=100); opacity: 1; visibility: visible;
    -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s;
    -webkit-transform: translateX(0px); -moz-transform: translateX(0px); transform: translateX(0px);
}

/* Sub-Sub Menu */
#main-nav .sub-sub-menu { position: absolute; left: 100%; top: 0; width: 260px; filter: alpha(opacity=0); opacity: 0; visibility: hidden; z-index: 9999;
    -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s;
    -webkit-transform: translateY(3px); -moz-transform: translateY(3px); transform: translateY(3px);
	-webkit-box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
	   -moz-box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
	        box-shadow: inset 0 12px 19px rgba(255,255,255,0.1), 0 1px 7px rgba(0,0,0,0.2);
}

#main-nav .sub-sub-menu li a { background-color: #E8F0F2; color: #252525; font-size: 0.928em; font-family: "Montserrat", sans-serif; font-weight: 500; display: block; text-transform: uppercase; border-top: 1px solid #eaeaea; padding: 10px 19px; line-height: 18px; }
#main-nav .sub-sub-menu li:first-child a { border-top: 0; }
#main-nav .sub-sub-menu li a:hover { color: #D4D5C8; background-color: #194D73;}
#main-nav li:hover > .sub-sub-menu { filter: alpha(opacity=100); opacity: 1; visibility: visible;
    -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s;
    -webkit-transform: translateX(0px); -moz-transform: translateX(0px); transform: translateX(0px);
}

/* Mobile Navigation */
#main-nav-mobi { display: block; margin: 0 auto; width: 100%; position: absolute; left: 0; top: 100%; z-index: 99999; background-color: #262626; }
#main-nav-mobi ul { display: block; list-style: none; margin: 0; padding: 0; }
#main-nav-mobi ul li { margin:0; position: relative; text-align: center; cursor: pointer; border-top: 1px solid #333; padding-top: 0; padding-bottom: 0; }
#main-nav-mobi ul > li > a { color: #9e9d9d; display: inline-block; font-family: "Montserrat", sans-serif; font-size: 14px; text-transform: uppercase; line-height: 50px; text-decoration: none; }
#main-nav-mobi ul > li > a:hover { color: var(--secondary-color); }
#main-nav-mobi .menu-item-has-children .arrow { cursor: pointer; display: inline-block; font-family: "FontAwesome"; font-size: 20px; line-height: 50px; position: absolute; right: 0; text-align: center; top: 0; width: 50px; }
#main-nav-mobi .menu-item-has-children .arrow:before { content: "\f105"; color: #aaa; }
#main-nav-mobi .menu-item-has-children .arrow.active:before { content: "\f107"; }
#main-nav-mobi ul ul li { background-color: #5a5a5a; }
#main-nav-mobi ul ul ul li { background-color: #2e2e2e; }

/* Mobile Menu Button */
.mobile-button { display: none; float: right; position: relative; background: transparent; cursor: pointer; width: 26px; height: 16px; -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s; }
.mobile-button:before,
.mobile-button:after, 
.mobile-button span { background-color: #222; -webkit-transition: all ease .238s; -moz-transition: all ease .238s; transition: all ease .238s; }
.mobile-button:before,
.mobile-button:after { content: ''; position: absolute; top: 0; height: 3px; width: 100%; left: 0; top: 50%; -webkit-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; }
.mobile-button span { position: absolute; width: 100%; height: 3px; left: 0; top: 50%; overflow: hidden; text-indent: 200%; }
.mobile-button:before { -webkit-transform: translate3d(0,-7px,0); -moz-transform: translate3d(0,-7px,0); transform: translate3d(0,-7px,0); }
.mobile-button:after { -webkit-transform: translate3d(0,7px,0); -moz-transform: translate3d(0,7px,0); transform: translate3d(0,7px,0); }
.mobile-button.active span { opacity: 0; }
.mobile-button.active:before { -webkit-transform: rotate3d(0, 0, 1, 45deg); -moz-transform: rotate3d(0, 0, 1, 45deg); transform: rotate3d(0, 0, 1, 45deg); }
.mobile-button.active:after { -webkit-transform: rotate3d(0, 0, 1, -45deg); -moz-transform: rotate3d(0, 0, 1, -45deg); transform: rotate3d(0, 0, 1, -45deg); }

.lines {
    position: relative;
}

.lines .line-1,
.lines .line-2 {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
}

.lines .line-2 {
    z-index: 1;
}

.lines.style-2 .line-1,
.lines.style-2 .line-2 {
    left: 50%;
}


.lines.custom-1 .line-1 { height:3px; width: 50%; background: linear-gradient(to right, transparent,var(--primary-color), transparent); margin-left: -25%; margin-top: -1.5px }

.layout-1 .image {
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.image-container img {
    width: 100%;
    height: auto;
}

.layout-1 .texts {
    text-align: center;
    padding: 20px 0;
    background-color: #f7f7f7;
    border: 1px solid #f1f1f1;
}

.layout-1 .name {
    font-size: 1.285em;
    margin: 0;
}

.layout-1 .position {
    margin: 0;
}

.layout-1 .nav-pagination,
.layout-1 .nav-controls {
    display: none;
}

.layout-1.has-arrows .nav-controls {
    display: block;
}

#layout-1-wrap .nav-pagination {
    position: static;
}

#services.section  {
    margin-top: 0;
    padding: 32px 0;
}

#services h4 {
    padding-top: 20px;
}

#services p {
    font-size: 14px;
    font-weight: 500;
}

#services .row {
    justify-content: center; /* Center the carousel within the container */
}

#services .carousel {
    display: flex;
    justify-content: center; /* Center the items within the carousel */
    width: 100%;
    overflow: hidden;
}


#services .carousel .col-lg-3 {
    flex: 0 0 25%; /* Default to 4 items */
}

#projects .filter-bar,
#mobileFilterBar .mobile-filter-bar {
    text-align: center;
    margin-bottom: 38px;
    font-size: 1rem;
    font-family: "Montserrat",sans-serif;
    font-weight: 300;
}

#projects .filter-item,
#mobileFilterBar .mobile-filter-item {
    padding: 0 15px;
    font-size: 1rem;
    color: var(--text-color);
    padding: 4px 20px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    -webkit-transition: all ease .238s;
       -moz-transition: all ease .238s;
            transition: all ease .238s;
}

#projects .filter-item:hover,
#projects .filter-item.filter-item-active,
#mobileFilterBar .mobile-filter-item:hover,
#mobileFilterBar .mobile-filter-item.mobile-filter-item-active {
    color: #fff;
    font-size: 1rem;
    background-color: #194D73;
    padding: 0 20px;
}

@media (max-width: 950px) {
    #services .carousel .col-lg-3 {
        flex: 0 0 50%; /* 2 items */
    }
}

@media (max-width: 500px) {
    #services .carousel .col-lg-3 {
        flex: 0 0 100%; /* 1 item */
    }
    .lines.custom-1 .line-1 { 
        height:3px; 
        width: 100px; 
        background: linear-gradient(to right, transparent,var(--primary-color), transparent); 
        margin-left: -50px; 
        margin-top: -1.5px 
    }
}

#desktopProjectsCarousel .row {
    padding: 0 !important;
}

#desktopProjectsCarousel .carousel-item .col-md-3 img {
    width: 100%;
    height: auto;
    display: block;
}

#desktopProjectsCarousel .carousel-item {
    display: block;
}

@media only screen and (max-width: 991px) {
    #site-header .mobile-button { 
        display: block; 
    }
    .text-left-mobile { text-align: left !important; }
	.text-center-mobile { text-align: center !important; }

	#main-nav { display: none; }

	#site-content,
	#inner-content { padding-left: 0 !important; padding-right: 0 !important; }

	#main-content { padding: 0 0; }

	#site-header #site-header-inner { 
        padding: 0 10 0 10;
     }

}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #31465b00 0%, #31465b99 100%); /* Gradient background */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#mobileProjectsTabs .overlay,
#detailsCarousel .overlay {
    opacity: 1;
}

.position-relative:hover .overlay {
    opacity: 1;
}

.overlay h4 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.overlay p {
    margin: 5px 0 0;
    padding: 0;
    font-size: 0.875rem;
}

/* Spacer
-------------------------------------------------------------- */
.spacer { 
    clear: both; 
    height: 40px;
}

#promotion {
    background-color: var(--primary-color);
    padding: 40px;
}


#testimonialsCarousel blockquote {
    font-style: italic;
    font-size: 0.875rem;
    padding-top: 1rem;
}

#testimonialsCarousel img {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#testimonialsCarousel .carousel-item {
    justify-content: center;
    padding-top: 30px;
}

#testimonialsCarousel .card {
    margin: 10px;
    padding: 15 0 15 0;
    flex: 0 0 30%;
}
@media (max-width: 576px) {
    #desktopProjectsCarousel {
        display: none;
    }
    .filter-bar {
        display: none;
    }
    #mobileProjectsTabs,
    #detailsCarousel {
        display: block;
    }
    #mobileFilterBar {
        display: block;
    }
    .tab-content {
        display: none;
    }
    
    .tab-content.active {
        display: block;
    }
    #testimonialsCarousel .card {
      flex: 0 0 100%;
    }
    .hero-section {
        padding: 0;
    }
  }
@media (min-width:577px) and (max-width: 767.98px) {
    #desktopProjectsCarousel {
        display: none;
    }
    .filter-bar {
        display: none;
    }
    #mobileProjectsTabs,
    #detailsCarousel {
        display: block;
    }
    #mobileFilterBar {
        display: block;
    }
    .tab-content {
        display: none;
    }
    
    .tab-content.active {
        display: block;
    }
    #testimonialsCarousel .card {
      flex: 0 0 45%; /* Two cards per row on small screens */
    }
  }
@media (min-width: 768px) {
    #testimonialsCarousel .card {
        flex: 0 0 30%; /* Three cards per row on larger screens */
        max-width: 350px;
    }
    #desktopProjectsCarousel {
        display: block;
    }
    .filter-bar {
        display: block;
    }
    #mobileProjectsTabs,
    #detailsCarousel {
        display: none;
    }
    #mobileFilterBar {
        display: none;
    }
    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: none;
    }
}

.testimonial-text.full-version {
    display: none;
    overflow-y: auto; /* Enables scrollbar when needed */
}

#testimonialCarousel .name {
    align-self: flex-end; /* Ensures the name is anchored at the bottom */
    margin-top: auto; /* Pushes the name to the bottom if there is remaining space */
    margin-bottom:0;
}

.read-more {
    display: block;
    margin-top: 5px;
    cursor: pointer;
}


#testimonialsCarousel .carousel-control-next,
#testimonialsCarousel .carousel-control-prev {
    position: static;
    bottom: -30;
    z-index: 1;
    display: inline-block;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: 1;
    transition: opacity 0.15s ease;
}

#detailsCarousel .carousel-control-next,
#detailsCarousel .carousel-control-prev {
    position: absolute;
    top: 40%;
    z-index: 1;
    display: inline-block;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.nav-buttons {
    display:flex;
    justify-content: center;
}

@media only screen and (max-width: 479px) {
	#top-bar { display: none; }
        
        .header-style-5 #site-header { background-color: transparent !important; }
        .header-style-5 #site-header-wrap { position: absolute; padding: 10px; z-index: 9999; }
        .header { padding: 20px;}
        .hero-section .text {padding-top: 20px; text-align: center;}

        #site-logo img {
            max-width: 100px; 
            height: auto;
        }
        .mobile-button {
            display: flex;
        }
}

#footer-widgets .widget { position: relative; z-index: 1;	margin-top: 30px; color: var(--alt-color-1); }
#footer-widgets .widget ul { list-style: none;}
#footer-widgets .widget.widget_links ul li { border: 0; padding: 7px 0;}
#footer-widgets .widget.widget_links ul li:first-child { padding-top: 0; }
#footer-widgets .widget.widget_links ul.col2 li { width: 50%; float: left; padding: 0 0 12px; }
#footer-widgets .widget.widget_links ul li a { position: relative; display: inline-block; padding-left: 25px; }
#footer-widgets .widget.widget_links ul li a:before { content: "\f105"; font-family: "FontAwesome"; font-size: 14px; position: absolute; left: 0; top: 0; }
#footer-widgets .widget.widget.widget_information ul li { position: relative; padding: 0 0 0 30px; border: 0; margin-bottom: 8px;}
#footer-widgets .widget.widget_information ul li:before { content: "\f015"; font-family: "FontAwesome"; color: var(--alt-color-1); font-size: 14px; position: absolute; left: 0; top: 1px; }
#footer-widgets .widget.widget_information ul li.phone:before { content: "\f095"; }
#footer-widgets .widget.widget_information ul li.email:before { content: "\f0e0"; }
#footer-widgets .widget .widget-title { margin-bottom: 36px; color: #fff; }
#footer-widgets .widget .widget-title > span { padding-bottom: 12px; }
#footer-widgets .widget.widget_links ul li a:before { color: var(--alt-color-1); }

#footer { background-color: #1a1a1a; padding: 10px 0 30px; position: relative; z-index: 1; border-style: solid; }

#copyright {
	display: flex;
	justify-content: center;
	align-items: center;
}

#copyright p {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
}

.how-we-work-white {
    color: #ffffff;
}

.timeline-info span {
    color: #ffffff;
}

.timeline-item p, .example-title p {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px black;
}

.timeline-item h3, .timeline-info span {
    font-weight: 600;
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px black;
}