/* Modern Mobile App Development Services - Main Stylesheet */
/* Reset and base styles - updated Nov 2024 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Modern Color Palette - Emerald Green & Gold Theme */
	--primary-dark: #0f1419;
	--primary-charcoal: #1a2332;
	--accent-emerald: #10b981;
	--accent-gold: #f59e0b;
	--accent-light-green: #34d399;
	--text-light: #f0fdf4;
	--text-gray: #d1d5db;
	--text-muted: #9ca3af;
	--gradient-1: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #065f46 100%);
	--gradient-2: linear-gradient(135deg, #10b981 0%, #34d399 100%);
	--gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
	--shadow: 0 10px 40px rgba(15, 20, 25, 0.4);
	--shadow-hover: 0 15px 50px rgba(16, 185, 129, 0.3);
	--shadow-gold: 0 10px 30px rgba(245, 158, 11, 0.25);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--primary-dark);
	color: var(--text-light);
	line-height: 1.7;
	overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 1rem;
	color: var(--text-light);
}

h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
	margin-bottom: 1.2rem;
	color: var(--text-gray);
	font-size: clamp(1rem, 2vw, 1.125rem);
}

a {
	color: var(--accent-emerald);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--accent-light-green);
}

/* Header and Navigation */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(15, 20, 25, 0.95);
	backdrop-filter: blur(10px);
	z-index: 10000;
	padding: 1rem 0;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	background: var(--gradient-gold);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
}

/* Burger menu */
.burger-menu {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	z-index: 10002;
	position: relative;
	pointer-events: auto;
	padding: 10px;
	margin: -10px;
}

.burger-menu span {
	width: 30px;
	height: 3px;
	background: var(--text-light);
	transition: all 0.3s ease;
	border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
	opacity: 0;
}

.burger-menu.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
nav {
	display: flex;
	gap: 2rem;
	align-items: center;
}

nav a {
	color: var(--text-light);
	font-size: 1rem;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	transition: all 0.3s ease;
}

nav a:hover {
	background: rgba(16, 185, 129, 0.15);
	color: var(--accent-emerald);
}

/* Mobile Navigation */
.mobile-nav {
	position: fixed !important;
	top: 70px !important;
	left: 0 !important;
	width: 100% !important;
	height: calc(100vh - 70px) !important;
	background: var(--primary-charcoal) !important;
	transition: transform 0.3s ease, visibility 0s 0.3s, opacity 0.3s ease !important;
	transform: translateX(-100%) !important;
	z-index: 10001 !important;
	padding: 2rem !important;
	overflow-y: auto !important;
	visibility: hidden !important;
	opacity: 0 !important;
	box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5) !important;
	display: block !important;
}

.mobile-nav.active {
	transform: translateX(0) !important;
	visibility: visible !important;
	opacity: 1 !important;
	transition: transform 0.3s ease, visibility 0s 0s, opacity 0.3s ease !important;
}

.mobile-nav a {
	display: block;
	padding: 1rem;
	border-bottom: 1px solid rgba(16, 185, 129, 0.1);
	font-size: 1.2rem;
}

/* Hero Section - Unique and visually appealing */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: var(--gradient-1);
	padding: 120px 2rem 80px;
	overflow: hidden;
	z-index: 1;
	margin-bottom: 0;
	transform: none !important;
	will-change: auto;
	isolation: isolate;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
	border-radius: 50%;
	animation: pulse 8s ease-in-out infinite;
	z-index: 0;
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -15%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	animation: pulse 10s ease-in-out infinite reverse;
	z-index: 0;
	pointer-events: none;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.5; }
	50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-container {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	position: relative;
	z-index: 2;
}

.hero-content h1 {
	margin-bottom: 1.5rem;
	animation: fadeInUp 1s ease;
}

.hero-content p {
	font-size: clamp(1.1rem, 2.5vw, 1.3rem);
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease 0.2s both;
}

.hero-image {
	position: relative;
	animation: fadeInRight 1s ease 0.4s both;
}

.hero-image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: var(--shadow-hover);
}

