/* Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #0a0a0f; /* Darker bg for impact */
	--secondary: #161616;
	--tertiary: #1f1f1f;
	--accent: #00ff88; /* Brighter green from claud for punch */
	--accent-dark: #00c853;
	--text: #e0e0e0;
	--text-muted: #a0a0a0;
	--border: #2c2c2c;
	--gradient-start: #00ff88;
	--gradient-end: #00a0f0; /* Light Blue */
	--shadow-color: rgba(0, 255, 136, 0.2); /* Updated shadow */

	/* Social Colors - Harmonized with accent */
	--social-primary: var(--accent);
	--social-secondary: var(--accent-dark);
	--social-text: var(--primary);
}

body {
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: var(--primary);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Utility Classes */
.text-gradient {
	background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.mono {
	font-family: 'IBM Plex Mono', monospace;
}

/* Custom Cursor for impact */
.cursor {
	width: 20px;
	height: 20px;
	border: 2px solid var(--accent);
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	z-index: 9999;
	transition: all 0.1s ease;
	transform: translate(-50%, -50%);
}

.cursor-follower {
	width: 40px;
	height: 40px;
	border: 1px solid var(--accent);
	border-radius: 50%;
	position: fixed;
	pointer-events: none;
	z-index: 9998;
	transition: all 0.3s ease;
	transform: translate(-50%, -50%);
	opacity: 0.5;
}

/* Header/Hero Section - Keep structure, add animations */
header {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	padding: 4rem 0;
	background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
	overflow: hidden;
	isolation: isolate;
}

.hero-background-grid {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		linear-gradient(to right, var(--tertiary) 1px, transparent 1px),
		linear-gradient(to bottom, var(--tertiary) 1px, transparent 1px);
	background-size: 80px 80px;
	opacity: 0.1;
	z-index: -1;
	animation: panBackground 60s linear infinite;
}

@keyframes panBackground {
	from { background-position: 0 0; }
	to { background-position: -800px -800px; }
}

.hero-content {
	opacity: 0;
	animation: fadeInUp 1.2s ease forwards 0.3s;
	position: relative;
	z-index: 1;
}

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

.hero-content {
	transform: translateY(30px);
}

.label {
	font-size: 0.95rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
	font-weight: 500;
}

h1 {
	font-size: clamp(2.8rem, 8vw, 5.5rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	letter-spacing: -0.03em;
}

.hero-description {
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	color: var(--text-muted);
	max-width: 750px;
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.cta-group {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-bottom: 4rem;
}

.btn {
	padding: 1.1rem 2.4rem;
	border-radius: 0.6rem;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	font-size: 1.05rem;
	gap: 0.75rem;
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background: var(--accent);
	color: var(--primary);
	box-shadow: 0 10px 25px var(--shadow-color);
}

.btn-primary:hover {
	background: var(--accent-dark);
	transform: translateY(-3px) scale(1.05); /* Added scale for punch */
	box-shadow: 0 15px 35px var(--shadow-color);
}

.btn-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover::before {
	left: 100%;
}

.btn-secondary {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
}

.btn-secondary:hover {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-3px) scale(1.05); /* Added scale */
	box-shadow: 0 5px 15px rgba(0, 230, 118, 0.1);
}

/* Stats with punchy language */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--border);
}

.stat-item {
	text-align: left;
	position: relative;
}

.stat-number {
	font-size: 3rem;
	font-weight: 700;
	color: var(--accent);
	display: block;
	line-height: 1;
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}

.stat-label {
	font-size: 0.9rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
}

/* Section Styling */
section {
	padding: 8rem 0;
	border-top: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}

.section-header {
	margin-bottom: 5rem;
	position: relative;
	z-index: 1;
}

.section-number {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 1rem;
	color: var(--accent);
	font-weight: 600;
	margin-bottom: 0.75rem;
	letter-spacing: 0.1em;
}

h2 {
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 1.25rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.section-description {
	font-size: 1.2rem;
	color: var(--text-muted);
	max-width: 650px;
	line-height: 1.7;
}

/* Philosophy Section */
.philosophy-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.5rem;
}

.philosophy-card {
	background: var(--secondary);
	border-radius: 1rem;
	border: 1px solid var(--border);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow: hidden;
	
	/* Subgrid setup */
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	
	/* Desktop padding */
	padding: 2.5rem;
	
	/* Mobile: remove padding and center content */
	@media (max-width: 768px) {
		padding: 0;
		/* text-align: center; */
	}
}

.philosophy-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 10% 10%, rgba(0, 230, 118, 0.05), transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
}

