/*
Theme Name: Homeless Utah
Description: A custom child theme for Hello Elementor.
Author: jj Team
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homeless-utah
*/


.page-id-336 .footer-cta
{
	display:none;
}
.my-loc a
{
	font-size:20px !important;
	font-weight:400 !important;
	color:#ffffff !important;
}
.page-id-12 .site-header {
	background-color: rgba(45, 99, 131, 0.80) !important;
	backdrop-filter: blur(22px);
}
.site-header.active {
	background-color: rgba(45, 99, 131, 0.80) !important;
	backdrop-filter: blur(22px);
}
.site-header  .elementor-nav-menu .sub-arrow {
 display: unset;
}
/* start animation for hero  */

.animated-text {
	display: none;
	opacity: 0;
	transform: translateY(20px);
}

/* Slide-up animation */
@keyframes slideUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}
/* end animation for hero  */

.show-third-line {
	display: inline-block;
	animation: slideUp 0.6s ease forwards;
}

.custom-btn .elementor-button, .custom-btn .elementor-button:hover {
	height: 52px;
	min-width: 168px !important;
	padding: 16px 16px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}
.custom-btn .elementor-button-content-wrapper {
	position: relative;
	/* 	min-width: 128px; */
}
.custom-btn .elementor-button-text {
	transition: all 0.9s ease;
}
.custom-btn .elementor-button:hover .elementor-button-icon {
	transition: all 0.9s ease;
	/* 	position: absolute; */
	/* 	left: 0; */
}
.custom-btn .elementor-button:hover .elementor-button-text {
	transform: translateX(5px);
	order: -1;
} 
.cta-btn .elementor-button:hover .elementor-button-icon svg,
.resources-btn .elementor-button:hover .elementor-button-icon svg,
.custom-btn .elementor-button[type="submit"] svg * {
	fill: none !important;
}
#custom_btn {
	margin-top: 8px;
	min-width: 200px !important;
}
.resources-btn .elementor-button:hover .elementor-button-icon svg path {
	stroke: #2D6383;
}
.cta-btn .elementor-button:hover .elementor-button-icon svg path {
	stroke: #A86C47;
}

.card:hover .elementor-widget-image img {
	transform: scale(1.1);
}
.card .elementor-heading-title::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 148px;
	background: linear-gradient(180deg, rgba(7, 54, 77, 0.00) 0%, #031A26 100%);
	bottom: 0px;
	left: 0;
	right: 0;
	z-index: -1;
	border-radius: 0 0 24px 24px;
}
.elementor-counter .elementor-counter-number,
.elementor-counter .elementor-counter-title {
	transition: transform 1s ease;
}

.elementor-counter:hover .elementor-counter-number{
	transform: scale(1.1); 
}
.elementor-counter:hover .elementor-counter-title {
	transform: scale(1.1) rotate(0.5deg); 
}
.swiper-pagination-bullet {
	opacity: 1 !important;
}
.swiper-pagination-bullet-active {
	background: #3B82F6 !important
}

.testimonials .swiper-slide.swiper-slide-prev::before, .testimonials .swiper-slide.swiper-slide-next::before {
	position: absolute;
	content: "";
	background: linear-gradient(90deg, rgba(236, 241, 249, 0.57) 0%, #ECF1F9 100%);
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
}

.site-header {
	backdrop-filter: blur(22px);
}
.site-header .menu-item a {
	display: inline-block;
	position: relative;
}
.site-header .menu-item a::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 1.5px;
	bottom: 0;
	left: 0;
	background-color: #A86C47;
	transition: transform 0.4s ease-out;
}
.site-header .menu-item a:hover::after {
	transform: scaleX(1);
}

.site-header .menu-item a::after {
	transform-origin: bottom left;
}

.site-header .menu-item a:hover::after {
	transform-origin: bottom left;
}

.site-header .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after{
	opacity: 1  !important;
}
.site-header .sub-menu .menu-item a::after {
	content: unset;
}

/* Prevent scroll without hiding scrollbar */
.lock-scroll {
	overflow-y: scroll; /* scrollbar visible */
	height: 100vh;
	pointer-events: none; /* optional: prevent accidental scrolling */
}


