/**
 * GW Blueprint - Main Stylesheet
 * 
 * This file contains base styles and utilities for the theme
 */

/* CSS Variables for easy customization */
:root {
	--font-family--inter: 'Inter', sans-serif;

	--swiper-pagination-color: var(--wp--preset--color--custom-color-500);
	--swiper-pagination-bullet-inactive-color: var(--wp--preset--color--neutral-100);
	--swiper-pagination-bullet-inactive-opacity: 1;
	--swiper-pagination-bullet-size: 8px;
	--swiper-pagination-bullet-horizontal-gap: 10px;
}

/* Reset and Base Styles */
* {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	line-height: 1.6;
}

body {
	font-family: var(--font-family--inter);
	color: var(--wp--preset--color--neutral-700);
	background-color: var(--wp--preset--color--neutral-white);
	margin: 0;
	padding: 0;
	font-weight: 300;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px 0;
	font-weight: 600;
	line-height: 1.2;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 12px; }

p{
	font-size: 16px;
	margin: 0 0 20px 0;
	line-height: 150%;
}
ul, ol{
	font-size: 16px;
	line-height: 150%;
	margin: 0 0 20px 0;
}
p:last-child,
ul:last-child,
ol:last-child{
	margin-bottom: 0;
}
ul:empty,
ol:empty,
li:empty,
p:empty{
	display: none;
}
img{
	max-width: 100%;
	border:none;
	outline:none;
}
a{
	color: currentColor;
}
a, a:hover{
	text-decoration:none
}
input,
select,
textarea,
button{
	font-family: var(--font-family--inter);
	outline: none;
}
::-webkit-scrollbar {
	width: 5px;
}
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
}
.wp-site-blocks > *{
	margin-block-start:0;
}

/* Button Styles */
.wp-element-button,
.wp-block-button__link,
.button{
	--btnColor: var(--wp--preset--color--custom-500);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 90%, #000000);
	--btnTextColor:  var(--wp--preset--color--neutral-white);
	--btnTextColorHover:  var(--wp--preset--color--neutral-white);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap:10px;
	background-color: var(--btnColor);
	color: var(--btnTextColor);
	padding: 12px 25px;
    border-radius: 99px;
	border: none;
	cursor: pointer;
	transition: all 0.3s;

	&:hover{
		background: var(--btnColorHover);
		color: var(--btnTextColorHover);
	}
}

.is-style-outline .wp-element-button{
	--btnColor: transparent;
	--btnColorHover: var(--wp--preset--color--custom-500);
	--btnTextColor: var(--wp--preset--color--custom-500);
	--btnTextColorHover: var(--wp--preset--color--neutral-white);
	border:1px solid var(--wp--preset--color--custom-500);
}

.is-style-secondary-fill .wp-element-button,
.is-style-secondary-outline .wp-element-button{
	--btnColor: var(--wp--preset--color--neutral-white);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 90%, #000000);
	--btnTextColor: var(--wp--preset--color--custom-500);
	--btnTextColorHover: var(--wp--preset--color--custom-500);
}

/*** HEADINGS ***/
.is-style-section_title{
	font-size: 40px;
	font-weight: 700;
	line-height: 115%;
	letter-spacing: 1px;
	text-transform: uppercase;
}
h1.is-style-section_title{
	font-size: 48px;
}
h3.is-style-section_title {
    font-size: 30px;
    text-transform: none;
}
.is-style-section_subtitle{
	font-size: 20px;
	font-weight: 600;
	line-height: 115%;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.header_menu a{
	transition: all 0.3s;
}
.header_menu a:hover{
	color: var(--wp--preset--color--neutral-500) !important;
}

/*** GRAVITY FORMS ***/
.form_wrapper{
	max-width: 380px;
    margin: 30px auto 0;
}
.gform_description:empty,
.gform_heading{
	display: none !important;
}
.form_wrapper .gform_wrapper.gravity-theme input[type=text],
.form_wrapper .gform_wrapper.gravity-theme input[type=email],
.form_wrapper .gform_wrapper.gravity-theme input[type=tel],
.form_wrapper .gform_wrapper.gravity-theme input[type=number],
.form_wrapper .gform_wrapper.gravity-theme select,
.form_wrapper .gform_wrapper.gravity-theme textarea{
	border-radius: 8px;
	height: 50px;
	border:1px solid #ACACAC;
}
.form_wrapper .gform_wrapper.gravity-theme .gfield_label{
	display: block;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0;
}
.form_wrapper .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap: 20px;
}
.form_wrapper .gform_footer{
	justify-content: end;
	padding-bottom: 0 !important;
}
.form_wrapper .gform_footer .button{
	margin: 0 !important;
}

