/* ==============================
   Be Cloud Services Style
   Brown Gold: #977A3E
   Hover Brown Gold: #96793DB3
   Black: #0B0B0B
   Single Background: #141418
============================== */

/* General */
.be-services-section,
.be-services-archive-hero,
.be-service-single-section {
	direction: rtl;
	font-family: inherit;
}

.be-services-container {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

/* Home Section Without Background */
.be-services-section {
	padding: 40px 0 0;
	background: transparent !important;
}

/* Grid - Always 3 Columns Width On Desktop */
.be-services-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: stretch;
	justify-content: flex-start;
}

/* Each Card Takes col-4 Width Even If Only One Card Exists */
.be-services-grid .be-service-card {
	flex: 0 0 calc((100% - 56px) / 3);
	max-width: calc((100% - 56px) / 3);
	width: calc((100% - 56px) / 3);
}

/* ==============================
   Service Flip Card
   Normal: Featured Image
   Hover: Icon + Title + Excerpt + Button
============================== */

.be-service-card {
	position: relative;
	display: block;
	text-decoration: none !important;
	perspective: 1200px;
	border-radius: 26px;
	color: #fff !important;
	outline: none;
}

.be-service-card:hover,
.be-service-card:focus {
	color: #fff !important;
	text-decoration: none !important;
}

.be-service-card-inner {
	position: relative;
	width: 100%;
	height: 370px;
	border-radius: 26px;
	overflow: hidden;
	background: #0B0B0B;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
	transform: none !important;
	transform-style: preserve-3d;
}

.be-service-card:hover .be-service-card-inner,
.be-service-card:focus .be-service-card-inner {
	transform: none !important;
}

/* Front + Back Shared */
.be-service-card-front,
.be-service-card-back {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform-style: preserve-3d;
	transition:
		transform 0.75s ease,
		opacity 0.35s ease,
		visibility 0.35s ease;
}

/* Front: Image */
.be-service-card-front {
	z-index: 3;
	opacity: 1;
	visibility: visible;
	transform: rotateY(0deg);
	background: #0B0B0B;
}

.be-service-card-front::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.06) 0%,
		rgba(0, 0, 0, 0.55) 100%
	);
	z-index: 2;
	pointer-events: none;
}

.be-service-card-img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	min-height: 100%;
	object-fit: cover !important;
	display: block !important;
	transform: scale(1.02);
}

/* Placeholder If No Image */
.be-service-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at top, rgba(151, 122, 62, 0.35), transparent 40%),
		#0B0B0B;
}

.be-service-card-placeholder-icon {
	position: relative;
	z-index: 3;
	width: 92px;
	height: 92px;
	border-radius: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(151, 122, 62, 0.18);
	border: 1px solid rgba(151, 122, 62, 0.45);
}

.be-service-placeholder-icon-img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	display: block;
}

/* Back: Content */
.be-service-card-back {
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	transform: rotateY(-180deg);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 34px;
	background:
		radial-gradient(circle at top left, rgba(151, 122, 62, 0.30), transparent 36%),
		linear-gradient(145deg, #0B0B0B 0%, #151515 60%, #1D1D1D 100%);
}

.be-service-card-back > * {
	position: relative;
	z-index: 2;
}

/* Hover State */
.be-service-card:hover .be-service-card-front,
.be-service-card:focus .be-service-card-front {
	opacity: 0;
	visibility: hidden;
	transform: rotateY(180deg);
	z-index: 1;
}

.be-service-card:hover .be-service-card-back,
.be-service-card:focus .be-service-card-back {
	opacity: 1;
	visibility: visible;
	transform: rotateY(0deg);
	z-index: 5;
}

/* Icon + Title */
.be-service-icon-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	width: 100%;
}

.be-service-icon-box {
	width: 56px;
	height: 56px;
	min-width: 56px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(151, 122, 62, 0.14);
	border: 1px solid rgba(151, 122, 62, 0.55);
	overflow: hidden;
}

.be-service-icon-img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	display: block;
}

.be-service-icon-fallback {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #977A3E;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}

.be-service-icon-title h3 {
	margin: 0;
	color: #977A3E;
	font-size: 23px;
	font-weight: 900;
	line-height: 1.35;
}

.be-service-card-back p {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 1.9;
}

/* Card Button */
.be-service-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 22px;
	border-radius: 999px;
	background: #977A3E;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	transition: all 0.3s ease;
}

.be-service-card:hover .be-service-more,
.be-service-card:focus .be-service-more {
	background: #96793DB3;
	color: #fff;
}

/* ==============================
   Main Button - More Services
============================== */

.be-services-button-wrap {
	text-align: center;
	margin-top: 45px;
}