/* .map-img img::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
left: 0;
right: 0;
bottom: 0;
top: 0;
background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 5.32%, #B1B1B1 27.98%, #737373 100%);
z-index: 1;
} */

.map-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.map-wrapper img {
	width: 100% !important;
	border-radius: 0 0 32px 32px !important;
	display: block;
}

.map-wrapper img::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 5.32%, #B1B1B1 27.98%, #737373 100%);
	z-index: 1;
}


/* --- MARKER POSITIONS --- */
.marker-1 {
	top: 10%;
	left: 45%;
}

.marker-2 {
	top: 43%;
	left: 32%;
}

.marker-3 {
	top: 36%;
	left: 9%;
}

.marker-4 {
	top: 52%;
	left: 54%;
}

.marker-5 {
	top: 80%;
	left: 68%;
}

.marker-6 {
	top: 28%;
	left: 85%;
}

/* --- MARKERS --- */
.map-marker {
	position: absolute;
	width: 82px;
	height: 82px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}

.map-marker > img {
	width: 82px !important;
	height: 82px !important;
	border-radius: 50% !important;
	border: 4px solid #73CCFC !important;
	object-fit: cover;
	background: #fff;
	margin: 10px;
}

/* --- INFO CARD --- */
.info-wrapper {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 221px;
}

.info-card {
	display: flex;
	width: 364px;
	padding: 8px;
	align-items: center;
	gap: 8px;
	border-radius: 12px;
	background: #FFF;
	position: absolute;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transform: translateY(10px);
	transition: all .25s ease;
	z-index: 1;

}

.marker-1 .info-card {
	top: -30px;
	left: 85px;
}

.marker-2 .info-card {
	top: 85px;
}

.marker-3 .info-card {
	top: -145px;
	left: -112px;
}

.marker-4 .info-card {
	top: -145px;
}

.marker-5 .info-card {
	top: -145px;
	left: -98px;
}

.marker-6 .info-card {
	top: 85px;
	right: -60px;
}

.info-card .image-wrapper {
	max-width: 111px;
	height: 108px;
}

.info-card img {
	width: 100% !important;
	height: 110px !important;
	object-fit: cover;
	border-radius: 10px !important;
	border: none !important;
}

.info-card h3 {
	color: #242424 !important;
	font-family: "Instrument Sans" !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: normal !important;
	margin: 0;
}

.info-card p {
	color: #242424;
	font-family: "Instrument Sans";
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin: 0;
}

.info-card .btn-wrapper {
	display: flex;
	padding-bottom: 2px;
	align-items: center;
	gap: 8px;
	position: relative;
}

.info-card a {
	color: #A86C47 !important;
	font-family: "Instrument Sans" !important;
	font-size: 14px  !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: normal !important;
	text-decoration: none !important;
	display: flex;
	gap: 8px;
}

.info-card .btn-wrapper a::after {
	content: '';
	position: absolute;
	width: 110px;
	height: 1.5px;
	bottom: 0;
	left: 0;
	background-color: #A86C47;
}

.info-card a img {
	width: 18px !important;
	height: 18px !important;
}

.map-marker.active .info-card {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.elementor-custom-embed-play svg {
	height: auto !important;
	width: auto !important;
	fill: none !important;
	filter: unset !important;
	transition: all 0.5 ease;
}
.elementor-custom-embed-play svg path {
	transition: fill 0.5s ease;
}
.elementor-custom-embed-play:hover svg path {
	fill: #2D6383;
}
.footer-social span:hover svg path {
	fill: #2D6383;
}
.section-title {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 30px;
}

.history-wrapper {
	position: relative;
	padding: 48px 80px;
	border-radius: 24px;
	background: #ECF1F9;
}

/* Swiper */
.historySwiper {
	height: 550px;
}
.historySwiper .swiper-wrapper {
	width: auto;
	margin-left: 125px;
}

.historySwiper .swiper-slide {
	display: flex;
	align-items: center;
	gap: 48px;
	transition: all 0.4s ease;
	opacity: 0.3; 
}

/* Highlight active and nearby slides */
.historySwiper .swiper-slide-active {
	opacity: 1;
	z-index:9;
}

/* Make previous/next 2 slides visible but faded */
.historySwiper .swiper-slide-prev,
.historySwiper .swiper-slide-next {
	opacity: 0.6;
}

.historySwiper .swiper-slide-prev-prev,
.historySwiper .swiper-slide-next-next {
	opacity: 0.6;
}

/* LEFT SIDE */
.left-side {
	display: flex;
	flex-direction: column;
	min-width: 172px;
}

.historySwiper .swiper-slide-active .year {
	color:#2D6383;
	font-family: Montserrat;
	font-size: 28px;
	font-weight: 700;
	line-height: normal;
}
.left-side p {
	display: none;
}
.historySwiper .swiper-slide-active .left-side p {
	display: block;
	color: #2D6383;
	font-family: Montserrat;
	font-size: 22px;
	font-weight: 600;
	line-height: normal;
}

/* RIGHT SIDE */
.slide-content {
	flex: 1;
	display: none; 
	max-height: 550px;
    overflow-y: auto;
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: #ffffff #2D6383;
}
/* Width of the scrollbar */
.slide-content::-webkit-scrollbar {
    width: 8px; 
}

/* The track (background of the scrollbar) */
.slide-content::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px; /* Optional: rounds the track corners */
}

