/* style.css — fully updated (NAVBAR buttons right on homepage + service page; Recent Projects titles styled bright heading color) */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

/* Root variables */
:root {
	--bg-dark: #0b0f16;
	--accent1: #ad29e5;
	--accent2: #ff6b88;
	--cta-a: #00d4ff;
	--cta-b: #6a00ff;
	--text-light: #f5f7fa;
	--text-muted: #b0b8c3;
	--glass: rgba(255, 255, 255, 0.03);
	--glass-strong: rgba(255, 255, 255, 0.06);
	--radius: 14px;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	--max-width: 1200px;
	--header-h: 72px;
	--trans: 260ms;
}

/* service page override */
#servicePage {
	--accent2: #ffffff;
	--cta-b: #8067bb;
}

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

html {
	font-size: 10px;
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: var(--text-light);
	background: linear-gradient(180deg, #07101a, #0f1720);
	min-height: 100vh;
	padding-top: var(--header-h);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

/* container */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* Header (applies site-wide: homepage + service page) */
#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--header-h);
	z-index: 3000;
	backdrop-filter: blur(6px) saturate(120%);
	background: rgba(10, 12, 16, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* NOTE: HTML uses <div class="header container"> inside the #header.
   Ensure brand sits left and nav sits right. */
.header.container {
	/* match visual width + centering similar to .header-inner */
	max-width: var(--max-width);
	height: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* brand left, nav right */
	padding: 12px 22px;
	gap: 24px;
	transition: background-color var(--trans), box-shadow var(--trans);
	border-radius: 0 0 12px 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	box-shadow: var(--shadow);
}

/* keep existing .header-inner for cases where it's used */
.header-inner {
	max-width: var(--max-width);
	height: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	/* brand left */
	padding: 12px 22px;
	gap: 24px;
	transition: background-color var(--trans), box-shadow var(--trans);
	border-radius: 0 0 12px 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	box-shadow: var(--shadow);
}

#header.scrolled .header-inner,
#header.scrolled .header.container {
	background: linear-gradient(180deg, rgba(8, 12, 18, 0.96), rgba(10, 14, 22, 0.95));
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.72);
}

/* Brand */
.brand .site-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 800;
	font-size: 2.2rem;
	color: #fff;
	letter-spacing: 0.4px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	margin: 0;
	position: relative;
	padding-bottom: 6px;
}

.brand a {
	text-decoration: none;
	color: inherit;
	display: inline-block;
}

/* Animated decorative underline (replaces blue line) */
.brand .site-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	height: 4px;
	width: 0%;
	border-radius: 4px;
	background: linear-gradient(90deg, rgba(0, 212, 255, 0.95), rgba(139, 92, 246, 0.95));
	box-shadow: 0 6px 18px rgba(139, 92, 246, 0.12), 0 2px 8px rgba(0, 212, 255, 0.08);
	transition: width 900ms cubic-bezier(.2, .9, .3, 1), opacity 400ms;
	opacity: 0.95;
	animation: underlineLoad 1.1s ease 0.12s forwards;
}

.brand .site-title:hover::after {
	width: 100%;
	filter: blur(0.6px);
	box-shadow: 0 10px 26px rgba(139, 92, 246, 0.18), 0 6px 20px rgba(0, 212, 255, 0.12);
}

@keyframes underlineLoad {
	0% {
		width: 0%;
		opacity: 0;
		transform: translateX(-6px) scaleX(0.98)
	}

	60% {
		width: 88%;
		opacity: 1;
		transform: translateX(0) scaleX(1.02)
	}

	100% {
		width: 92%;
		opacity: 1;
		transform: translateX(0) scaleX(1)
	}
}

/* NAV: push to right on all pages (homepage + service pages) */
/* Ensure nav-list sits to the right of the brand when inside .header.container */
.nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.header.container .nav-list,
#header .nav-list {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Desktop list */
.nav-list ul {
	display: flex;
	gap: 12px;
	list-style: none;
	align-items: center;
	margin: 0;
	padding: 0;
}

/* Specifically push desktop UL to the right (if any other layout defaults exist) */
.nav-list ul.desktop {
	margin-left: auto;
}

/* Links styling */
.nav-list ul.desktop a,
.nav-list ul.mobile a {
	font-size: 1.5rem;
	color: var(--text-light);
	padding: 6px 10px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-block;
	transition: color var(--trans), background var(--trans);
}

