/*
Theme Name: Workforce Fatigue Management
Author: CDALogic
Description: WordPress theme built with css grid framework
Version: 1.0
Date: October 2025
*/

:root {
	font-size: 10px;
	--text-color: #222;
	--text-size: 1.8rem;
	--font-primary: 'Poppins', sans-serif;
	--font-headings: 'Poppins', sans-serif;
	--wfm-blue: #205d7f;
	--wfm-green: #7fc242;
	--link-color: var(--wfm-green);
	--btn-color: #fff;
	--btn-bg-color: var(--wfm-green);
	--top-bar-bg-color: #fff;
	--main-menu-special-bg: var(--wfm-green);
	--main-menu-link-bg: #fff;
	--main-menu-link-color: var(--wfm-blue);
	--hamburger-bg-color: var(--wfm-blue);
	--hamburger-bar-color: var(--wfm-green);
	--footer-bg-color: var(--wfm-blue);
	--footer-color: #fff;
	color: var(--text-color);
}
* {
	box-sizing:border-box;
	line-height: 1;
	margin: 0;
	outline: 0;
	padding: 0;
}
body {
	font-family: var(--font-primary);
	overflow-x: hidden;
}
.green {
	color: var(--wfm-green);
}
/*
===================================================================================================================
FRAMEWORK
===================================================================================================================
*/
.container,
.container-fluid,
.container-wide {	
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}
.container {
	max-width: 1200px;
}
.container-wide {	
	max-width: 1920px;
}
.container-fluid {	
	max-width: 100%;
}
#page {
	background: #fff;
	min-height: 100vh;
}
.row-grid-mobile {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(12, 1fr);
}
.no-gap {
	grid-gap: 0;
}
.big-gap {
	grid-gap: 60px;
}
.no-margin,
.no-margin * {
	margin: 0;
}
/*
===================================================================================================================
TYPOGRAPHY
===================================================================================================================
*/
h1,
h2,
h3,
h4,
h5,
p,
ul,
li,
dt,
dd,
p {
	margin-bottom: 20px;
	text-wrap: pretty;
}
.font-xl {
	font-size: 150%;
}
.font-l {
	font-size: 125%;
}
.font-s {
	font-size: 75%;
}
.font-xs {
	font-size: 50%;
}
.text-upp {
	text-transform: uppercase;
}
.ul-fancy {
	border-bottom: 6px dashed;
	display: inline-block;
}
/*
===================================================================================================================
HEADINGS
===================================================================================================================
*/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
	font-family: var(--font-headings);
	font-weight: 400;
	line-height: 1.2;
}
/* h1,
.h1 {
	font-size: clamp(2rem, 5vw, 10rem);
} */
h2,
.h2 {
	font-size: clamp(2rem, 4vw, 8rem);
}
h3,
.h3 {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h4,
.h4 {
	font-size: clamp(1.2rem, 4vw, 2.2rem);
}
h5,
.h5 {
	font-size: clamp(1rem, 4vw, 2rem);
}
/*
===================================================================================================================
PARAGRAPH TEXT
===================================================================================================================
*/
p,
.p {
	/* font-size: var(--text-size); */
	line-height: 1.4;
}
/*
===================================================================================================================
IMAGES
===================================================================================================================
*/
img {
	height: auto;
	max-width: 100%;	
}
.img-cover img {
	min-width: 100%;
	object-fit: cover;
}
.bg-multiply {
	background-blend-mode: multiply;
}
.bg-luminosity {
	background-blend-mode: luminosity !important;
}
/*
===================================================================================================================
LISTS
===================================================================================================================
*/
ul:after {
	clear: both;
	content: "";
	display: block;	
	float: none;
}
li {
	/* font-size: var(--text-size); */
	list-style-position: outside;
	list-style-type: disc;
	line-height: 1.4;
	margin-left: 20px;
	margin-bottom: 10px;
}
li a {
	display: block;
}
figure {
	margin: 0;
}
/*
===================================================================================================================
LINKS
===================================================================================================================
*/
a, 
a:hover, 
a:active, 
a:focus {
	text-decoration: none;
  	transition: all 0.25s ease-in-out;
}
a {
	color: var(--link-color);
	font-weight: bold;
}
a.btn,
.btn,
.elementor-button {
	background: var(--btn-bg-color);
	color: var(--btn-color);	
	display: inline-block !important;
	font-size: 2rem !important;
	/* margin: 0 auto 20px auto !important; */
	max-width: max-content !important;
	padding: 20px 40px !important;
	text-align: center !important;
	text-transform: uppercase !important;
}
a.btn:hover,
.btn:hover,
.elementor-button:hover {
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
	transform: scale(1.1);
}
/*
===================================================================================================================
FIXES
===================================================================================================================
*/
.clearfix,
.clear {
	clear: both;
	float: none;
}
.kc_row:not(.kc_row_inner),
.kc-elm {
	clear: both;
	float: none !important;
}
.kc_row:after {
	clear: both !important;
	content: "";
	display: block !important;
	float: none !important;
}
/*
===================================================================================================================
ALIGNMENTS
===================================================================================================================
*/
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.align-middle {
	align-content: center;
	display: grid;
}
.align-bottom {
	align-content: end;
	display: grid;
}
.object-cover {
	object-fit: cover;
}
.center-center {
	align-items: center;
	display: flex;
	justify-content: center;
}
.vertical-center {
	align-items: center;
}
/*
===================================================================================================================
FORM ELEMENTS
===================================================================================================================
*/
input[type="color"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="email"], 
input[type="month"], 
input[type="number"],
input[type="password"], 
input[type="tel"], 
input[type="text"], 
input[type="time"], 
input[type="url"], 
input[type="week"], 
textarea {
	background: rgba(255,255,255,1);
	border: 1px solid rgba(200,200,200,1);
	display: block;
	font-family: var(--font-primary);
	font-size: 1.6rem;
	height: auto;
	margin-bottom: 5px;
	padding: 20px;	
	width: 100%;
}
input[type="submit"] {
	background: var(--btn-bg-color);
	border: 0;
	color: var(--btn-color);
	cursor: pointer;
	display: block;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 1px;		
	margin-bottom: 20px;
	padding: 20px;
	text-transform: uppercase;	
	width: auto;
}
textarea {
	min-height: 100px;
}
::placeholder {
    color: inherit;
	font-family: var(--font-primary);
    opacity: 0.7;
}
.wpcf7-list-item {
    display: block;
    margin: 0 0 10px 10px;
}
/*
===================================================================================================================
UP BUTTON
===================================================================================================================
*/
#up {	
	bottom: 20px;
	background: var(--wfm-green);
	opacity: 0.5;	
	position: fixed;	
	right: 10px;	
	text-align: center;	
	z-index: 999;
}
#up a {
	color: #fff;
	display: flex;
	font-size: 3.5rem;
	height: 50px;
	justify-content: center;
	width: 50px;
}
#up a .fa {
	align-self: center;
}
#up:hover {
	opacity: 1;
}
/*
===================================================================================================================
MAIN NAVIGATION MENU
===================================================================================================================
*/
#top-bar {
	align-items: center;
	background: var(--top-bar-bg-color);
	color: yellow;
	display: flex;
	justify-content: space-between;
	left: 0;
	padding-left: 20px;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 999;
}
.menu-is-open #top-bar {
	transition: all 0.25s ease-in-out;
}
.show {
	display: block;
}
#main-menu {
	height: 100%;
	margin-bottom: 0;
	position: fixed;
	right: -100%;
	text-align: center;
	transition: all 0.25s ease-in-out;
	width: 100%;
}
.menu-is-open #main-menu {
	background: var(--top-bar-bg-color);
	right: 0;
}
#main-menu li {
	border-bottom: 1px solid var(--wfm-green);
	list-style-type: none;
	margin: 0;
	text-align: left;
}
#main-menu .fa {
	color: var(--wfm-green);
	margin-right: 10px;
}
#main-menu li.menu-item-has-children {
	display: grid;
	grid-gap: 0;
	grid-template-columns: 1fr auto;
}
#main-menu li a {
	background: var(--main-menu-link-bg);
	color: var(--main-menu-link-color);
	font-size: 1.8rem;
	padding: 20px;
	text-transform: uppercase;
}
#main-menu li:last-child a {
	background: var(--main-menu-special-bg);
	color: #fff;
}
#main-menu li:last-child .fa {
	color: #fff;
}
#main-menu li a:hover {
	background: var(--main-menu-link-color);
	color: var(--main-menu-link-bg);
}
#hamburger {
	align-content: space-between;
	background: var(--hamburger-bg-color);
	cursor: pointer;
	display: grid;
	height: 50px;
	padding: 10px;	
	transition: all 0.5s 0.5s ease-in-out;
	width: 50px;
	z-index: 999;
}
.bar {	
	border-bottom: 6px solid var(--hamburger-bar-color);
	transition: all 0.25s ease-in-out;
  	width: 100%;
}
#bar-wrapper {
	position: relative;
}
#bar-2 {
	position: relative;

}
#bar-3 {
	left: 0;
	position: absolute;
	top: 0;
}
.bar.blackout {
	border-bottom: 3px solid transparent;
  	transition: all 0.5s ease-in-out;
}
.menu-is-open #bar-1,
.menu-is-open #bar-4 {
	border-color: transparent;
	box-shadow: none;
	transition: none;
}
.menu-is-open #bar-2 {
	transform: rotate(45deg);
}
.menu-is-open #bar-3 {
	transform: rotate(-45deg);
}
.menu-is-open #fly-out-overlay {
	background: rgba(0,0,0,0.5);
	cursor: pointer;
	display: block;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
}
#logo {
	font-size: 2rem;
	max-width: 300px;
}
#main-menu .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}
#main-menu .menu-item.open > .sub-menu {
	display: block;
}
.submenu-toggle {
	background: var(--wfm-green) !important;
	border: none !important;
	border-left: 1px solid var(--wfm-green) !important;
	cursor: pointer !important;
	font-size: 4rem !important;
	padding: 0 !important;
}
.submenu-toggle::after {
	background: transparent;
	color: #fff;
	content: '▾'; /* Down arrow */
	display: inline-block;
	transform: rotate(0deg);
	transition: transform 0.3s ease;
}
.menu-item.open .submenu-toggle::after {
	transform: rotate(180deg); /* Up arrow when open */
}
#main-menu .sub-menu li {
	border-bottom: 0;
}
#main-menu .sub-menu li a {
	background: transparent;
	color: var(--wfm-blue);
	font-size: 1.6rem;
	padding: 12px 20px;
}
/*
===================================================================================================================
HERO
===================================================================================================================
*/
.hero {
	height: 100vh;
	width: 100%;
}
/*
===================================================================================================================
PARALLAX
===================================================================================================================
*/
.parallax-bg {
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: cover;	
}
/*
===================================================================================================================
SLIDER
===================================================================================================================
*/
.flexslider {
	border: 0;
	border-radius: 0;	
	box-shadow: none;	
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
	z-index: 1;
}
/*
===================================================================================================================
FOOTER
===================================================================================================================
*/
#footer-main {
	align-items: center;
	background: var(--footer-bg-color);
	color: var(--footer-color);
	display: grid;
	padding: 40px 20px 20px 20px;
	text-align: center;
}
.footer-column {
	margin-bottom: 20px;
}
.footer-01 {
	margin-bottom: 0;
	order: 3;
}
.footer-02 {
	order: 1;
}
.footer-03 {
	order: 2;
}
.footer-column ul {
	margin: 0;
}
#footer-nav {
	margin: 0 auto 20px auto;
	width: max-content;
}
#footer-nav li,
.footer-contact li {
	border-bottom: 1px solid #fff;
	font-size: 1.4rem;
	list-style-type: none;
	margin-bottom: 0;
}
#footer-nav li a,
.footer-contact a {
	color: #fff;
	font-size: 1.6rem;
	font-weight: 400;
	padding: 10px 0;
	text-transform: uppercase;
}
#footer-nav li a:hover {
	color: var(--link-color);
}
#footer-main li:last-child {
	border-bottom: 0;
}
#footer-nav .sub-menu {
	display: none;
}
#footer-main .fly-out-open-button {
	padding: 20px 0;
}
.footer-fixed {
	bottom: 0;
	left: 0;
	position: fixed;	
	width: 100%;
	z-index: -1;
}
/* #footer-legal {
	padding: 20px;
} */
.footer-logo {
	margin-bottom: 10px;
	max-width: 250px !important;
}
.footer-contact li {
	border-bottom: 0;
	color: #fff;
	list-style-type: none;
}
.footer-contact a {
	text-transform: none;
}
.copyright {
	font-size: 1.2rem;
}
/*
===================================================================================================================
ANIMATIONS
===================================================================================================================
*/
.grayscale img {
	filter: grayscale(100);
	transition: all 0.5s ease-in-out;
}
.grayscale img:hover {
	filter: grayscale(0);
	transition: all 0.25s ease;
}
.letter-char {
    animation: letterFadeIn 0.4s forwards;
    display: inline-block;
    opacity: 0;
    transform: translateY(0.3em);
	vertical-align: bottom;
}
.letter-enter {
	line-height: 1;
	margin-top: 10px;
    visibility: hidden;
    white-space: normal;
    word-break: keep-all;
}
@keyframes letterFadeIn {
    to {
        opacity: 1;
        transform: translateY(0.1em);
    }
}
/*
===================================================================================================================
WORD TICKER
===================================================================================================================
*/
.word-ticker {
    overflow: hidden;
    position: relative;
    vertical-align: baseline;
    width: auto;
}
.word-ticker span {
    font-weight: 600;
    left: 20px;
    line-height: 1.2;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    transform: translateY(0);
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1),
                opacity 0.7s ease-in-out;
}
/*
===================================================================================================================
NATIVE CONTENT
===================================================================================================================
*/



