/* --- Gen-Z Tech Palette --- */
:root {
	--bg-dark: #050505;
	/* Pitch black / Deep void */
	--card-bg: #121212;
	/* Slightly lighter for elements */
	--text-main: #ffffff;
	--text-dim: #a1a1aa;
	/* Zinc text */
	--accent: #ccff00;
	/* Hyper Acid Green */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Space Grotesk', sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-dark);
	color: var(--text-main);
	overflow-x: hidden;
	background-image: radial-gradient(circle at 50% 0%, rgba(204, 255, 0, 0.03), transparent 50%);
}

/* --- Minimal Navbar --- */
header {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 20px 8%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(5, 5, 5, 0.8);
	backdrop-filter: blur(10px);
	z-index: 1000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.logo a {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-main);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: -1px;
}

.logo {
	position: relative;
	z-index: 2104;
}

.logo span {
	color: var(--accent);
}

nav {
	display: flex;
	gap: 1.5rem;
	background: var(--card-bg);
	padding: 10px 25px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

nav a {
	color: var(--text-dim);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	transition: 0.3s;
}

nav a:hover,
nav a.active {
	color: var(--accent);
}

#click {
	display: none;
}

.mainicon {
	display: none;
	font-size: 1.8rem;
	color: var(--text-main);
	cursor: pointer;
}

/* --- Global Layout --- */
section {
	padding: 60px 8%;
}

.section-title {
	font-size: clamp(2.5rem, 4vw, 4rem);
	font-weight: 700;
	letter-spacing: -1px;
	margin-bottom: 3rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.section-title::before {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	background-color: var(--accent);
	border-radius: 50%;
}

/* --- Hero Section --- */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding-top: 150px;
}

.hero-content {
	flex: 1;
	max-width: 550px;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: rgba(204, 255, 0, 0.1);
	border: 1px solid rgba(204, 255, 0, 0.2);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 1.5rem;
}

.status-dot {
	width: 8px;
	height: 8px;
	background-color: var(--accent);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--accent);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(204, 255, 0, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
	}
}

.hero-content h1 {
	font-size: clamp(3.5rem, 5vw, 5.5rem);
	font-weight: 700;
	line-height: 1;
	margin-bottom: 1rem;
	letter-spacing: -2px;
}

.hero-content h1 span {
	color: var(--accent);
	display: block;
}

.description {
	font-size: 1.1rem;
	color: var(--text-dim);
	margin-bottom: 2.5rem;
	line-height: 1.6;
	max-width: 450px;
}

/* Buttons */
.action-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn {
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	transition: 0.3s;
	display: inline-block;
	cursor: pointer;
	border: none;
}

.primary {
	background-color: var(--accent);
	color: var(--bg-dark);
}

.primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(204, 255, 0, 0.2);
}

.social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: var(--card-bg);
	color: var(--text-main);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	font-size: 1.2rem;
	transition: 0.3s;
	text-decoration: none;
}

.social-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-3px);
}

/* Hero Image Container */
.hero-image-container {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	position: relative;
}

.image-card {
	width: 440px;
	height: 540px;
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	padding: 15px;
	position: relative;
	transform: rotate(2deg);
	transition: 0.4s ease;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.image-card:hover {
	transform: rotate(0deg) translateY(-10px);
	border-color: rgba(204, 255, 0, 0.3);
	box-shadow: 0 20px 50px rgba(204, 255, 0, 0.1);
}

.image-inner {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	overflow: hidden;
	background-color: #222;
}

.image-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(20%) contrast(110%);
}

.tech-tag {
	position: absolute;
	bottom: -15px;
	left: -20px;
	background: var(--bg-dark);
	border: 1px solid var(--accent);
	color: var(--accent);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
	transform: rotate(-5deg);
}

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

.project-card {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	padding: 15px;
	transition: 0.4s ease;
	text-decoration: none;
	display: block;
	cursor: pointer;
	width: 100%;
	text-align: left;
	font: inherit;
}

.project-card:hover {
	transform: translateY(-10px);
	border-color: var(--accent);
	box-shadow: 0 10px 40px rgba(204, 255, 0, 0.05);
}

.project-img {
	width: 100%;
	height: 250px;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background: #222;
	position: relative;
}

.project-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: 0.5s ease;
}