/* Slight hover for nav links */
.nav-list ul.desktop a:hover {
	color: var(--accent1);
}

/* nav-pill */
.nav-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border-radius: 28px;
	font-size: 1.5rem;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	border: 1px solid rgba(255, 255, 255, 0.04);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
	transition: all var(--trans);
}

.nav-pill:hover,
.nav-pill.active {
	background: linear-gradient(90deg, var(--accent1), var(--accent2));
	transform: translateY(-4px);
	box-shadow: 0 18px 48px rgba(255, 45, 85, 0.16);
}

/* Hamburger */
.hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	height: 52px;
	width: 52px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: transparent;
	cursor: pointer;
}

.hamburger .bar {
	width: 24px;
	height: 2px;
	background: #fff;
	position: relative;
	display: block;
}

.hamburger .bar::before,
.hamburger .bar::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	background: #fff;
	left: 0;
}

.hamburger .bar::before {
	top: -7px;
}

.hamburger .bar::after {
	top: 7px;
}

.hamburger[aria-expanded="true"] .bar {
	transform: rotate(90deg);
}

/* Mobile overlay nav */
.nav-list ul.mobile {
	position: fixed;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 8, 12, 0.98), rgba(4, 6, 8, 0.99));
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: center;
	justify-content: center;
	transform: translateX(100%);
	transition: transform 420ms cubic-bezier(.2, .9, .3, 1);
	z-index: 2999;
}

.nav-list ul.mobile.active {
	transform: translateX(0);
}

.nav-list ul.mobile li a.nav-pill {
	width: 75%;
	text-align: center;
}

/* HERO */
#hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px 80px;
	overflow: hidden;
	background-color: #07101a;
	background-image: url('./img/hero-bg.jpg');
	background-size: cover;
	background-position: center center;
}

#hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(3, 6, 12, 0.55), rgba(3, 6, 12, 0.35));
	z-index: 0;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	mix-blend-mode: screen;
	opacity: 0.95;
	background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0 1px, transparent 1px 36px), radial-gradient(circle at 1% 20%, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.02) 6px, transparent 8px);
	background-size: 100% 100%, 100% 100%, 1400px 1400px;
	animation: overlayShift 12s linear infinite, dotsMove 18s linear infinite;
	filter: blur(6px) contrast(1.05) saturate(1.1);
}

@keyframes overlayShift {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-12px);
	}

	100% {
		transform: translateY(0);
	}
}

@keyframes dotsMove {
	0% {
		background-position: 0 0;
	}

	50% {
		background-position: 600px 300px;
	}

	100% {
		background-position: 0 0;
	}
}

.hero-inner {
	position: relative;
	z-index: 2;
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.hero-left {
	width: 100%;
	max-width: 980px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: flex-start;
	padding: 120px 20px;
}

.hero-left h1 {
	font-size: 5.6rem;
	line-height: 1.02;
	margin: 0;
	font-weight: 800;
	background: linear-gradient(90deg, #fff, var(--accent1), var(--accent2));
	-webkit-background-clip: text;
	color: transparent;
}

.hero-left p {
	font-size: 1.9rem;
	color: var(--text-muted);
	max-width: 730px;
	margin-top: 4px;
}

/* push hero CTAs visually to the right on wide screens */
.hero-ctas {
	display: flex;
	gap: 12px;
	margin-top: 12px;
	align-self: flex-end;
}

/* CTA */
.cta {
	padding: 14px 34px;
	border-radius: 12px;
	font-size: 1.6rem;
	background: linear-gradient(90deg, var(--accent1), var(--accent2));
	color: #fff;
	text-decoration: none;
	box-shadow: 0 12px 36px rgba(255, 45, 85, 0.12);
	transition: transform .25s;
}

.cta:hover {
	transform: translateY(-5px);
}

.cta.resume {
	padding: 12px 26px;
	border-radius: 12px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
	position: relative;
	overflow: hidden;
}

.cta.resume::before {
	content: "";
	position: absolute;
	inset: -8%;
	z-index: 0;
	background: linear-gradient(90deg, rgba(255, 45, 85, 0.25), rgba(255, 107, 136, 0.18), rgba(255, 255, 255, 0.06));
	filter: blur(20px);
	opacity: 0.55;
	transform: translateX(-40%);
	animation: resumeGradientMove 6s linear infinite;
}

@keyframes resumeGradientMove {
	0% {
		transform: translateX(-40%);
		opacity: 0.52;
	}

	50% {
		transform: translateX(10%);
		opacity: 0.7;
	}

	100% {
		transform: translateX(40%);
		opacity: 0.52;
	}
}

/* Sections and cards */
section {
	padding: 80px 20px;
}

.section-title {
	font-size: 3.4rem;
	text-transform: uppercase;
	letter-spacing: .2rem;
	margin-bottom: 20px;
	text-align: center;
}

.section-title span {
	color: var(--accent1);
}

.service-flex,
.contact-items {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.service-item,
.contact-item,
.project-item {
	flex: 1 1 260px;
	background: rgba(255, 255, 255, 0.02);
	padding: 20px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform var(--trans);
}

.service-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	padding: 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.012));
	border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-item h2,
.service-item h3 {
	font-size: 1.8rem;
	margin-bottom: 6px;
	color: #fff;
	letter-spacing: 0.02rem;
	font-weight: 700;
}

.service-item p {
	color: var(--text-muted);
	font-size: 1.35rem;
	line-height: 1.6;
	margin-bottom: 8px;
}

/* service-btn */
.service-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 12px;
	background: linear-gradient(90deg, var(--cta-a), var(--cta-b));
	color: #fff;
	font-weight: 700;
	font-size: 1.4rem;
	text-decoration: none;
	cursor: pointer;
	border: none;
	box-shadow: 0 8px 28px rgba(106, 0, 255, 0.10), inset 0 -6px 18px rgba(255, 255, 255, 0.03);
	transition: transform .22s cubic-bezier(.2, .9, .3, 1), box-shadow .22s, filter .22s;
	position: relative;
	overflow: hidden;
}

