/* --- Core Variables - Luxury Gold & Black Identity --- */
:root {
	--obsidian: #050508;
	--matte-black: #0E0E12;
	--luxury-card-bg: #121218;
	--gold-pure: #D4AF37;
	--gold-bright: #F3E5AB;
	--gold-dark: #AA7C11;
	--border-gold: rgba(212, 175, 55, 0.08);
	--border-gold-hover: rgba(212, 175, 55, 0.35);
	--text-light-gold: #F5F5F0;
	--text-muted-gold: #8E8E9A;
	--font-heading: 'Space Grotesk', sans-serif;
	--font-body: 'Plus Jakarta Sans', sans-serif;
}

/* --- Base Structural Mechanics --- */
body {
	background-color: var(--obsidian);
	color: var(--text-light-gold);
	font-family: var(--font-body);
	overflow-x: hidden;
}

.bg-obsidian {
	background-color: var(--obsidian);
}

.bg-matte-black {
	background-color: var(--matte-black);
}

.text-muted-gold {
	color: var(--text-muted-gold);
}

.text-gold {
	color: var(--gold-pure);
}

.font-heading {
	font-family: var(--font-heading);
	font-weight: 700;
}

.py-6 {
	padding-top: 8rem;
	padding-bottom: 8rem;
}

.border-y-gold {
	border-top: 1px solid var(--border-gold);
	border-bottom: 1px solid var(--border-gold);
}

.border-t-gold {
	border-top: 1px solid var(--border-gold);
}

.uppercase {
	text-transform: uppercase;
}

.tracking-wider {
	letter-spacing: 0.08em;
}

/* --- Fixed Progress Layer --- */
#scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--gold-dark), var(--gold-pure), var(--gold-bright));
	width: 0%;
	z-index: 2050;
}

#gold-mouse-glow {
	position: fixed;
	width: 450px;
	height: 450px;
	background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
	top: 0;
	left: 0;
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

/* --- Fixed Luxury Navigation Header & Hero Fix --- */
.header-nav-wrapper {
	padding: 1.2rem 0;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	z-index: 1040;
}

.header-nav-wrapper.scrolled {
	padding: 0.6rem 0;
}

#luxury-nav {
	background: rgba(5, 5, 8, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--border-gold);
	border-radius: 100px;
	padding: 0.6rem 1.5rem;
	transition: all 0.4s ease;
}

.brand-logo-img {
	width: 90px !important;
	object-fit: contain;
}

/* --- Custom Responsive Toggle Bars --- */
.custom-nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 22px;
	height: 16px;
	cursor: pointer;
}

.toggle-icon-bar {
	width: 100%;
	height: 2px;
	background-color: var(--gold-pure);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.custom-nav-toggle[aria-expanded="true"] .bar-top {
	transform: translateY(7px) rotate(45deg);
}

.custom-nav-toggle[aria-expanded="true"] .bar-mid {
	opacity: 0;
}

.custom-nav-toggle[aria-expanded="true"] .bar-bottom {
	transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
	color: var(--text-muted-gold);
	font-size: 0.88rem;
	font-weight: 500;
	letter-spacing: 0.5px;
	transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
	color: var(--gold-pure) !important;
}

/* --- Hero Section Overlap Avoidance Padding Fix --- */
#hero {
	padding-top: 180px !important;
	padding-bottom: 100px !important;
	min-height: 100vh;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.15;
	color: #FFF;
	letter-spacing: -0.5px;
}

.hero-subtitle {
	font-size: 1.1rem;
	max-width: 620px;
	line-height: 1.65;
}

.text-gold-gradient {
	background: linear-gradient(135deg, #FFF 20%, var(--gold-pure) 70%, var(--gold-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.luxury-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(212, 175, 55, 0.06);
	border: 1px solid rgba(212, 175, 55, 0.18);
	color: var(--gold-bright);
	padding: 6px 14px;
	border-radius: 100px;
	font-size: 0.8rem;
}

.gold-pulse {
	width: 7px;
	height: 7px;
	background-color: var(--gold-pure);
	border-radius: 50%;
	animation: goldPulseKey 2.5s infinite;
}

/* --- Premium Buttons System --- */
.btn-gold-primary {
	background: linear-gradient(135deg, var(--gold-pure) 0%, var(--gold-dark) 100%);
	border: none;
	color: #000 !important;
	font-weight: 600;
	font-size: 0.88rem;
	padding: 11px 26px;
	border-radius: 7px;
	transition: all 0.3s ease;
}

.btn-gold-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px -5px var(--gold-pure);
	color: #000 !important;
}

.btn-gold-outline {
	background: transparent;
	border: 1px solid var(--border-gold);
	color: var(--gold-pure) !important;
	font-weight: 500;
	font-size: 0.88rem;
	padding: 11px 26px;
	border-radius: 7px;
	transition: all 0.3s ease;
}

.btn-gold-outline:hover {
	background: var(--gold-pure) !important;
	color: #000 !important;
	border-color: var(--gold-pure) !important;
}