.project-card:hover .project-img img {
	filter: grayscale(0%);
	transform: scale(1.05);
}

.media-fullscreen-badge {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) translateY(12px);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid rgba(204, 255, 0, 0.55);
	background: rgba(5, 5, 5, 0.76);
	color: var(--text-main);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.25px;
	opacity: 0;
	pointer-events: none;
	transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
	backdrop-filter: blur(4px);
	white-space: nowrap;
}

.media-fullscreen-badge i {
	color: var(--accent);
	font-size: 0.9rem;
}

.project-img:hover .media-fullscreen-badge,
.project-main-media:hover .media-fullscreen-badge,
.team-work-main-media:hover .media-fullscreen-badge {
	opacity: 1;
	transform: translate(-50%, -50%) translateY(0);
}

.project-info {
	padding: 0 10px 10px;
}

.project-info h3 {
	color: var(--text-main);
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.project-info h3 i {
	color: var(--text-dim);
	font-size: 1.2rem;
	transition: 0.3s;
}

.project-card:hover .project-info h3 i {
	color: var(--accent);
	transform: translate(5px, -5px);
}

.project-info p {
	color: var(--text-dim);
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.stack-pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.stack-pills span {
	font-size: 0.8rem;
	color: var(--text-main);
	background: rgba(255, 255, 255, 0.05);
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Case Study Section --- */
.case-studies-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
}

.case-study-card {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	overflow: hidden;
	transition: 0.4s ease;
	cursor: pointer;
}

.case-study-card:hover {
	border-color: var(--accent);
	transform: translateY(-8px);
}

.case-study-img {
	width: 100%;
	height: 250px;
	background: #222;
	overflow: hidden;
}

.case-study-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(80%);
	transition: 0.5s ease;
}

.case-study-card:hover .case-study-img img {
	filter: grayscale(0%);
	transform: scale(1.05);
}

.case-study-content {
	padding: 2rem;
	display: flex;
	flex-direction: column;
}

.case-study-trigger {
	align-self: flex-start;
}

.cs-metric {
	color: var(--accent);
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	line-height: 1;
}

.cs-title {
	font-size: 1.3rem;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.cs-desc {
	color: var(--text-dim);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

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

.service-card {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	padding: 3rem 2rem;
	border-radius: 24px;
	transition: 0.4s ease;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at top right, rgba(204, 255, 0, 0.1), transparent 60%);
	opacity: 0;
	transition: 0.4s ease;
}

.service-card:hover {
	border-color: var(--accent);
	transform: translateY(-10px);
}

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

.service-icon {
	font-size: 2.5rem;
	color: var(--accent);
	margin-bottom: 1.5rem;
	position: relative;
	z-index: 1;
}

.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	position: relative;
	z-index: 1;
}

.service-card p {
	color: var(--text-dim);
	line-height: 1.6;
	position: relative;
	z-index: 1;
}

/* --- About & Why Choose Us Section --- */
.about-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	margin-bottom: 4rem;
}

.about-text h3 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	letter-spacing: -1px;
}

.about-text p {
	color: var(--text-dim);
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.skills-container {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	padding: 2.5rem;
}

.skills-container h4 {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	color: var(--text-main);
}

.skills-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.skill-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	transition: 0.3s;
}

.skill-item:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: rgba(204, 255, 0, 0.05);
}

@media screen and (max-width: 575px) {
	.skills-grid {
		flex-wrap: nowrap;
		overflow: scroll;
		width: 316px;
	}

	.skill-item {
		flex-shrink: 0;
	}
}

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

.team-card {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	padding: 15px;
	text-align: center;
	cursor: pointer;
	transition: 0.4s ease;
}

.team-card:hover {
	border-color: var(--accent);
	transform: translateY(-5px);
}

.team-img {
	width: 100%;
	height: 300px;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.team-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: 0.4s ease;
}

.team-card:hover .team-img img {
	filter: grayscale(0%);
}

.team-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
}