/* The thumb (the part you click and drag) */
.slide-content::-webkit-scrollbar-thumb {
    background: #888888; 
    border-radius: 10px; /* Optional: rounds the thumb corners */
}

/* The thumb on hover */
.slide-content::-webkit-scrollbar-thumb:hover {
    background: #A86C47; 
}

.historySwiper .swiper-slide-active .slide-content {
	display: block; 
}

.slide-content h3 {
	color: #2D6383 !important;
	font-family: Montserrat;
	font-size: 42px !important;
	line-height:45px !important;
	font-weight: 700 !important;
	line-height: normal !important;
	text-transform:none !important;
}

.slide-content p {
	color: #445163;
	font-family: Montserrat;
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: -0.7px;
}
.slide-image {
	width: 100%;

}
.slide-image img {
	width:auto;
	max-width:100% !important;
	height:300px !important;
	border-radius: 24px !important;
}

/* Arrows */
.historySwiper .swiper-button-prev, .historySwiper .swiper-button-next {
	left: 20px;
	right: auto;
	width: 65px;
	height: 65px;
	border: 1px solid #1c3d5a;
	border-radius: 50%;
	background: white;
	color: #2D6383;
}
.historySwiper .swiper-button-next svg, .historySwiper .swiper-button-prev svg {
	width: 24px;
	height: 24px;
	object-fit: contain;
	transform-origin: center;
}

.historySwiper .swiper-button-prev::after,
.historySwiper .swiper-button-next::after {
	content: "";
}

.historySwiper .swiper-button-prev{
	top: 38%;
}

.historySwiper .swiper-button-next {
	top: 58%;
}
/* Smooth transition for image */
.team-card .elementor-widget-theme-post-featured-image {
	overflow: hidden;
	border-radius: 16px 16px 0 0;
}
.team-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.team-card:hover img {
	transform: scale(1.1);
}

.team-card .elementor-heading-title, .team-card .elementor-widget-theme-post-excerpt p {
	transition: color 0.6s ease;
}

.team-card:hover .elementor-heading-title, .team-card:hover .elementor-widget-theme-post-excerpt  {
	color: #ffffff !important;
}

.team-card .elementor-icon-list-icon {
	transition: transform 0.6s ease;
}

.team-card:hover .elementor-icon-list-icon {
	transform: rotate(45deg);
}
.contact-form input, .contact-form textarea {
	padding: 16px 8px !important;
}
.fund-list .elementor-icon-list-item {
	background: #F6F6F6;
	padding: 16px !important;
	border-radius: 12px;
}
/* facilites page loctions section */
/* Main Container */
.resource-map {
	position: relative;
	/*margin: 80px 0 0 0;*/
	padding: 0 20px;
}

.resource-map img {
	width: 100%;
	display: block;
}

