/*
 Theme Name: Twenty Twenty-Four Child
 Template: twentytwentyfour
 Description: Premium Child Theme for Myriad Counselling Services
*/

/* ===================================================
   🎨 DESIGN TOKENS
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
	--primary: #6366f1;
	--primary-dark: #4f46e5;
	--primary-glow: rgba(99, 102, 241, 0.4);
	--secondary: #f43f5e;
	--secondary-glow: rgba(244, 63, 94, 0.35);
	--accent: #06b6d4;
	--accent-glow: rgba(6, 182, 212, 0.3);
	--gold: #f59e0b;

	--dark-1: #020617;
	--dark-2: #0f172a;
	--dark-3: #1e293b;
	--dark-4: #334155;

	--light-1: #f8fafc;
	--light-2: #f1f5f9;
	--light-3: #e2e8f0;

	--text-h: #0f172a;
	--text-b: #334155;
	--text-m: #64748b;
	--text-l: #94a3b8;

	--glass-bg: rgba(255, 255, 255, 0.07);
	--glass-border: rgba(255, 255, 255, 0.12);

	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
	--shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.2);
	--shadow-neon: 0 0 40px var(--primary-glow), 0 0 80px rgba(99, 102, 241, 0.15);
	--shadow-card: 0 8px 40px rgba(99, 102, 241, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);

	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--radius-full: 9999px;

	--nav-height: 80px;
	--max-w: 1280px;
	--transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================
   🔧 RESET & BASE
   =================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-b);
	background: #fff;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* Force hide WordPress default block theme parts */
.wp-block-template-part,
.site-header,
.wp-site-blocks>header,
.wp-site-blocks>footer,
#wpadminbar+.wp-site-blocks>header,
[data-elementor-type="header"],
[data-elementor-type="footer"],
.hfe-template-wrapper,
.elementor-section-wrap>.elementor-section:first-child~.elementor-section:first-child {
	display: none !important;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

button {
	cursor: pointer;
	border: none;
	background: none;
}

/* ===================================================
   📦 LAYOUT
   =================================================== */
.premium-container {
	width: 100%;
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 2rem;
}

.section-pad {
	padding: 8rem 0;
}

.section-pad-sm {
	padding: 5rem 0;
}

/* ===================================================
   🔤 TYPOGRAPHY
   =================================================== */
.display-1 {
	font-size: clamp(3rem, 6vw, 6rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.display-2 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.heading-1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.heading-2 {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
}

.heading-3 {
	font-size: clamp(1.2rem, 2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.3;
}

.body-lg {
	font-size: 1.2rem;
	line-height: 1.8;
}

.body-md {
	font-size: 1rem;
	line-height: 1.75;
}

.text-gradient {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-label {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--primary);
	background: rgba(99, 102, 241, 0.1);
	padding: 0.4rem 1.2rem;
	border-radius: var(--radius-full);
	border: 1px solid rgba(99, 102, 241, 0.2);
	margin-bottom: 1.5rem;
}

/* ===================================================
   🎛️ BUTTONS
   =================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.9rem 2.2rem;
	border-radius: var(--radius-full);
	transition: var(--transition);
	cursor: pointer;
	border: none;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}

.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.15);
	opacity: 0;
	transition: opacity 0.3s;
}

.btn:hover::after {
	opacity: 1;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: #fff;
	box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px var(--primary-glow);
	color: #fff;
}

.btn-secondary {
	background: linear-gradient(135deg, var(--secondary) 0%, #e11d48 100%);
	color: #fff;
	box-shadow: 0 4px 20px var(--secondary-glow);
}

.btn-secondary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px var(--secondary-glow);
	color: #fff;
}

.btn-glass {
	background: var(--glass-bg);
	color: #fff;
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(12px);
}

.btn-glass:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
}

.btn-outline:hover {
	background: var(--primary);
	color: #fff;
	transform: translateY(-2px);
}

.btn-lg {
	padding: 1.1rem 2.8rem;
	font-size: 1.05rem;
}

.btn-sm {
	padding: 0.6rem 1.6rem;
	font-size: 0.85rem;
}

/* ===================================================
   🧭 HEADER / NAVIGATION
   =================================================== */
.main-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(99, 102, 241, 0.08);
	box-shadow: 0 2px 40px rgba(99, 102, 241, 0.06);
	transition: var(--transition);
}

.main-header.scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	flex-shrink: 0;
	z-index: 2;
}

.logo img {
	height: 48px;
	width: auto;
	object-fit: contain;
}

.logo-text {
	font-weight: 900;
	font-size: 1.4rem;
	color: var(--primary);
	letter-spacing: -0.02em;
}

.nav-container {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: center;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu li a {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-b);
	border-radius: var(--radius-sm);
	transition: var(--transition);
	text-decoration: none;
	position: relative;
}

.nav-menu li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--primary);
	border-radius: 2px;
	transition: width 0.3s ease;
}