.team-card p {
	color: var(--accent);
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

/* --- Team Modal Details --- */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(5, 5, 5, 0.95);
	backdrop-filter: blur(10px);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: 0.4s ease;
	padding: 20px;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.modal-content {
	background: var(--card-bg);
	border: 1px solid var(--accent);
	border-radius: 24px;
	width: 100%;
	max-width: 900px;
	max-height: 90vh;
	overflow: hidden;
	position: relative;
	transform: translateY(50px);
	transition: 0.4s ease;
	display: flex;
	flex-direction: column;
}

.modal-overlay.active .modal-content {
	transform: translateY(0);
}

.popup-header {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 18px 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(180deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.88));
	backdrop-filter: blur(8px);
}

.popup-header-left {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.popup-header-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	border: 1px solid rgba(204, 255, 0, 0.35);
	background: rgba(204, 255, 0, 0.08);
	flex-shrink: 0;
}

.popup-header-text {
	min-width: 0;
}

.popup-header-text h3 {
	font-size: 1.35rem;
	line-height: 1.2;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.popup-header-text p {
	margin: 3px 0 0;
	color: var(--text-dim);
	font-size: 0.9rem;
}

.popup-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.popup-action-btn,
.popup-close-btn {
	height: 40px;
	border-radius: 999px;
	border: 1px solid rgba(204, 255, 0, 0.28);
	background: rgba(204, 255, 0, 0.08);
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: 0.3s;
	font-family: 'Space Grotesk', sans-serif;
}

.popup-action-btn {
	padding: 0 16px;
}

.popup-close-btn {
	width: 40px;
	padding: 0;
}

.popup-action-btn:hover,
.popup-close-btn:hover {
	background: var(--accent);
	color: var(--bg-dark);
}

.modal-cover-img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 16px 16px 0 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: -50px;
	position: relative;
	z-index: 1;
}

.modal-body {
	display: flex;
	flex-direction: column;
	padding: 3rem;
	position: relative;
}

.modal-header-section {
	display: flex;
	gap: 2rem;
	margin-bottom: 1rem;
}

.modal-left {
	flex: 0 0 120px;
	position: relative;
	z-index: 2;
}

.modal-left img {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 3px solid var(--bg-dark);
	object-fit: cover;
}

.team-profile {
	position: absolute;
	top: -34px;
}

.modal-right {
	flex: 1;
	padding-top: 72px;
	min-width: 0;
}

.modal-right h2 {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

.modal-role {
	color: var(--accent);
	font-weight: 700;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.modal-meta {
	color: var(--text-dim);
	font-size: 0.9rem;
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.modal-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.modal-bio {
	color: var(--text-dim);
	line-height: 1.6;
	margin-bottom: 2rem;
}

/* Tabs Styling */
.modal-tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 2rem;
}

.modal-tab-button {
	padding: 12px 20px;
	background: none;
	border: none;
	color: var(--text-dim);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: 0.3s;
	position: relative;
	font-family: 'Space Grotesk', sans-serif;
}

.modal-tab-button:hover {
	color: var(--text-main);
}

.modal-tab-button.active {
	color: var(--accent);
}

.modal-tab-button.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--accent);
}

.modal-tab-content {
	display: none;
}

.modal-tab-content.active {
	display: block;
}

.modal-tabs[hidden],
.modal-tab-content[hidden],
.modal-projects[hidden] {
	display: none !important;
}

.modal-projects h4 {
	font-size: 1.2rem;
	margin-bottom: 1rem;
	color: var(--text-main);
}

.team-work-main-image {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: 12px;
}

.team-work-main-media {
	position: relative;
	cursor: zoom-in;
}

.team-work-main-media .media-fullscreen-badge {
	top: calc(50% - 6px);
}

.team-work-main-media:hover .team-work-main-image {
	border-color: rgba(204, 255, 0, 0.45);
}

.team-work-thumb-row {
	display: flex;
	gap: 10px;
	transform: translateX(0);
	transition: transform 0.35s ease;
	--visible-thumbs: 3;
}

.team-work-carousel {
	position: relative;
	margin-top: 4px;
}

.team-work-viewport {
	overflow: hidden;
}

.team-work-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(5, 5, 5, 0.65);
	color: var(--text-main);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.25s ease;
	z-index: 3;
	backdrop-filter: blur(4px);
}

#teamWorkPrevBtn {
	left: 10px;
}

#teamWorkNextBtn {
	right: 10px;
}

.team-work-nav:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: rgba(204, 255, 0, 0.08);
}

.team-work-nav:disabled {
	display: none;
}