.service-btn::before {
	content: "";
	position: absolute;
	left: -40%;
	top: -20%;
	width: 40%;
	height: 140%;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 60%, rgba(255, 255, 255, 0));
	transform: skewX(-20deg);
	opacity: 0;
	transition: left .45s cubic-bezier(.22, .9, .3, 1), opacity .25s;
	pointer-events: none;
}

.service-btn::after {
	content: "→";
	display: inline-block;
	margin-left: 4px;
	transform: translateX(0);
	transition: transform .22s ease, opacity .22s ease;
	opacity: 0.98;
}

.service-btn:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 18px 56px rgba(0, 212, 255, 0.10), 0 8px 40px rgba(106, 0, 255, 0.12);
	filter: saturate(1.05);
}

.service-btn:hover::before {
	left: 120%;
	opacity: 1;
}

.service-btn:hover::after {
	transform: translateX(8px);
}

.service-btn:focus {
	outline: 3px solid rgba(0, 212, 255, 0.16);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.06);
}

.service-btn.ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--text-light);
	box-shadow: none;
}

.service-btn.ghost:hover {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	transform: translateY(-4px);
}

.service-item:hover,
.contact-item:hover,
.project-item:hover {
	transform: translateY(-8px);
}

/* Projects grid */
.all-projects {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

/* Updated project image rules for reliable visibility on all devices */
.project-item img {
	display: block;
	/* remove inline quirks */
	width: 100%;
	height: 200px;
	/* desktop default */
	max-height: 320px;
	min-height: 140px;
	object-fit: cover;
	border-radius: 8px;
}

/* Mobile-friendly image sizing: increase height a bit to avoid tiny thumbnails */
@media (max-width: 780px) {
	.project-item img {
		height: 220px;
		min-height: 160px;
	}
}

@media (max-width: 480px) {
	.project-item img {
		height: 220px;
		min-height: 160px;
	}
}

/* ----------------- RECENT PROJECTS - TITLES STYLING ----------------- */
/* Make the titles look like headings with a bright accent color (not default blue links) */
.projects .project-info h3,
.projects .project-info h3 a {
	/* ensure h3 fallback if a tag missing */
	font-size: 1.9rem;
	font-weight: 700;
	margin: 0 0 6px 0;
}

.projects .project-info h3 a {
	color: var(--accent1);
	text-decoration: none;
	transition: color var(--trans), transform var(--trans), text-shadow var(--trans);
	display: inline-block;
}

.projects .project-info h3 a:hover {
	color: var(--accent2);
	transform: translateY(-2px);
	text-shadow: 0 2px 8px rgba(255, 45, 85, 0.35);
}

/* Project subtitle and description */
.projects .project-info h4 {
	color: var(--text-muted);
	font-size: 1.3rem;
	margin: 0 0 6px;
}

.projects .project-info p {
	color: var(--text-light);
	font-size: 1.35rem;
	line-height: 1.55;
}

/* About, Contact, Footer */
.about {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
}

.col-left {
	flex: 0 0 320px;
	max-width: 360px;
}

.about-img {
	width: 100%;
	height: 360px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.about-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.col-right {
	flex: 1 1 520px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.col-right .cta.resume {
	margin-top: 18px;
}

#contact {
	padding: 70px 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
}

#contact .container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

#contact .contact-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
	margin-top: 18px;
}

#contact .contact-item {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 22px;
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(255, 255, 255, 0.04);
	box-shadow: 0 12px 40px rgba(2, 6, 12, 0.6);
	position: relative;
	overflow: hidden;
}

