/**
 * START - Custom Royal Monolith Footer Component Styles - By INFXO
 */
.am-site-footer-wrap,
.am-site-footer-wrap * {
	box-sizing: border-box;
}

/* Eliminate bottom white gap inside Elementor / Shortcode wrappers */
.elementor-widget-shortcode:has(.am-site-footer-wrap),
.elementor-element:has(.am-site-footer-wrap) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.am-site-footer-wrap {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	font-family: 'Cairo', sans-serif !important;
	background: linear-gradient(180deg, #ffffff 0%, #faf5f8 100%);
	color: #0f172a;
	overflow: hidden;
	direction: inherit;
	display: block;
}

body.rtl .am-site-footer-wrap,
[dir="rtl"] .am-site-footer-wrap {
	direction: rtl;
	text-align: right;
}

body:not(.rtl) .am-site-footer-wrap,
[dir="ltr"] .am-site-footer-wrap {
	direction: ltr;
	text-align: left;
}

.am-footer-container {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 32px;
}

/* =========================================================
   1. PRE-FOOTER ACCREDITATION BAR (LIGHT CANVAS)
   ========================================================= */
.am-pre-footer-accred {
	padding: 44px 0 36px;
	position: relative;
	z-index: 3;
}

.am-accred-bar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.am-accred-pill {
	background: #ffffff;
	border: 1px solid rgba(113, 18, 64, 0.12);
	border-radius: 16px;
	padding: 15px 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	box-shadow: 0 6px 20px -10px rgba(113, 18, 64, 0.1);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.am-accred-pill:hover {
	transform: translateY(-2px);
	border-color: rgba(113, 18, 64, 0.35);
	box-shadow: 0 12px 26px -12px rgba(113, 18, 64, 0.16);
}

.am-accred-badge-icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #fdf2f7;
	border: 1px solid rgba(113, 18, 64, 0.16);
	color: #711240;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.am-accred-badge-icon svg {
	width: 19px;
	height: 19px;
	display: block;
}

.am-accred-text {
	font-family: 'Cairo', sans-serif !important;
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
}

/* =========================================================
   2. ROYAL ARCHITECTURAL MONOLITH FOOTER (CENTERED & PADDED)
   ========================================================= */
.am-footer-monolith {
	position: relative;
	overflow: hidden;
	margin: 0 !important;
	background: radial-gradient(circle at 50% 0%, #3d0b24 0%, #1d0712 52%, #11040b 100%) !important;
	color: #f8fafc;
	border-radius: 36px 36px 0 0;
	border-top: 2px solid rgba(156, 58, 108, 0.35);
	box-shadow: 0 -20px 60px -25px rgba(29, 7, 18, 0.35);
}

.am-footer-inner-pad {
	max-width: 1360px;
	margin: 0 auto;
	padding: 46px 48px 26px;
	position: relative;
	z-index: 2;
}

/* Ambient ECG Line */
.am-footer-ecg {
	position: absolute;
	inset: 0;
	opacity: 0.08;
	pointer-events: none;
}

.am-footer-ecg svg {
	width: 100%;
	height: 100%;
	display: block;
}

.am-footer-ecg path {
	fill: none;
	stroke: #ff85b8;
	stroke-width: 2;
	stroke-dasharray: 1800;
	stroke-dashoffset: 1800;
	animation: amFooterEcgPulse 9s linear infinite;
}

@keyframes amFooterEcgPulse {
	to {
		stroke-dashoffset: 0;
	}
}

/* Engraved Center Watermark */
.am-footer-watermark {
	position: absolute;
	bottom: -24px;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Cairo', sans-serif !important;
	font-size: clamp(140px, 20vw, 250px);
	font-weight: 900;
	line-height: 0.85;
	color: rgba(255, 255, 255, 0.022);
	pointer-events: none;
	user-select: none;
	letter-spacing: -8px;
	white-space: nowrap;
}

/* A. Top 3 Direct Contact Pods Inside Dark Footer */
.am-footer-pods-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	padding-bottom: 42px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.am-footer-pod {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 18px 22px;
	display: flex;
	align-items: center;
	gap: 15px;
	text-decoration: none !important;
	color: #ffffff !important;
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.am-footer-pod:hover {
	background: rgba(113, 18, 64, 0.42);
	border-color: rgba(249, 168, 212, 0.38);
	transform: translateY(-3px);
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
}

.am-f-pod-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(145deg, #711240, #450926);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.28s ease;
}

.am-footer-pod:hover .am-f-pod-icon {
	transform: scale(1.06);
}

.am-f-pod-icon svg {
	width: 21px;
	height: 21px;
	display: block;
}

.am-f-pod-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.am-f-pod-label {
	font-family: 'Cairo', sans-serif !important;
	font-size: 12.5px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.68);
	line-height: 1.35;
}

.am-f-pod-value {
	font-family: 'Cairo', sans-serif !important;
	font-size: 15.5px;
	font-weight: 900;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
}

/* B. Main 3 Columns */
.am-footer-grid {
	padding: 46px 0 42px;
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.am-footer-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.am-footer-logo-box {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: #ffffff;
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.32);
	flex-shrink: 0;
}

.am-footer-logo-box img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.am-footer-brand-name {
	font-family: 'Cairo', sans-serif !important;
	font-size: 18.5px;
	font-weight: 900;
	color: #ffffff;
	line-height: 1.25;
}

.am-footer-brand-sub {
	font-family: 'Cairo', sans-serif !important;
	font-size: 11.5px;
	font-weight: 800;
	color: #f9a8d4;
	letter-spacing: 0.6px;
	margin-top: 2px;
}

.am-footer-bio {
	font-family: 'Tajawal', 'Cairo', sans-serif !important;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.85;
	margin: 0 0 22px 0;
	max-width: 44ch;
}

.am-footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 420px;
}

.am-footer-soc-btn {
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.13);
	color: #ffffff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	transition: all 0.25s ease;
}

