/**
 * Glassmorphism Styles
 * Modern glass-like UI effects inspired by Apple design
 */

/* ============================================
   FSE Block Theme - Critical Layout Fixes
   ============================================ */

/* Ensure sticky header works in FSE themes */
html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	/* Remove overflow-x: hidden to fix sticky behavior in some browsers */
	/* Overflow is handled by wp-site-blocks */
	overflow: unset;
}

/* wp-site-blocks MUST allow sticky children */
.wp-site-blocks {
	overflow: visible !important;
	overflow-x: clip !important;
}

/* Header - Enable sticky (template-part is the header element)
   Note: will-change removed to avoid stacking context issues with sticky
   Sticky positioning is handled by dynamic CSS in admin-settings.php */

/* Remove gap between header and first section */
main.wp-block-group.is-layout-flow {
	gap: 0 !important;
}

main.wp-block-group.is-layout-flow > .wp-block-group:first-child {
	margin-top: 0 !important;
}

/* Hero section should touch the header */
.hero-section {
	margin-top: 0 !important;
}

/* ============================================
   CSS Variables
   ============================================ */

:root {
	--glass-blur: 20px;
	--glass-saturate: 180%;
	--glass-border-light: 1px solid rgba(255, 255, 255, 0.18);
	--glass-border-dark: 1px solid rgba(255, 255, 255, 0.08);
	--glass-shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
	--glass-shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.4);
	--radius-sm: 12px;
	--radius-md: 20px;
	--radius-lg: 32px;
	--radius-full: 9999px;
}

/* Base Glass Card */
.glass-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
	border: var(--glass-border-light);
	border-radius: var(--radius-lg);
	box-shadow: var(--glass-shadow-light);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				border-color 0.3s ease;
}

.glass-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
	border-color: rgba(255, 255, 255, 0.3);
}