.philosophy-card:hover::before {
	opacity: 1;
}

.philosophy-card:hover {
	border-color: var(--accent-dark);
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0, 230, 118, 0.15);
}

.philosophy-icon {
	font-size: 2.5rem;
	margin-bottom: 1.25rem;
	color: var(--accent);
	display: inline-block;
	transition: transform 0.3s ease;
	position: relative;
	z-index: 1;
	
	/* Fix: Prevent icon from stretching */
	width: fit-content;
	height: fit-content;
	
	/* Mobile: center and add top padding */
	@media (max-width: 768px) {
		/* margin: 1.5rem auto 1rem; */
	}
}

.philosophy-card:hover .philosophy-icon {
	transform: scale(1.1);
}

.philosophy-card h3 {
	font-size: 1.7rem;
	margin-bottom: 1rem;
	color: var(--text);
	font-weight: 600;
	position: relative;
	z-index: 1;
	
	/* Mobile: add horizontal padding */
	@media (max-width: 768px) {
		padding: 0 1rem;
		font-size: 1.5rem;
	}
}

.philosophy-card p {
	color: var(--text-muted);
	line-height: 1.7;
	font-size: 1.05rem;
	position: relative;
	z-index: 1;
	
	/* Mobile: add padding */
	@media (max-width: 768px) {
		padding: 0 1rem 1.5rem;
		font-size: 1rem;
	}
}

/* Fallback for browsers that don't support subgrid */
@supports not (grid-template-rows: subgrid) {
	.philosophy-card {
		display: flex;
		flex-direction: column;
		grid-row: auto;
	}
	
	#education .philosophy-card {
		grid-row: auto;
	}
}

/* Why Work With Me Section */
.value-props {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.value-card {
	background: var(--secondary);
	padding: 2.5rem;
	border-radius: 1rem;
	border: 1px solid var(--border);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow: hidden;
}

.value-card:hover {
	border-color: var(--accent-dark);
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0, 230, 118, 0.15);
}

.value-number {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 1.5rem;
	opacity: 0.7;
}

.value-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--text);
	font-weight: 600;
}

.value-card p {
	color: var(--text-muted);
	line-height: 1.7;
	font-size: 1.05rem;
}

/* Process Section */
.process-steps {
	display: grid;
	gap: 2.5rem;
	margin-top: 3rem;
}

.process-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2.5rem;
	padding: 2.5rem;
	background: var(--secondary);
	border-radius: 1rem;
	border: 1px solid var(--border);
	align-items: start;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	/* Mobile: single column (stack number above content) */
	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 2rem;
	}
}

.process-step:hover {
	border-color: var(--accent-dark);
	box-shadow: 0 10px 20px rgba(0, 230, 118, 0.1);
}

.step-number {
	width: 3.5rem;
	height: 3.5rem;
	background: var(--accent);
	color: var(--primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	font-weight: 700;
	flex-shrink: 0;
	font-family: 'IBM Plex Mono', monospace;
}

.step-content h3 {
	font-size: 1.6rem;
	margin-bottom: 0.75rem;
	color: var(--text);
	font-weight: 600;
}

.step-content p {
	color: var(--text-muted);
	line-height: 1.7;
	font-size: 1.05rem;
}


/* Tech Stack Marquee */
.tech-marquee {
	overflow: hidden;
	padding: 3rem 0;
	background: rgba(0, 255, 136, 0.05); /* Accent green tint */
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin-top: 4rem;
}

.marquee-content {
	display: flex;
	animation: marquee 30s linear infinite;
	gap: 3rem;
	align-items: center;
	white-space: nowrap;
}

.tech-item {
	font-size: 2rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--text);
	opacity: 0.6;
	transition: all 0.3s;
	font-family: 'IBM Plex Mono', monospace;
}

.tech-item:hover {
	opacity: 1;
	color: var(--accent);
	transform: scale(1.1);
}

@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Tech Radar Section */
#techRadar {
	width: 100%;
	height: auto;
}
#techRadarSection {
	background: var(--secondary);
	padding-bottom: 8rem; /* Ensure space below for charts */
}

.radar-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 3.5rem;
	background: var(--tertiary);
	border-radius: 1rem;
	border: 1px solid var(--border);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	position: relative;
	@media (max-width: 768px) {
		padding: 0;
	}	
}

