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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.6;
	color: #2e2e2e;
	background-color: #faf7f0;
	overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

h1 {
	font-size: 3.5rem;
	font-weight: 700;
}

h2 {
	font-size: 2.5rem;
	color: #1e3a5f;
}

h3 {
	font-size: 1.8rem;
	color: #1e3a5f;
}

p {
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

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

/* Buttons */
.mg-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mg-btn-primary {
	background: linear-gradient(135deg, #3ab0a4, #1e3a5f);
	color: white;
	box-shadow: 0 4px 15px rgba(58, 176, 164, 0.3);
}

.mg-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(58, 176, 164, 0.4);
}

.mg-btn-secondary {
	background: transparent;
	color: #1e3a5f;
	border: 2px solid #1e3a5f;
}

.mg-btn-secondary:hover {
	background: #1e3a5f;
	color: white;
	transform: translateY(-2px);
}

.mg-btn-accent {
	background: #f2c14e;
	color: #1e3a5f;
	box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.mg-btn-accent:hover {
	background: #e6b340;
	transform: translateY(-2px);
}

/* Header */
.mg-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 20px 0;
	background: rgba(250, 247, 240, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	transition: all 0.3s ease;
}

.mg-header.mg-scrolled {
	background: rgba(250, 247, 240, 0.98);
	box-shadow: 0 2px 20px rgba(30, 58, 95, 0.1);
	padding: 15px 0;
}

.mg-header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mg-logo {
	font-size: 2rem;
	font-weight: 700;
	color: #1e3a5f;
	text-decoration: none;
}

.mg-nav {
	display: flex;
	align-items: center;
}

.mg-nav-list {
	display: flex;
	gap: 2rem;
}

.mg-nav-link {
	color: #2e2e2e;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 6px;
	transition: all 0.3s ease;
	position: relative;
}

.mg-nav-link:hover {
	color: #3ab0a4;
	background: rgba(58, 176, 164, 0.1);
}

.mg-nav-link.mg-active {
	color: #3ab0a4;
}

/* Mobile Menu */
.mg-menu-toggle {
	display: none;
	flex-direction: column;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.mg-menu-toggle span {
	width: 25px;
	height: 3px;
	background: #1e3a5f;
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

.mg-mobile-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: rgba(250, 247, 240, 0.98);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
	padding: 20px 0;
}

.mg-mobile-nav-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0 20px;
}

.mg-mobile-nav-link {
	padding: 12px 16px;
	color: #2e2e2e;
	font-weight: 500;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.mg-mobile-nav-link:hover {
	background: rgba(58, 176, 164, 0.1);
	color: #3ab0a4;
}

/* Hero Section */
.mg-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: linear-gradient(
			135deg,
			rgba(30, 58, 95, 0.8),
			rgba(58, 176, 164, 0.6)
		),
		url('assets/mg-hero.webp');
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.mg-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		45deg,
		rgba(242, 193, 78, 0.1) 0%,
		rgba(58, 176, 164, 0.1) 50%,
		rgba(30, 58, 95, 0.1) 100%
	);
	animation: mg-gradient-shift 8s ease-in-out infinite;
}

@keyframes mg-gradient-shift {
	0%,
	100% {
		opacity: 0.1;
	}
	50% {
		opacity: 0.3;
	}
}

.mg-hero-content {
	text-align: center;
	color: white;
	z-index: 2;
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

.mg-hero-title {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	animation: mg-fade-in-up 1s ease-out;
}

.mg-hero-subtitle {
	font-size: 1.4rem;
	margin-bottom: 2.5rem;
	opacity: 0.9;
	animation: mg-fade-in-up 1s ease-out 0.3s both;
}

.mg-hero-btn {
	animation: mg-fade-in-up 1s ease-out 0.6s both;
}

/* Animations */
@keyframes mg-fade-in-up {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes mg-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.mg-fade-in {
	opacity: 0;
	animation: mg-fade-in 0.8s ease-out forwards;
}

.mg-slide-in-left {
	opacity: 0;
	transform: translateX(-50px);
	animation: mg-slide-in-left 0.8s ease-out forwards;
}

@keyframes mg-slide-in-left {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Sections */
.mg-section {
	padding: 100px 0;
	position: relative;
}

.mg-section:nth-child(even) {
	background: rgba(255, 255, 255, 0.5);
}

.mg-section-header {
	text-align: center;
	margin-bottom: 60px;
}

.mg-section-title {
	margin-bottom: 20px;
	position: relative;
}

.mg-section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #3ab0a4, #f2c14e);
	border-radius: 2px;
}

.mg-section-subtitle {
	font-size: 1.2rem;
	color: #666;
	max-width: 600px;
	margin: 0 auto;
}

/* About Section */
.mg-about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-top: 60px;
}

.mg-about-card {
	background: white;
	padding: 40px 30px;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.mg-about-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #3ab0a4, #f2c14e);
}

.mg-about-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

.mg-about-icon {
	font-size: 3rem;
	color: #3ab0a4;
	margin-bottom: 20px;
}

.mg-about-card h3 {
	margin-bottom: 15px;
	font-size: 1.5rem;
}

.mg-about-card p {
	color: #666;
	line-height: 1.7;
}

/* Development Domains Section */
.mg-domains-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 60px;
}

.mg-domain-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
	transition: all 0.3s ease;
	position: relative;
}

