.modal-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.modal-content {
	background: white;
	padding: 30px;
	border-radius: 10px;
	max-width: 500px;
	width: 90%;
	position: relative;
}
.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.close-modal {
	font-size: 30px;
	cursor: pointer;
	color: #999;
}
.close-modal:hover {
	color: #333;
}
.modal-body .form-group {
	margin-bottom: 15px;
}
.modal-body input,
.modal-body textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
}
.modal-body textarea {
	height: 100px;
	resize: vertical;
}
@media (max-width: 767px){
	.modal-header h3{
		font-size: 30px;
	}
}

/* Gallery Image Fixes */
.project-block .image {
	height: 250px;
	overflow: hidden;
	position: relative;
	border-radius: 8px;
}

.project-block .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.project-block:hover .image img {
	transform: scale(1.05);
}

/* Ensure consistent grid layout */
.project-block {
	margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
	.project-block .image {
		height: 220px;
	}
}

@media (max-width: 768px) {
	.project-block .image {
		height: 200px;
	}
}

@media (max-width: 480px) {
	.project-block .image {
		height: 250px;
	}
}

/* Testimonials Carousel */
.testimonials-carousel {
	margin-top: 30px;
}

.testimonial-block {
	padding: 0 15px;
}

.testimonial-image {
	text-align: center;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.testimonial-image:hover {
	transform: translateY(-5px);
}

.testimonial-image img {
	width: 100%;
	height: auto;
	max-width: 300px;
	border-radius: 10px;
}

/* Owl Carousel Navigation */
.testimonials-carousel .owl-nav {
	text-align: center;
	margin-top: 30px;
}

.testimonials-carousel .owl-nav button {
	width: 50px;
	height: 50px;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 50%;
	margin: 0 10px;
	font-size: 18px;
	color: #333;
	transition: all 0.3s ease;
}

.testimonials-carousel .owl-nav button:hover {
	background: #007bff;
	border-color: #007bff;
	color: #fff;
}

.testimonials-carousel .owl-dots {
	text-align: center;
	margin-top: 20px;
}

.testimonials-carousel .owl-dots .owl-dot {
	width: 12px;
	height: 12px;
	background: #ddd;
	border-radius: 50%;
	margin: 0 5px;
	transition: all 0.3s ease;
}

.testimonials-carousel .owl-dots .owl-dot.active {
	background: #007bff;
}

/* Kitchen/Bathroom Gallery Fixes */
.project-block-five .image {
	height: 250px;
	overflow: hidden;
	position: relative;
	border-radius: 8px;
}

.project-block-five .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.project-block-five:hover .image img {
	transform: scale(1.05);
}

/* Ensure consistent grid layout for service pages */
.project-block-five {
	margin-bottom: 20px;
}

/* Responsive adjustments for service gallery */
@media (max-width: 991px) {
	.project-block-five .image {
		height: 220px;
	}
}

@media (max-width: 768px) {
	.project-block-five .image {
		height: 200px;
	}
}

@media (max-width: 480px) {
	.project-block-five .image {
		height: 180px;
	}
}
