/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Smooth scrolling for anchor links */
html {
	scroll-behavior: smooth;
}

/* Service Areas hub — center icon-box cards */
.elementor-element-6d27699 .elementor-icon-box-wrapper {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Service area pages — service cards grid */
.service-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}
@media (max-width: 767px) {
	.service-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}
@media (max-width: 480px) {
	.service-cards-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

.service-card-link {
	text-decoration: none !important;
	display: block;
}

.service-card-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 28px 16px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	text-align: center;
	min-height: 120px;
}
.service-card-item:hover {
	transform: translateY(-4px);
	border-color: #FFC000;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	background: rgba(255, 255, 255, 0.12);
}

.service-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}
.service-card-icon svg {
	color: #FFC000;
	stroke: #FFC000;
	width: 32px;
	height: 32px;
}

.service-card-title {
	color: #FDFCFA !important;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem) !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Service area pages — fluid responsive typography (20px minimum floor) */
.parent-pageid-270 h1.elementor-heading-title {
	font-size: clamp(1.75rem, 3vw + 1rem, 3.4375rem) !important;
	line-height: 1.15 !important;
}
.parent-pageid-270 h2.elementor-heading-title {
	font-size: clamp(1.5rem, 2.25vw + 0.75rem, 2.75rem) !important;
	line-height: 1.2 !important;
}
.parent-pageid-270 h3.elementor-heading-title {
	font-size: clamp(1.375rem, 1.5vw + 0.75rem, 2.125rem) !important;
	line-height: 1.25 !important;
}
.parent-pageid-270 .elementor-widget-text-editor {
	font-size: clamp(1.0625rem, 0.5vw + 0.875rem, 1.125rem) !important;
	line-height: 1.6 !important;
}
.parent-pageid-270 .elementor-widget-text-editor p,
.parent-pageid-270 .elementor-widget-text-editor li {
	font-size: inherit;
	line-height: inherit;
}

/* Inline h3 subheadings (inside text-editor widgets like "Common Challenges") */
.parent-pageid-270 .elementor-widget-text-editor h3 {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.375rem, 0.75vw + 1rem, 1.5rem);
	font-weight: 600;
	line-height: 1.3;
	margin: 1.25em 0 0.5em;
}

/* Buttons — fluid text + gradient + depth */
.parent-pageid-270 .elementor-button {
	font-size: clamp(1.0625rem, 0.5vw + 0.875rem, 1.125rem) !important;
	position: relative;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.parent-pageid-270 .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}
/* Shimmer sweep on hover */
.parent-pageid-270 .elementor-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
	transition: left 0.4s ease;
	pointer-events: none;
}
.parent-pageid-270 .elementor-button:hover::after {
	left: 100%;
}

/* ============================================
   GRADIENT SECTION DIVIDER
   Gold gradient line between sections
   ============================================ */
.parent-pageid-270 .elementor-widget-divider .elementor-divider-separator {
	border-image: linear-gradient(90deg, transparent, #D4A843 20%, #FFC000 50%, #D4A843 80%, transparent) 1 !important;
	border-top-style: solid !important;
}

/* ============================================
   ANIMATED FOOTER TOP BORDER
   Gold gradient bar that shimmers above footer
   ============================================ */
@keyframes footerGradientSlide {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}
footer.elementor-location-footer {
	position: relative;
}
footer.elementor-location-footer::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 10;
	background: linear-gradient(
		90deg,
		#052E5C,
		#D4A843 20%,
		#FFC000 40%,
		#D4A843 60%,
		#052E5C 80%,
		#D4A843
	);
	background-size: 200% 100%;
	animation: footerGradientSlide 4s linear infinite;
}

/* ============================================
   HERO BACKGROUND ANIMATION OVERLAY
   Subtle animated gradient over hero sections
   Targets .hero-section class added via Elementor
   ============================================ */
@keyframes heroGradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
/* ::after because Elementor reserves ::before for its own bg overlay */
.hero-section {
	position: relative;
	overflow: hidden;
}
.hero-section::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		135deg,
		rgba(0, 89, 199, 0.2) 0%,
		rgba(5, 46, 92, 0.15) 25%,
		rgba(255, 192, 0, 0.1) 50%,
		rgba(5, 46, 92, 0.15) 75%,
		rgba(0, 89, 199, 0.2) 100%
	);
	background-size: 300% 300%;
	animation: heroGradientShift 12s ease infinite;
	pointer-events: none;
}
/* Keep hero content above the overlay */
.hero-section > .e-con-inner {
	position: relative;
	z-index: 2;
}

/* Fix blue links on blue background (fallback for any remaining text lists) */
.parent-pageid-270 .elementor-widget-text-editor ul a {
	color: #FDFCFA !important;
}
.parent-pageid-270 .elementor-widget-text-editor ul a:hover {
	color: #F5D76E !important;
}
