/* M2M Consulting Website Styles */

:root {
	--primary-color: #2563eb;
	--secondary-color: #1e40af;
	--accent-color: #3b82f6;
	--text-dark: #1f2937;
	--text-light: #6b7280;
	--bg-light: #f9fafb;
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
	font-family: var(--font-primary);
	color: var(--text-dark);
	line-height: 1.7;
	padding-top: 76px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
	transition: all 0.3s ease;
}

.navbar-brand {
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	padding: 0;
	display: flex;
	align-items: center;
	font-weight: 600;
}

.navbar-brand img {
	height: 40px;
	width: auto;
	transition: opacity 0.3s ease;
}

.navbar-brand img:hover {
	opacity: 0.8;
}

.nav-link {
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: -0.01em;
	color: var(--text-dark) !important;
	transition: color 0.3s ease;
	margin: 0 0.5rem;
	position: relative;
}

.nav-link.active {
	color: var(--primary-color) !important;
	font-weight: 600;
}

.nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--primary-color);
	border-radius: 2px;
}

.nav-link:hover {
	color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
	opacity: 0.3;
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-title {
	font-family: var(--font-heading);
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.hero-subtitle {
	font-size: 1.25rem;
	font-weight: 400;
	margin-bottom: 2rem;
	opacity: 0.95;
	line-height: 1.6;
	letter-spacing: -0.01em;
}

/* Buttons */
.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	padding: 14px 36px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: -0.01em;
	border-radius: 8px;
	transition: all 0.3s ease;
	text-transform: none;
}

.btn-primary:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-outline-primary {
	border-color: white;
	color: white;
	padding: 14px 36px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: -0.01em;
	border-radius: 8px;
	border-width: 2px;
	transition: all 0.3s ease;
	text-transform: none;
}

.btn-outline-primary:hover {
	background-color: white;
	color: var(--primary-color);
	transform: translateY(-2px);
}

/* Section Styling */
.section {
	padding: 80px 0;
}

.section-title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--text-dark);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.section-subtitle {
	font-size: 1.125rem;
	font-weight: 400;
	color: var(--text-light);
	margin-bottom: 3rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
	letter-spacing: -0.01em;
}

/* Services Cards */
.service-card {
	background: white;
	border-radius: 16px;
	padding: 2.5rem;
	height: 100%;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	border-color: var(--primary-color);
}

.service-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	font-size: 1.75rem;
	color: white;
}

.service-card h3 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--text-dark);
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.service-card p {
	color: var(--text-light);
	margin-bottom: 1.5rem;
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 400;
}

/* Features Section */
.features-section {
	background-color: var(--bg-light);
}

.feature-item {
	padding: 1.5rem 0;
}

.feature-item i {
	color: var(--primary-color);
	font-size: 1.5rem;
	margin-right: 1rem;
}

.feature-item h4 {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	letter-spacing: -0.01em;
	line-height: 1.4;
}

.feature-item p {
	color: var(--text-light);
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 400;
}

/* Stats Section */
.stats-section {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 60px 0;
}

.stat-item {
	text-align: center;
	padding: 1.5rem;
}

.stat-number {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.stat-label {
	font-size: 1.125rem;
	font-weight: 500;
	opacity: 0.9;
	letter-spacing: -0.01em;
}

/* Contact Form */
.contact-section {
	background-color: var(--bg-light);
}

.contact-form {
	background: white;
	border-radius: 16px;
	padding: 2.5rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.form-control {
	border-radius: 8px;
	border: 1.5px solid #e5e7eb;
	padding: 14px 18px;
	transition: all 0.3s ease;
	font-family: var(--font-primary);
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: -0.01em;
}

.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
	outline: none;
}

.form-label {
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: -0.01em;
	margin-bottom: 0.5rem;
	color: var(--text-dark);
}

/* About Section */
.about-content {
	font-size: 1.125rem;
	color: var(--text-light);
	line-height: 1.8;
	font-weight: 400;
	letter-spacing: -0.01em;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

h1 {
	font-weight: 800;
	letter-spacing: -0.03em;
}

h2 {
	font-weight: 700;
	letter-spacing: -0.02em;
}

h3 {
	font-weight: 600;
	letter-spacing: -0.01em;
}

p {
	font-weight: 400;
	letter-spacing: -0.01em;
}

/* Page Header */
.page-header {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 100px 0 60px;
	text-align: center;
}

.page-header h1 {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 1rem;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.page-header p {
	font-size: 1.25rem;
	font-weight: 400;
	opacity: 0.9;
	letter-spacing: -0.01em;
	line-height: 1.6;
}

/* Content Section */
.content-section {
	padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2.5rem;
		letter-spacing: -0.02em;
	}
	
	.hero-subtitle {
		font-size: 1.125rem;
	}
	
	.section-title {
		font-size: 2rem;
		letter-spacing: -0.02em;
	}
	
	.page-header h1 {
		font-size: 2.25rem;
		letter-spacing: -0.02em;
	}
	
	.section {
		padding: 60px 0;
	}
	
	.service-card {
		margin-bottom: 2rem;
		padding: 2rem;
	}
	
	.stat-number {
		font-size: 2.5rem;
	}
}

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

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-primary {
	color: var(--primary-color) !important;
}

.bg-primary {
	background-color: var(--primary-color) !important;
}

.shadow-sm {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.rounded-lg {
	border-radius: 12px;
}

/* Social Media Icons */
footer .social-media-icons {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

footer .social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	text-decoration: none !important;
	color: rgba(255, 255, 255, 0.7) !important;
}

footer .social-icon:hover {
	background: var(--primary-color);
	color: white !important;
	transform: translateY(-2px);
}

footer .social-icon .fab {
	font-size: 1.1rem;
}