.nav-menu li a:hover {
	color: var(--primary);
	background: rgba(99, 102, 241, 0.06);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
	width: 70%;
}

.nav-menu li a.active {
	color: var(--primary);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
}

.hamburger span {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--primary);
	border-radius: 2px;
	transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(2, 6, 23, 0.97);
	backdrop-filter: blur(20px);
	z-index: 9998;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transform: translateX(-100%);
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
	transform: translateX(0);
}

.mobile-nav a {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	padding: 0.6rem 1.5rem;
	text-decoration: none;
	transition: var(--transition);
	letter-spacing: -0.01em;
}

.mobile-nav a:hover {
	color: var(--primary);
	transform: translateX(8px);
}

.mobile-nav .nav-cta-mobile {
	margin-top: 1.5rem;
}

/* ===================================================
   ✨ ANIMATED BACKGROUND
   =================================================== */
.bg-animated {
	position: relative;
	overflow: hidden;
}

.bg-animated::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--dark-1) 0%, #1a0533 40%, #0a1628 70%, var(--dark-2) 100%);
	z-index: 0;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
	animation: floatOrb 8s ease-in-out infinite;
	pointer-events: none;
}

.orb-1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
	top: -200px;
	right: -150px;
	animation-delay: 0s;
}

.orb-2 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
	bottom: -100px;
	left: -80px;
	animation-delay: -3s;
}

.orb-3 {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
	top: 40%;
	left: 40%;
	animation-delay: -5s;
}

@keyframes floatOrb {

	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}

	33% {
		transform: translate(40px, -60px) scale(1.05);
	}

	66% {
		transform: translate(-30px, 40px) scale(0.95);
	}
}

/* ===================================================
   🦸 HERO SECTION
   =================================================== */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 680px;
	padding: 4rem 0;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(99, 102, 241, 0.15);
	border: 1px solid rgba(99, 102, 241, 0.3);
	color: #c4b5fd;
	padding: 0.5rem 1.2rem;
	border-radius: var(--radius-full);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 2rem;
	backdrop-filter: blur(8px);
}

.hero-badge::before {
	content: '✦';
	color: var(--gold);
}

.hero h1 {
	color: #fff;
	margin-bottom: 1.5rem;
}

.hero .hero-sub {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.2rem;
	margin-bottom: 2.5rem;
	max-width: 560px;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero-visual {
	position: absolute;
	right: 0;
	top: 0;
	width: 55%;
	height: 100%;
	z-index: 1;
}

.hero-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
	mix-blend-mode: luminosity;
}

.hero-visual::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--dark-1) 15%, transparent 60%);
}

.hero-stats {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 3rem;
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	flex-wrap: wrap;
}

.hero-stat-num {
	font-size: 2.5rem;
	font-weight: 900;
	color: #fff;
	line-height: 1;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-stat-label {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 0.3rem;
}

/* Floating card on hero */
.hero-floating-card {
	position: absolute;
	z-index: 3;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-lg);
	padding: 1.5rem 2rem;
	color: #fff;
	animation: floatCard 5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes floatCard {

	0%,
	100% {
		transform: translateY(0) rotate(-2deg);
	}

	50% {
		transform: translateY(-15px) rotate(0deg);
	}
}

.hf-card-1 {
	right: 5%;
	top: 20%;
	animation-delay: 0s;
}

.hf-card-2 {
	right: 20%;
	bottom: 20%;
	animation-delay: -2.5s;
}

/* ===================================================
   🃏 PREMIUM CARDS
   =================================================== */
.card {
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: var(--transition);
	border: 1px solid var(--light-3);
	position: relative;
}

.card:hover {
	transform: translateY(-8px) scale(1.01);
	box-shadow: 0 24px 64px rgba(99, 102, 241, 0.18);
	border-color: rgba(99, 102, 241, 0.2);
}

.card-body {
	padding: 2rem;
}

.card-icon {
	width: 64px;
	height: 64px;
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: 1.5rem;
	position: relative;
}

.card-icon::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	opacity: 0.15;
}

