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

body {
	font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.7;
	color: #1a1a1a;
	background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1.2rem 0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	animation: slideDown 0.8s ease-out;
}

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

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: 800;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

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

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
	color: #667eea;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
}

/* Hero Section */
.hero {
	background: linear-gradient(
			135deg,
			rgba(102, 126, 234, 0.9),
			rgba(118, 75, 162, 0.9)
		),
		url('../images/hero-bg.jpg') center/cover;
	color: white;
	text-align: center;
	padding: 150px 0 100px;
	min-height: 80vh;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(
			circle at 30% 80%,
			rgba(255, 255, 255, 0.1) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(255, 255, 255, 0.1) 0%,
			transparent 50%
		);
	pointer-events: none;
}

.hero h1 {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	font-weight: 900;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	animation: fadeInUp 1s ease-out 0.3s both;
	line-height: 1.1;
}

.hero p {
	font-size: 1.4rem;
	margin-bottom: 2.5rem;
	opacity: 0.95;
	animation: fadeInUp 1s ease-out 0.6s both;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.btn {
	display: inline-block;
	padding: 14px 35px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	position: relative;
	overflow: hidden;
	letter-spacing: 0.5px;
	animation: fadeInUp 1s ease-out 0.9s both;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

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

.btn:hover {
	background: linear-gradient(135deg, #5a6fd8 0%, #6b4c93 100%);
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
	background: transparent;
	border: 2px solid white;
	margin-left: 1rem;
}

.btn-secondary:hover {
	background: white;
	color: #667eea;
}

/* Section Styles */
section {
	padding: 100px 0;
	position: relative;
}

section:nth-child(even) {
	background: linear-gradient(135deg, #667eea, #764ba2);
	backdrop-filter: blur(10px);
}

section:nth-child(odd) {
	background: rgba(255, 255, 255, 0.9);
}

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

.section-title h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #000000;
	font-weight: 700;
}

.section-title p {
	font-size: 1.1rem;
	color: #1a1a1a;
	max-width: 600px;
	margin: 0 auto;
	font-weight: 500;
}

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

.service-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 2.5rem;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	text-align: center;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(102, 126, 234, 0.1) 0%,
		rgba(118, 75, 162, 0.1) 100%
	);
	transition: left 0.5s ease;
}

.service-card:hover::before {
	left: 0;
}

.service-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.service-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 15px;
	margin-bottom: 1.5rem;
	transition: all 0.4s ease;
	position: relative;
	z-index: 2;
}

.service-card:hover img {
	transform: scale(1.05);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #000000;
	font-weight: 600;
}

.service-card p {
	color: #1a1a1a;
	line-height: 1.6;
	font-weight: 500;
}

/* Portfolio Grid */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
}

.portfolio-item {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	cursor: pointer;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

.portfolio-item::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		45deg,
		rgba(102, 126, 234, 0.2),
		rgba(118, 75, 162, 0.2)
	);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.portfolio-item:hover::after {
	opacity: 1;
}

.portfolio-item:hover {
	transform: scale(1.05) rotateY(5deg);
	box-shadow: 0 25px 60px rgba(102, 126, 234, 0.4);
}

.portfolio-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.portfolio-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(102, 126, 234, 0.9);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
	opacity: 1;
}

/* About Section */
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	margin-top: 3rem;
}

.about-text h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: #000000;
	font-weight: 600;
}

.about-text p {
	margin-bottom: 1.5rem;
	color: #1a1a1a;
	line-height: 1.7;
	font-weight: 500;
}

.about-image img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.team-member {
	text-align: center;
	background: rgba(255, 255, 255, 0.95);
	padding: 2rem;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.team-member img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(15px);
	padding: 3.5rem;
	border-radius: 25px;
	margin-top: 3rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	position: relative;
	overflow: hidden;
}

