/*
Theme Name: Cloud Wide Group
Author: CDALogic
Description: Wordpress theme built with css grid framework
Version: 1.0
Date: May 2025
*/

:root {
	font-size: 10px;
	--cwg-blue: #547dbe;
	--cwg-green: #089c57;
	--cwg-red: #d94536;
	--cwg-yellow: #f1b31b;
	--font-body: 'Roboto', sans-serif;
	--font-headings: 'Kanit', sans-serif;
	color: #111;
}
* {
	box-sizing:border-box;
	margin: 0;
	padding: 0;
	line-height: 1;
	outline: 0;
}
body {
	background: #f9f9f9;
	font-family: var(--font-body);
	overflow-x: hidden;
}
.cwg-blue {
	color: var(--cwg-blue);
}
.cwg-green {
	color: var(--cwg-green);
}
.cwg-red {
	color: var(--cwg-red);
}
.cwg-yellow {
	color: var(--cwg-yellow);
}
/*
===================================================================================================================
FRAMEWORK
===================================================================================================================
*/
.container {	
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px;
	position: relative;
}
.container-fluid {	
	margin: 0 auto;
	max-width: 100%;
	padding: 0 5%;
}
#page {
	background: #f9f9f9;
	min-height: 100vh;
	/* padding: 40px 0; */
}
.row-grid-mobile {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-gap: 20px;
}
.no-gap {
	grid-gap: 0;
}
.big-gap {
	grid-gap: 60px;
}
/*
===================================================================================================================
TYPOGRAPHY
===================================================================================================================
*/
h1,
h2,
h3,
h4,
h5,
p,
ul,
dt,
dd,
.p {
	margin-bottom: 20px;
}
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
	font-family: var(--font-headings);
	font-weight: 400;
	line-height: 1.2;
	text-wrap: pretty;
}
.text-upp {
	text-transform: uppercase;
}
strong {
	font-weight: 700;
}
.pretty {
	text-wrap: pretty;
}
/*
===================================================================================================================
HEADINGS
===================================================================================================================
*/
h1,
.h1 {
	font-size: clamp(4rem, 5vw, 10rem);
}
h2,
.h2 {
	font-size: clamp(2.5rem, 6vw, 5rem);
}
h3,
.h3 {
	font-size: clamp(1.5rem, 6vw, 2.5rem);
}
h4,
.h4 {
	font-size: clamp(1.2rem, 4vw, 2.2rem);
}
h5,
.h5 {
	font-size: clamp(1rem, 4vw, 2rem);
}
.span-block {
	display: block;
	line-height: 1;
}
.blurb-title {
	font-size: clamp(2.5rem, 4vw, 2.7rem);
}
/*
===================================================================================================================
PARAGRAPH TEXT
===================================================================================================================
*/
p,
.p {
	font-size: 2rem;
	line-height: 1.4;
	font-weight: 300;
}
/*
===================================================================================================================
IMAGES
===================================================================================================================
*/
img {
	height: auto;
	max-width: 100%;	
}
/*
===================================================================================================================
LISTS
===================================================================================================================
*/
ul {
	list-style-type: none;
	padding-left: 0;
}
ul:after {
	clear: both;
	content: "";
	display: block;	
	float: none;
}
li {
	font-size: 2rem;
	font-weight: 300;
	list-style-position: outside;
	list-style-type: disc;
	line-height: 1.4;
	margin-left: 20px;
	margin-bottom: 5px;
}
ol li {
	list-style-type: decimal;
}
dt,
dd {
	font-weight: 300;
	line-height: 1;
	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(--cwg-red);
	font-weight: bold;
}
a.btn,
.btn,
.elementor-button {
	background: var(--cwg-green);
	border-radius: 5px;
	color: #fff;	
	display: inline-block;
	font-family: var(--font-headings);
	font-size: 2rem;
	margin: 0 auto 20px auto;
	max-width: max-content;
	padding: 20px 40px;
	text-align: center;
	text-transform: uppercase;
}
a.btn:hover,
.btn:hover,
.elementor-button:hover {
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
	transform: scale(1.1);
}
.link-plain a {
	color: inherit;
}
/*
===================================================================================================================
FIXES
===================================================================================================================
*/
.clearfix,
.clear {
	clear: both;
	float: none;
}
/*
===================================================================================================================
ALIGNMENTS
===================================================================================================================
*/
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.align-middle {
	display: grid;
	align-content: center;
}
.align-bottom {
	display: grid;
	align-content: end;
}
.object-cover {
	object-fit: cover;
}
.center-center {
	align-items: center;
	display: flex;
	justify-content: 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(--cwg-green);
	border: 0;
	color: #fff;
	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;
}
/*
===================================================================================================================
UP BUTTON
===================================================================================================================
*/
#up {	
	bottom: 10%;
	border: 2px solid rgba(255,255,255,0.5);
	background: rgba(0,0,0,0.5);	
	position: fixed;	
	right: 10px;	
	text-align: center;	
	z-index: 999;
}
#up a {
	color: rgba(255,255,255,0.5);
	display: flex;
	font-size: 3.5rem;
	height: 50px;
	justify-content: center;
	width: 50px;
}
#up a .fa {
	align-self: center;
}
/*
===================================================================================================================
MAIN NAVIGATION MENU
===================================================================================================================
*/
#top-bar {
	align-items: center;
	background: #fff;
	/* background: 0% 0% / auto 25px repeat-y linear-gradient(to top, #ff000000 0% 49%, #ffffff59 49% 51%, #0000ff00 51%), 0% 0% / 25px auto repeat-x linear-gradient(to right, #ff000000 0% 49%, #ffffff59 49% 51%, #0000ff00 51%), radial-gradient(farthest-corner at 100% 100%, #e3261cff 0%, #a121afff 60%, #261ce3ff 100%);background-blend-mode: overlay; */
	/* background: 0% 0% / auto 25px repeat-y linear-gradient(to top, var(--cwg-blue) 0% 49%, var(--cwg-green) 49% 51%, var(--cwg-red) 51%), 0% 0% / 25px auto repeat-x linear-gradient(to right, var(--cwg-blue) 0% 49%, var(--cwg-green) 49% 51%, var(--cwg-red) 51%), radial-gradient(farthest-corner at 100% 100%, var(--cwg-yellow) 0%, #a121afff 60%, var(--cwg-blue) 100%);
	background-blend-mode: overlay; */
	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;
	/* padding: 5% 0 0 0; */
	right: -100%;
	text-align: center;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
}
#main-menu ul {
	margin-bottom: 0;
}
.menu-is-open #main-menu {
	background: var(--cwg-green);
	right: 0;
}
#main-menu li {
	border-bottom: 1px solid rgba(255,255,255,0.2);
	list-style-type: none;
	margin-bottom: 0;
}
#main-menu li a {
	color: #fff;
	font-family: var(--font-headings);
	font-size: 2rem;
	font-weight: 500;
	padding: 20px;
	text-transform: uppercase;
}
.contact-button {
	background: var(--cwg-green);
}
#hamburger {
	align-content: space-between;
	background: var(--cwg-green);
	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 #fff;
	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 {
	max-width: 75px;
	padding: 0;
}
#main-menu li:last-child a {
	transition-delay: 0.025s;
	background: var(--cwg-green);
	color: #fff;
}
#main-menu .sub-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0 0 20px 0;
        text-align: left;
    }

    #main-menu .menu-item.open > .sub-menu {
        display: block;
    }

    .submenu-toggle {
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        font-size: 4rem !important;
        margin-left: 10px;
        padding: 0 !important;
    }

    .submenu-toggle::after {
		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 {
		font-size: 1.8rem;
		padding: 12px 20px;
	}


/*
===================================================================================================================
FOOTER
===================================================================================================================
*/
#footer-desktop,
#footer-mobile {
	background: #111;
	color: #f5f5f5;
	padding: 40px 0 20px 0;
}
#footer-desktop {
	display: none;
}
#footer-top {
	background: #111;
	color: #fff;
	padding: 20px 0 0 0;
}
#footer-top .row-grid {
	align-items: center;
}
#footer-desktop li {
	font-size: 1.4rem;
	margin-bottom: 0;
}
#footer-desktop li:last-child {
	border-bottom: 0;
}
#footer-desktop li a,
#footer-desktop .fly-out-open-button {
	padding: 20px 0;
}
.footer-fixed {
	bottom: 0;
	left: 0;
	position: fixed;	
	width: 100%;
	z-index: -1;
}
#footer-legal {
	background: #000;
	color: #f5f5f5;
	padding: 20px 0;
	text-align: center;
}
#footer-legal .row-grid {
	justify-content: space-between;
}
.footer-logo {
	max-width: 150px !important;
}
.footer-grid {
	text-align: center;
}
#footer-desktop .h3 {
	font-size: 1.8rem;
}
#footer-desktop .p {
	font-size: 1.6rem;
}