.team-work-thumb {
	flex: 0 0 calc((100% - (var(--visible-thumbs) - 1) * 10px) / var(--visible-thumbs));
	width: calc((100% - (var(--visible-thumbs) - 1) * 10px) / var(--visible-thumbs));
	min-width: 120px;
	height: 90px;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid transparent;
	opacity: 0.75;
	cursor: pointer;
	transition: 0.3s;
}

.team-work-thumb:hover,
.team-work-thumb.active {
	opacity: 1;
	border-color: var(--accent);
}

.team-work-caption {
	margin-top: 10px;
	color: var(--text-dim);
	font-size: 0.95rem;
	line-height: 1.5;
}

.modal-appreciations-list {
	list-style: none;
}

.modal-appreciations-list li {
	background: rgba(255, 255, 255, 0.03);
	padding: 16px 15px;
	border-radius: 8px;
	margin-bottom: 12px;
	border-left: 3px solid var(--accent);
}

/* --- Project Details Modal --- */
.project-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(5, 5, 5, 0.95);
	backdrop-filter: blur(10px);
	z-index: 2400;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: 0.4s ease;
	padding: 20px;
}

.project-modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.project-modal-content {
	background: var(--card-bg);
	border: 1px solid var(--accent);
	border-radius: 24px;
	width: 100%;
	max-width: 1000px;
	max-height: 90vh;
	overflow: hidden;
	position: relative;
	transform: translateY(40px);
	transition: 0.4s ease;
}

.project-modal-overlay.active .project-modal-content {
	transform: translateY(0);
}

.project-modal-body {
	padding: 2rem;
}

.project-modal-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2rem;
	align-items: start;
}

.project-modal-grid>* {
	min-width: 0;
}

.project-main-image {
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 1rem;
}

.project-main-media {
	position: relative;
	cursor: zoom-in;
}

.project-main-media .media-fullscreen-badge {
	top: calc(50% - 8px);
}

.project-main-media:hover .project-main-image {
	border-color: rgba(204, 255, 0, 0.45);
}

.project-thumb-row {
	display: flex;
	gap: 10px;
	transform: translateX(0);
	transition: transform 0.35s ease;
	--visible-thumbs: 3;
}

.project-thumb-carousel {
	position: relative;
	margin-top: 4px;
}

.project-thumb-viewport {
	overflow: hidden;
}

.project-thumb-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(5, 5, 5, 0.65);
	color: var(--text-main);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.25s ease;
	z-index: 3;
	backdrop-filter: blur(4px);
}

#projectThumbPrevBtn {
	left: 10px;
}

#projectThumbNextBtn {
	right: 10px;
}

.project-thumb-nav:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: rgba(204, 255, 0, 0.08);
}

.project-thumb-nav:disabled {
	display: none;
}

.project-thumb {
	flex: 0 0 calc((100% - (var(--visible-thumbs) - 1) * 10px) / var(--visible-thumbs));
	width: calc((100% - (var(--visible-thumbs) - 1) * 10px) / var(--visible-thumbs));
	min-width: 120px;
	height: 90px;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	opacity: 0.75;
	transition: 0.3s;
}

.project-thumb:hover,
.project-thumb.active {
	opacity: 1;
	border-color: var(--accent);
}

.project-detail-title {
	font-size: 2rem;
	margin-bottom: 0.8rem;
	line-height: 1.2;
}

.project-detail-desc {
	color: var(--text-dim);
	line-height: 1.6;
	margin-bottom: 1.2rem;
}

.project-detail-list {
	list-style: none;
	margin-bottom: 1.5rem;
	margin-top: 1.1rem;
}

.project-detail-list li {
	color: var(--text-dim);
	margin-bottom: 8px;
	padding-left: 18px;
	position: relative;
}

.project-detail-list li::before {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	left: 0;
	top: 8px;
}

/* --- Case Study Form Modal --- */
.case-study-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(5, 5, 5, 0.95);
	backdrop-filter: blur(10px);
	z-index: 2500;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: 0.4s ease;
	padding: 20px;
}

.case-study-modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.case-study-modal-content {
	background: var(--card-bg);
	border: 1px solid var(--accent);
	border-radius: 24px;
	width: 100%;
	max-width: 700px;
	position: relative;
	max-height: 90vh;
	overflow: hidden;
	transform: scale(0.9);
	transition: 0.4s ease;
}

