/**
 *
 * Theme name: caren
 * Author: visionary
 * Author uri: https://vai-tech.com/
 *
*/

@keyframes pulse {
    50% {
        opacity: .5
    }
}

@keyframes load {
	0% {
		transform: rotateZ(0deg);
	}
	
	100% {
		transform: rotateZ(360deg);
	}
}

:root {
    --main-color: #0f172a;
    --text-color: #475569;
    --light-text: #64748b;
    --light-color: #f8fafc;
    --orange-color: #fff7ed;
    --purpule-color: #faf5ff;
    --green-color: #f0fdf4;
    --blue-color: #eff6ff;
}

body {
    overflow-x: hidden;
    margin: 0;
}

body *{
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body input, body textarea {
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    width: 100%;
    padding: 16px 24px;
    box-sizing: border-box;
    outline: none;
    background-color: var(--light-color);
}

body input[type=text]:focus, body textarea:focus {
    border: 1px solid #e2e8f0;
}

input[type=submit] {
    cursor: pointer;
}

a{
    text-decoration: none;
}

body p {
    margin-block-end: 0;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

.loader {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.8);
}

.loader div {
	width: 50px;
	height: 50px;
	border-radius: 50px;
	border: 5px solid rgb(200, 200, 200);
	border-right-color: rgb(0,0,0);
	animation: load 1s linear infinite;
}

.blur-3xl {
    --tw-blur: blur(64px);
}

.blur-2xl {
    --tw-blur: blur(40px);
}

.no-list-style {
    list-style: none;
}

.text-white .main-color {
    color: var(--main-color);
}

.text-white .main-color:hover {
    color: var(--main-color);
}

.text-white .light-text {
    color: var(--light-text);
}

.text-white .light-text:hover {
    color: var(--light-text);
}

.main-color , .main-color * , .main-color:hover, .main-color *:hover {
    color: var(--main-color)
}

.text-color, .text-color * , .text-color:hover, .text-color *:hover {
    color: var(--text-color)
}

.light-text, .light-text * , .light-text:hover, .light-text *:hover {
    color: var(--light-text);
}

.text-white, .text-white *, .text-white:hover, .text-white *:hover {
    color: white;
}

body .text-green-600, body .text-green-600 * {
    color: #4ade80;
}

.bg-main{
    background-color: var(--main-color);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-white {
    background-color: white;
}

.bg-green {
    background-color: var(--green-color);
}

.bg-orange {
    background-color: var(--orange-color);
}

.bg-purple {
    background-color: var(--purpule-color);
}

.bg-blue {
    background-color: var(--blue-color);
}

.bg-blue-500\/10 {
    background-color: rgb(59 130 246 / .1);
}

.bg-pink-500\/10 {
    background-color: rgb(236 72 153 / .1);
}

.bg-purple-500\/10 {
    background-color: rgb(168 85 247 / .1);
}

p,div {
    color: var(--text-color);
}

body .max-w-6xl {
    max-width: 72rem;
}

body .max-w-5xl {
    max-width: 64rem;
}

body .max-w-4xl {
    max-width: 56rem;
}

body .max-w-3xl {
    max-width: 48rem;
}

.w-full {
    width: 100%
}

.w-content {
    width: fit-content;
}

.w-96 {
    width: 24rem;
}

.w-64 {
    width: 16rem;
}

.w-20 {
    width: 5rem;
}

.w-12 {
    width: 3rem;
}

.w-5 {
    width: 1.25rem;
}

.w-4 {
    width: 1rem;
}

.h-96 {
    height: 24rem;
}

.h-64 {
    height: 16rem;
}

.h-20 {
    height: 5rem;
}

.h-12 {
    height: 3rem;
}

.h-5 {
    height: 1.25rem;
}

.h-4 {
    height: 1rem;
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.z-10 {
    z-index: 10;
}

.inset-0 {
    inset: 0;
}

.-top-3 {
    top: -0.75rem;
}

.top-1\/4 {
    top: 25%;
}

.top-1\/2 {
    top: 50%;
}

.bottom-1\/4 {
    bottom: 25%;
}

.left-1\/4 {
    left: 25%;
}

.left-1\/2 {
    left: 50%;
}

.right-1\/4 {
    right: 25%;
}

.right-1\/3 {
    right: 33.333333%;
}

.-translate-50 {
    transform: translateX(-50%);
}

.pointer-events-none {
    pointer-events: none;
}

.blur-2xl, .blur-3xl {
    filter: var(--tw-blur);
}

.text-up {
    text-transform: uppercase;
}

.font-bold {
    font-weight: bold;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-s {
    font-size: .9rem;
}

.wide-text {
    letter-spacing: .1em;
}

.text-center {
    text-align: center;
}

.border {
    border-color: #e2e8f0;
    border-style: solid;
}

body .border-dark {
    border-color: #cbd5e1;
}

body .border-green {
    border-color: #bbf7d0;
}

body .border-blue {
    border-color: #bfdbfe;
}

body .border-orange {
    border-color: #fed7aa;
}

body .border-purple {
    border-color: #e9d5ff;
}

.border-b-1 {
    border-bottom-width: 1px;
}

.border-t-1 {
    border-top-width: 1px;
}

.border-1 {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.flex-1 {
    flex: 1;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.gap-x-4 {
    column-gap: 1rem;
}

.gap-y-4 {
    row-gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-x-8 {
    column-gap: 2rem;
}

.gap-y-8 {
    row-gap: 2rem;
}

.m-2 {
    margin: .5rem;
}

.m-4 {
    margin: 1rem;
}

.m-8 {
    margin: 2rem;
}

.my-2 {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-2 {
    margin-left: .5rem;
    margin-right: .5rem;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mx-8 {
    margin-left: 2rem;
    margin-right: 2rem;
}

.mt-2 {
    margin-top: .5rem
}

.mt-4 {
    margin-top: 1rem
}

.mt-8 {
    margin-top: 2rem
}

.mt-12 {
    margin-top: 3rem
}

.mt-16 {
    margin-top: 4rem
}

.mb-2 {
    margin-bottom: .5rem
}

.mb-4 {
    margin-bottom: 1rem
}

.mb-8 {
    margin-bottom: 2rem
}

.mb-12 {
    margin-bottom: 3rem
}

.mb-16 {
    margin-bottom: 4rem
}

.ml-2 {
    margin-left: .5rem
}

.ml-4 {
    margin-left: 1rem
}

.ml-8 {
    margin-left: 2rem
}

.mr-2 {
    margin-right: .5rem
}

.mr-4 {
    margin-right: 1rem
}

.mr-8 {
    margin-right: 2rem
}

.p-2 {
    padding: .5rem;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-12 {
    padding-left: 48px;
    padding-right: 48px;
}

.pt-2 {
    padding-top: .5rem
}

.pt-4 {
    padding-top: 1rem
}

.pt-8 {
    padding-top: 2rem
}

.pb-2 {
    padding-bottom: .5rem
}

.pb-4 {
    padding-bottom: 1rem
}

.pb-8 {
    padding-bottom: 2rem
}

.pl-2 {
    padding-left: .5rem
}

.pl-4 {
    padding-left: 1rem
}

.pl-8 {
    padding-left: 2rem
}

.pr-2 {
    padding-right: .5rem
}

.pr-4 {
    padding-right: 1rem
}

.pr-8 {
    padding-right: 2rem
}

@media (min-width: 560px) {
    .container { max-width: 560px; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; }
    .flex-md-row { flex-direction: row; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; }
    .d-lg-flex { display: flex; }
    .d-lg-none { display: none; }
    .flex-lg-row { flex-direction: row; }
}

@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}




#single-page-content{
        line-height: 1.8rem;
}
#single-page-content p{
       margin-bottom: 10px;
}
#single-page-content ul{
    padding-left: 30px;
    margin-bottom: 15px;
}
#single-page-content :is(h1,h2,h3,h4,h5) {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#menu-header{
	align-items : center;
}

/* parent */
.menu-item-has-children {
    position: relative;
}

/* submenu hidden by default */
.sub-menu {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    background: #0f172a;
    min-width: 200px;
    padding: 15px;
    z-index: 999;
	list-style: none;

}
.sub-menu a span{
	color : white;
	font-size : 14px;
}
/* show when open */
.menu-item-has-children.open > .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
	border-radius: 6px;
}

/* toggle button */
.submenu-toggle {
    cursor: pointer;
    margin-left: 4px;
    font-size: 18px;
}

/* optional rotation animation */
.menu-item-has-children.open > .submenu-toggle {
    transform: rotate(180deg);
}


.menu-item-has-children > a {
    position: relative;
    padding-right: 18px;
}

.menu-item-has-children > a::after {
	content: "▾";
    position: absolute;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s ease;
    color: #666666;
}
nav.active{
    display: flex;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    background: #0f172a;
    z-index: 1000000;
    flex-direction: column;
	padding: 50px 30px;
    width: 270px;
    max-width: 90%;
}
nav.active .menu-header-container > ul .sub-menu{
	position: unset;
}
nav.active .menu-header-container > ul{
	display: flex;
    flex-direction: column;
    align-items: baseline !important;
}
nav.active .menu-header-container > ul a span{
	color : white;
}
.mobile-menu-closer{
	color: white;
    justify-content: end;
}
@media (max-width: 768px) {
    .sub-menu {
        position: static;
    }
}