/*
===================================================================================================================
NATIVE CONTENT
===================================================================================================================
*/


.grayscale img {
	filter: grayscale(100);
	transition: all 0.5s ease-in-out;
}
.grayscale img:hover {
	filter: grayscale(0);
	transition: all 0.25s ease;
}
.sticky-top {
	position: sticky;
	top: 300px;
}
.letter-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.3em);
    animation: letterFadeIn 0.4s forwards;
}

@keyframes letterFadeIn {
    to {
        opacity: 1;
        transform: translateY(0.1em);
    }
}




#footer-top .fa {
	font-size: 4rem;
	padding: 5px;
}
#footer-desktop a {
	color: var(--cwg-yellow);
}

address {
	font-size: 1.6rem;
	font-style: normal;
	line-height: 1.4;
}


.justify-end {
	justify-self: end;
}


.footer-logo {
	margin: 0 auto 20px auto;
}

.letter-enter {
    visibility: hidden;
    /* display: inline-block; */
    word-break: keep-all;
    white-space: normal;
	line-height: 1;
	margin-top: 10px;
}
.letter-char {
    display: inline-block;
    vertical-align: bottom;
}



.border-40 img {
	border-radius: 40px !important;
}

.clip-parallelogram {
	clip-path: polygon(7.5% 0%, 100% 0%, 92.5% 100%, 0% 100%) !important;
}