/* City Labels */
.city-label {
	position: absolute;
	color:#242424;
	font-family: Montserrat;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

/* Adjust based on your image */
.city-slc {
	top: 13.5%;
	left: 10%;
}
.city-ssl {
	top: 36%;
	left: 47%;
}
.city-midvale {
	top: 58%;
	left: 30%;
}
.city-sandy {
	bottom: 15%;
	left: 47%;
}

/* Info Cards */
.location-card {
	position: absolute;
	padding: 32px;
	width: 371px;
	display: flex;
	flex-direction: column;
	gap: 48px;
	border-radius: 24px;
	border: 1px dashed #717171;
	background: #FFF;
}

.location-card h2 {
	margin: 0 0 4px;
	color: #2D6383 !important;
	font-family: Montserrat !important;
	font-size: 20px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: normal !important;
}
.location-card h2 a{
	color: #2D6383 !important;
}

.location-card p {
	margin: 0 0 0;
	color: #242424;
	font-family: Montserrat;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

/* Connector Line */
.connector {
	position: absolute;
	border: 1px dashed #717171;
}

/* Card Positions */
.top-right {
	top: 4%;
	right: -10%;
}

.left-upper {
	top: 28%;
	left: -25%;
}

.middle-right {
	top: 53.5%;
	right: -12%;
}

.bottom-left {
	bottom: 12%;
	left: -25%;
}

/* Connector Line Positions */
.line-1 {
	top: 13%;
	right: 41%;
	width: 143px;
}

.line-2 {
	top: 38%;
	left: 26%;
	width: 136px;
}

.line-3 {
	top: 59%;
	right: 39%;
	width: 112px;
}

.line-4 {
	bottom: 16%;
	left: 26%;
	width: 136px;
}
.mobile-label.city-label {
	display: none;
}
.location-card {
	opacity: 0;
	transform: translateY(40px);

	animation-name: fadeInUp;
	animation-duration: 1s;
	animation-fill-mode: forwards;

	/* Scroll-driven animation */
	animation-timeline: view();
	animation-range: entry 0% cover 40%;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.custom-banner {
	background-color: #2D6383;
	background-image: url("/wp-content/uploads/2026/02/banner.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 61px 48px;
	border-radius: 0px 0px 24px 24px;
}
.banner-content {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
}
.custom-banner .banner-content h1 {
	margin: 0;
	font-size: 64px;
}
.facility-container {
	max-width: 1440px; 
	margin: 0 auto;
	padding: 0 48px;
}
.facility-details-grid { 
	display: flex;
	gap: 24px;
	margin: 48px 0 100px 0; 
}
.details-left { 
	flex: 2;
}
.details-right { 
	flex: 1;
	display: flex;
	flex-direction: column; 
	gap: 24px;
}

.details-small-grid { 
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.details-small-grid .detail-card:nth-child(odd):last-child {
	grid-column: 1 / -1;
}

.detail-card.full-width { 
	margin-bottom: 20px;
}
.facility-title {
	text-align: center;
	margin: 58px 0 16px 0;
}
.facility-description {
	text-align: center;
	margin-bottom: 48px;
}
.facility-description p {
	margin: 0;
}
.facility-main-image {
	margin-bottom: 48px;
}
.facility-main-image img {
	width: 100%;
	height: 500px;
	object-fit:cover;
	border-radius: 24px;
}
.detail-card {
	border-radius: 16px;
	border: 1px solid #EEE;
	background: #FFF;
	box-shadow: 0 4px 28px 0 rgba(0, 0, 0, 0.06);
	display: flex;
	padding: 16px;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	/* 	flex: 1 0 0; */
	min-height: 130px;
}
.detail-card.text-area-card {
	border-radius: 12px;
	border: 1px solid #E5E7EB;
	background: #EDF3F9;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	min-height: 206px;
}
.detail-card.map-card {
	background: #A86C47 !important;
}
.detail-card h3 {
	margin: 0 !important;
	color: #2D6383 !important;
	font-family: Montserrat !important;
	font-size: 20px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: normal !important;
}
.details-right .detail-card.map-card h3, .details-right .detail-card.map-card p {
	color: #FFFFFF !important;
}
.detail-card p {
	color: #242424;
	font-family: Montserrat;
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin: 0;
}
.details-left .detail-card.text-area-card
{
	margin-top: 24px;
}
.details-right .detail-card h3, .details-left .detail-card.text-area-card h3 {
	color: #111827 !important;
}
.details-right .detail-card p, .details-left .detail-card.text-area-card p {
	color: #222 !important;
	font-size: 20px;
	font-weight: 400;
}

.facility-gallery-section {
	margin: 100px 0;
}
.gallery-heading {
	margin-bottom: 48px;
	text-align: center;
	font-size: 48px !important;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.gallery-item img {
	width: 100%;
	height: 321px;
	object-fit: cover;
	border-radius: 24px;
	transition: transform 0.3s ease;
}
.gallery-item img:hover { 
	transform: scale(1.03);
}
/* Make the parent relative so we can position the text inside it */
.gallery-item {
    position: relative;
    overflow: hidden;
    display: inline-block; /* Or block depending on your grid layout */
}

/* Position the text over the image, hide initially */
.gallery-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 73, 101, 0.85); /* Semi-transparent background */
    margin-top: 0 !important; /* Overrides your inline margin */
    padding: 15px 4px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(100%); /* Pushes it down slightly */
    transition: all 0.3s ease;
	font-size: 1.3em;
	color: #ffffff;
	font-family: Montserrat;
	font-weight: 500;
	text-align: center;
	text-transform:capitalize;
	border-radius: 0px 0px 24px 24px;
}

/* Hover state: Fade in and slide up slightly */
.gallery-item:hover .gallery-description {
    opacity: 1;
    transform: translateY(0);
}
.gslide-image img {
	width: 70vw !Important;
	height: 80vh !Important;
	object-fit: cover !Important;
	border-radius: 24px;
}
.glightbox-clean .gclose{
	background-color: #A86C47 !important;
	position: absolute;

}
.glightbox-clean .gclose svg {
	width: 16px !important;
	height: 16px !important;
}
.glightbox-clean .gclose {
	padding: 0 !important;
	border-radius: 6px !important;
	top: 15vh !important;
	right: 18vw !important;
	transform: translate(50%, -50%) !important;
}
.glightbox-clean .gnext, .glightbox-clean .gprev {
	background-color:rgb(168, 108, 71, 0.85) !important;
	border-radius: 6px !important;
}
.page-id-198 .footer-cta {
	display: none;
}
/*  circle slider */
:root {
	--active-color: #A86C47;
	--normal-bg: #2D6383;
	--item-border: #557D96;
	--transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-container {
	display: flex;
	align-items: center;
	gap: 96px
}

.circle-wrapper {
	position: relative;
	width: 475px;
	height: 475px;
	flex-shrink: 0;
}

.svg-nav {
	position: relative;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg); 
	overflow: visible;
	z-index: 20; 
	pointer-events: none;
}

.segment {
	fill: none;
	stroke-width: 65; 
	cursor: pointer;
	transition: stroke 0.3s ease;
	pointer-events: auto;
}

.ring-border {
	fill: none;
	stroke: var(--item-border);
	stroke-width: 0.5px;
	pointer-events: none;
}

.label-text {
    fill: white;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    pointer-events: none;
    dominant-baseline: middle;
    alignment-baseline: middle;
    /* Removed transforms from here */
}

.label-text textPath {
	transition: font-size 0.3s ease, font-weight 0.3s ease;
}

.center-mask {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 335px;
	height: 335px;
	border-radius: 50%;
	border: 0.5px solid var(--item-border);
	overflow: hidden;
	z-index: 10;
}

.center-mask img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	opacity: 0;
	transition: opacity var(--transition);
}

.center-mask img.active { opacity: 1; }

.content-viewport {
	flex: 1;
	height: 450px;
	overflow: hidden;
}

.content-track { 
	transition: transform var(--transition);
	display: flex;
	flex-direction: column;
}

.slide {
	height: 450px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-shrink: 0;
}
.service-description 
{
	max-height: 100%;
    overflow-y: auto;
    padding-right: 15px;
	 scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: #ffffff #2D6383;
}
/* Width of the scrollbar */
.service-description::-webkit-scrollbar {
    width: 8px; 
}

/* The track (background of the scrollbar) */
.service-description::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px; /* Optional: rounds the track corners */
}

/* The thumb (the part you click and drag) */
.service-description::-webkit-scrollbar-thumb {
    background: #888888; 
    border-radius: 10px; /* Optional: rounds the thumb corners */
}

/* The thumb on hover */
.service-description::-webkit-scrollbar-thumb:hover {
    background: #A86C47; 
}

.slide .service-description h3 {
	font-size: 36px;
	line-height: 40px;
}
.slide .price {
	color: #2D6383;
	font-size: 20px;
	font-weight: 500;
	line-height: normal;
}
.slide .custom-btn .elementor-button-content-wrapper {
	flex-direction: row-reverse;
}
.services-tabs .e-n-tabs-heading {
	background: #fff;
	padding: 24px 16px;
	border-radius: 24px;
	width:100%;
}
.services-tabs .e-n-tab-title {
	flex: 1 1 0% !important;
	min-width: 0;
}
.services-tabs  .elementor-icon-list-item {
	padding-left: 12px !important;
	padding-right: 12px !important;
}
/* team Card  */
.team-grid-items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.grid-team-card {
	overflow: hidden;
	background: #fff;
	position: relative;
	border-radius: 16px;
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
	cursor: pointer;
}

/* Image Wrapper */
.team-image-wrapper {
	position: relative;
}
.team-img {
	position: relative;
	overflow: hidden;
	border-radius: 16px 16px 0 0; 
	height: 342px;
	object-fit: cover;
}

.team-image-wrapper img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;

}

/* Arrow Button */
.hover-arrow {
	position: absolute;
	bottom: -17px;
	right: 20px;
	width: 34px;
	height: 34px;
	background: #A86C47;
	color: #fff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s ease;
}

/* Bottom Content */
.team-details {
	padding: 24px 16px 16px 16px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.team-details h2 {
	color: #000 !important;
	font-family: Montserrat !important;
	font-size: 20px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: normal !important;
	margin: 0;
}

.team-details .designation {
	color: #A86C47;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin: 0;
}

/* Hover Effects */
.grid-team-card:hover{
	background: #2D6383;
}
.grid-team-card:hover .team-details {
	background: #2D6383;
}
.grid-team-card:hover img {
	transform: scale(1.1);
}

.grid-team-card:hover .team-details h2,.grid-team-card:hover .team-details .designation {
	transition: color 0.6s ease;
}

.grid-team-card:hover .team-details h2, .grid-team-card:hover .team-details .designation  {
	color: #ffffff !important;
}

.grid-team-card:hover .hover-arrow svg {
	transition: transform 0.6s ease;
}

.grid-team-card:hover .hover-arrow svg {
	transform: rotate(45deg);
}
.counter-boxes .elementor-counter-title {
	text-align: center;
}
.img-carousal {
	position: relative !important;
	overflow: hidden !important;
}
.img-carousal::before {
	content: "" !important;
	position: absolute !important;
	top: -6rem !important;
	left: -5vw !important;
	width: 110vw !important;
	height: 10rem !important;
	background: #fff;
	border-radius: 50% !important;
	z-index: 5;
	pointer-events: none;
}
.img-carousal::after {
	content: "";
	position: absolute;
	bottom: -6rem;
	left: -5vw;
	width: 110vw;
	height: 10rem;
	background: #fff;
	border-radius: 50%;
	z-index: 5;
	pointer-events: none;
}
.img-carousal .swiper-slide {
	animation: grow-scroll 4s linear infinite;
}
@keyframes grow-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); } 
}
.categories-box h5, .archives-box h5 {
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
	margin: 0 0 24px 0;
}
.categories-box ul {
	list-style: none;
	padding: 0;
}
.categories-box ul li{
	padding: 0 0 8px 0;
}
.categories-box .cat-item a {
	color: #A86C47;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}
.archives-box select {
	border-radius: 8px;
	border: 0.5px solid #9A9A9A;
	background: #FFF;
	display: flex;
	padding: 16px 8px;
	justify-content: space-between;
	align-items: center;
	color: #525252;
}
#load-more-btn .e-font-icon-svg {
	transform: rotate(315deg);
}
#explore-more {
	padding-left: 0 !important;
	padding-right: 0 !important;
	min-width: auto !important;
}
.date-box time span {
	display: block !important;
}
.date-box .day, .date-box .year {
	font-weight: 700;
}
.files-list ul li {
    padding: 16px !important;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    margin-top: 24px !important;
}