/* #techRadar {
	max-height: 600px;
} */

.radar-legend {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
	font-family: 'IBM Plex Mono', monospace;
	@media (max-width: 768px) {
		margin-top: 0;
		gap: 0;
		justify-items: center;
	}	
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-muted);
}

.legend-dot {
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid var(--primary);
}

/* Tech Grid */
.expertise-categories {
	display: grid;
	gap: 3.5rem;
	margin-top: 5rem;
}

.expertise-category {
	padding: 2.5rem;
	background: var(--secondary);
	border-radius: 1rem;
	border: 1px solid var(--border);
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.expertise-category:hover {
	border-color: var(--accent-dark);
	box-shadow: 0 10px 20px rgba(0, 230, 118, 0.1);
}

.expertise-category h3 {
	font-size: 1.8rem;
	margin-bottom: 1.75rem;
	color: var(--accent);
	font-weight: 600;
}

.tech-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	align-items: flex-start;
}

.tech-item {
	padding: 1rem 1.25rem;
	background: var(--tertiary);
	border-radius: 0.6rem;
	text-align: center;
	font-size: 0.95rem;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	border: 1px solid var(--border);
	color: var(--text-muted);
	font-family: 'IBM Plex Mono', monospace;
	
	/* Ensure text stays inside */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	
	/* Allow item to size based on content */
	flex: 0 1 auto;
	min-width: fit-content;
	max-width: 100%;
	
	/* Prevent text from breaking */
	word-break: keep-all;
}

.tech-item:hover {
	border-color: var(--accent);
	transform: translateY(-3px) scale(1.02);
	color: var(--accent);
	background: rgba(0, 230, 118, 0.05);
}

/* Alternative approach: Allow wrapping for longer tech names */
/* Uncomment this if you prefer multi-line tech items instead of ellipsis */
/*
.tech-item {
	padding: 1rem 1.25rem;
	background: var(--tertiary);
	border-radius: 0.6rem;
	text-align: center;
	font-size: 0.95rem;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	border: 1px solid var(--border);
	color: var(--text-muted);
	font-family: 'IBM Plex Mono', monospace;
	
	flex: 0 1 auto;
	min-width: max-content;
	max-width: 200px;
	
	word-wrap: break-word;
	hyphens: auto;
	line-height: 1.4;
}
*/

/* Projects Section */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
}

.project-card {
	background: var(--secondary);
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--border);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	display: grid;
	
	/* Reserve space for subgrid */
	grid-row: span 4;
	grid-template-rows: subgrid;
}

.project-card:hover {
	border-color: var(--accent-dark);
	box-shadow: 0 15px 30px rgba(0, 230, 118, 0.15);
	transform: translateY(-8px) scale(1.02);
}

.project-content {
	padding: 2.5rem;
	display: grid;
	
	/* Inherit subgrid from parent */
	grid-row: span 4;
	grid-template-rows: subgrid;
	align-content: start;
	
	/* Mobile adjustments */
	@media (max-width: 768px) {
		padding: 0;
		/* text-align: center; */
	}
}

.project-tags {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
	
	/* Fix: Align tags to start so they don't stretch */
	align-items: flex-start;
	align-content: flex-start;
	
	/* Mobile: center tags and adjust spacing */
	@media (max-width: 768px) {
		/* justify-content: center; */
		margin-bottom: 1rem;
		padding: 1.5rem 1rem 0;
	}
}

.tag {
	padding: 0.3rem 0.9rem;
	background: var(--primary);
	border-radius: 1.2rem;
	font-size: 0.8rem;
	color: var(--accent);
	border: 1px solid var(--border);
	font-family: 'IBM Plex Mono', monospace;
	white-space: nowrap;
	
	/* Fix: Prevent tags from stretching vertically */
	width: fit-content;
	height: fit-content;
}

.project-card h3 {
	font-size: 1.6rem;
	margin-bottom: 1rem;
	color: var(--text);
	font-weight: 600;
	
	/* Mobile adjustments */
	@media (max-width: 768px) {
		padding: 0 1rem;
		font-size: 1.4rem;
	}
}

.project-card p {
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
	
	/* Mobile adjustments */
	@media (max-width: 768px) {
		padding: 0 1rem;
		font-size: 1rem;
	}
}

.project-link {
	color: var(--accent);
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	transition: all 0.3s ease;
	font-size: 1.05rem;
	align-self: end;
	
	/* Fix: Ensure link doesn't stretch */
	width: fit-content;
	
	/* Mobile: center the link */
	@media (max-width: 768px) {
		/* margin: 0 auto 1.5rem; */
		padding-left: 1rem;
		font-size: 1rem;
	}
}