.e-n-accordion-item-title {
	background: #fff;
}



.elementor-widget-n-accordion {
	background: #fff !important;
}
.e-n-accordion-item-title {	
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
	padding: 20px !important;
}
.elementor-widget-container > .e-n-accordion > .e-n-accordion-item > .e-con {
	background: #f0f0f0 !important;
	padding: 40px 25px !important;
}

.e-n-accordion-item-title:hover {
	background: #effdf7;
	color: #fff;
}


.clip-bottom-left {
	clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 96%);
}
.clip-top-left {
	clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0 100%);
}
.clip-both {
	clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0 95%);
}

.clip-tab {
	clip-path: polygon(0 0, 100% 0, 99% 100%, 1% 100%);
}

.bg-gradient {
	background: 
    radial-gradient(circle at 0% 30%, var(--cwg-red), transparent 50%),
    radial-gradient(circle at 30% 50%, var(--cwg-blue), transparent 100%),
    radial-gradient(circle at 50% 50%, #222, transparent 100%),
	radial-gradient(circle at 100% 100%, var(--cwg-red), transparent 50%);
    /* linear-gradient(135deg, var(--cwg-blue), var(--cwg-green)); */
	mix-blend-mode: multiply;
	color: #fff;
}

/* @keyframes hueShift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
.elementor-element-6a541aa {
    animation: hueShift 10s linear infinite;
    filter: hue-rotate(0deg);
} */













/*
===================================================================================================================
MEDIA QUERIES
===================================================================================================================
*/
@media only screen and (min-width: 641px) {
	.row-grid {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		grid-gap: 20px;
	}
	.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 {
		max-width: 150px;
		transition: all 0.2s;
	}
	#logo a {
		display: block;
	}
	.logo-shrink {
		max-width: 100px !important;
		padding: 10px;
		transition: all 0.2s;
	}
	/* .logo-shrink .logo-bottom,
	.logo-shrink .logo-bottom img {
		height: 0;
	} */
}
@media only screen and (min-width: 900px) {

	#top-bar {
		align-items: center;
		background: rgba(255,255,255,0);
		padding: 5px 5%;
		transition: all 0.4s;
	}
	.bar-shrink {
		padding: 0 !important;
		transition: all 0.4s;
	}
	#main-menu {
		background: transparent;
		display: flex;
		height: auto;
		right: auto;
		position: static;
		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 {
		align-items: stretch;
		color: #fff;
		display: flex;
		/* font-size: 1.5rem; */
		padding: 30px 20px;
	}
	#top-bar.bar-shrink {
		background: #f5f5f5;
	}
	.bar-shrink #main-menu a {
		color: #222;
	}
	.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: rgba(255,255,255,0.5);
		backdrop-filter: blur(20px);
		display: none;
		position: absolute;
		text-align: left;
		z-index: 4;
	}
	#main-menu .sub-menu li {
		float: none;
	}
	#main-menu .sub-menu li a {
		color: #111;
		font-size: 1.6rem;
		padding: 15px;
	}
	#main-menu .sub-menu li a:hover,
	#main-menu .sub-menu li:last-child a:hover {
		background: #f1f1f1;
	}
	#main-menu .sub-menu .current_page_item a {
		background: inherit;
	}
	#main-menu .sub-menu li:last-child a {
		background: inherit;
		padding-right: 20px;
	}
	#main-menu .sub-menu li:last-child a {
		transition-delay: 0.25s;
		border-radius: 0;
	}
	#main-menu .menu-item-has-children:hover .sub-menu {
		display: block;
	}
	.footer-grid {
		align-items: end;
		text-align: left;
	}
	#footer-legal {
		text-align: left;
	}
	#footer-desktop {
		display: block;
	}
	#footer-mobile {
		display: none;
	}
}

@media only screen and (max-width: 899px) {
    

    /* Optional: better spacing for mobile nav links */
    /* #main-menu li a {
        display: inline-block;
        padding: 15px 20px;
    }

    #main-menu .menu-item-has-children {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #main-menu .menu-item-has-children > a {
        flex: 1;
    } */
}
