/* Hero Section */
#md-hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	background-size: cover;
	background-position: center;
	padding: 100px 20px;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.hero-container {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.hero-content {
	text-align: center;
	color: #fff;
}

.hero-content h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 25px;
	line-height: 1.2;
	color: #fff;
}

.hero-content p {
	font-size: 1.25rem;
	margin-bottom: 40px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-buttons .btn {
	display: inline-block;
	padding: 15px 40px;
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.hero-buttons .btn-primary {
	background-color: #fff;
	color: #667eea;
}

.hero-buttons .btn-primary:hover {
	background-color: transparent;
	border-color: #fff;
	color: #fff;
}

.hero-buttons .btn-secondary {
	background-color: transparent;
	color: #fff;
	border-color: #fff;
}

.hero-buttons .btn-secondary:hover {
	background-color: #fff;
	color: #667eea;
}

/* Hero Responsive */
@media (max-width: 992px) {
	#md-hero {
		min-height: 500px;
		padding: 80px 20px;
	}

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

	.hero-content p {
		font-size: 1.125rem;
	}
}

@media (max-width: 576px) {
	#md-hero {
		min-height: 450px;
		padding: 60px 20px;
	}

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

	.hero-content p {
		font-size: 1rem;
		margin-bottom: 30px;
	}

	.hero-buttons {
		flex-direction: column;
		gap: 15px;
	}

	.hero-buttons .btn {
		padding: 12px 30px;
		width: 100%;
		max-width: 300px;
	}
}

/* Form */
.md-form-wrap .gform_required_legend,
.md-form-wrap .gform_wrapper.gravity-theme .gfield_required {
	display: none;
}
.md-form-wrap .gform_wrapper.gravity-theme .ginput_container_date input {
	width: 100%;
}

/* Services Section */
#md-services {
	padding: 80px 0;
	background-color: #f8f9fa;
}

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

#md-services .content-container {
	text-align: center;
}

#md-services h2 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: #222;
	font-weight: 700;
}

#md-services .section-subtitle {
	font-size: 1.125rem;
	color: #666;
	margin-bottom: 50px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.service-item {
	background: #fff;
	padding: 40px 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 25px;
	color: #007bff;
}

.service-icon svg {
	width: 100%;
	height: 100%;
}

.service-item h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #222;
	font-weight: 600;
}

.service-item p {
	font-size: 1rem;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}

	#md-services h2 {
		font-size: 2rem;
	}
}

@media (max-width: 576px) {
	.services-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	#md-services {
		padding: 60px 0;
	}

	#md-services h2 {
		font-size: 1.75rem;
	}

	.service-item {
		padding: 30px 20px;
	}
}

/* Why Choose Us Section */
#md-why-choose {
	padding: 80px 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

#md-why-choose .section-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

#md-why-choose .content-container {
	text-align: center;
}

#md-why-choose h2 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: #fff;
	font-weight: 700;
}

#md-why-choose .section-subtitle {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 50px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.feature-item {
	background: rgba(255, 255, 255, 0.1);
	padding: 40px 30px;
	border-radius: 10px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: transform 0.3s ease, background 0.3s ease;
	text-align: center;
}

.feature-item:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 25px;
	color: #fff;
}

.feature-icon svg {
	width: 100%;
	height: 100%;
}

.feature-item h3 {
	font-size: 1.375rem;
	margin-bottom: 15px;
	color: #fff;
	font-weight: 600;
}

.feature-item p {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin: 0;
}

/* Why Choose Us Responsive */
@media (max-width: 992px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}

	#md-why-choose h2 {
		font-size: 2rem;
	}
}

@media (max-width: 576px) {
	.features-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	#md-why-choose {
		padding: 60px 0;
	}

	#md-why-choose h2 {
		font-size: 1.75rem;
	}

	.feature-item {
		padding: 30px 20px;
	}

	.feature-item h3 {
		font-size: 1.25rem;
	}
}

/* Calculator Section */
#md-calculator {
	padding: 80px 0;
	background-color: #fff;
}

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

#md-calculator .content-container {
	text-align: center;
}

#md-calculator h2 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: #222;
	font-weight: 700;
}

#md-calculator .section-subtitle {
	font-size: 1.125rem;
	color: #666;
	margin-bottom: 50px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.calculator-wrapper {
	max-width: 800px;
	margin: 0 auto;
	background: #f8f9fa;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Calculator Responsive */
@media (max-width: 992px) {
	#md-calculator h2 {
		font-size: 2rem;
	}

	.calculator-wrapper {
		padding: 30px;
	}
}

@media (max-width: 576px) {
	#md-calculator {
		padding: 60px 0;
	}

	#md-calculator h2 {
		font-size: 1.75rem;
	}

	#md-calculator .section-subtitle {
		font-size: 1rem;
		margin-bottom: 40px;
	}

	.calculator-wrapper {
		padding: 25px 20px;
	}
}

/* Blog Section */
#md-blog {
	padding: 80px 0;
	background-color: #fff;
}

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

#md-blog .content-container {
	text-align: center;
}

#md-blog h2 {
	font-size: 2.5rem;
	margin-bottom: 50px;
	color: #222;
	font-weight: 700;
}

.blog-posts-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.blog-post-container {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: left;
}

.blog-post-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-post-image-container {
	position: relative;
	overflow: hidden;
	height: 250px;
}

.blog-post-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog-post-container:hover .blog-post-image-container img {
	transform: scale(1.05);
}

.blog-post-date {
	position: absolute;
	bottom: 15px;
	left: 15px;
	background-color: rgba(102, 126, 234, 0.95);
	padding: 8px 15px;
	border-radius: 5px;
}

.blog-post-date p {
	margin: 0;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
}

.blog-post-container h3 {
	font-size: 1.375rem;
	margin: 20px 20px 15px;
	color: #222;
	font-weight: 600;
	line-height: 1.4;
	position: relative;
}

.blog-post-container h3 a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-decoration: none;
	z-index: 1;
}

.blog-post-container h3:hover {
	color: #667eea;
}

.blog-post-excerpt {
	margin: 0 20px 15px;
	color: #666;
	font-size: 1rem;
	line-height: 1.6;
}

.blog-post-container > a {
	display: inline-block;
	margin: 0 20px 25px;
	color: #667eea;
	font-weight: 600;
	text-decoration: none;
	font-size: 1rem;
	position: relative;
	z-index: 2;
	transition: color 0.3s ease;
}

.blog-post-container > a:hover {
	color: #5568d3;
}

.blog-post-container > a::after {
	content: ' →';
}

/* Blog Responsive */
@media (max-width: 992px) {
	.blog-posts-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}

	#md-blog h2 {
		font-size: 2rem;
	}

	.blog-post-image-container {
		height: 220px;
	}
}

@media (max-width: 576px) {
	.blog-posts-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	#md-blog {
		padding: 60px 0;
	}

	#md-blog h2 {
		font-size: 1.75rem;
		margin-bottom: 40px;
	}

	.blog-post-image-container {
		height: 200px;
	}

	.blog-post-container h3 {
		font-size: 1.25rem;
	}
}