/* Hero Slider/Accordion */
.hero-features {
	margin-top: 2rem;
}

.feature-accordion {
	background: rgba(26, 35, 50, 0.6);
	border-radius: 10px;
	margin-bottom: 1rem;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-accordion.active {
	background: rgba(16, 185, 129, 0.15);
	border-color: var(--accent-emerald);
	box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.accordion-header {
	padding: 1.2rem 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
}

.accordion-header:hover {
	background: rgba(16, 185, 129, 0.1);
}

.accordion-header h3 {
	margin: 0;
	font-size: 1.2rem;
}

.accordion-icon {
	transition: transform 0.3s ease;
	font-size: 1.5rem;
	color: var(--accent-gold);
}

.feature-accordion.active .accordion-icon {
	transform: rotate(180deg);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	padding: 0 1.5rem;
}

.feature-accordion.active .accordion-content {
	max-height: 500px;
	padding: 1.5rem;
}

.cta-button {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: var(--gradient-2);
	color: #0f1419;
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: var(--shadow-hover);
	margin-top: 1rem;
	position: relative;
	overflow: hidden;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--gradient-gold);
	transition: left 0.3s ease;
	z-index: -1;
}

.cta-button:hover::before {
	left: 0;
}

.cta-button:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: var(--shadow-gold);
}

/* Container */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

.section {
	padding: 100px 0;
	position: relative;
	z-index: 10;
	background-color: var(--primary-dark);
	isolation: isolate;
}

/* Ensure first section after hero doesn't overlap */
#services.section {
	margin-top: 0;
	padding-top: 100px;
	position: relative;
	z-index: 10;
}

.section-title {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title h2 {
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: var(--gradient-gold);
	border-radius: 2px;
}

/* Content Blocks */
.content-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.content-card {
	background: rgba(26, 35, 50, 0.5);
	padding: 2.5rem;
	border-radius: 15px;
	border: 1px solid rgba(16, 185, 129, 0.2);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.content-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

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

.content-card:hover {
	transform: translateY(-10px);
	border-color: var(--accent-emerald);
	box-shadow: var(--shadow-hover);
	background: rgba(26, 35, 50, 0.8);
}

.content-card h3 {
	color: var(--accent-emerald);
	margin-bottom: 1rem;
	position: relative;
}

.content-card .icon {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	background: var(--gradient-gold);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Stats Section */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin: 3rem 0;
}

.stat-item {
	text-align: center;
	padding: 2rem;
	background: rgba(26, 35, 50, 0.4);
	border-radius: 15px;
	border: 1px solid rgba(16, 185, 129, 0.2);
	transition: all 0.3s ease;
}

.stat-item:hover {
	border-color: var(--accent-gold);
	box-shadow: var(--shadow-gold);
	transform: translateY(-5px);
}

.stat-number {
	font-size: 3rem;
	font-weight: 700;
	background: var(--gradient-2);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.5rem;
}

.stat-label {
	color: var(--text-gray);
	font-size: 1.1rem;
}

/* Process Section */
.process-timeline {
	position: relative;
	padding: 3rem 0;
}

.process-item {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
	align-items: start;
}

.process-number {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--gradient-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 700;
	color: #0f1419;
	box-shadow: var(--shadow-gold);
	border: 2px solid var(--accent-emerald);
}

/* Contact Form */
.contact-section {
	background: rgba(26, 35, 50, 0.3);
	padding: 100px 0;
}

.contact-form {
	max-width: 700px;
	margin: 0 auto;
	background: rgba(26, 35, 50, 0.6);
	padding: 3rem;
	border-radius: 20px;
	border: 1px solid rgba(16, 185, 129, 0.3);
	box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.form-group {
	margin-bottom: 2rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text-light);
	font-weight: 500;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 1rem;
	background: rgba(15, 20, 25, 0.6);
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: 10px;
	color: var(--text-light);
	font-size: 1rem;
	font-family: inherit;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent-emerald);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
	background: rgba(15, 20, 25, 0.8);
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

.form-group input[required]::after,
.form-group textarea[required]::after {
	content: ' *';
	color: var(--accent-cyan);
}

.submit-btn {
	width: 100%;
	padding: 1.2rem;
	background: var(--gradient-2);
	color: #0f1419;
	border: none;
	border-radius: 10px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: var(--shadow-hover);
	position: relative;
	overflow: hidden;
}

.submit-btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: var(--gradient-gold);
	transform: translate(-50%, -50%);
	transition: width 0.4s ease, height 0.4s ease;
}

.submit-btn:hover::after {
	width: 300%;
	height: 300%;
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-gold);
}