.be-services-main-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-direction: row !important;
	gap: 12px !important;
	min-height: 64px !important;
	min-width: 257px !important;
	padding: 0 34px !important;
	border-radius: 6px !important;
	background: #977A3E !important;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 22px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	border: 0 !important;
	transition: all 0.3s ease !important;
}

.be-services-main-btn::before {
	content: "↗";
	width: 18px;
	height: 18px;
	border: 1.5px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	transform: translateY(1px);
	order: 2;
}

.be-services-main-btn:hover,
.be-services-main-btn:focus {
	background: #96793DB3 !important;
	color: #fff !important;
	transform: translateY(-2px);
}

.be-services-main-btn:hover::before,
.be-services-main-btn:focus::before {
	border-color: #fff;
	color: #fff;
}

/* ==============================
   Archive Hero
============================== */

.be-services-archive-hero {
	padding: 95px 0 55px;
	text-align: center;
	background: transparent !important;
}

.be-services-archive-hero h1 {
	margin: 0;
	color: #0B0B0B;
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 900;
	line-height: 1.25;
}

.be-services-archive-hero p {
	max-width: 680px;
	margin: 16px auto 0;
	color: rgba(11, 11, 11, 0.68);
	font-size: 17px;
	line-height: 1.9;
}

.be-services-empty {
	text-align: center;
	padding: 55px 20px;
	border-radius: 24px;
	background: transparent !important;
}

.be-services-empty h2 {
	margin: 0 0 10px;
	color: #0B0B0B;
}

.be-services-empty p {
	margin: 0;
	color: rgba(11, 11, 11, 0.68);
}

/* ==============================
   Single Service
   Full Width + Icon Title + White Content
   Background: #141418
============================== */

/* Force Dark Background For Services Single */
body.single-service,
body.single-service #page,
body.single-service .site,
body.single-service .site-main,
body.single-service .site-content,
body.single-service .content-area,
body.single-service main,
body.single-service article,
body.single-service .hentry,
body.single-service .entry-content,
body.single-service .ast-container,
body.single-service .container,
body.single-service .site-content .ast-container,
body.single-service .elementor,
body.single-service .elementor-location-single,
body.single-service .elementor-section,
body.single-service .elementor-container,
body.single-service .elementor-widget-wrap,
body.single-service .elementor-widget-shortcode,
body.single-service .elementor-shortcode {
	background: #141418 !important;
}