/*
===================================================================================================================
MEDIA QUERIES
===================================================================================================================
*/
@media only screen and (min-width: 641px) {
	.row-grid {
		display: grid;
		grid-gap: 20px;
		grid-template-columns: repeat(12, 1fr);
	}
	.span-1 {
		grid-column: span 1;
	}
	.span-2 {
		grid-column: span 2;
	}
	.span-3 {
		grid-column: span 3;
	}
	.span-4 {
		grid-column: span 4;
	}
	.span-5 {
		grid-column: span 5;
	}
	.span-6 {
		grid-column: span 6;
	}
	.span-7 {
		grid-column: span 7;
	}
	.span-8 {
		grid-column: span 8;
	}
	.span-9 {
		grid-column: span 9;
	}
	.span-10 {
		grid-column: span 10;
	}
	.span-11 {
		grid-column: span 11;
	}
	.span-12 {
		grid-column: span 12;
	}
	#logo a {
		display: block;
	}
	/*
	===================================================================================================================
	CLIP PATHS
	===================================================================================================================
	*/
	.ellipse-top {
		clip-path: ellipse(100% 99% at bottom);
	}
	.ellipse-bottom {
		clip-path: ellipse(100% 99% at top);
	}
	.slant-right {
		clip-path: polygon(0 1%, 100% 0%, 90% 100%, 0% 100%);
	}
	}