/* Footer */
footer {
	background: var(--primary-charcoal);
	padding: 60px 0 30px;
	border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
}

.footer-section h4 {
	color: var(--accent-emerald);
	margin-bottom: 1.5rem;
	font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
	color: var(--text-gray);
	font-size: 1rem;
	line-height: 2;
}

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

.footer-bottom {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(16, 185, 129, 0.1);
	color: var(--text-gray);
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--primary-charcoal);
	padding: 1.5rem 2rem;
	box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	border-top: 2px solid var(--accent-emerald);
}

.cookie-consent.active {
	display: flex;
}

.cookie-content {
	flex: 1;
	color: var(--text-light);
}

.cookie-content a {
	color: var(--accent-emerald);
	text-decoration: underline;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
}

.cookie-btn {
	padding: 0.8rem 1.5rem;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
}

.cookie-accept {
	background: var(--gradient-2);
	color: #0f1419;
}

.cookie-accept:hover {
	background: var(--gradient-gold);
	box-shadow: var(--shadow-gold);
}

.cookie-decline {
	background: transparent;
	color: var(--text-gray);
	border: 1px solid var(--text-gray);
}

.cookie-decline:hover {
	border-color: var(--accent-emerald);
	color: var(--accent-emerald);
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.fade-in {
	animation: fadeInUp 0.8s ease both;
}

/* Utility Classes */
.text-center {
	text-align: center;
}

/* TODO: consider adding more utility classes if needed later */

.mt-2 {
	margin-top: 2rem;
}

.mb-2 {
	margin-bottom: 2rem;
}

/* Policy Pages Styles */
.policy-page {
	padding: 120px 2rem 80px;
	min-height: 100vh;
}

.policy-content {
	max-width: 900px;
	margin: 0 auto;
	background: rgba(26, 35, 50, 0.5);
	padding: 3rem;
	border-radius: 15px;
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.policy-content h2 {
	margin-top: 2.5rem;
	margin-bottom: 1.5rem;
	color: var(--accent-emerald);
}

.policy-content h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.policy-content ul,
.policy-content ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.policy-content li {
	margin-bottom: 0.8rem;
	color: var(--text-gray);
}

/* Thanks Page */
.thanks-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px 2rem 80px;
	background: var(--gradient-1);
}

.thanks-content {
	text-align: center;
	max-width: 700px;
	background: rgba(26, 35, 50, 0.6);
	padding: 4rem 3rem;
	border-radius: 20px;
	border: 1px solid rgba(16, 185, 129, 0.3);
	box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
}

.thanks-content h1 {
	background: var(--gradient-2);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1.5rem;
}

.thanks-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
	.hero-container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-image {
		order: -1;
	}

	nav:not(.mobile-nav) {
		display: none;
	}

	.burger-menu {
		display: flex !important;
	}
	
	.mobile-nav {
		display: block !important;
	}

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

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

	.process-item {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.process-number {
		margin: 0 auto;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}

	.cookie-consent {
		flex-direction: column;
		text-align: center;
	}

	.cookie-buttons {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 600px) {
	.header-container {
		padding: 0 1rem;
	}

	.hero {
		padding: 100px 1rem 60px;
	}

	.section {
		padding: 60px 0;
	}

	.content-card,
	.contact-form {
		padding: 2rem 1.5rem;
	}

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

	.policy-content {
		padding: 2rem 1.5rem;
	}

	.thanks-content {
		padding: 3rem 2rem;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}
}

/* Print styles */
@media print {
	header,
	.cookie-consent,
	.burger-menu {
		display: none;
	}
}

