/* Elementor Service Section Widget Styles */

.ssa-widget-wrapper {
	font-family: inherit;
	color: #333;
}

/* Base Buttons */
.ssa-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 30px;
	font-weight: 600;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.3s ease;
}

.ssa-btn:hover {
	transform: translateY(-3px);
}

.ssa-btn-light {
	background-color: #fff;
	color: #0b5e4a;
}

.ssa-btn-light:hover {
	background-color: #f0f0f0;
}

.ssa-btn-dark {
	background-color: #000;
	color: #fff;
}

.ssa-btn-dark:hover {
	background-color: #333;
}

/* ==================
   Hero Section
   ================== */
.ssa-hero {
	background-color: #0b5e4a;
	border-radius: 20px;
	padding: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 60px;
	color: #fff;
	overflow: hidden;
}

.ssa-hero-content {
	flex: 1;
	max-width: 50%;
	padding-right: 40px;
}

.ssa-subtitle {
	display: block;
	font-size: 1.2rem;
	margin-bottom: 10px;
	opacity: 0.9;
}

.ssa-hero h1 {
	font-size: 3rem;
	line-height: 1.2;
	margin-bottom: 20px;
	color: #fff;
}

.ssa-hero p {
	font-size: 1.1rem;
	margin-bottom: 30px;
	opacity: 0.9;
}

.ssa-hero-image {
	flex: 1;
	max-width: 50%;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.ssa-hero-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

/* ==================
   Main Header Section
   ================== */
.ssa-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 40px;
}

.ssa-header-left {
	flex: 1;
	max-width: 45%;
}

.ssa-header h2 {
	font-size: 3.5rem;
	line-height: 1.1;
	margin: 0 0 10px 0;
	color: #000;
}

.ssa-small-text {
	display: block;
	font-size: 1rem;
	color: #666;
	margin-top: 20px;
}

.ssa-header-right {
	flex: 1;
	max-width: 45%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ssa-header-right p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #555;
	margin-bottom: 20px;
}

/* ==================
   Services Grid
   ================== */
.ssa-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.ssa-service-card {
	background-color: #f4fdf9;
	/* Default mint */
	border-radius: 20px;
	padding: 30px 20px 0 20px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.ssa-service-card:hover {
	transform: translateY(-5px);
}

.ssa-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.ssa-labels-wrap {
	display: flex;
	gap: 10px;
}

.ssa-label {
	background-color: #fff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
	color: #333;
}

.ssa-card-icon {
	width: 30px;
	height: 30px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0b5e4a;
	font-size: 12px;
}

.ssa-card-body {
	flex-grow: 1;
	margin-bottom: 20px;
}

.ssa-service-card h3 {
	font-size: 1.5rem;
	margin: 0 0 10px 0;
	color: #000;
	line-height: 1.2;
}

.ssa-service-card p {
	font-size: 0.95rem;
	color: #555;
	margin: 0;
	line-height: 1.5;
}

.ssa-card-image {
	position: relative;
	width: calc(100% + 40px);
	margin-left: -20px;
	margin-bottom: -5px;
	/* offset the padding to touch bottom */
}

.ssa-card-image img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
	border-radius: 20px 20px 0 0;
}

.ssa-card-btn {
	position: absolute;
	bottom: 20px;
	left: 20px;
	background-color: rgba(0, 0, 0, 0.4);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	border-radius: 20px;
	text-decoration: none !important;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	gap: 8px;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
}

.ssa-card-btn:hover {
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
	.ssa-hero {
		flex-direction: column;
		padding: 40px;
		text-align: center;
	}

	.ssa-hero-content,
	.ssa-hero-image {
		max-width: 100%;
		padding-right: 0;
	}

	.ssa-hero-image {
		margin-top: 30px;
	}

	.ssa-header {
		flex-direction: column;
		gap: 20px;
	}

	.ssa-header-left,
	.ssa-header-right {
		max-width: 100%;
	}

	.ssa-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ssa-services-grid {
		grid-template-columns: 1fr;
	}

	.ssa-header h2 {
		font-size: 2.2rem;
	}

	.ssa-hero h1 {
		font-size: 2.5rem;
	}
	
	.ssa-hero p {
		font-size: 1rem;
	}

	.ssa-service-card h3 {
		font-size: 1.3rem;
	}
}

@media (max-width: 480px) {
	.ssa-hero {
		padding: 30px 20px;
	}

	.ssa-hero h1 {
		font-size: 2rem;
	}

	.ssa-header h2 {
		font-size: 1.8rem;
	}

	.ssa-small-text {
		font-size: 0.9rem;
	}

	.ssa-card-image img {
		height: 200px;
	}
}