/* Company Brandbar CSS - Unique classes to avoid conflicts */

.company-brandbar {
	background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
	padding: 80px 0;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.company-brandbar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	animation: companyBackgroundShift 20s ease-in-out infinite;
}

.company-brandbar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="companyGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.8"/></pattern></defs><rect width="100" height="100" fill="url(%23companyGrid)"/></svg>');
	opacity: 0.4;
	animation: companyGridFloat 15s ease-in-out infinite;
}

@keyframes companyBackgroundShift {
	0%, 100% { transform: scale(1) rotate(0deg); }
	50% { transform: scale(1.05) rotate(0.5deg); }
}

@keyframes companyGridFloat {
	0%, 100% { transform: translateY(0px) translateX(0px); }
	50% { transform: translateY(-5px) translateX(3px); }
}

.company-brandbar-header {
	position: relative;
	z-index: 2;
}

.company-section-title {
	color: #ffffff;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.company-section-subtitle {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.1rem;
	font-weight: 300;
	margin-bottom: 0;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.company-brandbar-swiper {
	padding: 20px 0;
	position: relative;
	z-index: 2;
	width: 100%;
}

.company-swiper-slide {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px;
	width: 350px !important;
}

.company-logo-container {
	position: relative;
	width: 300px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	overflow: hidden;
}

.company-logo-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
	transition: left 0.8s ease;
}

.company-logo-container:hover::before {
	left: 100%;
}

.company-logo-container:hover {
	transform: translateY(-12px) scale(1.08);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
	background: rgba(255, 255, 255, 1);
	border-color: rgba(255, 255, 255, 0.5);
}

.company-logo-image {
	max-width: 300px;
	max-height: 150px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(0%);
	transition: all 0.6s ease;
}

.company-logo-container:hover .company-logo-image {
	filter: grayscale(0%) brightness(1.1) contrast(1.1);
	transform: scale(1.05);
}

.company-logo-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
	color: white;
	padding: 15px 20px;
	text-align: center;
	transform: translateY(100%);
	transition: transform 0.6s ease;
	border-radius: 0 0 20px 20px;
	backdrop-filter: blur(5px);
}

.company-logo-container:hover .company-logo-overlay {
	transform: translateY(0);
}

.company-logo-name {
	font-size: 0.9rem;
	font-weight: 600;
	text-shadow: 0 2px 4px rgba(0,0,0,0.8);
	letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.company-brandbar {
		padding: 60px 0;
	}
	
	.company-section-title {
		font-size: 2rem;
	}
	
	.company-swiper-slide {
		height: 180px;
		padding: 20px;
		width: 320px !important;
	}
	
	.company-logo-container {
		width: 280px;
		height: 140px;
	}
	
	.company-logo-image {
		max-width: 280px;
		max-height: 140px;
	}
}

@media (max-width: 576px) {
	.company-section-title {
		font-size: 1.8rem;
	}
	
	.company-swiper-slide {
		height: 160px;
		padding: 18px;
		width: 300px !important;
	}
	
	.company-logo-container {
		width: 260px;
		height: 130px;
	}
	
	.company-logo-image {
		max-width: 260px;
		max-height: 130px;
	}
}