.project-link:hover {
	text-decoration: underline;
	gap: 0.8rem;
	color: var(--accent-dark);
}

/* Fallback for browsers that don't support subgrid */
@supports not (grid-template-rows: subgrid) {
	.project-card {
		display: flex;
		flex-direction: column;
		grid-row: auto;
	}
	
	.project-content {
		display: flex;
		flex-direction: column;
		flex-grow: 1;
		grid-row: auto;
	}
	
	.project-card p {
		flex-grow: 1;
	}
}

/* From Code to Leadership & Back - Content from index.html, impactful style */
.timeline {
	position: relative;
	padding-left: 0;
	padding-top: 2rem;
	padding-bottom: 2rem;
	/* Add horizontal padding to prevent edge clipping */
	padding-left: 1rem;
	padding-right: 1rem;
	/* Ensure overflow is visible */
	overflow: visible;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--accent), var(--gradient-end));
	z-index: 0;
}

.timeline-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	margin-bottom: 4rem;
	position: relative;
	align-items: flex-start;
	/* Ensure overflow is visible for this item too */
	overflow: visible;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0.5rem;
	transform: translateX(-50%);
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background: var(--accent);
	border: 3px solid var(--primary);
	z-index: 1;
	box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2);
}

.timeline-item:nth-child(odd) {
	text-align: right;
	grid-template-columns: 1fr auto;
	padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(odd) .timeline-content {
	grid-column: 1;
}

.timeline-item:nth-child(even) {
	text-align: left;
	grid-template-columns: auto 1fr;
	padding-left: calc(50% + 2rem);
}

.timeline-item:nth-child(even) .timeline-content {
	grid-column: 2;
}

.timeline-content {
	padding: 2rem;
	background: var(--secondary);
	border: 1px solid var(--border);
	border-radius: 1rem;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	/* Ensure the content itself doesn't clip */
	overflow: visible;
}

.timeline-content:hover {
	border-color: var(--accent-dark);
	box-shadow: 0 10px 20px rgba(0, 230, 118, 0.1);
	transform: scale(1.02);
}

.timeline-item:nth-child(odd) .timeline-content:hover {
	/* Reduced translateX to prevent edge clipping */
	transform: translateX(-6px) scale(1.02);
}

.timeline-item:nth-child(even) .timeline-content:hover {
	/* Reduced translateX to prevent edge clipping */
	transform: translateX(6px) scale(1.02);
}

.timeline-year {
	font-size: 0.95rem;
	color: var(--accent);
	font-weight: 600;
	margin-bottom: 0.75rem;
	font-family: 'IBM Plex Mono', monospace;
}

.timeline-item h3 {
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
	color: var(--text);
	font-weight: 600;
}

.timeline-company {
	color: var(--text-muted);
	margin-bottom: 1.25rem;
	font-size: 1.05rem;
}

.timeline-description {
	color: var(--text-muted);
	line-height: 1.7;
	font-size: 1.05rem;
}

/* Education Section */
#education .philosophy-card {
	background: var(--tertiary);
	
	/* Education cards have 2 rows (no icon) */
	grid-row: span 2;
}

#education .philosophy-card:hover {
	border-color: var(--accent-dark);
	box-shadow: 0 15px 30px rgba(0, 230, 118, 0.15);
}

#education .philosophy-card h3 {
	color: var(--text);
	
	/* Mobile: adjust top padding for education cards (no icon) */
	@media (max-width: 768px) {
		padding: 1.5rem 1rem 0;
	}
}

#education .philosophy-card p {
	color: var(--text-muted);
}

#education .philosophy-card p strong {
	color: var(--accent);
}

/* Special styling for institution names in education section */
#education .philosophy-card p[style*="color: var(--accent)"] {
	color: var(--accent);
	font-weight: 600;
	margin-bottom: 0.5rem;
	
	@media (max-width: 768px) {
		padding: 0 1rem;
	}
}

/* Connect with Me Section - Harmonized with accent colors */
.social-connect-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.social-card {
	padding: 2.5rem;
	background: var(--secondary);
	border-radius: 1rem;
	border: 1px solid var(--border);
	text-align: center;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.social-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
	border-color: var(--social-primary); /* Use accent for hover border */
}

.social-icon {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease;
	color: var(--social-primary); /* Apply accent color to icons */
}

