/*
Theme Name:   Bricks Child Theme
Theme URI:    https://bricksbuilder.io/
Description:  Use this child theme to extend Bricks.
Author:       Bricks
Author URI:   https://bricksbuilder.io/
Template:     bricks
Version:      1.1
Text Domain:  bricks
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
div,
nav,
input,
textarea,
span:not(#wpadminbar span) {
	font-family: "Montserrat", sans-serif !important;
	font-size: unset;
}

p {
	font-weight: 400;
}

select {
  background-color: #ffffff;
}

textarea {
  min-height: 230px;
}

footer {
  z-index: 0;
}

.single-post .brxe-post-content h1, .single-post .brxe-post-content h2 {
  font-size: var(--fs-m);
  margin-bottom: var(--spacing-s);
}

.single-post .brxe-post-content h3 {
  font-size: var(--fs-s);
  margin-bottom: var(--spacing-s);
}

.single-post .brxe-post-content {
  font-size: var(--fs-xs);
}

.lastest-post-quert-single-post:last-of-type {
  border: unset !important;
}

html, body {
	max-width: 100vw !important;
	overflow-x: hidden !important;
}

html, body {
	background-color: var(--dark-blue);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-blue);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--white);
}

.header__menu .sub-menu .sub-menu {
  border-top-left-radius: unset !important;
  border-bottom-left-radius: unset !important;
}

/** Home Navigation Menu **/
.home__header--menu .bricks-nav-menu > .menu-item > a, .home__header--menu .bricks-nav-menu > .menu-item > div > a {
	padding: var(--spacing-5xs) var(--spacing-s);
	border-radius: var(--radius__medium);
	background-image: linear-gradient(90deg, #4ca1d9, #c1e7ff 70%);
	background-size: 200% 100%;
	background-position: 0 0; /* Start from the left */
	color: var(--button-text);
	font-weight: 600;
	width: max-content !important;
	transition: background-position .5s ease-in-out, color .5s ease-in-out;
}

.home__header--menu .bricks-nav-menu > .menu-item > a:hover, .home__header--menu .bricks-nav-menu > .menu-item > div > a:hover {
	color: var(--white);
	background-image: linear-gradient(90deg, #004d6f, #0095d7 70%);
	background-position: -100% 0; /* Moves background to the right */
}

.home__header--menu button {
	display: none;
}

.home__header--menu .sub-menu li {
	margin: 10px 0px;
}

.home__header--menu #menu-main-menu-2 > .menu-item {
	display: block;
}

.home__header--menu .bricks-nav-menu-wrapper {
	height: 620px;
	overflow: hidden;
	position: relative !important;
	display: flex;
	flex-direction: column;
}

.home__header--menu .menu-item {
	transition: transform 0.3s ease;
	padding: 10px 20px;
}

.home__header--menu .bricks-nav-menu {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.home__header--menu .bricks-nav-menu {
	overflow-y: auto;
}

.home__header--menu.brxe-nav-menu .bricks-nav-menu {
	padding-right: 50px;
}
/* Initially, hide submenu items */
.home__header--menu .menu-item .sub-menu {
	opacity: 0;
	pointer-events: none; /* Prevent clicks when hidden */
	transition: opacity 0.3s ease;
}

/* When the menu is open, animate the submenu items */
.home__header--menu .menu-item.open .sub-menu {
	opacity: 1;
	pointer-events: auto; /* Allow clicks when visible */
	transition: opacity 0.3s ease;
}

/* Define the fade-in animation for each submenu item */
.home__header--menu .menu-item.open .sub-menu li {
	opacity: 0;
	animation: fadeIn 0.3s forwards;
	animation-delay: 0.2s; /* Stagger delay for first item */
}

/* Reverse fade-out animation for each item when closing */
.home__header--menu .menu-item:not(.open) .sub-menu li {
	animation: fadeOut 0.3s forwards;
	animation-delay: 0s; /* Reset delay for fade-out */
}

/* Add staggered delays for fade-in */
.home__header--menu .menu-item.open .sub-menu li:nth-child(1) {
	animation-delay: 0.2s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(2) {
	animation-delay: 0.4s;
}

/* Add staggered delays for fade-out (reverse) when menu is closed */
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(1) {
	animation-delay: 0.2s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(2) {
	animation-delay: 0.4s;
}

/* Add staggered delays for fade-in */
.home__header--menu .menu-item.open .sub-menu li:nth-child(1) {
	animation-delay: 0.2s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(2) {
	animation-delay: 0.4s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(3) {
	animation-delay: 0.6s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(4) {
	animation-delay: 0.8s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(5) {
	animation-delay: 1s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(6) {
	animation-delay: 1.2s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(7) {
	animation-delay: 1.4s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(8) {
	animation-delay: 1.6s;
}
.home__header--menu .menu-item.open .sub-menu li:nth-child(9) {
	animation-delay: 1.8s;
}

/* Add staggered delays for fade-out (reverse) when menu is closed */
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(1) {
	animation-delay: 0.2s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(2) {
	animation-delay: 0.4s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(3) {
	animation-delay: 0.6s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(4) {
	animation-delay: 0.8s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(5) {
	animation-delay: 1s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(6) {
	animation-delay: 1.2s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(7) {
	animation-delay: 1.4s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(8) {
	animation-delay: 1.6s;
}
.home__header--menu .menu-item:not(.open) .sub-menu li:nth-child(9) {
	animation-delay: 1.8s;
}

/* Fade-in animation */
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Fade-out animation */
@keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.visible {
	opacity: 1 !important;
	max-height: 1000px !important;
}

.message.error, .message.success {
	border-radius: 12px;
}

.purecloud-tabs__primary .tab-title:hover, .purecloud-tabs__primary .tab-title[aria-selected="true"] {
	background: linear-gradient(90deg, #4ca1d9, #c1e7ff 70%); 
	padding: 13px 25px !important;
	border: unset !important;
	color: var(--button-text) !important;
}

.pc-ourJourney-tabs .tab-title {
	background: linear-gradient(90deg, #4ca1d9, #c1e7ff 70%);
	color: var(--button-text) !important;
}

.pc-ourJourney-tabs .tab-title:hover, .pc-ourJourney-tabs .tab-title[aria-selected="true"] {
	background: linear-gradient(90deg, #004d6f, #0095d7 70%);
	color: var(--white) !important;
}

.pc-ourJourney-tabs .tab-title:hover .bricks-shape-divider:first-of-type svg, .pc-ourJourney-tabs .tab-title[aria-selected="true"] .bricks-shape-divider:first-of-type svg {
	fill: #0095d7 !important;
}

@media (max-width: 1233px) {
	.pc-ourJourney-tabs .bricks-shape-divider:first-of-type .bricks-shape-divider-inner {
		right: -40px !important;
	}
	.pc-ourJourney-tabs .bricks-shape-divider:nth-of-type(2) .bricks-shape-divider-inner {
		left: -20px !important;
	}
}

@media (max-width: 1041px) {
	.pc-ourJourney-tabs .bricks-shape-divider:first-of-type .bricks-shape-divider-inner {
		right: -39px !important;
	}
	.pc-ourJourney-tabs .bricks-shape-divider:nth-of-type(2) .bricks-shape-divider-inner {
		left: -21px !important;
	}
}

@media (max-width: 850px) {
	.pc-ourJourney-tabs .bricks-shape-divider:first-of-type .bricks-shape-divider-inner {
		right: -38px !important;
	}
	.pc-ourJourney-tabs .bricks-shape-divider:nth-of-type(2) .bricks-shape-divider-inner {
		left: -22px !important;
	}
}

@media (max-width: 556px) {
	.pc-ourJourney-tabs .bricks-shape-divider:first-of-type .bricks-shape-divider-inner {
		right: -37px !important;
	}
	.pc-ourJourney-tabs .bricks-shape-divider:nth-of-type(2) .bricks-shape-divider-inner {
		left: -23px !important;
	}
}