.case-study-modal-overlay.active .case-study-modal-content {
	transform: scale(1);
}

.case-study-modal-body {
	padding: 2rem 3rem 3rem;
}

.case-study-modal-header {
	margin-bottom: 2rem;
}

.case-study-modal-header h2 {
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
}

.case-study-modal-header p {
	color: var(--text-dim);
	font-size: 0.95rem;
}

.case-study-form-group {
	margin-bottom: 1.5rem;
}

.case-study-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.case-study-form-group.full-span {
	grid-column: 1 / -1;
}

.case-study-form-group label {
	display: block;
	color: var(--text-main);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.case-study-form-group input,
.case-study-form-group textarea {
	width: 100%;
	padding: 12px 15px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--text-main);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.95rem;
	transition: 0.3s;
}

.case-study-form-group input:focus,
.case-study-form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: rgba(204, 255, 0, 0.02);
}

.case-study-form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.case-study-form-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.case-study-form-buttons button, .case-study-form-buttons input {
	flex: 1;
	padding: 12px 20px;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: 0.3s;
	font-family: 'Space Grotesk', sans-serif;
}

.case-study-download-btn {
	background-color: var(--accent);
	color: var(--bg-dark);
}

.case-study-download-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(204, 255, 0, 0.2);
}

.case-study-cancel-btn {
	background: transparent;
	color: var(--text-dim);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-study-cancel-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.fullscreen-gallery-overlay {
	position: fixed;
	inset: 0;
	z-index: 3200;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(6px);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-rows: auto minmax(0, 1fr) auto;
	align-items: center;
	justify-items: center;
	gap: 16px;
	padding: 18px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
}

.fullscreen-gallery-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.fullscreen-gallery-close {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(12, 12, 12, 0.8);
	color: var(--text-main);
	cursor: pointer;
	font-size: 1rem;
	transition: 0.25s ease;
	backdrop-filter: blur(3px);
}

.fullscreen-gallery-close:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.fullscreen-gallery-nav {
	width: 50px;
	height: 50px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(12, 12, 12, 0.8);
	color: var(--text-main);
	cursor: pointer;
	font-size: 1.15rem;
	transition: 0.25s ease;
	backdrop-filter: blur(3px);
	z-index: 2;
}

.fullscreen-gallery-nav.prev {
	grid-column: 1;
	grid-row: 2;
}

.fullscreen-gallery-nav.next {
	grid-column: 3;
	grid-row: 2;
}

.fullscreen-gallery-nav:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.fullscreen-gallery-figure {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
	width: min(1100px, 100%);
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
}

.fullscreen-gallery-figure img {
	width: 100%;
	max-height: min(72vh, 860px);
	object-fit: contain;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: #020202;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.fullscreen-gallery-figure figcaption {
	margin: 0;
	color: var(--text-dim);
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.5;
	max-width: 900px;
	min-height: 1.5em;
}

.fullscreen-gallery-counter {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	align-self: center;
	padding: 7px 13px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(10, 10, 10, 0.72);
	color: var(--text-main);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.fullscreen-gallery-thumbs {
	grid-column: 1 / span 3;
	grid-row: 3;
	width: min(980px, 100%);
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 6px 4px;
	justify-content: center;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.38) transparent;
}

.fullscreen-gallery-thumb {
	width: 82px;
	height: 58px;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid transparent;
	opacity: 0.65;
	cursor: pointer;
	transition: opacity 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
	flex: 0 0 auto;
}

.fullscreen-gallery-thumb:hover,
.fullscreen-gallery-thumb.active {
	opacity: 1;
	border-color: var(--accent);
	transform: translateY(-2px);
}

.popup-scroll-area {
	max-height: 90vh;
	overflow-y: auto;
	overflow-x: hidden;
	border-radius: inherit;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
}

/* --- Popup Scrollbars Theme --- */
.popup-scroll-area {
	overscroll-behavior: contain;
}

.popup-scroll-area::-webkit-scrollbar {
	width: 8px;
}

.popup-scroll-area::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.06);
	border-radius: 999px;
	margin: 8px 2px;
}

.popup-scroll-area::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.04);
	background-clip: padding-box;
}

.popup-scroll-area::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.42);
}