/*** HEADER ***/
header.wp-block-template-part,
#header{
	height: 70px;
}
header.wp-block-template-part{
	position: fixed;
    z-index: 9;
    width: calc(100% - 20px);
    max-width: 1200px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}
#header{
	padding:0 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.admin-bar header.wp-block-template-part{
	top: 52px;
}
.header_menu .current-menu-item{
	color: var(--wp--preset--color--custom-500) !important;
	font-weight: 600;
}

/*** FOOTER ***/
#footer{
    position: relative;
}
/* Blue bar (full width) with shadow */
#footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #0047BA; /* blue */
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 0;
    pointer-events: none;
}
/* Red bar (25% width) on top of blue */
#footer::after{
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 25%;
    height: 6px;
    background: #D7272F; /* red */
    z-index: 1;
    pointer-events: none;
}

/*** SECTIONS ***/
#hero_section{
	clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0 80%, 0 0);
}
#halfblue{
	color: var(--wp--preset--color--neutral-white);
	background:linear-gradient(to bottom, var(--wp--preset--color--neutral-white), var(--wp--preset--color--neutral-white) 30%, var(--wp--preset--color--custom-500) 30%, var(--wp--preset--color--custom-500) 100%);
}
.achivement_box .wp-block-heading{
	font-size: 40px;
    font-weight: 900;
    line-height: 115%;
    letter-spacing: 1px;
}
.achivement_box p{
	font-size: 20px;
    font-weight: 500;
}
.wp-block-post-excerpt__more-text{
	text-align: end;
	margin-bottom: 20px !important;
}
.wp-block-post-excerpt__more-text a{
	font-size: 18px;
	color:var(--wp--preset--color--custom-500);
}

.decorated_cover{
	position: relative;
	overflow: visible;
}
.decorated_cover::before{
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 90%;
	height: 5px;
	background: var(--wp--preset--color--custom-500);
}
.decorated_cover::after{
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 80%;
	height: 5px;
	background: var(--wp--preset--color--custom-300);
}
#main_404::before{
	background-image: url(../images/404_background.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply;
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    aspect-ratio: 10 / 6;
}
.featured_post .wp-block-post-excerpt__more-text{
	text-align: start;
	margin-bottom: 0;
}
.featured_post .wp-block-post-excerpt__more-text a{
	padding: 10px 25px;
    background: var(--wp--preset--color--custom-500);
    color: #FFF;
    border-radius: 99px;
    font-size: 16px;
}
.wp-block-search__label{
	display: block;
	margin-bottom: 5px;
}
.wp-block-search__input{
	height: 50px;
	padding: 0 20px;
	border:1px solid #ACACAC;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 300;
	line-height: 150%;
}
.blog_order_component{
	gap: 10px;
}
.blog_order_component select{
	border:1px solid transparent;
	border-radius: 8px;
	padding: 0 20px;
	font-size: 16px;
	font-weight: bold;
	line-height: 150%;
}

.products_hero{
	position: relative;
	background-color: var(--wp--preset--color--custom-500);
}
.products_hero::after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 90%;
	height: 8px;
	background-color: var(--wp--preset--color--custom-300);
}