@media (max-width:1280px)
{
	.main-container {
		gap: 45px;
	}
	.circle-wrapper {
		width: 350px;
		height: 350px;
	}
	.center-mask {
		width: 235px;
		height: 235px;

	}
}
@media (max-width: 1024px) {
	
	.marker-3 .info-card {
		left: -60px;
	}
	.history-wrapper {
		padding: 48px 20px;
	}
	.location-card {
		width: 281px;
		gap: 20px;
		border-radius: 14px;
		padding: 16px;
	}
	.top-right {
		top: 7%;
		right: 4%;
	}
	.left-upper {
		top: 30%;
		left: -13%;
	}
	.line-1 {
		top: 13%;
		right: 43%;
		width: 131px;
	}
	.middle-right {
		top: 55%;
		right: 0%;
	}
	.bottom-left {
		bottom: 11.5%;
		left: -13%;
	}
	.location-card h2 {
		font-size: 17px;
	}
	.location-card p {
		font-size: 17px;
	}
	.custom-banner .banner-content h1 {
		font-size: 50px;
		line-height: 60px;
	}
	.custom-banner {
		padding: 61px 25px;
	}
	.facility-container {
		padding: 0 25px
	}
	.team-grid-items {
		grid-template-columns: repeat(2, 1fr);
	}
	.historySwiper
	{
		height:750px;
	}
	.slide-content
	{
		max-height: 750px;
		height: 750px;
	}
	.slide-content h3
	{
		font-size:30px !important;
	}
	
}
@media (max-width: 991px) {
	.map-wrapper .map-img {
		height: 420px !important;
	}
	.marker-1 .info-card {
		top: 80px;
		left: -110px;
	}
	.marker-2 .info-card {
		top: -25px;
		left: 80px;
	}
	.marker-3 .info-card {
		top: -25px;
		left: 80px;
	}
	.marker-4 .info-card {
		top: -132px;
	}
	.marker-5 .info-card {
		top: -132px;
		left: -150px;
	}
	.marker-6 .info-card {
		top: -20px;
		right: 75px;
	}
	.historySwiper .swiper-slide {
		gap: 30px;
		flex-direction: column;
		align-items: start;
	}
	.historySwiper .swiper-wrapper {
		margin-left: 0;
	}
	.historySwiper .swiper-button-prev, .historySwiper .swiper-button-next {
		width: 45px;
		height: 45px;
		z-index: 5;
	}
	.historySwiper .swiper-button-next {
		top: 4%;
		left: auto;
		right: 15px;
	}
	.historySwiper .swiper-button-prev {
		top: 4%;
		left: auto;
		right: 80px;
	}
	.history-wrapper {
		padding: 35x 15px;
		border-radius: 15px;
	}
	.description {
		padding-right: 5px;
	}
	.historySwiper .swiper-slide-active .slide-content {
		overflow-y: auto;
	}
	.historySwiper .swiper-slide-active .slide-content::-webkit-scrollbar {
		width: 5px;
	}
	.historySwiper .swiper-slide-active .slide-content::-webkit-scrollbar-track {
		background: #fff;
	}
	.historySwiper .swiper-slide-active .slide-content::-webkit-scrollbar-thumb {
		background: #2D6383;
		border-radius: 10px;
	}
	.historySwiper .swiper-slide-active .slide-content::-webkit-scrollbar-thumb:hover {
		background: #2D6383;
	}
	.line-2 {
		top: 38%;
		left: 40%;
		width: 36px;
	}
	.left-upper {
		top: 30%;
		left: 1%;
	}
	.line-4 {
		bottom: 15%;
		left: 40%;
		width: 35px;
	}
	.bottom-left {
		bottom: 11%;
		left: 1%;
	}
	.facility-details-grid {
		flex-direction: column;
	}
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.main-container {
		gap: 25px;
		flex-direction: column;
	}
	.slide {
		justify-content: start;
		align-items: center;
		overflow-y: auto;
		padding: 0 5px;
	}
	.content-viewport {
		flex: unset;
	}
	.slide p, .slide h2 {
		text-align: center;
	}
	
}
@media (max-width: 767px) {
	.gslide-image img {
		width: 100% !important;
		height: auto !important;
	}
	.site-header .custom-btn .elementor-button, .site-header .custom-btn .elementor-button:hover {
		height: 35px;
		min-width: 130px !important;
	}
	.custom-btn .elementor-button {
		border-radius: 7px !important;
		padding: 16px 10px !important;
	}
	.elementor-custom-embed-play svg {
		width: 50px !important;
		height: 50px !important;
	}
	.map-marker {
		width: 30px;
		height: 30px;
	}
	.map-marker img {
		width: 30px !important;
		height: 30px !important;
		border: 2px solid #73CCFC !important;
	}
	.info-card img {
		width: 100% !important;
		height: 110px !important;
		object-fit: cover;
		border-radius: 10px !important;
		border: none !important;
	}
	.map-wrapper .map-img {
		height: 200px !important;
	}
	.info-card {
		width: 300px;
	}
	.info-card h3 {
		font-size: 14px !important;
		font-weight: 600 !important;
	}
	.info-card p {
		font-size: 13px;
	}
	.marker-1 .info-card {
		top: 30px;
		left: -163px;
	}
	.marker-2 .info-card {
		top: -25px;
		left: -60px;
	}
	.marker-3 .info-card {
		top: -25px;
		left: 35px;
	}
	.marker-4 .info-card {
		top: -90px;
	}
	.marker-5 .info-card {
		left: -195px;
	}
	.marker-6 .info-card {
		right: 35px;
	}
	.map-wrapper .map-img {
		border-radius: 0 0 15px 15px !important;
	}
	.city-slc {
		top: -10%;
		left: unset;
	}
	.top-right {
		top: -3%;
		right: unset;
	}
	.city-ssl {
		top: 21%;
		left: unset;
	}
	.left-upper {
		top: 28%;
		left: unset;
	}
	.middle-right {
		top: 70%;
		right: 0%;
	}
	.city-midvale {
		top: 55%;
		left: unset;
	}
	.middle-right {
		top: 62%;
		right: unset;
	}
	.city-sandy {
		bottom: 15%;
		left: unset;
	}
	.bottom-left {
		bottom: -2%;
		left: unset;
	}
	.resource-map img {
		display: none;
	}
	.location-card-wrapper {
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-bottom: 30px;
	}
	.location-card {
		position: relative;
	}
	.city-label{
		display: none;
		position: relative;
	}
	.mobile-label.city-label {
		display: block;
	}
	.connector {
		display: none;
	}
	.location-card {
		width: 100%;
	}
	.resource-map {
		padding: 0;
	}
	.location-card {
		gap: 24px;
	}
	.custom-banner .banner-content h1 {
		font-size: 46px;
		line-height: 54px;
	}
	.facility-main-image img {
		min-height: 300px;
		border-radius: 12px;
		height: 100%;

	}
	.gallery-grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 15px;
	}
	.custom-banner {
		padding: 61px 15px;
	}
	.facility-container {
		padding: 0 15px;
	}
	.gallery-item img {
		border-radius: 15px;
	}
	.facility-gallery-section {
		margin: 70px 0
	}
	.facility-details-grid {
		margin: 48px 0 70px 0;
	}
	.details-small-grid {
		gap: 15px;
	}
	.detail-card {
		padding: 10px;
	}
	.detail-card p {
		font-size: 18px;
		overflow-wrap: break-word;
         word-break: break-word;
	}
	.slide-image {
		width: 100%;
		height: auto;
		padding-right: 15px;
	}
	.team-grid-items {
		grid-template-columns: repeat(1, 1fr);
	}
	.img-carousal::after, .img-carousal::before {
		content: unset !important
	}
	.history-wrapper .left-side
	{
		margin-top: 35px;
	}
	.history-wrapper .slide-content
	{
		margin-top: 30px;
	}
	.history-wrapper .slide-content h3
	{
		line-height:46px;
		margin-top:0px;
	}
.historySwiper .swiper-button-prev
	{
		top: 6%;
	}
.historySwiper .swiper-button-next
	{
		top: 17%;
	}
.services-tabs .e-n-tab-title {
    min-width: 100%;
}
	.for-mobile-service-button
	{
		text-align:center;
	}
	.slide .service-description
	{
		text-align:center;
	}
	.content-viewport {
        height: auto; /* Initial state */
        transition: height 0.4s ease;
    }
    .content-track .slide {
        height: auto;
        min-height: 200px;
    }
}


