/**
 * Trusted By Brands Section
 * Horizontal layout with text, logos, and member count
 */

/* Base Section */
.trusted-by-brands-section {
	background-color: rgba(0,0,0,0.05);
	padding: 48px 20px;
	width: 100%;
}

.trusted-by-brands-container {
	max-width: 1280px;
	margin: 0 auto;
}

.trusted-by-brands-grid {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	text-align: center;
}

/* Left - Text */
.trusted-by-text {
	width: 100%;
}

.trusted-by-text p {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: #6b7280;
	margin: 0;
}

/* Center - Logos */
.trusted-by-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
}

.partner-logo {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.partner-logo:hover {
	filter: grayscale(0%);
	opacity: 1;
}

/* Right - Member Count */
.trusted-by-count {
	width: 100%;
}

.count-text {
	font-family: 'Poppins', sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	color: #4b5563;
	letter-spacing: -0.5px;
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
	.trusted-by-brands-section {
		padding: 56px 32px;
	}

	.trusted-by-brands-grid {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 48px;
		text-align: left;
	}

	.trusted-by-text {
		flex: 0 0 auto;
		width: auto;
	}

	.trusted-by-text p {
		font-size: 16px;
	}

	.trusted-by-logos {
		flex: 1;
		gap: 40px;
		justify-content: center;
	}

	.logo-wrapper {
		height: 45px;
	}

	.trusted-by-count {
		flex: 0 0 auto;
		width: auto;
		text-align: right;
	}

	.count-text {
		font-size: 24px;
	}
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
	.trusted-by-brands-section {
		padding: 64px 32px;
	}

	.trusted-by-brands-grid {
		gap: 64px;
	}

	.trusted-by-text p {
		font-size: 17px;
	}

	.trusted-by-logos {
		gap: 48px;
	}

	.logo-wrapper {
		height: 50px;
	}
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
	.trusted-by-brands-section {
		padding: 50px 32px;
	}

	.trusted-by-logos {
		gap: 64px;
	}

	.logo-wrapper {
		height: 55px;
	}
}