.am-footer-soc-btn:hover {
	background: #711240;
	border-color: #9c3a6c;
	transform: translateY(-3px);
}

.am-footer-soc-btn svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
	display: block;
}

.am-footer-col-title {
	font-family: 'Cairo', sans-serif !important;
	font-size: 15.5px;
	font-weight: 900;
	color: #ffffff;
	margin: 0 0 18px 0;
	display: flex;
	align-items: center;
	gap: 9px;
}

.am-footer-col-title::before {
	content: '';
	width: 14px;
	height: 3px;
	border-radius: 99px;
	background: #9c3a6c;
	flex-shrink: 0;
}

.am-footer-menu {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.am-footer-menu li {
	margin: 0 !important;
	padding: 0 !important;
}

.am-footer-menu a {
	font-family: 'Cairo', sans-serif !important;
	color: rgba(255, 255, 255, 0.75) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	transition: all 0.22s ease;
}

body.rtl .am-footer-menu a:hover,
[dir="rtl"] .am-footer-menu a:hover {
	color: #ffffff !important;
	transform: translateX(-5px);
}

body:not(.rtl) .am-footer-menu a:hover,
[dir="ltr"] .am-footer-menu a:hover {
	color: #ffffff !important;
	transform: translateX(5px);
}

.am-footer-code-tag {
	font-family: 'Cairo', sans-serif !important;
	font-size: 10.5px;
	font-weight: 900;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #f9a8d4;
	padding: 2px 8px;
	border-radius: 6px;
	min-width: 42px;
	text-align: center;
	flex-shrink: 0;
}

/* C. Centered Branches Coverage Strip */
.am-footer-branches-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 20px;
	text-align: center;
}

.am-branches-heading {
	font-family: 'Cairo', sans-serif !important;
	font-size: 13.5px;
	font-weight: 800;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.am-live-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
	flex-shrink: 0;
}

.am-branches-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.am-branch-pill {
	font-family: 'Cairo', sans-serif !important;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.13);
	color: rgba(255, 255, 255, 0.88);
	padding: 5px 15px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	transition: all 0.2s ease;
}