/* Glass Card Variants */
.glass-card-subtle {
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(12px) saturate(150%);
	-webkit-backdrop-filter: blur(12px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.glass-card-strong {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(24px) saturate(200%);
	-webkit-backdrop-filter: blur(24px) saturate(200%);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-lg);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Glass Header - Base styles, overridden by dynamic admin styles */
.glass-header {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px) saturate(180%);
	-webkit-backdrop-filter: blur(12px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Glass Input */
.glass-input {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--wp--preset--color--text);
	padding: 14px 20px;
	border-radius: var(--radius-sm);
	transition: all 0.3s ease;
	outline: none;
}

.glass-input:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px var(--wp--preset--color--primary-glow);
}

.glass-input::placeholder {
	color: var(--wp--preset--color--text-muted);
}

/* Glass Button - For WordPress Block Buttons */
.wp-block-button.glass-button .wp-block-button__link,
.glass-button.wp-block-button__link {
	background: rgba(139, 92, 246, 0.1) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(139, 92, 246, 0.3) !important;
	color: var(--wp--preset--color--primary) !important;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.wp-block-button.glass-button .wp-block-button__link:hover,
.glass-button.wp-block-button__link:hover {
	background: rgba(139, 92, 246, 0.2) !important;
	border-color: rgba(139, 92, 246, 0.5) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}

/* Remove outline style double border when combined with glass-button */
.wp-block-button.is-style-outline.glass-button .wp-block-button__link,
.wp-block-button.is-style-outline.glass-button .wp-block-button__link:not(.has-background) {
	background: rgba(139, 92, 246, 0.1) !important;
	border: 1px solid rgba(139, 92, 246, 0.3) !important;
	border-width: 1px !important;
	outline: none !important;
	box-shadow: none;
}

.wp-block-button.is-style-outline.glass-button .wp-block-button__link:hover {
	background: rgba(139, 92, 246, 0.2) !important;
	border: 1px solid rgba(139, 92, 246, 0.5) !important;
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}

/* Standalone glass-button (not WordPress) */
button.glass-button,
a.glass-button:not(.wp-block-button__link) {
	background: rgba(139, 92, 246, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(139, 92, 246, 0.3);
	color: var(--wp--preset--color--primary);
	padding: 12px 28px;
	border-radius: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

button.glass-button:hover,
a.glass-button:not(.wp-block-button__link):hover {
	background: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}

/* Fix Button Alignment in Hero Section */
.wp-block-buttons.is-layout-flex {
	align-items: stretch;
}

.wp-block-buttons.is-layout-flex .wp-block-button {
	display: flex;
}

.wp-block-buttons.is-layout-flex .wp-block-button .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* Primary Gradient Button (btn-gradient) */
.wp-block-button.btn-gradient .wp-block-button__link {
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
	color: #ffffff !important;
	border: none;
	position: relative;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button.btn-gradient .wp-block-button__link::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 0;
}

.wp-block-button.btn-gradient .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.wp-block-button.btn-gradient .wp-block-button__link:hover::before {
	opacity: 1;
}

/* Ensure button text stays above the gradient overlay */
.wp-block-button.btn-gradient .wp-block-button__link {
	isolation: isolate;
}

/* Glass Badge */
.glass-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(139, 92, 246, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: var(--radius-full);
	padding: 8px 16px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
}

.glass-badge::before {
	content: '';
	width: 8px;
	height: 8px;
	background: var(--wp--preset--color--primary);
	border-radius: 50%;
	animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.2); }
}

/* Glow Effects */
.glow-primary {
	box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.glow-primary-strong {
	box-shadow: 0 0 60px rgba(139, 92, 246, 0.4),
				0 0 120px rgba(139, 92, 246, 0.2);
}

/* Gradient Text */
.gradient-text {
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Background Shapes */
.bg-shapes {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: -1;
}

.bg-shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
}

.bg-shape-1 {
	width: 400px;
	height: 400px;
	background: var(--wp--preset--color--primary);
	top: -100px;
	right: -100px;
	animation: float-random-1 18s ease-in-out infinite;
}

.bg-shape-2 {
	width: 300px;
	height: 300px;
	background: #EC4899;
	bottom: -50px;
	left: -50px;
	animation: float-random-2 22s ease-in-out infinite;
}

.bg-shape-3 {
	width: 200px;
	height: 200px;
	background: #06B6D4;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: float-random-3 15s ease-in-out infinite;
}

/* Randomized floating animations for hero background shapes */
@keyframes float-random-1 {
	0% { transform: translate(0, 0) scale(1); }
	10% { transform: translate(-30px, 20px) scale(1.05); }
	20% { transform: translate(15px, -35px) scale(0.98); }
	30% { transform: translate(-45px, -10px) scale(1.02); }
	40% { transform: translate(25px, 40px) scale(0.95); }
	50% { transform: translate(-20px, 25px) scale(1.08); }
	60% { transform: translate(40px, -15px) scale(1); }
	70% { transform: translate(-35px, 35px) scale(1.03); }
	80% { transform: translate(10px, -40px) scale(0.97); }
	90% { transform: translate(-25px, 15px) scale(1.05); }
	100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-random-2 {
	0% { transform: translate(0, 0) scale(1) rotate(0deg); }
	12% { transform: translate(35px, -25px) scale(1.06) rotate(3deg); }
	25% { transform: translate(-20px, 40px) scale(0.94) rotate(-2deg); }
	37% { transform: translate(50px, 15px) scale(1.03) rotate(5deg); }
	50% { transform: translate(-40px, -30px) scale(1.08) rotate(-4deg); }
	62% { transform: translate(25px, 35px) scale(0.96) rotate(2deg); }
	75% { transform: translate(-30px, -15px) scale(1.04) rotate(-3deg); }
	87% { transform: translate(45px, 20px) scale(0.98) rotate(4deg); }
	100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes float-random-3 {
	0% { transform: translate(-50%, -50%) scale(1); }
	14% { transform: translate(calc(-50% + 40px), calc(-50% - 30px)) scale(1.1); }
	28% { transform: translate(calc(-50% - 25px), calc(-50% + 45px)) scale(0.92); }
	42% { transform: translate(calc(-50% + 35px), calc(-50% + 20px)) scale(1.05); }
	57% { transform: translate(calc(-50% - 45px), calc(-50% - 35px)) scale(1.12); }
	71% { transform: translate(calc(-50% + 30px), calc(-50% - 15px)) scale(0.95); }
	85% { transform: translate(calc(-50% - 20px), calc(-50% + 35px)) scale(1.08); }
	100% { transform: translate(-50%, -50%) scale(1); }
}

/* Dark Mode Overrides for Glass */
[data-theme="dark"] .glass-card {
	background: rgba(22, 22, 29, 0.7);
	border: var(--glass-border-dark);
	box-shadow: var(--glass-shadow-dark);
}

[data-theme="dark"] .glass-card:hover {
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
	border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .glass-card-subtle {
	background: rgba(22, 22, 29, 0.5);
	border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .glass-card-strong {
	background: rgba(22, 22, 29, 0.85);
	border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .glass-header {
	background: rgba(22, 22, 29, 0.6);
	backdrop-filter: blur(12px) saturate(180%);
	-webkit-backdrop-filter: blur(12px) saturate(180%);
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .glass-input {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
	color: var(--wp--preset--color--dark-text);
}

[data-theme="dark"] .glass-input:focus {
	background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .glass-badge {
	background: rgba(167, 139, 250, 0.15);
	border-color: rgba(167, 139, 250, 0.25);
	color: var(--wp--preset--color--primary-light);
}

[data-theme="dark"] .bg-shape {
	opacity: 0.3;
}

/* ============================================
   Project Cards & Portfolio Grid
   ============================================ */

/* Projects Grid */
.projects-grid {
	display: grid;
	gap: var(--wp--preset--spacing--30, 24px);
}

.projects-grid.masonry-layout {
	/* Masonry effect using CSS columns for browsers without masonry support */
	display: block;
	column-gap: var(--wp--preset--spacing--30, 24px);
}

.projects-grid.bento-layout {
	grid-auto-rows: minmax(200px, auto);
}

.projects-grid.bento-layout .project-card:nth-child(3n+1) {
	grid-row: span 2;
}

/* Project Card Base Styles */
.project-card {
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Style Variants */
.project-card.solid-card {
	background: var(--wp--preset--color--surface, #ffffff);
	border-radius: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.project-card.bordered-card {
	background: transparent;
	border: 2px solid rgba(139, 92, 246, 0.2);
	border-radius: 24px;
}

.project-card.minimal-card {
	background: transparent;
	border-radius: 24px;
}

/* Hover Effects */
.project-card.hover-lift:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-card.hover-scale:hover {
	transform: scale(1.03);
}

.project-card.hover-glow:hover {
	box-shadow: 0 0 40px rgba(139, 92, 246, 0.3), 0 16px 48px rgba(0, 0, 0, 0.1);
}

.project-card.hover-tilt:hover {
	transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Project Image */
.project-image-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 24px 24px 0 0;
}

.project-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image-wrapper img {
	transform: scale(1.05);
}

/* Image Aspect Ratios */
.project-image-wrapper.ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.project-image-wrapper.ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.project-image-wrapper.ratio-1-1 {
	aspect-ratio: 1 / 1;
}

.project-image-wrapper.ratio-3-2 {
	aspect-ratio: 3 / 2;
}

.project-image-wrapper.ratio-auto {
	aspect-ratio: auto;
}

/* Project Placeholder */
.project-placeholder {
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

/* Project Title Link */
.project-card h3 a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

.project-card h3 a:hover {
	color: var(--wp--preset--color--primary, #8B5CF6);
}

/* Technology Tags */
.tech-tag {
	display: inline-block;
	padding: 4px 10px;
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: 20px;
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--wp--preset--color--primary, #8B5CF6);
	transition: all 0.2s ease;
}

.tech-tag:hover {
	background: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.4);
}

/* Dark Mode Project Cards */
[data-theme="dark"] .project-card.solid-card {
	background: var(--color-surface, #16161D);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .project-card.bordered-card {
	border-color: rgba(167, 139, 250, 0.3);
}

[data-theme="dark"] .project-card.hover-lift:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .project-card.hover-glow:hover {
	box-shadow: 0 0 50px rgba(167, 139, 250, 0.4), 0 16px 48px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tech-tag {
	background: rgba(167, 139, 250, 0.15);
	border-color: rgba(167, 139, 250, 0.3);
	color: var(--wp--preset--color--primary-light, #A78BFA);
}

[data-theme="dark"] .tech-tag:hover {
	background: rgba(167, 139, 250, 0.25);
	border-color: rgba(167, 139, 250, 0.5);
}

/* Responsive Grid */
@media (max-width: 1024px) {
	.projects-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	
	.projects-grid.bento-layout .project-card:nth-child(3n+1) {
		grid-row: span 1;
	}
}

@media (max-width: 640px) {
	.projects-grid {
		grid-template-columns: 1fr !important;
	}
	
	.project-card {
		border-radius: 20px;
	}
	
	.project-image-wrapper {
		border-radius: 20px 20px 0 0;
	}
}

/* ============================================
   Skills Section - Modern Animated Background
   ============================================ */

.skills-section-animated {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #F8F7FC 0%, #F1F0F6 100%);
}

.skills-bg-bubbles {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.skills-bg-bubbles .bubble {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.4;
}

.skills-bg-bubbles .bubble-1 {
	width: 500px;
	height: 500px;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(236, 72, 153, 0.3) 100%);
	top: -150px;
	right: -100px;
	animation: bubble-float-1 20s ease-in-out infinite;
}

.skills-bg-bubbles .bubble-2 {
	width: 400px;
	height: 400px;
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.4) 0%, rgba(139, 92, 246, 0.3) 100%);
	bottom: -100px;
	left: -100px;
	animation: bubble-float-2 25s ease-in-out infinite;
}

.skills-bg-bubbles .bubble-3 {
	width: 300px;
	height: 300px;
	background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(251, 146, 60, 0.2) 100%);
	top: 40%;
	left: 50%;
	transform: translateX(-50%);
	animation: bubble-float-3 18s ease-in-out infinite;
}

.skills-bg-bubbles .bubble-4 {
	width: 250px;
	height: 250px;
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
	top: 20%;
	left: 10%;
	animation: bubble-float-4 22s ease-in-out infinite;
}

@keyframes bubble-float-1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	25% { transform: translate(-40px, 30px) scale(1.05); }
	50% { transform: translate(-20px, -20px) scale(0.95); }
	75% { transform: translate(30px, 20px) scale(1.02); }
}

@keyframes bubble-float-2 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(50px, -30px) scale(1.08); }
	66% { transform: translate(-30px, 40px) scale(0.92); }
}

@keyframes bubble-float-3 {
	0%, 100% { transform: translateX(-50%) scale(1); }
	50% { transform: translateX(-50%) translateY(-30px) scale(1.1); }
}

@keyframes bubble-float-4 {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	25% { transform: translate(20px, -25px) rotate(5deg); }
	50% { transform: translate(-15px, 15px) rotate(-3deg); }
	75% { transform: translate(25px, 10px) rotate(2deg); }
}

/* Skills Label (Tech Stack) */
.skills-label {
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Skills Grid Modern */
.skills-grid-modern {
	gap: 20px;
	position: relative;
	z-index: 1;
}

/* Skill Card Modern - Square Design */
.skill-card-modern {
	width: 120px;
	height: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 20px;
	padding: 20px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.skill-card-modern:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.3);
}

.skill-icon-wrapper {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.skill-icon {
	width: 100%;
	height: 100%;
	color: #8B5CF6;
	transition: all 0.3s ease;
}

.skill-card-modern:hover .skill-icon {
	color: #EC4899;
	transform: scale(1.1);
}

.skill-name {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	margin: 0 !important;
	color: #1a1a2e;
	text-align: center;
	line-height: 1.2;
}

/* Responsive Skill Cards */
@media (max-width: 768px) {
	.skill-card-modern {
		width: 100px;
		height: 100px;
		padding: 16px;
		gap: 8px;
	}
	
	.skill-icon-wrapper {
		width: 36px;
		height: 36px;
	}
	
	.skill-name {
		font-size: 0.7rem !important;
	}
	
	.skills-grid-modern {
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.skill-card-modern {
		width: 85px;
		height: 85px;
		padding: 12px;
		border-radius: 16px;
	}
	
	.skill-icon-wrapper {
		width: 32px;
		height: 32px;
	}
	
	.skills-grid-modern {
		gap: 10px;
	}
}

/* ============================================
   Projects Page - Modern Portfolio Layout
   ============================================ */

/* Projects Hero Section */
.projects-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
}

.projects-bg-shapes {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.projects-bg-shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.4;
}

.projects-shape-1 {
	width: 500px;
	height: 500px;
	background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
	top: -200px;
	left: -150px;
	animation: projects-float-1 20s ease-in-out infinite;
}

.projects-shape-2 {
	width: 400px;
	height: 400px;
	background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
	top: -100px;
	right: -100px;
	animation: projects-float-2 25s ease-in-out infinite;
}

.projects-shape-3 {
	width: 300px;
	height: 300px;
	background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
	bottom: -100px;
	left: 50%;
	transform: translateX(-50%);
	animation: projects-float-3 18s ease-in-out infinite;
}

@keyframes projects-float-1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	25% { transform: translate(60px, 40px) scale(1.1); }
	50% { transform: translate(30px, -30px) scale(0.95); }
	75% { transform: translate(-40px, 20px) scale(1.05); }
}

@keyframes projects-float-2 {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(-50px, 30px) rotate(10deg); }
	66% { transform: translate(30px, -40px) rotate(-5deg); }
}

@keyframes projects-float-3 {
	0%, 100% { transform: translateX(-50%) scale(1); }
	50% { transform: translateX(-50%) translateY(-40px) scale(1.15); }
}

/* Projects Stats */
.projects-stats {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.projects-stats .stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 32px;
	border-radius: 16px;
	min-width: 120px;
}

.projects-stats .stat-number {
	font-size: 2rem;
	font-weight: 700;
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.2;
}

.projects-stats .stat-label {
	font-size: 0.85rem;
	color: var(--wp--preset--color--text-muted);
	margin-top: 4px;
}

/* Projects Bento Grid */
.projects-bento-grid .bento-template {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Bento Card Sizes - Every 4th card is larger */
.projects-bento-grid .bento-template > *:nth-child(4n+1) {
	grid-column: span 2;
}

.projects-bento-grid .bento-template > *:nth-child(7n+3) {
	grid-row: span 1;
}

/* Project Bento Card */
.project-bento-card {
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-bento-card:hover {
	transform: translateY(-8px);
}

/* Project Image Container */
.project-image-container {
	position: relative;
	overflow: hidden;
}

.project-image-container .wp-block-post-featured-image {
	margin: 0;
}

.project-image-container .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-bento-card:hover .project-image-container img {
	transform: scale(1.08);
}

/* Project Overlay */
.project-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(236, 72, 153, 0.9) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.project-bento-card:hover .project-overlay {
	opacity: 1;
}

.project-overlay-content {
	transform: scale(0.8) translateY(20px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-bento-card:hover .project-overlay-content {
	transform: scale(1) translateY(0);
}

.project-arrow {
	width: 48px;
	height: 48px;
	color: white;
	stroke-width: 2;
}

/* Project Content */
.project-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Tech Tags in Projects */
.project-bento-card .tech-tags a {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: all 0.2s ease;
}

.project-bento-card .tech-tags a:hover {
	background: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.4);
}

/* Project Title */
.project-title a {
	text-decoration: none;
	transition: color 0.3s ease;
}

/* Project Excerpt */
.project-excerpt {
	flex: 1;
}

/* View Project Link */
.view-project-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
	transition: all 0.3s ease;
	cursor: pointer;
}

.view-project-link svg {
	transition: transform 0.3s ease;
}

.project-bento-card:hover .view-project-link svg {
	transform: translateX(4px);
}

/* Projects Pagination */
.projects-pagination {
	margin-top: 60px;
}

.projects-pagination .wp-block-query-pagination-previous,
.projects-pagination .wp-block-query-pagination-next,
.projects-pagination .wp-block-query-pagination-numbers .page-numbers {
	padding: 12px 20px;
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: 12px;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.projects-pagination .wp-block-query-pagination-previous:hover,
.projects-pagination .wp-block-query-pagination-next:hover,
.projects-pagination .wp-block-query-pagination-numbers .page-numbers:hover {
	background: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.4);
	transform: translateY(-2px);
}

.projects-pagination .wp-block-query-pagination-numbers .page-numbers.current {
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
	color: white;
	border-color: transparent;
}

/* Projects CTA Section */
.projects-cta {
	position: relative;
}

.projects-cta .cta-card {
	text-align: center;
	position: relative;
	overflow: hidden;
}

.projects-cta .cta-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
	animation: cta-glow 8s ease-in-out infinite;
}

@keyframes cta-glow {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(20%, 20%); }
}

/* No Projects State */
.no-projects {
	text-align: center;
}

/* Dark Mode for Projects Page */
[data-theme="dark"] .projects-bg-shape {
	opacity: 0.25;
}

[data-theme="dark"] .projects-stats .stat-item {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .project-bento-card .tech-tags a {
	background: rgba(167, 139, 250, 0.15);
	border-color: rgba(167, 139, 250, 0.25);
	color: var(--wp--preset--color--primary-light);
}

[data-theme="dark"] .projects-pagination .wp-block-query-pagination-previous,
[data-theme="dark"] .projects-pagination .wp-block-query-pagination-next,
[data-theme="dark"] .projects-pagination .wp-block-query-pagination-numbers .page-numbers {
	background: rgba(167, 139, 250, 0.1);
	border-color: rgba(167, 139, 250, 0.2);
	color: var(--wp--preset--color--primary-light);
}

/* Responsive Projects Grid */
@media (max-width: 1200px) {
	.projects-bento-grid .bento-template {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.projects-bento-grid .bento-template > *:nth-child(4n+1) {
		grid-column: span 1;
	}
	
	.projects-bento-grid .bento-template > *:nth-child(3n+1) {
		grid-column: span 2;
	}
}

@media (max-width: 768px) {
	.projects-bento-grid .bento-template {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.projects-bento-grid .bento-template > *:nth-child(n) {
		grid-column: span 1;
	}
	
	.projects-stats {
		gap: 16px;
	}
	
	.projects-stats .stat-item {
		padding: 16px 24px;
		min-width: 100px;
	}
	
	.projects-stats .stat-number {
		font-size: 1.5rem;
	}
	
	.project-bento-card {
		border-radius: 20px;
	}
	
	.project-arrow {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 480px) {
	.projects-stats {
		flex-direction: column;
		align-items: center;
	}
	
	.projects-stats .stat-item {
		width: 100%;
		max-width: 200px;
	}
}

/* ============================================
   Blog Section - Modern Card Design
   ============================================ */

.blog-section {
	position: relative;
}

/* Blog Cards */
.blog-grid .glass-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-grid .glass-card:hover {
	transform: translateY(-8px);
}

/* Blog Image Container */
.blog-grid .image-zoom {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.blog-grid .image-zoom .wp-block-post-featured-image {
	margin: 0;
	height: 100%;
}

.blog-grid .image-zoom .wp-block-post-featured-image a {
	display: block;
	height: 100%;
}

.blog-grid .image-zoom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-grid .glass-card:hover .image-zoom img {
	transform: scale(1.08);
}

/* Blog Post Content */
.blog-grid .wp-block-group:not(.image-zoom) {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Category Tags */
.blog-grid .wp-block-post-terms {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.blog-grid .wp-block-post-terms a {
	display: inline-block;
	padding: 4px 10px;
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: 20px;
	font-size: 0.7rem !important;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: all 0.2s ease;
}

.blog-grid .wp-block-post-terms a:hover {
	background: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.4);
}

/* Blog Post Title */
.blog-grid .wp-block-post-title a {
	text-decoration: none;
	transition: color 0.3s ease;
}

/* Blog Post Excerpt */
.blog-grid .wp-block-post-excerpt {
	flex: 1;
}

.blog-grid .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Blog Post Date */
.blog-grid .wp-block-post-date {
	font-size: 0.75rem;
}

/* Featured Image Placeholder when no image */
.blog-grid .wp-block-post-featured-image:empty::before {
	content: '';
	display: block;
	width: 100%;
	padding-bottom: 62.5%;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

/* Dark Mode Blog Section */
[data-theme="dark"] .blog-grid .wp-block-post-terms a {
	background: rgba(167, 139, 250, 0.15);
	border-color: rgba(167, 139, 250, 0.25);
	color: var(--wp--preset--color--primary-light);
}

[data-theme="dark"] .blog-grid .wp-block-post-terms a:hover {
	background: rgba(167, 139, 250, 0.25);
	border-color: rgba(167, 139, 250, 0.4);
}

/* ============================================
   Contact Section - Modern Redesign
   ============================================ */

.contact-section-modern {
	position: relative;
	overflow: hidden;
}

/* Contact Background Shapes */
.contact-bg-shapes {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.contact-shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.35;
}

.contact-shape-1 {
	width: 600px;
	height: 600px;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.6) 0%, rgba(99, 102, 241, 0.4) 100%);
	top: -200px;
	right: -150px;
	animation: contact-float-1 25s ease-in-out infinite;
}

.contact-shape-2 {
	width: 500px;
	height: 500px;
	background: linear-gradient(135deg, rgba(236, 72, 153, 0.5) 0%, rgba(244, 114, 182, 0.3) 100%);
	bottom: -150px;
	left: -100px;
	animation: contact-float-2 20s ease-in-out infinite;
}

.contact-shape-3 {
	width: 350px;
	height: 350px;
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.4) 0%, rgba(34, 211, 238, 0.2) 100%);
	top: 50%;
	left: 30%;
	transform: translate(-50%, -50%);
	animation: contact-float-3 18s ease-in-out infinite;
}

@keyframes contact-float-1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	25% { transform: translate(-50px, 40px) scale(1.08); }
	50% { transform: translate(-30px, -30px) scale(0.95); }
	75% { transform: translate(40px, 25px) scale(1.05); }
}

@keyframes contact-float-2 {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(60px, -40px) rotate(8deg); }
	66% { transform: translate(-30px, 50px) rotate(-5deg); }
}

@keyframes contact-float-3 {
	0%, 100% { transform: translate(-50%, -50%) scale(1); }
	50% { transform: translate(-50%, calc(-50% - 40px)) scale(1.15); }
}

/* Contact Grid Layout */
.contact-grid {
	position: relative;
	z-index: 1;
	align-items: flex-start !important;
}

.contact-info-column,
.contact-form-column {
	display: flex;
	flex-direction: column;
}

/* Contact Info Card */
.contact-info-card {
	position: relative;
}

/* Contact Items */
.contact-item {
	align-items: flex-start !important;
}

.contact-icon-wrapper {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: 12px;
	color: #8B5CF6;
	transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-wrapper {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(236, 72, 153, 0.15) 100%);
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

.contact-item .wp-block-group p {
	margin: 0 !important;
}

.contact-item-text p {
	margin: 0 !important;
	line-height: 1.4;
}

.contact-item a {
	color: inherit;
	transition: color 0.3s ease;
}

.contact-item a:hover {
	color: var(--wp--preset--color--primary);
}

/* Contact Divider */
.contact-divider {
	border: none !important;
	height: 1px !important;
	background: linear-gradient(90deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.2) 50%, transparent 100%) !important;
	opacity: 1 !important;
}

/* Social Links in Contact Card */
.social-links-contact {
	gap: 8px !important;
	margin: 0 !important;
}

.social-links-contact .wp-social-link {
	width: 36px;
	height: 36px;
	background: rgba(139, 92, 246, 0.1) !important;
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.social-links-contact .wp-social-link a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
}

.social-links-contact .wp-social-link svg {
	width: 18px !important;
	height: 18px !important;
}

.social-links-contact .wp-social-link:hover {
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%) !important;
	border-color: transparent;
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
}

.social-links-contact .wp-social-link:hover a {
	color: #ffffff !important;
}

/* Contact Form Card */
.contact-form-card {
	height: 100%;
}

.contact-form-card h3 {
	position: relative;
}

.contact-form-card h3::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 0;
	width: 50px;
	height: 3px;
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
	border-radius: 2px;
}

/* Modern Contact Form Styles */
.contact-form-modern {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-form-modern .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.contact-form-modern .form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-form-modern label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--text);
	letter-spacing: 0.02em;
}

.contact-form-modern .form-input {
	width: 100%;
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(139, 92, 246, 0.15);
	border-radius: 14px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--wp--preset--color--text);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;
	box-sizing: border-box;
}

.contact-form-modern .form-input::placeholder {
	color: var(--wp--preset--color--text-muted);
	opacity: 0.7;
}

.contact-form-modern .form-input:hover {
	border-color: rgba(139, 92, 246, 0.3);
	background: rgba(255, 255, 255, 0.1);
}

.contact-form-modern .form-input:focus {
	background: rgba(139, 92, 246, 0.08);
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 4px 12px rgba(139, 92, 246, 0.1);
}

.contact-form-modern .form-textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-form-modern .form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 18px 32px;
	background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
	color: #ffffff;
	border: none;
	border-radius: 14px;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	margin-top: 8px;
}

.contact-form-modern .form-submit::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.contact-form-modern .form-submit:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.contact-form-modern .form-submit:hover::before {
	opacity: 1;
}

.contact-form-modern .form-submit span,
.contact-form-modern .form-submit svg {
	position: relative;
	z-index: 1;
}

.contact-form-modern .form-submit svg {
	transition: transform 0.3s ease;
}

.contact-form-modern .form-submit:hover svg {
	transform: translateX(4px) translateY(-4px);
}

/* Contact Form Messages */
.contact-form-message {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 24px;
	font-size: 0.95rem;
	font-weight: 500;
	animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-message.success {
	background: rgba(34, 197, 94, 0.15);
	border: 1px solid rgba(34, 197, 94, 0.3);
	color: #22c55e;
}

.contact-form-message.error {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #ef4444;
}

.contact-form-message svg {
	flex-shrink: 0;
}

.contact-form-message.fade-out {
	animation: fadeOut 0.5s ease forwards;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeOut {
	to {
		opacity: 0;
		transform: translateY(-10px);
	}
}

[data-theme="dark"] .contact-form-message.success {
	background: rgba(34, 197, 94, 0.1);
	border-color: rgba(34, 197, 94, 0.25);
	color: #4ade80;
}

[data-theme="dark"] .contact-form-message.error {
	background: rgba(239, 68, 68, 0.1);
	border-color: rgba(239, 68, 68, 0.25);
	color: #f87171;
}

/* Dark Mode Contact Section */
[data-theme="dark"] .contact-shape {
	opacity: 0.2;
}

[data-theme="dark"] .contact-icon-wrapper {
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(244, 114, 182, 0.15) 100%);
	border-color: rgba(167, 139, 250, 0.25);
	color: #A78BFA;
}

[data-theme="dark"] .contact-item:hover .contact-icon-wrapper {
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.3) 0%, rgba(244, 114, 182, 0.2) 100%);
	box-shadow: 0 4px 16px rgba(167, 139, 250, 0.25);
}

[data-theme="dark"] .social-links-contact .wp-social-link {
	background: rgba(167, 139, 250, 0.15) !important;
	border-color: rgba(167, 139, 250, 0.25);
}

[data-theme="dark"] .contact-divider {
	background: linear-gradient(90deg, rgba(167, 139, 250, 0.3) 0%, rgba(244, 114, 182, 0.2) 50%, transparent 100%) !important;
}

[data-theme="dark"] .contact-form-modern label {
	color: #E8E8ED;
}

[data-theme="dark"] .contact-form-modern .form-input {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(167, 139, 250, 0.2);
	color: #E8E8ED;
}

[data-theme="dark"] .contact-form-modern .form-input:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(167, 139, 250, 0.35);
}

[data-theme="dark"] .contact-form-modern .form-input:focus {
	background: rgba(167, 139, 250, 0.1);
	border-color: var(--wp--preset--color--primary-light);
	box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.15), 0 4px 12px rgba(167, 139, 250, 0.15);
}

[data-theme="dark"] .contact-form-modern .form-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

/* Contact Section Full Width Centering */
.contact-section-modern > .wp-block-group {
	margin-left: auto;
	margin-right: auto;
}

/* Contact Section Responsive */
@media (max-width: 900px) {
	.contact-grid {
		flex-direction: column !important;
	}
	
	.contact-info-column,
	.contact-form-column {
		flex-basis: 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}
	
	.contact-info-column {
		order: 2;
	}
	
	.contact-form-column {
		order: 1;
		margin-bottom: var(--wp--preset--spacing--40);
	}
	
	/* Cards take full width in mobile */
	.contact-info-card,
	.contact-form-card {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.contact-section-modern {
		padding-left: var(--wp--preset--spacing--30) !important;
		padding-right: var(--wp--preset--spacing--30) !important;
	}
	
	.contact-form-modern .form-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.contact-form-modern .form-input {
		padding: 14px 16px;
		border-radius: 12px;
	}
	
	.contact-form-modern .form-submit {
		padding: 16px 24px;
		border-radius: 12px;
	}
	
	.contact-info-card,
	.contact-form-card {
		width: 100%;
		max-width: 100%;
		padding: 24px !important;
		border-radius: 18px !important;
	}
	
	.contact-icon-wrapper {
		width: 38px;
		height: 38px;
		border-radius: 10px;
	}
	
	.contact-icon-wrapper svg {
		width: 18px;
		height: 18px;
	}
	
	.social-links-contact .wp-social-link {
		width: 32px;
		height: 32px;
		border-radius: 8px;
	}
	
	.social-links-contact .wp-social-link svg {
		width: 16px !important;
		height: 16px !important;
	}
}