body.single-service .ast-container,
body.single-service .container,
body.single-service .site-content .ast-container {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.single-service .elementor-widget:not(:last-child) {
	margin-bottom: 0 !important;
}

.be-service-single-page,
.be-service-single-page .be-service-single-section,
.be-service-single-page .be-service-single-clean,
.be-service-single-page .be-services-container,
.be-service-single-page .be-service-single {
	background: #141418 !important;
}

.be-service-single-page .be-service-single-section {
	padding: 48px 0 56px;
}

.be-service-single-page .be-services-container {
	width: calc(100% - 40px);
	max-width: 1440px;
	margin: 0 auto;
}

.be-service-single-page .be-service-single {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

/* Header: Icon + Title */
.be-service-single-page .be-service-single-header {
	margin-bottom: 26px;
	text-align: right;
}

.be-service-single-page .be-service-single-title-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	max-width: 100%;
	padding: 16px 20px;
	border-radius: 18px;
	background:
		radial-gradient(circle at top right, rgba(151, 122, 62, 0.16), transparent 34%),
		linear-gradient(145deg, rgba(11, 11, 11, 0.86), rgba(35, 35, 38, 0.78));
	border: 1px solid rgba(151, 122, 62, 0.28);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

/* Icon Box */
.be-service-single-page .be-service-single-icon {
	width: 54px;
	height: 54px;
	min-width: 54px;
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(151, 122, 62, 0.14);
	border: 1px solid rgba(151, 122, 62, 0.50);
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.be-service-single-page .be-service-single-icon-img {
	width: 31px;
	height: 31px;
	object-fit: contain;
	display: block;
}

.be-service-single-page .be-service-single-icon .be-service-icon-fallback {
	width: 31px;
	height: 31px;
	background: #977A3E;
	color: #fff;
}

/* Single Title */
.be-service-single-page .be-service-single-header h1 {
	margin: 0;
	color: #ffffff !important;
	font-size: clamp(24px, 2.7vw, 38px);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: -0.3px;
}

/* Full Width Featured Image */
.be-service-single-page .be-service-single-image-wrap {
	width: 100%;
	margin-bottom: 30px;
	display: block;
	overflow: hidden;
	border-radius: 22px;
	background: #0B0B0B;
	box-shadow: 0 22px 65px rgba(0, 0, 0, 0.18);
}

.be-service-single-page .be-service-single-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	border-radius: 22px;
	display: block;
	image-rendering: auto;
	transform: none !important;
	filter: none !important;
}

/* Full Width Content */
.be-service-single-page .be-service-single-content {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 6px;
	border-radius: 0;
	background: #141418 !important;
	box-shadow: none;
	color: #ffffff !important;
	font-size: 16px;
	line-height: 1.9;
}

/* Make All Content Text White */
.be-service-single-page .be-service-single-content,
.be-service-single-page .be-service-single-content p,
.be-service-single-page .be-service-single-content li,
.be-service-single-page .be-service-single-content span,
.be-service-single-page .be-service-single-content div {
	color: #ffffff !important;
}

/* Content Headings */
.be-service-single-page .be-service-single-content h1,
.be-service-single-page .be-service-single-content h2,
.be-service-single-page .be-service-single-content h3,
.be-service-single-page .be-service-single-content h4,
.be-service-single-page .be-service-single-content h5,
.be-service-single-page .be-service-single-content h6 {
	color: #ffffff !important;
	font-weight: 900;
	line-height: 1.45;
	margin: 0 0 14px;
}

.be-service-single-page .be-service-single-content h1 {
	font-size: clamp(25px, 3vw, 38px);
}

.be-service-single-page .be-service-single-content h2 {
	font-size: clamp(23px, 2.4vw, 32px);
}

.be-service-single-page .be-service-single-content h3 {
	font-size: clamp(20px, 2vw, 26px);
}

.be-service-single-page .be-service-single-content h4 {
	font-size: 19px;
}

.be-service-single-page .be-service-single-content p {
	margin-bottom: 16px;
	font-size: 16px;
	line-height: 1.9;
}

.be-service-single-page .be-service-single-content ul,
.be-service-single-page .be-service-single-content ol {
	margin: 0 0 20px;
	padding-right: 22px;
}

.be-service-single-page .be-service-single-content li {
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 1.9;
}

.be-service-single-page .be-service-single-content a {
	color: #977A3E !important;
	font-weight: 700;
	text-decoration: none;
}

.be-service-single-page .be-service-single-content a:hover {
	color: #96793DB3 !important;
}

/* ==============================
   Responsive
============================== */

@media (max-width: 1024px) {
	.be-services-grid .be-service-card {
		flex: 0 0 calc((100% - 28px) / 2);
		max-width: calc((100% - 28px) / 2);
		width: calc((100% - 28px) / 2);
	}

	.be-service-card-inner {
		height: 340px;
	}

	.be-service-single-page .be-services-container {
		width: calc(100% - 32px);
		max-width: 100%;
	}

	.be-service-single-page .be-service-single-content {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.be-services-section {
		padding: 30px 0 0;
	}

	.be-services-grid {
		gap: 22px;
	}

	.be-services-grid .be-service-card {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}

	.be-service-card-inner {
		height: 330px;
	}

	.be-service-card-back {
		padding: 26px;
	}

	.be-service-icon-title h3 {
		font-size: 21px;
	}

	.be-service-card-back p {
		font-size: 14px;
		line-height: 1.8;
	}

	.be-services-main-btn {
		min-height: 58px !important;
		min-width: 230px !important;
		font-size: 20px !important;
	}

	.be-services-archive-hero {
		padding: 50px 0 30px;
	}

	.be-service-single-page .be-service-single-section {
		padding: 34px 0 42px;
	}

	.be-service-single-page .be-services-container {
		width: calc(100% - 24px);
	}

	.be-service-single-page .be-service-single-header {
		margin-bottom: 20px;
	}

	.be-service-single-page .be-service-single-title-wrap {
		display: flex;
		gap: 10px;
		padding: 14px;
		border-radius: 16px;
	}

	.be-service-single-page .be-service-single-icon {
		width: 48px;
		height: 48px;
		min-width: 48px;
		border-radius: 14px;
	}

	.be-service-single-page .be-service-single-icon-img {
		width: 28px;
		height: 28px;
	}

	.be-service-single-page .be-service-single-header h1 {
		font-size: 23px;
		line-height: 1.4;
	}

	.be-service-single-page .be-service-single-image-wrap {
		margin-bottom: 24px;
		border-radius: 18px;
	}

	.be-service-single-page .be-service-single-image {
		border-radius: 18px;
		max-height: 340px;
	}

	.be-service-single-page .be-service-single-content {
		padding: 0;
		font-size: 15.5px;
		line-height: 1.85;
	}

	.be-service-single-page .be-service-single-content p,
	.be-service-single-page .be-service-single-content li {
		font-size: 15.5px;
		line-height: 1.85;
	}

	.be-service-single-page .be-service-single-content h1 {
		font-size: 26px;
	}

	.be-service-single-page .be-service-single-content h2 {
		font-size: 23px;
	}

	.be-service-single-page .be-service-single-content h3 {
		font-size: 20px;
	}
}