/* --- Premium Component Luxury Cards --- */
.luxury-card,
.glass-card {
	background: var(--luxury-card-bg);
	border: 1px solid var(--border-gold);
	border-radius: 14px;
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.luxury-card:hover,
.glass-card:hover {
	border-color: var(--border-gold-hover);
	box-shadow: 0 15px 35px -15px rgba(212, 175, 55, 0.15);
}

/* --- Triple Threat Pillar Modules --- */
.icon-label-number {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--gold-pure);
	background: rgba(212, 175, 55, 0.05);
	border: 1px solid var(--border-gold);
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
}

.border-gold-soft {
	border: 1px solid rgba(212, 175, 55, 0.1);
}

.telemetry-box {
	background: rgba(5, 5, 8, 0.4);
}

/* --- Specialization Section Controls --- */
.solution-icon-box {
	width: 48px;
	height: 48px;
	background: rgba(212, 175, 55, 0.06);
	border: 1px solid var(--border-gold);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: var(--gold-pure);
	flex-shrink: 0;
}

/* --- High-End High-Visibility Badges --- */
.luxury-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.v-tag {
	font-size: 0.78rem;
	font-weight: 600;
	background: rgba(212, 175, 55, 0.12) !important;
	border: 1px solid rgba(212, 175, 55, 0.35) !important;
	color: #FFF !important;
	padding: 5px 12px;
	border-radius: 6px;
	display: inline-block;
	letter-spacing: 0.3px;
	transition: all 0.2s ease;
}

.luxury-card-slider:hover .v-tag,
.custom-wp-mastery-panel:hover .v-tag {
	background: var(--gold-pure) !important;
	color: #000 !important;
	border-color: var(--gold-pure) !important;
}

