/*
Theme Name: Carpet Therapy 2026
Theme URI: http://rvadv.com
Description: Child theme. Child theme for RVADV Framework.
Template: rvadv_framework_theme
Author: RVADV RQ
Author URI: http://rvadv.com
Version: 1.0 
*/
/* ---------------------------------------- */
/* ------------- CSS IMPORTS ---------------*/
/* ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
/* ---------------------------------------- */
/* -------------- CSS RESET ----------------*/
/* ---------------------------------------- */
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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---------------------------------------- */
/* -------------- VARIABLES ----------------*/
/* ---------------------------------------- */
:root {
	--primary-dark: #0014E5;
	--primary: #0014E5;
	--primary-light: #01ACEC;
	--secondary-dark: #8d8208;
	--secondary: #FEDC00;
	--secondary-light: #fff8a9;
	--dark-gray: #222222;
	--light-gray: #A2A2A2;

	--link: var(--secondary-light);
	--link-hover: var(--secondary);
	--primary-font: "Space Grotesk", sans-serif;
	--heading-font: Sansita, sans-serif;
	
	/* font-size: clamp(1rem, 0.5rem + 1.25vw, 1.25rem); */
	background-color: #fff;
}

/* ---------------------------------------- */
/* ------------ GLOBAL STYLES ------------- */
/* ---------------------------------------- */
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
* {
	touch-action: manipulation;
}
img {
	max-width: 100%;
}
body {
	font-family: var(--primary-font);
}
strong {
	font-weight: bold;
}
em, i {
	font-style: italic;
}
blockquote {
	background: #f9f9f9;
	border-left: 10px solid #ccc;
	margin: 1.5em 10px;
	padding: 0.5em 10px;
	quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
	color: #ccc;
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
}
blockquote p {
	display: inline;
}
code {
    background-color: #eee;
    border-radius: 3px;
    font-family: courier, monospace;
    padding: 0 3px;
}
pre {
	font-family: monospace;
    white-space: pre;
}
li {
	list-style: none;
}
a {
	text-decoration: none;
	color: var(--links);
}
a:hover {
	color: var(--link-hover);
}
.hide {
	display: none;
}
.bold {
	font-weight: bold;
}
.grid-container {
	max-width: 1200px !important;
}
/* fix for flexbox from unsemantic*/
.grid-container::before, .grid-container::after {
	content: none !important;
}
.grecaptcha-badge {
	display: none !important;
}

/* Responsive font sizing */
h1, h2, h3, h4 {
	font-family: var(--heading-font);
	font-weight: bold;
}
h1 {font-size: 3.999rem;}
h2 {font-size: 2.999rem;}
h3 {font-size: 2.333rem;}
h4 {font-size: 2.000rem;}
h5 {font-size: 1.666rem;}
h6 {font-size: 1.333rem;}
ul,li,p {
	font-size: 1rem;
	line-height: 1.5rem;
}
ul,li,p {
	font-family: var(--primary-font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5rem;
}

/* CUSTOM SCROLLBAR */
/* width */
::-webkit-scrollbar {
	width: 8px;
	background-color: #fff;
}

/* Track */
::-webkit-scrollbar-track {
	display: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: var(--primary);
	width: 12px;
	border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #979797;
}

/* -------------------------------------------
NOTES:

unsemantic breakpionts : mobile / tablet / desktop 
@media (max-width: 400px) {}
@media (max-width: 767px) {}

------------------------------------------- */

header .header_logo img { 
	object-fit: contain;
	max-height: 80px;
}
footer .footer_logo_img img { 
	object-fit: contain;
	max-height: 80px;
}

header .header-nav {}
header .header-nav > ul,
header .header-nav .header-menu {
	display: flex;
	align-items: center;
	gap: 8px;
}
header .header-nav li {
	position: relative;
	list-style: none;
}
header .header-nav > ul > li > a,
header .header-nav .header-menu > li > a {
	display: block;
	padding: 16px 32px;
	margin: 4px;
	border: 1px solid #0001;
	border-radius: 8px;
	text-transform: uppercase;
	font-weight: 600;
}
header .header-nav li a:hover,
header .header-nav li.current_page_item > a,
header .header-nav li.current-menu-item > a,
header .header-nav li.current-menu-ancestor > a,
header .header-nav li.current-page-ancestor > a {
	background: var(--primary);
	color: #fff;
}
header .header-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 10px;
	vertical-align: middle;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
}
header .header-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 240px;
	display: block;
	padding: 10px 0;
	margin: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgb(0 0 0 / 15%);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 1000;
}
header .header-nav .sub-menu li {
	width: 100%;
}
header .header-nav .sub-menu a {
	display: block;
	padding: 10px 18px;
	margin: 0;
	border: 0;
	border-radius: 0;
	text-transform: none;
	font-weight: 500;
	white-space: nowrap;
}
header .header-nav li:hover > .sub-menu,
header .header-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (max-width: 991.98px) {
	header .offcanvas .header-nav > ul,
	header .offcanvas .header-nav .header-menu,
	header .offcanvas .header-nav ul { 
		flex-direction: column;
		gap: 8px;
	}
	header .offcanvas .header-nav ul li { 
		min-width: 324px;
	}
	header .offcanvas .header-nav ul li a {
		width: 98%;
		display: block;
		text-align: center;
	}
	header .offcanvas .header-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 14px;
		box-shadow: none;
		background: transparent;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	header .offcanvas .header-nav .sub-menu a {
		padding: 8px 16px;
		text-align: center;
	}
}