#contact .contact-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 6px;
	background: linear-gradient(180deg, var(--accent1), var(--accent2));
	border-top-left-radius: 14px;
	border-bottom-left-radius: 14px;
}

#contact .contact-item .icon {
	flex: 0 0 84px;
	height: 84px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	border: 1px solid rgba(255, 255, 255, 0.05);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), inset 0 -6px 14px rgba(255, 255, 255, 0.02);
}

#contact .contact-item .icon img {
	width: 48px;
	height: 48px;
	filter: grayscale(1);
	transition: filter .2s, transform .25s;
}

#contact .contact-item .contact-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}

#contact .contact-item .contact-info h1 {
	font-size: 1.6rem;
	margin: 0;
	color: #fff;
	font-weight: 700;
}

#contact .contact-item .contact-info h2 {
	font-size: 1.3rem;
	margin: 0;
	color: var(--text-muted);
	font-weight: 500;
}

#contact .contact-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 28px 80px rgba(2, 6, 12, 0.75);
}

#contact .contact-item:hover .icon {
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.6), inset 0 -8px 18px rgba(255, 255, 255, 0.02);
}

#contact .contact-item:hover .icon img {
	filter: none;
	transform: scale(1.02);
}

#contact .contact-item .contact-info h2 a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 600;
}

#contact .contact-item .contact-info h2 a:hover {
	color: var(--accent1);
}

#footer {
	padding: 40px 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.005), transparent);
	color: var(--text-muted);
	border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: center;
}

.footer-inner .brand h2 {
	font-size: 1.8rem;
	margin: 0;
	color: #fff;
	font-weight: 700;
}

.footer-line {
	width: 100%;
	max-width: 900px;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	opacity: 0.8;
}

.footer-social {
	display: flex;
	gap: 14px;
	justify-content: center;
	align-items: center;
	padding: 8px 0;
}

.footer-social .social-item {
	height: 52px;
	width: 52px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	border: 1px solid rgba(255, 255, 255, 0.04);
	transition: all .25s;
	overflow: hidden;
}

.footer-social .social-item img {
	width: 24px;
	height: 24px;
	filter: grayscale(1);
	transition: filter .25s, transform .25s;
}

.footer-social .social-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
}

.footer-social .social-item:hover img {
	filter: none;
	transform: translateY(-1px) scale(1.03);
}

.footer-meta {
	display: flex;
	gap: 14px;
	justify-content: center;
	align-items: center;
	color: var(--text-muted);
	font-size: 1.2rem;
	text-align: center;
	flex-wrap: wrap;
}

/* Reveal & modal */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
	opacity: 1;
	transform: none;
}