.am-branch-pill:hover {
	background: rgba(156, 58, 108, 0.32);
	border-color: rgba(249, 168, 212, 0.4);
	color: #ffffff;
}

/* D. Centered Legal Bar & Original Engraved Agency Signature (Small & Bold) */
.am-footer-bottom-wrap {
	padding-top: 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
}

.am-footer-legal-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 20px;
	font-family: 'Cairo', sans-serif !important;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
}

.am-legal-nav {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.am-legal-sep {
	color: rgba(255, 255, 255, 0.3);
}

.am-legal-nav a {
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.am-legal-nav a:hover {
	color: #ffffff !important;
}

/* Original Engraved Faint White/Burgundy Credit Line (Small 8.5px Bold) */
.am-engraved-credit {
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-family: 'Cairo', sans-serif !important;
	font-size: 8.5px !important;
	font-weight: 900 !important;
	line-height: 1.5;
	letter-spacing: 0.2px;
	color: rgba(255, 255, 255, 0.2) !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75), 0 -1px 0 rgba(255, 255, 255, 0.05);
	text-decoration: none !important;
	transition: color 0.3s ease;
}

.am-engraved-credit:hover {
	color: rgba(255, 255, 255, 0.42) !important;
}

.am-pulse-heart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #9c3a6c;
	filter: drop-shadow(0 0 5px rgba(156, 58, 108, 0.5));
	animation: amFooterHeartBeat 1.4s ease-in-out infinite;
	margin: 0 1px;
}

.am-pulse-heart svg {
	width: 9px;
	height: 9px;
	fill: currentColor;
	display: block;
}

@keyframes amFooterHeartBeat {
	0%, 100% { transform: scale(1); }
	14% { transform: scale(1.26); }
	28% { transform: scale(1); }
	42% { transform: scale(1.18); }
	70% { transform: scale(1); }
}

/* =========================================================
   3. FLOATING SCROLL TO TOP BUTTON (TOTOP) - CLEAN & VISIBLE
   ========================================================= */
.scrollToTop {
	display: none !important;
}

.am-scroll-top-btn {
	position: fixed !important;
	bottom: 24px !important;
	right: 24px !important;
	left: auto !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 14px !important;
	background: linear-gradient(145deg, #711240, #450926) !important;
	color: #ffffff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
	box-shadow: 0 12px 28px -6px rgba(113, 18, 64, 0.6) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	z-index: 99999 !important;
	padding: 0 !important;
	margin: 0 !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.rtl) .am-scroll-top-btn,
[dir="ltr"] .am-scroll-top-btn {
	left: 24px !important;
	right: auto !important;
}

.am-scroll-top-btn.is-visible {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}

.am-scroll-top-btn:hover {
	background: #9c3a6c !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 16px 32px -6px rgba(113, 18, 64, 0.75) !important;
}

.am-scroll-top-btn svg {
	width: 20px !important;
	height: 20px !important;
	stroke: #ffffff !important;
	display: block !important;
}

/* Scroll Reveal Animation */
.am-site-footer-wrap .am-f-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

.am-site-footer-wrap .am-f-reveal.in-view {
	opacity: 1;
	transform: translateY(0);
}

/* =========================================================
   4. RESPONSIVENESS
   ========================================================= */
@media (max-width: 960px) {
	.am-accred-bar,
	.am-footer-pods-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.am-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}
}

@media (max-width: 768px) {
	.am-footer-container {
		padding: 0 20px;
	}

	.am-footer-inner-pad {
		padding: 36px 22px 24px;
	}

	.am-scroll-top-btn {
		bottom: 18px !important;
		right: 18px !important;
		width: 40px !important;
		height: 40px !important;
	}

	body:not(.rtl) .am-scroll-top-btn,
	[dir="ltr"] .am-scroll-top-btn {
		left: 18px !important;
		right: auto !important;
	}
}

@media (max-width: 640px) {
	.am-footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 34px 0 28px;
	}

	.am-footer-monolith {
		border-radius: 26px 26px 0 0;
	}
}
/**
 * END - Custom Royal Monolith Footer Component Styles - infxo.com
 */