.products_hero .wp-block-cover__image-background{
	width: 45%;
    left: initial;
}

.tab_item{
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #F2F2F2;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: all 0.3s;

	&:hover{
		background-color: var(--wp--preset--color--custom-400);
	}

	&.active{
		background-color: var(--wp--preset--color--custom-400);
		transform: scale(1.3);
	}

	img{
		filter: url(#wp-duotone-65696d-ffffff-1);
	}

	&:hover img,
	&.active img{
		filter: url(#wp-duotone-0047ba-ffffff-2);
	}
}
.tab_item img{
	width: 40px;
}
.industries_tabs_component_nav{
	gap: 30px;
}

.tab_content_wrapper:not(:first-child){
	display: none;
}
.tab_content{
	position: relative;
	display: flex;
	justify-content: end;
	background-color: var(--wp--preset--color--custom-500);
    color: var(--wp--preset--color--neutral-white);
    max-width: 750px;
    padding: 70px 0;
    border-radius: 8px;
	overflow: hidden;
    margin: 40px auto;
}
.tab_content::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
    background-image: var(--bgImage);
	background-size: cover;
	background-position: center;
}
.tab_content_inner{
	width: 55%;
}
.tab_content .is-style-section_title{
	font-size: 30px;
}


@media (max-width: 992px) {
	.is-style-section_title {
		font-size: 30px;
	}
	h3.is-style-section_title {
		font-size: 25px;
	}
	.services_grid{
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.services_grid .wp-block-heading{
		font-size: 16px;
	}
	#footer{
		padding:0 15px;
	}
	.entry-content > * {
		padding: 0 20px;
	}

	.header_menu{
		position: absolute;
		top: calc(100% + 5px);
		left: 50%;
		width: 100%;
		transform: translateX(-50%);
	}
	.header_menu ul{
		padding:15px 0;
		flex-direction: column;
		border-radius: 10px;
		background: #FFF;
		gap: 10px;
		font-size: 20px;
		clip-path: inset(0 0 100% 0);
		border:1px solid rgba(0, 0, 0, 0.1);
		transition:all 0.3s;
	}
	.menu_open .header_menu ul{
		clip-path: inset(0 0 0 0);
	}
	#menu_trigger{
		position: relative;
		width: 35px;
		height: 35px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
	#menu_trigger::after{
		content: '';
		position: absolute;
		top: calc(50% - 1px);
		left: calc(50% - 12.5px);
		width: 25px;
		height: 2px;
		background:currentColor;
		transition:all 0.5s;
	}
	.menu_open #menu_trigger::after{
		transform: translateX(100%);
		opacity: 0;
	}
	#menu_trigger i{
		display: inline-block;
		position: relative;
		width: 25px;
		height: 16px;
	}
	#menu_trigger i::before{
		content: '';
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
		height: 2px;
		background:currentColor;
		transition:all 0.5s;
	}
	.menu_open #menu_trigger i::before{
		transform: translate(0px, 6px) rotate(45deg);
	}
	#menu_trigger i::after{
		content: '';
		position: absolute;
		bottom:0;
		left: 0;
		width: 100%;
		height: 2px;
		background:currentColor;
		transition:all 0.5s;
	}
	.menu_open #menu_trigger i::after{
		transform: translate(0px, -8px) rotate(-45deg);
	}
	.wp-container-core-group-is-layout-50fe4906 > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
		max-width: 100% !important;
	}
	.products_hero .wp-block-cover__image-background{
		display: none;
	}
	.tab_item {
		width: 60px;
		height: 60px;
	}
	.industries_tabs_component_nav{
		flex-wrap: wrap;
		gap: 10px;
	}
	.tab_content::after{
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 260px;
	}
	.tab_content_inner {
		width: 100%;
	}
	.tab_content {
		padding: 290px 20px 30px 20px;
	}
	h1.is-style-section_title {
		font-size: 35px;
	}
	.wp-block-post-title{
		font-size: 35px;
    	padding: 0 15px;
	}

}
