/* ACTVPAK CHEM - Custom Styles */

/* Keyframe Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Custom Component Styles */
.product-card {
	transition: all 0.3s ease;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-counter {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

.stat-counter.animate {
	opacity: 1;
	transform: translateY(0);
}

.floating-animation {
	animation: float 6s ease-in-out infinite;
}

.gradient-text {
	background: linear-gradient(45deg, #3b82f6, #1fabe1);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.header-scrolled {
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	backdrop-filter: blur(5px);
}

.header-scrolled .logo-text {
	font-size: 1.25rem;
}

.header-scrolled .nav-link {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

/* Product Page Specific Styles */
.breadcrumb-nav {
	background: #f8fafc;
	border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-nav a {
	color: #6b7280;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
	color: #3b82f6;
}

.breadcrumb-nav .current {
	color: #3b82f6;
	font-weight: 600;
}

.feature-card {
	background: white;
	border-radius: 0.5rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.spec-table {
	border-collapse: collapse;
	width: 100%;
}

.spec-table th,
.spec-table td {
	border: 1px solid #e5e7eb;
	padding: 0.75rem;
	text-align: left;
}

.spec-table th {
	background-color: #f8fafc;
	font-weight: 600;
	color: #374151;
}

.spec-table tr:nth-child(even) {
	background-color: #f9fafb;
}

.faq-item {
	border-bottom: 1px solid #e5e7eb;
}

.faq-question {
	cursor: pointer;
	padding: 1rem 0;
	font-weight: 600;
	color: #374151;
	transition: color 0.3s ease;
}

.faq-question:hover {
	color: #3b82f6;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	color: #6b7280;
	line-height: 1.6;
}

.faq-answer.open {
	max-height: 200px;
	padding-bottom: 1rem;
}

.hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.1;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Form Enhancements */
.form-group {
	margin-bottom: 1.5rem;
}

.form-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #374151;
}

.btn-primary {
	background-color: #3b82f6;
	color: white;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 0.5rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: #2563eb;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
	background-color: white;
	color: #3b82f6;
	border: 2px solid #3b82f6;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-secondary:hover {
	background-color: #3b82f6;
	color: white;
	transform: translateY(-1px);
}

/* About Section Enhancements */
#about .grid {
	align-items: start;
}

@media (min-width: 1024px) {
	#about .grid {
		align-items: center;
	}
}

/* Enhanced spacing for about content */
#about .space-y-6 > * + * {
	margin-top: 1.5rem;
}

#about .space-y-4 > * + * {
	margin-top: 1rem;
}

/* Statistics cards hover effects */
.stat-card {
	transition: all 0.3s ease;
}

.stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness for about section */
@media (max-width: 768px) {
	#about {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	#about .grid {
		gap: 2rem;
	}

	#about .text-2xl {
		font-size: 1.5rem;
	}

	#about .text-lg {
		font-size: 1rem;
	}
}

/* Image overlay improvements */
.image-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
	padding: 1rem;
	color: white;
}

/* Quality Policy Section Styles */
#quality-policy-preview,
#quality-policy-full {
	transition: all 0.5s ease-in-out;
}

#quality-policy-full {
	animation: fadeInUp 0.6s ease-out;
}

#quality-policy-full.hidden {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
}

#read-more-btn,
#read-less-btn {
	transition: all 0.3s ease;
}

#read-more-btn:hover,
#read-less-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
	.product-card {
		margin-bottom: 1rem;
	}

	.floating-animation {
		animation: none;
	}

	.gradient-text {
		background: none;
		-webkit-background-clip: unset;
		-webkit-text-fill-color: unset;
		background-clip: unset;
		color: #3b82f6; /* Fallback for mobile */
	}
}

/* Print Styles */
@media print {
	.loading-screen,
	.back-to-top,
	nav,
	.floating-animation {
		display: none !important;
	}

	.product-card,
	.feature-card {
		box-shadow: none;
		border: 1px solid #e5e7eb;
	}
}