.icon-indigo {
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.icon-rose {
	background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.icon-cyan {
	background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.icon-amber {
	background: linear-gradient(135deg, #f59e0b, #fcd34d);
}

.icon-emerald {
	background: linear-gradient(135deg, #10b981, #34d399);
}

.icon-violet {
	background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.card h3 {
	color: var(--text-h);
	margin-bottom: 0.75rem;
	font-weight: 700;
	font-size: 1.2rem;
}

.card p {
	color: var(--text-m);
	font-size: 0.95rem;
	line-height: 1.7;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--primary);
	font-weight: 600;
	font-size: 0.9rem;
	margin-top: 1.5rem;
	transition: gap 0.3s;
}

.card-link:hover {
	gap: 0.8rem;
}

/* Glass Card */
.glass-card {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: 2rem;
	transition: var(--transition);
}

.glass-card:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-6px);
	box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

/* ===================================================
   📐 GRIDS
   =================================================== */
.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.grid-auto {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

/* ===================================================
   🎬 SECTIONS
   =================================================== */
/* Divider */
.section-divider {
	width: 100%;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.3), transparent);
	margin: 0;
}

/* About / split section */
.split-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.split-img-wrap {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
}

.split-img-wrap img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	border-radius: var(--radius-xl);
	transition: transform 0.8s ease;
}

.split-img-wrap:hover img {
	transform: scale(1.05);
}

.split-img-badge {
	position: absolute;
	bottom: 2rem;
	left: 2rem;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-md);
	padding: 1rem 1.5rem;
	color: #fff;
	font-weight: 700;
}

/* Feature list */
.feature-list {
	list-style: none;
	padding: 0;
	margin-top: 2rem;
}

.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--light-3);
	color: var(--text-b);
}

.feature-list .check {
	width: 24px;
	height: 24px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.7rem;
	color: #fff;
	margin-top: 2px;
}

/* Testimonial Card */
.testimonial-card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	box-shadow: var(--shadow-card);
	border: 1px solid var(--light-3);
	transition: var(--transition);
	position: relative;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	font-size: 5rem;
	color: rgba(99, 102, 241, 0.1);
	font-family: 'Playfair Display', serif;
	line-height: 1;
}

.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.test-stars {
	color: var(--gold);
	font-size: 1rem;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}

.test-text {
	color: var(--text-b);
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	font-style: italic;
}

.test-author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.test-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.test-name {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--text-h);
}

.test-role {
	font-size: 0.8rem;
	color: var(--text-m);
}

/* Process Steps */
.process-step {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	position: relative;
}

.process-step::before {
	content: '';
	position: absolute;
	left: 28px;
	top: 56px;
	width: 2px;
	height: calc(100% + 2rem);
	background: linear-gradient(to bottom, var(--primary), transparent);
}

.process-step:last-child::before {
	display: none;
}

.step-number {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff;
	font-weight: 900;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 20px var(--primary-glow);
}

/* CTA Section */
.cta-section {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #2d1b69 100%);
	border-radius: var(--radius-xl);
	padding: 6rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	top: -200px;
	right: -200px;
}

.cta-section::after {
	content: '';
	position: absolute;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	bottom: -150px;
	left: -100px;
}

/* Stats Section */
.stats-bar {
	background: var(--dark-2);
	padding: 4rem 0;
	position: relative;
	overflow: hidden;
}

.stats-bar::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.stat-item {
	text-align: center;
	position: relative;
	z-index: 1;
}

.stat-num {
	font-size: 3.5rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
}

.stat-label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	margin-top: 0.5rem;
}

/* ===================================================
   📬 CONTACT FORM
   =================================================== */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--text-b);
	margin-bottom: 0.5rem;
	letter-spacing: 0.02em;
}