.contact-form::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(
		from 0deg,
		transparent,
		rgba(102, 126, 234, 0.1),
		transparent
	);
	animation: rotate 20s linear infinite;
	z-index: -1;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

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

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #000000;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	transform: scale(1.02);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.contact-info {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	margin-top: 2rem;
}

.contact-info h3 {
	margin-bottom: 1.5rem;
	color: #333;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	padding: 0.5rem 0;
}

.contact-item strong {
	margin-right: 1rem;
	min-width: 100px;
}

/* Footer */
footer {
	background: #333;
	color: white;
	text-align: center;
	padding: 3rem 0 2rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h3 {
	margin-bottom: 1rem;
	color: #667eea;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: #667eea;
}

.footer-bottom {
	border-top: 1px solid #444;
	padding-top: 1rem;
	color: #999;
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #333;
	color: white;
	padding: 1rem;
	z-index: 1001;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.cookie-consent.show {
	transform: translateY(0);
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.cookie-text {
	flex: 1;
	margin-right: 2rem;
}

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

.cookie-buttons button {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
}

.accept-btn {
	background: #667eea;
	color: white;
}

.decline-btn {
	background: transparent;
	color: white;
	border: 1px solid white;
}

/* Responsive Design */
@media (max-width: 768px) {
	.mobile-menu-toggle {
		display: block;
	}

	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		flex-direction: column;
		padding: 1rem;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	}

	.nav-links.active {
		display: flex;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	.btn-secondary {
		margin-left: 0;
		margin-top: 1rem;
	}

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

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

	.cookie-content {
		flex-direction: column;
		gap: 1rem;
	}

	.cookie-text {
		margin-right: 0;
		text-align: center;
	}

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

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

	.hero h1 {
		font-size: 2.8rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	.portfolio-item:hover {
		transform: scale(1.02) rotateY(0deg);
	}
}

/* Floating Elements Animation */
.floating-element {
	position: absolute;
	width: 20px;
	height: 20px;
	background: linear-gradient(
		135deg,
		rgba(102, 126, 234, 0.3),
		rgba(118, 75, 162, 0.3)
	);
	border-radius: 50%;
	animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
	top: 20%;
	left: 10%;
	animation-delay: -1s;
}

.floating-element:nth-child(2) {
	top: 60%;
	right: 15%;
	animation-delay: -3s;
}

.floating-element:nth-child(3) {
	bottom: 30%;
	left: 20%;
	animation-delay: -5s;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
		opacity: 0.7;
	}
	50% {
		transform: translateY(-20px) rotate(180deg);
		opacity: 0.3;
	}
}

/* Pulse effect for service cards */
.service-card h3 {
	color: #000000;
	font-weight: 600;
	position: relative;
	z-index: 3;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #667eea, #764ba2);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, #5a6fd8, #6b4c93);
}

/* Smooth entrance animations */
.container > * {
	animation: fadeInUp 0.8s ease-out;
}

/* Glass morphism for contact info */
.contact-info {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
}

/* Legal Pages Styling */
.legal-content {
	max-width: 800px;
	margin: 120px auto 0;
	padding: 2rem;
	line-height: 1.8;
}

.legal-content h1 {
	margin-bottom: 2rem;
	color: #333;
}

.legal-content h2 {
	margin: 2rem 0 1rem;
	color: #667eea;
}

.legal-content h3 {
	margin: 1.5rem 0 0.5rem;
	color: #333;
}

.legal-content ul {
	margin: 1rem 0;
	padding-left: 2rem;
}

.legal-content li {
	margin-bottom: 0.5rem;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
	border-color: #e74c3c;
}

.error-message {
	color: #e74c3c;
	font-size: 0.9rem;
	margin-top: 0.5rem;
	display: none;
}

.form-group.error .error-message {
	display: block;
}

.success-message {
	background: #d4edda;
	color: #155724;
	padding: 1rem;
	border-radius: 5px;
	margin-bottom: 1rem;
	display: none;
}

.success-message.show {
	display: block;
}