.contact-form-wrapper {
	background: rgb( from var(--primary) r g b / 1);
    color: #fff;
    border-radius: 16px 64px 16px 64px;
    display: flex;
    justify-content: center;
    align-items: center;
	padding: 32px 16px;
}
.contact-form-wrapper form {
	max-width: 400px;
	position: relative;
}
.contact-form-wrapper h2 {
	margin-bottom: 16px;
	font-size: 2.4em;
	text-align: center;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
	border-radius: 8px;
	background: #fff3;
	padding: 12px 24px;
	margin-bottom: 8px;
	border: 1px solid #fffa;
	max-height: 120px;
	width: 100%;
	color: #fff;
}
.contact-form-wrapper input::placeholder, 
.contact-form-wrapper textarea::placeholder {
	color:#fffa;
}
.contact-form-wrapper input[type='submit']{
	background: #007cfb;
}
.contact-form-wrapper input[type='submit']:hover {
	background: var(--primary-light);
}
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.8em;
    font-weight: normal;
    display: block;
    background: #fff;
    padding: 8px 8px 4px 8px;
    border-radius: 0 0 8px 8px;
    margin-top: -15px;
}

/* default page */
.page-title-banner { 
	background: var(--primary);
	color: #fff;
	text-align: center;
	padding: 64px;
	margin-bottom: 42px;
	background-size: cover;
	position: relative;
}
.page-title-banner .overlay {
	position: absolute; width: 100%; height: 100%;
	left: 0; top: 0;
	background: rgb( from var(--primary-dark) r g b / 0.42);
} 
.page-title-banner h2 { position: relative; }

.default-page h1 { color: var(--primary-dark); font-size: 3.2em; 	margin-top: 1em; margin-bottom: 0.4em; }
.default-page h2 { color: var(--primary-dark); font-size: 2.4em; 	margin-top: 1em; margin-bottom: 0.4em; }
.default-page h3 { color: var(--primary); 	   font-size: 2em; 		margin-top: 1em; margin-bottom: 0.4em; }
.default-page h4 { color: var(--primary-dark); font-size: 2em;      margin-top: 1em; margin-bottom: 0.4em; }
.default-page p  { margin-bottom: 1em; }
.default-page ul { list-style: disc; margin-left: 1.24em; }
.default-page ul li { list-style: disc; }
.default-page img { border-radius: 24px; }

.default-page .grid-container { padding: 42px 16px 64px 16px; }

.default-content-section { display: flex; gap: 42px; margin: 42px 0 24px 0; }
.default-content-section > div { width: 72%; }
.default-content-section > img,
.default-content-section > p:has( > img) { width: 28%; }
.default-content-section > p:has( > img) img { width: 100%; }

@media (max-width: 991.98px){
	.default-content-section { flex-direction: column;}
	.default-content-section > div { width: 100%; }
	.default-content-section > img,
	.default-content-section > p:has( > img) { width: 100%; }
}

/* footer */
footer a {
	color: var(--primary-light);
}
footer a:hover {
	color: var(--secondary);
}
footer .footer_social { display: flex; gap: 8px; }