.form-control {
	width: 100%;
	padding: 0.9rem 1.25rem;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--text-b);
	background: #fff;
	border: 2px solid var(--light-3);
	border-radius: var(--radius-md);
	transition: var(--transition);
	outline: none;
	resize: vertical;
}

.form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
	color: var(--text-l);
}

/* ===================================================
   🏷️ FOOTER
   =================================================== */
.footer-premium {
	background: var(--dark-1);
	color: #fff;
	padding: 6rem 0 3rem;
	position: relative;
	overflow: hidden;
}

.footer-premium::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--primary-glow), transparent);
}

.footer-logo-text {
	font-size: 1.8rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.02em;
}

.footer-desc {
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.8;
	font-size: 0.95rem;
	margin-top: 1rem;
}

.footer-heading {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 1.5rem;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 0.95rem;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-links a:hover {
	color: var(--primary);
	padding-left: 4px;
}

.social-icons-row {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.social-icon-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: var(--transition);
	font-size: 1.1rem;
}

.social-icon-btn:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
	transform: translateY(-3px);
}

.footer-divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin: 3rem 0 2rem;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-copy {
	color: rgba(255, 255, 255, 0.35);
	font-size: 0.85rem;
}

/* ===================================================
   ✨ ANIMATIONS
   =================================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(40px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% center;
	}

	100% {
		background-position: 200% center;
	}
}

@keyframes pulse-glow {

	0%,
	100% {
		box-shadow: 0 0 20px var(--primary-glow);
	}

	50% {
		box-shadow: 0 0 40px var(--primary-glow), 0 0 80px rgba(99, 102, 241, 0.1);
	}
}

.animate-up {
	animation: fadeInUp 0.8s ease both;
}

.animate-left {
	animation: fadeInLeft 0.8s ease both;
}

.animate-right {
	animation: fadeInRight 0.8s ease both;
}

.animate-scale {
	animation: scaleIn 0.6s ease both;
}

.delay-1 {
	animation-delay: 0.1s;
}

.delay-2 {
	animation-delay: 0.2s;
}

.delay-3 {
	animation-delay: 0.3s;
}

.delay-4 {
	animation-delay: 0.4s;
}

.delay-5 {
	animation-delay: 0.5s;
}

/* Intersection Observer helper - starts VISIBLE, .will-reveal sets up animation */
.reveal {
	opacity: 1;
	transform: none;
	transition: opacity 0.75s ease, transform 0.75s ease;
}

/* JS will add .will-reveal to elements NOT yet in view */
.will-reveal {
	opacity: 0;
	transform: translateY(32px);
}

.will-reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.will-reveal.animate-left {
	transform: translateX(-40px);
}

.will-reveal.animate-right {
	transform: translateX(40px);
}

.will-reveal.animate-left.visible,
.will-reveal.animate-right.visible {
	transform: translateX(0);
}

/* Page hero sub (non-home pages) */
.page-hero {
	min-height: 55vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.page-hero-content {
	position: relative;
	z-index: 2;
}

.page-hero h1 {
	color: #fff;
}

.page-hero .lead {
	color: rgba(255, 255, 255, 0.75);
	max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 1.5rem;
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.5);
	transition: color 0.3s;
}

.breadcrumb a:hover {
	color: #fff;
}

.breadcrumb .sep {
	color: rgba(255, 255, 255, 0.25);
}

/* Services specific */
.service-card-hero {
	background: #fff;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	border: 1px solid var(--light-3);
	transition: var(--transition);
}

.service-card-hero:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 80px rgba(99, 102, 241, 0.15);
}

.service-card-img {
	height: 220px;
	overflow: hidden;
}

.service-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.service-card-hero:hover .service-card-img img {
	transform: scale(1.08);
}

.service-card-content {
	padding: 2rem;
}

/* Pricing Card */
.pricing-card {
	background: #fff;
	border-radius: var(--radius-xl);
	padding: 3rem 2.5rem;
	border: 1px solid var(--light-3);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	position: relative;
	text-align: center;
}

.pricing-card.featured {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	border-color: var(--primary);
	color: #fff;
	transform: scale(1.03);
	box-shadow: 0 20px 60px var(--primary-glow);
}

.pricing-card:not(.featured):hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

/* ===================================================
   📱 RESPONSIVE
   =================================================== */