.popup-scroll-area::-webkit-scrollbar-corner {
	background: transparent;
	width: 0;
	height: 0;
}

.team-work-thumb-row,
.project-thumb-row {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

/* --- Testimonials Section (Swiper) --- */
.testimonials {
	background: linear-gradient(to bottom, var(--bg-dark), var(--card-bg));
}

.testimonial-card {
	background: var(--bg-dark);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 24px;
	padding: 2.5rem;
	height: auto;
}

@media screen and (min-width: 1200px) {
	.testimonial-card {
		height: 275px;
	}
}

.test-icon {
	color: var(--accent);
	font-size: 2rem;
	margin-bottom: 1rem;
}

.test-text {
	font-size: 1.1rem;
	color: var(--text-dim);
	line-height: 1.6;
	margin-bottom: 2rem;
	font-style: italic;
}

.test-author {
	display: flex;
	align-items: center;
	gap: 15px;
}

.test-author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--accent);
}

.test-author-info h4 {
	color: var(--text-main);
	font-size: 1rem;
}

.test-author-info p {
	color: var(--text-dim);
	font-size: 0.85rem;
}

.swiper-pagination-bullet {
	background: var(--text-dim);
}

.swiper-pagination-bullet-active {
	background: var(--accent);
}

/* --- Contact Section --- */
.contact {
	text-align: center;
	padding: 150px 8%;
	background: linear-gradient(to top, var(--card-bg), var(--bg-dark));
	border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.contact-subtitle {
	color: var(--accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 1rem;
	display: block;
}

.contact h2 {
	font-size: clamp(3rem, 6vw, 6rem);
	font-weight: 700;
	letter-spacing: -2px;
	margin-bottom: 2rem;
}

.email-link {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	color: var(--text-dim);
	text-decoration: none;
	border-bottom: 2px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 5px;
	transition: 0.3s;
}

.email-link:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* --- Footer --- */
footer {
	padding: 2rem 8%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	background: var(--bg-dark);
}

.footer-text {
	color: var(--text-dim);
	font-size: 0.9rem;
}

.footer-text span {
	color: var(--text-main);
	font-weight: 600;
}

.footer-socials {
	display: flex;
	gap: 1.5rem;
}

.footer-socials a {
	color: var(--text-dim);
	font-size: 1.2rem;
	transition: 0.3s;
}

.footer-socials a:hover {
	color: var(--accent);
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-up {
	opacity: 0;
	transform: translateY(60px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
	opacity: 0;
	transform: translateX(-60px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
	opacity: 0;
	transform: translateX(60px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
	opacity: 1;
	transform: translate(0, 0);
}

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

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

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

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

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

.hero-content>* {
	opacity: 0;
	animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content>*:nth-child(1) {
	animation-delay: 0.2s;
}

.hero-content>*:nth-child(2) {
	animation-delay: 0.3s;
}

.hero-content>*:nth-child(3) {
	animation-delay: 0.4s;
}

.hero-content>*:nth-child(4) {
	animation-delay: 0.5s;
}

.hero-image-container {
	opacity: 0;
	animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 0.4s;
}

/* --- Responsive --- */
@media screen and (max-width: 900px) {
	header {
		z-index: 2100;
	}

	.hero {
		flex-direction: column;
		justify-content: center;
		text-align: left;
		padding-top: 150px;
	}

	.hero-image-container {
		justify-content: flex-start;
		margin-top: 3rem;
	}

	nav {
		display: flex;
		position: fixed;
		inset: 0;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0;
		padding: 110px 8% 30px;
		border-radius: 0;
		background: #050505;
		border: none;
		box-shadow: none;
		min-height: 100dvh;
		width: 100vw;
		overflow-y: auto;
		z-index: 2101;
		transform: translateY(-100%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	}

	#click:checked~nav {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.mainicon {
		display: block;
		position: relative;
		z-index: 2103;
	}

	nav a {
		width: 100%;
		font-size: 1.35rem;
		font-weight: 700;
		letter-spacing: -0.4px;
		padding: 14px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		transform: translateX(-12px);
		opacity: 0;
		transition: transform 0.35s ease, opacity 0.35s ease, color 0.3s;
	}

	#click:checked~nav a {
		transform: translateX(0);
		opacity: 1;
	}

	#click:checked~nav a:nth-child(1) {
		transition-delay: 0.06s;
	}

	#click:checked~nav a:nth-child(2) {
		transition-delay: 0.1s;
	}

	#click:checked~nav a:nth-child(3) {
		transition-delay: 0.14s;
	}

	#click:checked~nav a:nth-child(4) {
		transition-delay: 0.18s;
	}

	#click:checked~nav a:nth-child(5) {
		transition-delay: 0.22s;
	}

	#click:checked~nav a:nth-child(6) {
		transition-delay: 0.26s;
	}

	.project-modal-grid {
		grid-template-columns: 1fr;
	}

	.media-fullscreen-badge {
		font-size: 0.76rem;
		padding: 8px 12px;
	}

	.project-main-image {
		height: 300px;
	}

	.project-modal-body {
		padding: 1.5rem;
	}

	.case-study-form-grid {
		grid-template-columns: 1fr;
	}

	.about-wrapper {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.case-study-card {
		flex-direction: column;
	}

	.case-study-content {
		padding: 2rem;
	}

	.modal-body {
		flex-direction: column;
		padding: 5rem 2rem 2rem 2rem;
	}

	.popup-header {
		padding: 14px 16px;
	}

	.popup-header-text h3 {
		font-size: 1.1rem;
	}

	.popup-header-text p {
		font-size: 0.82rem;
	}

	.popup-action-btn {
		padding: 0 12px;
	}

	.case-study-modal-body {
		padding: 1.5rem 1.5rem 2rem;
	}

	.modal-left {
		flex: none;
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
	}

	.modal-header-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1rem;
	}

	.modal-right {
		padding-top: 0;
	}

	.modal-right h2 {
		font-size: 2rem;
	}

	.modal-meta {
		justify-content: center;
		flex-wrap: wrap;
		gap: 0.8rem 1.2rem;
	}

	.fullscreen-gallery-overlay {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto minmax(0, 1fr) auto auto;
		gap: 10px;
		padding: 12px;
	}

	.fullscreen-gallery-close {
		grid-column: 2;
		grid-row: 1;
	}

	.fullscreen-gallery-counter {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	.fullscreen-gallery-figure {
		grid-column: 1 / span 2;
		grid-row: 2;
	}

	.fullscreen-gallery-nav {
		position: fixed;
		top: 50%;
		transform: translateY(-50%);
	}

	.fullscreen-gallery-nav.prev {
		left: 10px;
	}

	.fullscreen-gallery-nav.next {
		right: 10px;
	}

	.fullscreen-gallery-thumbs {
		grid-column: 1 / span 2;
		grid-row: 3;
		justify-content: flex-start;
	}

	.fullscreen-gallery-thumb {
		width: 72px;
		height: 50px;
	}

	.modal-cover-img {
		height: 130px;
		margin-bottom: 0;
	}

	.modal-left img {
		width: 120px;
		height: 120px;
	}

	.team-profile {
		top: -72px;
	}

	.team-work-main-image {
		height: 220px;
	}

	.reveal-left,
	.reveal-right {
		transform: translateY(40px);
	}
}

@media screen and (max-width: 480px) {
	section {
		padding: 30px 5%;
	}

	.work-grid,
	.case-studies-grid,
	.team-grid,
	.services-grid {
		grid-template-columns: 1fr;
	}

	.image-card {
		width: 100%;
		height: 450px;
	}

	.hero-content h1 {
		font-size: 3rem;
	}

	.action-buttons {
		flex-wrap: wrap;
	}

	.btn {
		width: 100%;
		text-align: center;
	}

	footer {
		flex-direction: column;
		gap: 1.5rem;
		text-align: center;
	}

	.case-study-form-buttons {
		flex-direction: column;
	}

	.project-main-image {
		height: 220px;
		width: 100%;
	}

	.team-work-main-image {
		width: 100%;
		object-fit: cover;
	}

	.project-thumb {
		min-width: 92px;
		height: 74px;
	}

	.team-work-thumb {
		min-width: 92px;
		height: 74px;
	}

	.team-work-nav {
		width: 30px;
		height: 30px;
	}

	.project-thumb-nav {
		width: 30px;
		height: 30px;
	}

	.modal-right h2 {
		font-size: 1.7rem;
	}

	.modal-tab-button {
		white-space: nowrap;
	}
}