.modal {
	position: fixed;
	inset: 0;
	background: rgba(2, 6, 12, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 28px;
	z-index: 4000;
}

.modal.active,
.modal[aria-hidden="false"] {
	display: flex;
}

.modal-panel {
	width: 100%;
	max-width: 720px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	border-radius: 14px;
	padding: 18px 20px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Service detail */
.service-hero {
	padding: 28px 20px 36px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
}

.service-hero .container {
	max-width: 1100px;
}

.service-hero-title {
	font-size: 3.2rem;
	font-weight: 700;
	margin: 8px 0 6px;
	color: #fff;
	letter-spacing: 0.02rem;
}

.service-hero-sub {
	font-size: 1.6rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.service-detail {
	padding: 30px 20px 80px;
}

.detail-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 36px;
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}

.detail-left {
	padding: 6px 4px 0 2px;
}

.service-desc {
	color: var(--text-muted);
	font-size: 1.4rem;
	margin-bottom: 16px;
	max-width: 720px;
}

.service-benefits h3 {
	font-size: 1.4rem;
	color: #fff;
	margin-bottom: 8px;
}

.benefits-list {
	list-style: disc;
	padding-left: 22px;
	color: var(--text-muted);
	font-size: 1.35rem;
	line-height: 1.6;
}

.service-extra h4,
.service-ready h4 {
	font-size: 1.05rem;
	margin-top: 14px;
	color: #fff;
}

.service-extra p,
.service-ready p {
	color: var(--text-muted);
	font-size: 1.35rem;
	line-height: 1.55;
	margin-top: 8px;
}

.primary-bullets {
	margin-top: 10px;
	list-style: disc;
	padding-left: 22px;
	color: var(--text-muted);
	font-size: 1.35rem;
}

/* Contact card */
.detail-right {
	position: relative;
}

.contact-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(2, 6, 12, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.03);
	max-width: 360px;
	width: 100%;
	margin: 0;
}

.card-head {
	padding: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.card-head h4 {
	margin: 0 0 6px;
	font-size: 1.1rem;
	color: #fff;
}

.card-head .muted {
	color: var(--text-muted);
	font-size: 1.05rem;
	margin: 0;
}

.card-body {
	padding: 16px 18px 20px;
}

.card-bullets {
	list-style: disc;
	padding-left: 18px;
	color: var(--text-muted);
	margin-bottom: 14px;
	font-size: 1.35rem;
}

/* CTA inside card */
.btn-gradient {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 26px;
	border-radius: 12px;
	background: linear-gradient(90deg, var(--cta-a), var(--cta-b));
	color: #fff;
	font-weight: 700;
	font-size: 1.4rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform .22s ease, box-shadow .22s ease;
	box-shadow: 0 12px 36px rgba(0, 212, 255, 0.06), inset 0 -6px 18px rgba(255, 255, 255, 0.02);
}

.btn-gradient:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 60px rgba(0, 212, 255, 0.10), 0 10px 30px rgba(106, 0, 255, 0.12);
}

.btn-gradient:focus {
	outline: 3px solid rgba(0, 212, 255, 0.14);
	outline-offset: 3px;
}

.contact-info {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 4px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.contact-item .icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	color: var(--cta-a);
	stroke: currentColor;
	fill: none;
	transition: all .22s ease;
}

.contact-meta .label {
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}

.contact-meta a {
	color: var(--cta-a);
	text-decoration: none;
	font-size: 1.05rem;
	transition: color .2s ease;
}

.contact-meta a:hover {
	color: var(--cta-b);
	text-decoration: underline;
}

/* Responsive: desktop nav right; mobile hamburger overlay */
@media (max-width:980px) {
	.hero-left {
		padding: 80px 18px;
		text-align: center;
		align-items: center;
	}

	.hero-left h1 {
		font-size: 4.6rem;
	}

	.hero-left p {
		font-size: 1.6rem;
	}

	.hero-inner {
		height: auto;
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.col-right {
		align-items: center;
		text-align: center;
	}

	.col-right .cta.resume {
		align-self: center;
	}

	#contact .contact-items {
		grid-template-columns: repeat(2, 1fr);
	}

	/* hide desktop nav on tablet and show hamburger */
	.nav-list ul.desktop {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.nav-list ul.mobile li a.nav-pill {
		width: 80%;
	}

	.detail-grid {
		grid-template-columns: 1fr 320px;
		gap: 22px;
	}

	.hero-ctas {
		align-self: center;
	}
}

@media (max-width:860px) {
	.nav-list ul.desktop {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.nav-list ul.mobile {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.nav-list ul.mobile li a.nav-pill {
		width: 80%;
	}

	.detail-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (max-width:780px) {

	.service-item,
	.project-item,
	.contact-item {
		flex: 1 1 100%;
	}

	.hero-left h1 {
		font-size: 3.6rem;
	}

	.hero-left p {
		font-size: 1.5rem;
	}

	#contact .contact-items {
		grid-template-columns: 1fr;
	}

	.detail-grid {
		grid-template-columns: 1fr;
	}

	.detail-right {
		order: 2;
	}

	.detail-left {
		order: 1;
	}

	.contact-card {
		width: 100%;
	}

	.contact-item .icon {
		width: 18px;
		height: 18px;
	}

	.contact-meta a {
		font-size: 1.12rem;
	}
}

@media (max-width:480px) {
	.hero-left h1 {
		font-size: 2.8rem;
	}

	.section-title {
		font-size: 2.3rem;
	}

	.footer-meta {
		font-size: 1.05rem;
	}

	.modal-panel {
		padding: 14px;
	}

	.service-btn {
		font-size: 1.3rem;
		padding: 8px 14px;
	}
}

/* ----------------------------
   STARS BACKGROUND & TWEAKS
   ---------------------------- */

/* Stars container */
.stars {
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 0;
	/* behind hero content but above background image */
	background: transparent;
	overflow: hidden;
}

/* Using multiple layers of small radial gradients to simulate many stars.
   Keep this lightweight and responsive. */
.stars::before,
.stars::after {
	content: "";
	position: absolute;
	inset: 0;
	background-repeat: repeat;
	background-size: 200px 200px;
	opacity: 0.55;
	filter: blur(0.4px);
	transform: translateZ(0);
}

/* denser small stars */
.stars::before {
	background-image:
		radial-gradient(1px 1px at 20px 40px, rgba(255, 255, 255, 0.95), transparent 60%),
		radial-gradient(1px 1px at 90px 120px, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(1px 1px at 160px 30px, rgba(255, 255, 255, 0.85), transparent 60%),
		radial-gradient(1px 1px at 30px 180px, rgba(255, 255, 255, 0.92), transparent 60%);
	animation: starsDrift 40s linear infinite;
	opacity: 0.7;
}

/* twinkling larger stars */
.stars::after {
	background-image:
		radial-gradient(2px 2px at 40px 60px, rgba(255, 255, 255, 0.98), transparent 60%),
		radial-gradient(2px 2px at 200px 220px, rgba(255, 255, 255, 0.98), transparent 60%),
		radial-gradient(2px 2px at 360px 120px, rgba(255, 255, 255, 0.95), transparent 60%);
	animation: starsTwinkle 6s linear infinite;
	mix-blend-mode: screen;
	opacity: 0.85;
}

/* slow drift so it feels alive but subtle */
@keyframes starsDrift {
	0% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(30px, -20px, 0);
	}

	100% {
		transform: translate3d(0, 0, 0);
	}
}

/* twinkle scale/opacity */
@keyframes starsTwinkle {
	0% {
		opacity: 0.75;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.05);
	}

	100% {
		opacity: 0.75;
		transform: scale(1);
	}
}

/* ----------------------------
   STARS BACKGROUND & TWEAKS
   ---------------------------- */

/* Stars container */
.stars {
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 0;
	background: transparent;
	overflow: hidden;
}

/* star layers */
.stars::before,
.stars::after {
	content: "";
	position: absolute;
	inset: 0;
	background-repeat: repeat;
	background-size: 240px 240px;
	transform: translateZ(0);
}

/* background tiny stars */
.stars::before {
	background-image:
		radial-gradient(2px 2px at 20px 40px, rgba(255, 255, 255, 0.95), transparent 65%),
		radial-gradient(2px 2px at 90px 120px, rgba(255, 255, 255, 0.9), transparent 65%),
		radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.88), transparent 65%),
		radial-gradient(2px 2px at 30px 180px, rgba(255, 255, 255, 0.92), transparent 65%);
	animation: starsDrift 50s linear infinite;
	opacity: 0.8;
	filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

/* twinkling brighter stars */
.stars::after {
	background-image:
		radial-gradient(3px 3px at 40px 60px, rgba(255, 255, 255, 1), transparent 65%),
		radial-gradient(3px 3px at 200px 220px, rgba(255, 255, 255, 1), transparent 65%),
		radial-gradient(4px 4px at 360px 120px, rgba(255, 255, 255, 0.98), transparent 65%);
	animation: starsTwinkle 4s ease-in-out infinite;
	mix-blend-mode: screen;
	opacity: 1;
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

/* drift animation */
@keyframes starsDrift {
	0% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(40px, -25px, 0);
	}

	100% {
		transform: translate3d(0, 0, 0);
	}
}

/* twinkling shine */
@keyframes starsTwinkle {

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

	50% {
		opacity: 1;
		transform: scale(1.25);
	}
}

/* hero content above stars */
#hero .hero-inner,
#hero .hero-overlay {
	position: relative;
	z-index: 2;
}

@media (max-width:480px) {
	.stars::before {
		opacity: 0.9;
	}

	.stars::after {
		opacity: 1;
	}
}