@media (max-width: 1200px) {
	:root {
		--max-w: 100%;
	}

	.premium-container {
		padding: 0 2.5rem;
	}

	.cta-section {
		padding: 4rem 3rem;
	}
}

@media (max-width: 1024px) {
	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-visual {
		width: 50%;
	}

	.split-section {
		gap: 3rem;
	}
}

@media (max-width: 868px) {
	:root {
		--nav-height: 70px;
	}

	.section-pad {
		padding: 5rem 0;
	}

	.nav-container,
	.pc-only {
		display: none !important;
	}

	.hamburger {
		display: flex;
	}

	.hero-visual {
		width: 100%;
		opacity: 0.15;
	}

	.hero-content {
		max-width: 100%;
	}

	.hero-stats {
		gap: 2rem;
	}

	.grid-2,
	.grid-3,
	.grid-4 {
		grid-template-columns: 1fr;
	}

	.split-section {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.split-img-wrap img {
		height: 300px;
	}

	.cta-section {
		padding: 3rem 2rem;
	}

	.footer-premium {
		padding: 4rem 0 2rem;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.premium-container {
		padding: 0 1.25rem;
	}

	.hero-actions {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.75rem;
		width: 100%;
	}

	.hero-actions .btn {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: center;
		font-size: 0.8rem;
		padding: 0.7rem 1rem;
		white-space: nowrap;
	}

	.hero-stat-num {
		font-size: 2rem;
	}

	.hero-stats {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem 1.5rem;
		width: 100%;
	}

	.btn-lg {
		padding: 0.9rem 2rem;
		font-size: 0.95rem;
	}

	.cta-section {
		padding: 2.5rem 1.5rem;
		border-radius: var(--radius-lg);
	}

	.testimonial-card {
		padding: 1.75rem;
	}
}

/* ===================================================
   🔒 CRITICAL OVERRIDES — ALWAYS LAST
   Prevent WordPress / Theme from breaking the layout
   =================================================== */

/* Force hero dark backgrounds to always show */
.hero.bg-animated,
.page-hero.bg-animated,
section.bg-animated {
	background: var(--dark-1) !important;
}

.hero.bg-animated::before,
.page-hero.bg-animated::before,
section.bg-animated::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #020617 0%, #1a0533 40%, #0a1628 70%, #0f172a 100%);
	z-index: 0;
	pointer-events: none;
}

/* Only raise z-index on content containers, NOT on absolutely-positioned orbs/visuals */
.hero .premium-container,
.page-hero .premium-container {
	position: relative;
	z-index: 3;
}

/* Hero visual and orbs stay absolutely positioned — do NOT override */
.hero .hero-visual {
	position: absolute !important;
	right: 0;
	top: 0;
	width: 55%;
	height: 100%;
	z-index: 1;
}

.hero .orb,
.page-hero .orb {
	position: absolute !important;
	z-index: 1;
}

.hero .hero-floating-card {
	position: absolute !important;
	z-index: 3;
}

/* Hide floating cards on mobile — they overlap hero text */
@media (max-width: 768px) {

	.hero-floating-card,
	.hf-card-1,
	.hf-card-2 {
		display: none !important;
	}
}

/* Ensure sections with dark backgrounds work */
.stats-bar {
	background: #0f172a !important;
}

section[style*="background: var(--dark-2)"],
section[style*="background:var(--dark-2)"] {
	background: #0f172a !important;
}

/* Kill WP body margin for admin bar */
body.admin-bar .main-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .main-header {
		top: 46px;
	}
}

/* Block WordPress theme from making body white in hero sections */
body.premium-site {
	background: #fff;
}

/* Ensure reveal elements are ALWAYS visible without JS */
.no-js .reveal,
.reveal:not(.will-reveal) {
	opacity: 1 !important;
	transform: none !important;
}

/* Force all content below hero to have correct bg */
.section-pad[style*="var(--light-1)"],
.section-pad[style*="var(--light-2)"] {
	background: var(--light-1);
}

/* Ensure contact form grid works on tablet */
@media (max-width: 868px) {
	.template-premium-contact .premium-container>div[style*="grid-template-columns:1fr 1.4fr"] {
		grid-template-columns: 1fr !important;
	}
}