@media only screen and (min-width: 900px) {
	#top-bar {
		align-items: center;
		/* border-bottom: 1px solid #eee; */
		transition: all 0.4s;
	}
	#main-menu {
		background: transparent;
		display: flex;
		height: auto;
		position: static;
		right: auto;
		text-align: center;
		transition: all 0.25s ease-in-out;
		width: auto;
	}
	#hamburger {
		display: none;
	}
	#main-menu li {
		border-bottom: 0;
	}
	#main-menu li a {
		display: flex;
		padding: 3rem;
	}
	#top-bar.bar-shrink {
		background: #f5f5f5;
	}
	.scrolltop #main-menu li a {
		padding: 2rem !important;
	}
	#logo {
		transition: all 0.25s ease-in-out;
	}
	.scrolltop #logo {
		max-width: 200px;
		transition: all 0.25s ease-in-out;
	}
	.bar-shrink #main-menu li:last-child a {
		transition-delay: 0.25s;
		border-radius: 80px 0 0 80px;
	}
	/* #main-menu .current_page_item a {
		color: var(--cwg-red);
	} */
	#main-menu .sub-menu {
		background: #efefef;
		backdrop-filter: blur(20px);
		display: none;
		position: absolute;
		text-align: left;
		top: 99%;
		z-index: 4;
	}
	#main-menu .sub-menu li {
		float: none;
	}
	#main-menu .sub-menu li a {
		font-size: 1.6rem;
		padding: 15px;
	}
	#main-menu .sub-menu li:hover a {
		background: var(--wfm-blue);
		color: #fff;
	}
	#main-menu .menu-item-has-children:hover .sub-menu {
		display: block;
	}
	.footer-01,
	.footer-02,
	.footer-03 {
		order: initial;
	}
	.footer-column,
	.footer-01 {
		margin-bottom: 0;
	}
	#footer-nav {
		margin: 0;
		text-align: left;
	}
	.footer-03 {
		text-align: right;
	}
}