/* testimonials.css */

.page-content {
	padding: 40px;
	margin: 0 auto;
	max-width: 1400px;
}

/* Divider style */
.divider {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 20px 0;
}

.divider::before,
.divider::after {
	content: '';
	flex: 1;
	height: 2px;
	background: linear-gradient(to right, transparent, #56B7D8);
}

.divider::after {
	background: linear-gradient(to left, transparent, #56B7D8);
}

.divider img {
	margin: 0 10px;
	width: 50px; /* Adjust width as needed */
	height: auto; /* Maintain aspect ratio */
}

/* Review Us Section */
.review-us-container {
	/* Box model (inside to outside) */
	padding: 2rem;
	margin-bottom: 4rem; /* Increased from 2rem for better spacing */

	/* Layout */
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;

	/* Visual styles */
	background: var(--Review-Us-bg);
	border: var(--Review-Us-border);
	border-radius: 10px;
	box-shadow: var(--Review-Us-box-shadow);
}

.review-us-content {
	/* Layout */
	flex: 2;
}

.review-us-content p {
	/* Ensure paragraph is always left-aligned */
	text-align: left !important;
}

.review-us-image {
	/* Layout */
	flex: 1;
	text-align: center;
}

.review-us-image img {
	/* Box model */
	max-width: 150px;
}

.review-us-container h2,
.review-us-container p {
	/* Typography */
	color: var(--primary-dark);
	text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.review-us-container h2 {
	/* Box model */
	margin-top: 0;
	margin-bottom: 1rem;
	/* Typography */
	text-align: left; /* Default to left alignment */
}

.review-us-container p {
	/* Box model */
	margin-bottom: 1.5rem;
}

.review-button {
	/* Box model */
	display: inline-block;
	padding: 0.75rem 1.5rem;

	/* Typography */
	color: white;
	font-weight: bold;
	text-decoration: none;

	/* Visual styles */
	background-color: var(--accent);
	border-radius: 4px;

	/* Animation */
	transition: background-color 0.3s ease;
}

.review-button:hover {
	/* Visual styles */
	background-color: var(--accent-dark);
}

.review-button i {
	/* Box model */
	margin-right: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.review-us-container {
		/* Layout */
		flex-direction: column;
		/* text-align: center; <-- Removed this */
	}

	.review-us-image {
		/* Box model */
		margin-top: 1.5rem;
	}

	.review-us-container h2 {
		/* Center align H2 on smaller screens */
		text-align: center;
	}

	.review-us-content {
		/* Center align content (including the button) on smaller screens */
		text-align: center;
	}
}

.testimonial-card {
	border: 1px solid #89CFF8;
	background: linear-gradient(145deg, rgba(183, 224, 249, 0.2), rgba(183, 224, 249, 0.5));
	box-shadow: 12px 12px 24px rgba(134, 185, 221, 0.3), -12px -12px 24px rgba(222, 238, 250, 0.6);
	border-radius: 10px;
	padding: 30px;
	margin-bottom: 40px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative; /* Add this for positioning the quote */
}

.testimonial-card::before { /* Add a pseudo-element for the quote mark */
	content: '“';  /* The quotation mark character */
	font-family: 'Brush Script MT', cursive;
	font-size: 190px; /* Adjust the size as needed */
	color: rgba(5, 92, 157, 0.5);
	position: absolute;
	top: -62px; /* Adjust positioning as needed */
	left: -58px; /* Adjust positioning as needed */
}

.testimonial-card:hover {
	transform: translateY(-10px);
	box-shadow: 12px 12px 24px rgba(134, 185, 221, 0.45), -12px -12px 24px rgba(222, 238, 250, 0.8);
}

.testimonial-card p {
	font-size: 20px;
	font-style: italic;
	color: #055C9D;
	text-align: left;
	line-height: 1.6;
	margin-bottom: 20px;
}

.testimonial-card .author {
	font-size: 18px;
	font-weight: bold;
	text-align: right;
	margin-bottom: 0;
}


@media (max-width: 1279px) {
	.page-content {
		max-width: 1200px;
	}
}

@media (max-width: 1023px) {
	.page-content {
		max-width: 800px;
	}
}

@media (max-width: 767px) {
	.page-content {
		padding: 20px;
	}
}
