/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* InSPIRE brand orange */
:root {
	--inspire-orange: #f05a0f;
	--inspire-orange-rgb: 240, 90, 15;
}

/* Projects page – project name in brand orange */
.project-card .card-title {
	color: var(--inspire-orange);
}

.project-card .card-title:hover {
	color: var(--inspire-orange);
	opacity: 0.9;
}

/* Active badge orange */
.project-card .badge.bg-primary {
	background-color: var(--inspire-orange) !important;
}

/* "See more" / "show less" link */
.project-card .description-toggle {
	color: var(--inspire-orange) !important;
}

.project-card .description-toggle:hover {
	color: var(--inspire-orange) !important;
	opacity: 0.85;
}

/* Project card – orange flashy hover (overrides Canvas hover classes) */
.project-card .card {
	transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1),
	            box-shadow 0.35s ease;
}

.project-card .card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12),
	            0 0 0 2px rgba(var(--inspire-orange-rgb), 0.25),
	            0 12px 32px rgba(var(--inspire-orange-rgb), 0.12) !important;
}

/* Project card dates – gap above, slightly bolder */
.project-card .project-date {
	margin-top: 0.75rem;
	font-weight: 600;
}

/* Projects empty state – at least one card row height */
.projects-empty-placeholder {
	min-height: 320px;
	padding: 3rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
}

/* Projects filter – borders on non-selected buttons; reduced gap between stacked rows */
#content .project-filter.style-2 li:not(.activeFilter) a {
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.project-filters-row .col-12 {
	margin-bottom: 0rem;
}

.project-filters-row .col-12:last-child {
	margin-bottom: 0;
}

/* Filter bar focus / accent */
#content .card .form-control:focus {
	border-color: var(--inspire-orange);
	box-shadow: 0 0 0 0.2rem rgba(var(--inspire-orange-rgb), 0.25);
}

.service-title h3 {
	font-weight: 600;
}

.service-divider {
	width: 50px;
	height: 3px;
	background-color: var(--inspire-orange);
}

.mb-6 {
	margin-bottom: 6rem;
}


.team-front h4 {
	margin-top: 15px;
	margin-bottom: 5px;
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
}

.team-card {
	position: relative;
	width: 100%;
	height: 400px;
	perspective: 1200px;
	margin-bottom: 30px;
}

.team-front img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.team-front,
.team-back {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border-radius: 10px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.team-front {
	background: #ffffff;
	border: 1px solid #eee;
	z-index: 2;
	padding-bottom: 20px;
}

.team-back {
	background: var(--inspire-orange);
	color: #fff;
	transform: rotateY(180deg);
	padding: 25px;
	text-align: center;
	justify-content: center;
}

.team-back p {
	font-size: 14px;
	margin: 0;
	max-height: 100%;
	overflow-y: auto;
}

.team-front span {
	font-size: 14px;
	color: #666;
	display: block;
	padding: 0 10px;
}

.team-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s ease-in-out;
	transform-style: preserve-3d;
}

.team-card:hover .team-card-inner {
	transform: rotateY(180deg);
}

.team-back {
	background: var(--inspire-orange);
	color: #fff;
	transform: rotateY(180deg);
	padding: 25px;
	text-align: center;
}

.team-back p {
	font-size: 14px;
}

.entry.event .col-md-4 {
	display: flex;
}

.entry.event .entry-image {
	display: block;
	width: 100%;
	height: 100%;
}

.entry.event .entry-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0.5rem;
}

.entry.event .grid-inner {
	align-items: stretch;
}