.social-card:hover .social-icon {
	transform: scale(1.1);
	filter: brightness(1.2); /* Slight glow on hover */
}

.social-card h3 {
	font-size: 1.6rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
	color: var(--text); /* Keep heading color consistent */
}

.social-card p {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
	line-height: 1.6;
	font-size: 1.05rem;
}

.social-card .btn {
	padding: 0.9rem 1.8rem;
	font-size: 0.95rem;
	width: auto;
	border-radius: 0.5rem;
	background: var(--social-primary);
	color: var(--social-text);
	box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3); /* Accent shadow */
}

.social-card .btn:hover {
	background: var(--social-secondary);
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4); /* Darker accent shadow */
}

/* Contact Section */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
}

.contact-card {
	background: var(--secondary);
	padding: 2.5rem;
	border-radius: 1rem;
	border: 1px solid var(--border);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow: hidden;
	text-align: center;
}

.contact-card:hover {
	border-color: var(--accent-dark);
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 15px 30px rgba(0, 230, 118, 0.15);
}

.contact-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--accent); /* Ensure consistency */
}

.contact-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--text);
	font-weight: 600;
}

.contact-card a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	transition: all 0.3s ease;
	font-size: 1.05rem;
}

.contact-card a:hover {
	text-decoration: underline;
	gap: 0.8rem;
	color: var(--accent-dark);
}

.calendly-link {
	display: inline-block;
	margin-top: 1.5rem;
	padding: 1rem 2rem;
	background: var(--accent);
	color: var(--primary) !important;
	border-radius: 0.6rem;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	font-size: 1rem;
	box-shadow: 0 8px 20px var(--shadow-color);
}

.calendly-link:hover {
	background: var(--accent-dark);
	transform: translateY(-2px);
	box-shadow: 0 12px 25px var(--shadow-color);
}

iframe {
	width: 100%;
	height: 150px;
	border: 0;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	max-width: 400px; /* Ensure map doesn't over-expand on larger screens */
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
	padding: 4rem 0;
	text-align: center;
	border-top: 1px solid var(--border);
}

footer p {
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* Scroll Progress Bar */
.progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
	z-index: 1000;
	transition: width 0.1s ease-out;
	box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); /* Updated shadow */
}

/* Responsive */
@media (max-width: 992px) {
	.hero-description {
		font-size: 1.1rem;
	}
	.stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.section-header {
		margin-bottom: 3rem;
	}
	h2 {
		font-size: 2.5rem;
	}
	.section-description {
		font-size: 1.05rem;
	}
	.timeline-item:nth-child(odd),
	.timeline-item:nth-child(even) {
		padding-left: 0;
		padding-right: 0;
		grid-template-columns: 1fr;
		text-align: left;
	}
	.timeline-item:nth-child(odd) .timeline-content,
	.timeline-item:nth-child(even) .timeline-content {
		grid-column: 1;
		transform: translateX(0); /* Reset transform for smaller screens */
	}
	.timeline-item::before {
		left: 1rem; /* Adjust position for single column timeline */
		transform: translateX(-50%);
	}
	.timeline::before {
		left: 1rem; /* Adjust position for single column timeline */
		transform: translateX(-50%);
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 1.5rem;
	}
	section {
		padding: 6rem 0;
	}
	h1 {
		font-size: 3rem;
	}
	.cta-group {
		flex-direction: column;
		gap: 1rem;
	}
	.btn {
		width: 100%;
		padding: 0.9rem 1.5rem;
		font-size: 0.95rem;
	}
	.stats {
		grid-template-columns: 1fr;
	}
	.stat-number {
		font-size: 2.5rem;
	}
	.philosophy-card, .value-card, .process-step, .project-card, .contact-card, .social-card {
		padding: 2rem;
	}
	.timeline {
		padding-left: 2.5rem;
	}
	.timeline-item {
		padding-left: 1.5rem;
		padding-bottom: 3rem;
	}
	.timeline-item::before {
		left: -0.5rem;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 2.5rem;
	}
	.hero-description {
		font-size: 1rem;
	}
	h2 {
		font-size: 2rem;
	}
	.philosophy-card h3, .value-card h3, .process-step h3, .project-card h3, .social-card h3 {
		font-size: 1.4rem;
	}
	.tech-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	}
}

/* Selection */
::selection {
	background: var(--accent);
	color: var(--primary);
}

/* Animations and Reveals */
.reveal {
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}