/* --- Imageless Carousel Slider Architecture --- */
.luxury-card-slider {
	background: #131317;
	border: 1px solid rgba(212, 175, 55, 0.1);
	border-radius: 12px;
	height: 360px !important;
	transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.luxury-card-slider:hover {
	border-color: rgba(212, 175, 55, 0.3);
	transform: translateY(-4px);
	box-shadow: 0 12px 30px -15px rgba(212, 175, 55, 0.15);
}

.luxury-tag-badge {
	background: rgba(212, 175, 55, 0.05);
	border: 1px solid rgba(212, 175, 55, 0.15);
	color: var(--gold-pure);
	font-size: 0.72rem;
	font-weight: 500;
	padding: 4px 10px;
}

.project-title {
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -0.3px;
}

.line-clamp-4 {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.custom-wp-mastery-panel {
	background: linear-gradient(90deg, rgba(22, 22, 28, 0.6) 0%, rgba(11, 11, 15, 0.8) 100%);
}

@media (min-width: 992px) {
	.border-end-lg-gold {
		border-right: 1px solid var(--border-gold);
	}
}

/* --- Navigation Arrow Handles --- */
.navigation-arrow-wrapper {
	z-index: 10;
}

.swiper-btn-prev,
.swiper-btn-next {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(212, 175, 55, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold-pure);
	cursor: pointer;
	transition: all 0.2s;
	background: #0B0B0F;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
	background: var(--gold-pure);
	color: #000;
	border-color: var(--gold-pure);
}

/* --- Skill Matrices Item Lists --- */
.skill-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 11px 0;
	border-bottom: 1px solid rgba(212, 175, 55, 0.04);
}

.skill-list li:last-child {
	border-bottom: none;
}

.skill-list li span:first-child {
	font-size: 0.9rem;
	color: #cbd5e1;
}

.badge.bg-soft-gold {
	background: rgba(212, 175, 55, 0.08);
	color: var(--gold-pure);
	border: 1px solid rgba(212, 175, 55, 0.2);
}

/* --- Vertical Career Timeline Axis --- */
.timeline-gold-axis {
	position: absolute;
	width: 1px;
	background: linear-gradient(to bottom, var(--gold-pure), rgba(0, 0, 0, 0));
	top: 0;
	bottom: 0;
	left: 10px;
}

.timeline-marker-gold {
	position: absolute;
	width: 9px;
	height: 9px;
	background: var(--obsidian);
	border: 2px solid var(--gold-pure);
	border-radius: 50%;
	left: 6px;
	top: 24px;
	z-index: 5;
}

.luxury-time-badge {
	background: rgba(212, 175, 55, 0.08);
	color: var(--gold-pure);
	border: 1px solid var(--border-gold);
}

.border-bottom-gold {
	border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.border-start-gold-accent {
	border-left: 2px solid var(--gold-pure) !important;
	padding-left: 15px;
}

/* --- Secure Conversion Panel --- */
.contact-conversion-panel {
	background: linear-gradient(135deg, #121216 0%, #050507 100%);
	border: 1px solid var(--gold-pure);
}

.action-click-pill {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border-gold);
	padding: 8px 16px;
	border-radius: 100px;
	cursor: pointer;
	transition: background 0.2s;
}

.action-click-pill:hover {
	background: rgba(212, 175, 55, 0.05);
}

/* --- Custom Luxury Popup Window Modal Layout --- */
.custom-luxury-modal {
	background: #0E0E12;
	border: 1px solid var(--border-gold);
	border-radius: 14px;
}

.custom-input-field {
	background: #141419 !important;
	border: 1px solid var(--border-gold) !important;
	color: #FFF !important;
	font-size: 0.88rem;
	padding: 10px 14px;
}

.custom-input-field:focus {
	border-color: var(--gold-pure) !important;
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.15) !important;
}

.custom-input-field option {
	background-color: #121218 !important;
	color: #FFF !important;
}

/* --- Brand Avatar Dimensions Frame --- */
.luxury-avatar-frame {
	position: relative;
	width: 300px;
	height: 300px;
}

.avatar-box {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	border: 1px solid var(--gold-pure) !important;
	/* Made the frame border crisper */
	background: linear-gradient(135deg, #0E0E12 0%, #050508 100%) !important;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.avatar-box h3.tracking-tight {
	font-size: 1.6rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.5px !important;
	color: #FFFFFF !important;
	margin-top: 5px !important;
}

/* FIXED: Re-engineered the previously invisible "Software Engineer II" sub-text */
.avatar-box p.text-gold-gradient {
	background: none !important;
	-webkit-background-clip: unset !important;
	-webkit-text-fill-color: unset !important;
	color: var(--gold-pure) !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	margin-top: 10px !important;
	display: inline-block !important;
	text-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

/* --- Premium Portrait Avatar Frame Setup --- */
.luxury-avatar-frame {
	position: relative;
	width: 320px;
	height: 380px;
	/* Made it taller to match professional portrait proportions */
}

.avatar-box {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	border: 1px solid var(--gold-pure) !important;
	background: #0E0E12;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
}

/* Re-engineered to elegantly host profile.jpg */
.hero-profile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Keeps aspect ratio perfectly secure without stretching */
	object-position: center top;
	/* Focuses beautifully on face and corporate posture */
	filter: contrast(102%) brightness(98%);
	transition: transform 0.5s ease;
}

.luxury-avatar-frame:hover .hero-profile-img {
	transform: scale(1.04);
	/* Premium smooth micro-zoom on card hover */
}

/* Glassmorphic Overlay Panel for Text Visibility on Top of Photo */
.avatar-overlay-caption {
	background: linear-gradient(to top, rgba(5, 5, 8, 0.95) 40%, rgba(5, 5, 8, 0.4) 100%);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid rgba(212, 175, 55, 0.2);
	z-index: 5;
}

.avatar-overlay-caption p {
	font-size: 0.85rem !important;
	letter-spacing: 0.1em !important;
	text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Balanced pulse animation for the central box vector icon */
.animate-pulse-slow {
	animation: luxuryPulse 3s ease-in-out infinite;
	color: var(--gold-pure) !important;
}

@keyframes luxuryPulse {
	0% {
		transform: scale(1);
		opacity: 0.9;
	}

	50% {
		transform: scale(1.05);
		opacity: 1;
		filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
	}

	100% {
		transform: scale(1);
		opacity: 0.9;
	}
}

.stat-value {
	font-size: 2.1rem;
	color: var(--gold-pure);
	font-weight: 700;
}

.stat-title {
	font-size: 0.78rem;
	color: var(--text-muted-gold);
	text-transform: uppercase;
}

/* --- Fixed Base Corporate Footer Block Layout --- */
.luxury-footer-wrapper {
	background: var(--obsidian);
	position: relative;
	z-index: 10;
}

.footer-link-list li {
	margin-bottom: 8px;
}

.footer-link-list a {
	color: var(--text-muted-gold);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-link-list a:hover {
	color: var(--gold-pure);
}

.footer-social-links a {
	width: 38px;
	height: 38px;
	border: 1px solid var(--border-gold);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted-gold);
	font-size: 1rem;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	background: rgba(255, 255, 255, 0.01);
	text-decoration: none;
}

.footer-social-links a:hover {
	color: #000;
	background: var(--gold-pure);
	border-color: var(--gold-pure);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* --- SPLIT FLOATING COMPONENT WIDGETS --- */
.floating-whatsapp-widget {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 54px;
	height: 54px;
	background: #25D366;
	color: #FFF !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.7rem;
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
	z-index: 1050;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
}

.floating-whatsapp-widget:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

#floating-back-to-top {
	position: fixed;
	bottom: 30px;
	left: 30px;
	width: 50px;
	height: 50px;
	background: #121218;
	border: 1px solid var(--gold-pure);
	color: var(--gold-pure);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
	z-index: 1050;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#floating-back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

#floating-back-to-top:hover {
	background: var(--gold-pure);
	color: #000;
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

/* --- Engine Keyframe Loops --- */
@keyframes goldPulseKey {
	0% {
		box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
	}

	70% {
		box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
	}
}

.swiper-pagination-bullet {
	background: rgba(212, 175, 55, 0.2);
	opacity: 1;
}

.swiper-pagination-bullet-active {
	background: var(--gold-pure);
}