.mg-domain-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

.mg-domain-image {
	height: 200px;
	background: linear-gradient(135deg, #3ab0a4, #1e3a5f);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	color: white;
	position: relative;
	overflow: hidden;
}

.mg-domain-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mg-domain-image::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.1) 0%,
		transparent 70%
	);
	animation: mg-pulse 3s ease-in-out infinite;
}

@keyframes mg-pulse {
	0%,
	100% {
		opacity: 0.5;
	}
	50% {
		opacity: 1;
	}
}

.mg-domain-content {
	padding: 30px;
}

.mg-domain-content h3 {
	margin-bottom: 15px;
	color: #1e3a5f;
}

.mg-domain-content p {
	color: #666;
	line-height: 1.7;
}

/* Pricing Section */
.mg-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
	margin-top: 60px;
}

.mg-plan-card {
	background: white;
	border-radius: 20px;
	padding: 40px 30px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.mg-plan-card.mg-featured {
	transform: scale(1.05);
	border: 3px solid #3ab0a4;
}

.mg-plan-card.mg-featured::before {
	content: 'POPULAIRE';
	position: absolute;
	top: 20px;
	right: -35px;
	background: #f2c14e;
	color: #1e3a5f;
	padding: 5px 40px;
	font-size: 0.8rem;
	font-weight: 700;
	transform: rotate(45deg);
}

.mg-pricing-link {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.mg-pricing-link a {
	margin-top: auto;
}

.mg-plan-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

.mg-plan-card.mg-featured:hover {
	transform: scale(1.05) translateY(-10px);
}

.mg-plan-title {
	font-size: 1.8rem;
	margin-bottom: 10px;
	color: #1e3a5f;
}

.mg-plan-price {
	font-size: 3rem;
	font-weight: 700;
	color: #3ab0a4;
	margin-bottom: 5px;
}

.mg-plan-period {
	color: #666;
	margin-bottom: 30px;
}

.mg-plan-features {
	margin-bottom: 30px;
	text-align: left;
}

.mg-plan-features li {
	padding: 8px 0;
	color: #666;
	position: relative;
	padding-left: 25px;
}

.mg-plan-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #3ab0a4;
	font-weight: bold;
}

/* Contact Section */
.mg-contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	margin-top: 60px;
}

.mg-contact-form {
	background: white;
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
}

.mg-form-group {
	margin-bottom: 25px;
}

.mg-form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #1e3a5f;
}

.mg-form-input,
.mg-form-textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: #fafafa;
}

.mg-form-input:focus,
.mg-form-textarea:focus {
	outline: none;
	border-color: #3ab0a4;
	background: white;
	box-shadow: 0 0 0 3px rgba(58, 176, 164, 0.1);
}

.mg-form-input.mg-error,
.mg-form-textarea.mg-error {
	border-color: #e74c3c;
	background: #fff5f5;
}

.mg-form-error {
	color: #e74c3c;
	font-size: 0.9rem;
	margin-top: 5px;
	display: none;
}

.mg-form-error.mg-show {
	display: block;
}

.mg-form-textarea {
	resize: vertical;
	min-height: 120px;
}

.mg-form-submit {
	width: 100%;
}

.mg-map-container {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
	height: 100%;
}

/* Map Section */
.mg-map {
	height: 100%;
	border-radius: 1rem;
	overflow: hidden;
}

@media (max-width: 768px) {
	.mg-map {
		height: 400px;
	}
}

.iti {
	width: 100% !important;
}
.iti input[type='tel'] {
	width: 100% !important;
}

.mg-contact-map {
	position: relative;
	height: 100%;

	/* flex: 1; */

	/* margin-top: 2rem; */
	/* border-radius: 10px; */
	/* overflow: hidden; */
}

.mg-map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

	height: 100%;
	border-radius: 1rem;

	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1;
	cursor: pointer;
}

/* Cookie Popup */
.mg-cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(30, 58, 95, 0.95);
	color: white;
	padding: 20px 0;
	z-index: 10000;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

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

.mg-cookie-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.mg-cookie-text {
	flex: 1;
	min-width: 300px;
}

.mg-cookie-text a {
	color: #f2c14e;
	text-decoration: underline;
}

.mg-cookie-actions {
	display: flex;
	gap: 10px;
}

.mg-cookie-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
}

.mg-cookie-accept {
	background: #3ab0a4;
	color: white;
}

.mg-cookie-accept:hover {
	background: #2d8b7f;
}

.mg-cookie-decline {
	background: transparent;
	color: white;
	border: 2px solid white;
}

.mg-cookie-decline:hover {
	background: white;
	color: #1e3a5f;
}

/* Footer */
.mg-footer {
	background: #1e3a5f;
	color: white;
	padding: 60px 0 30px;
}

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

.mg-footer-section h4 {
	margin-bottom: 20px;
	color: #f2c14e;
	font-size: 1.2rem;
}

.mg-footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mg-footer-link {
	color: rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease;
	padding: 5px 0;
}

.mg-footer-link:hover {
	color: #3ab0a4;
	padding-left: 10px;
}

.mg-footer-contact p {
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.8);
}

.mg-footer-contact strong {
	color: #f2c14e;
}

.mg-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 30px;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
}

/* Legal Pages */
.mg-legal-header {
	padding: 120px 0 60px;
	background: linear-gradient(135deg, #1e3a5f, #3ab0a4);
	color: white;
	text-align: center;
}

.mg-legal-title {
	font-size: 3rem;
	margin-bottom: 20px;
}

.mg-legal-subtitle {
	font-size: 1.2rem;
	opacity: 0.9;
}

.mg-legal-content {
	padding: 80px 0;
	background: white;
}

.mg-legal-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

.mg-legal-nav {
	background: #f8f9fa;
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 40px;
}

.mg-legal-nav h3 {
	margin-bottom: 20px;
	color: #1e3a5f;
}

.mg-legal-nav-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.mg-legal-nav-link {
	padding: 10px 20px;
	background: white;
	border-radius: 6px;
	color: #666;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.mg-legal-nav-link:hover,
.mg-legal-nav-link.mg-active {
	background: #3ab0a4;
	color: white;
}

.mg-legal-section {
	margin-bottom: 50px;
	padding-bottom: 30px;
	border-bottom: 1px solid #eee;
}

.mg-legal-section:last-child {
	border-bottom: none;
}

.mg-legal-section h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: #1e3a5f;
}

.mg-legal-section h3 {
	font-size: 1.4rem;
	margin: 25px 0 15px;
	color: #3ab0a4;
}

.mg-legal-section p {
	margin-bottom: 15px;
	line-height: 1.8;
	color: #444;
}

.mg-legal-section ul {
	margin: 15px 0;
	padding-left: 20px;
}

.mg-legal-section li {
	list-style: disc;
	margin-bottom: 10px;
	line-height: 1.7;
	color: #444;
}

.mg-legal-highlight {
	background: #f0f8ff;
	border-left: 4px solid #3ab0a4;
	padding: 20px;
	margin: 20px 0;
	border-radius: 0 8px 8px 0;
}

.mg-legal-contact {
	background: #f8f9fa;
	padding: 30px;
	border-radius: 10px;
	margin: 30px 0;
}

.mg-legal-contact h3 {
	color: #1e3a5f;
	margin-bottom: 20px;
}

.mg-legal-date {
	font-style: italic;
	color: #666;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

/* Thank You Page */
.mg-thank-you {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #faf7f0, rgba(58, 176, 164, 0.1));
	text-align: center;
}

.mg-thank-you-content {
	max-width: 600px;
	padding: 60px 40px;
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(30, 58, 95, 0.1);
}

.mg-thank-you-icon {
	font-size: 4rem;
	color: #3ab0a4;
	margin-bottom: 30px;
}

.mg-thank-you h1 {
	color: #1e3a5f;
	margin-bottom: 20px;
}

.mg-thank-you p {
	color: #666;
	margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.mg-nav {
		display: none;
	}

	.mg-menu-toggle {
		display: flex;
	}

	.mg-mobile-nav.mg-show {
		display: block;
	}

	.mg-hero-title {
		font-size: 2.5rem;
	}

	.mg-hero-subtitle {
		font-size: 1.2rem;
	}

	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 2rem;
	}

	.mg-section {
		padding: 60px 0;
	}

	.mg-about-grid,
	.mg-domains-grid,
	.mg-pricing-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.mg-contact-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.mg-plan-card.mg-featured {
		transform: none;
	}

	.mg-cookie-content {
		flex-direction: column;
		gap: 15px;
	}

	.mg-legal-nav-links {
		flex-direction: column;
	}

	.mg-legal-nav-link {
		text-align: center;
	}
	.mg-legal-title {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.mg-container {
		padding: 0 15px;
	}

	.mg-hero-title {
		font-size: 2rem;
	}

	.mg-hero-subtitle {
		font-size: 1rem;
	}

	.mg-section {
		padding: 40px 0;
	}

	.mg-about-card,
	.mg-contact-form {
		padding: 25px 20px;
	}

	.mg-plan-card {
		padding: 30px 20px;
	}

	.mg-legal-nav,
	.mg-legal-contact {
		padding: 20px;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.mg-btn-primary {
		background: #000;
		border: 2px solid #fff;
	}

	.mg-btn-secondary {
		background: #fff;
		color: #000;
		border: 2px solid #000;
	}
}
