/* Utilities */
.content-auto {
	content-visibility: auto;
}

.text-shadow {
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.section-visible {
	opacity: 1;
	transform: translateY(0);
}

.vertical-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	white-space: nowrap;
}

.process-step:last-child::before {
	display: none;
}

.cat-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 50;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.cat-button:hover {
	transform: scale(1.05);
}

.testimonial-slider {
	scroll-snap-type: x mandatory;
}

.testimonial-slide {
	scroll-snap-align: start;
}

.video-container {
	aspect-ratio: 16/9;
}

.carousel-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #ccc;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.carousel-indicator.active {
	background-color: #2e7d32;
	width: 30px;
	border-radius: 5px;
}

/* Our Story Section */
.story-content {
	max-width: 1000px;
	margin: 0 auto;
}

.story-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
	margin-bottom: 4rem;
}

@media (min-width: 768px) {
	.story-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.img-container {
	height: 20rem;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.scaled-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.Horizontal-text {
	font-weight: bold;
	color: #2e7d32;
	font-size: 1.5rem;
	margin: 1rem 0;
}

.timeline {
	position: relative;
	padding: 20px 0;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 30px;
	width: 2px;
	background: #e0e0e0;
}

.timeline-item {
	position: relative;
	margin-bottom: 60px; /* 增加间距给图片留位置 */
	padding-left: 80px; display:flex;gap: 24px;
}

.timeline-year {
	position: absolute;
	left: 0;
	top: 0;
	width: 60px;
	height: 60px;
	background: var(--green);
	color: #fff;
	border-radius: 50%;
	text-align: center;
	line-height: 60px;
	font-weight: bold;
	font-size: 14px;
	z-index: 2;
	box-shadow: 0 0 0 5px #fff;
}

.timeline-content h2 {
	margin-top: 0;
	color: var(--text-dark);
	font-size: 1.4rem;
}

.timeline-content h2 span {
	display: block;
	font-size: 0.9rem;
	color: #D4AF37;
	text-transform: uppercase;
	margin-bottom: 5px;
	font-weight: bold;
}

.tech-highlight {
	background: #f8f9fa;
	border-left: 4px solid var(--accent-gold);
	padding: 15px;
	font-size: 0.95rem;
	margin-top: 10px;
}

.tech-highlight strong {
	color: var(--primary-blue);
}

.future-item .timeline-year {
	background: #D4AF37;
}

/* Certifications Section */
.certifications-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: 1000px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.certifications-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.cert-card {
	background-color: #ffffff;
	padding: 1.5rem;
	border-radius: 0.5rem;
}

.cert-card div {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.cert-card p {
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);
}

/* Factory Section */
.factory-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

@media (min-width: 768px) {
	.factory-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.factory-card {
	background-color: rgba(0, 0, 51, 0.82);
	padding: 1.5rem;
	border-radius: 0.5rem;color:#fff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.factory-card .img-container {
	height: 14rem;
	margin-bottom: 1rem;
}

.factory-card p {
	color: rgba(255, 255, 255, 0.8); margin-top:20px;
}

.capacity-stats {
	max-width: 750px;
	margin: 0 auto;
	text-align: center;
}

.capacity-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.capacity-grid {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	}
}

.capacity-card {
	background-color: #f3f4f6;
	padding: 1rem;
	border-radius: 0.5rem;
}

.capacity-card div {
	font-size: 2rem;
	font-weight: bold;
	color: #2e7d32;
	margin-bottom: 0.25rem;
}

.capacity-card span {
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);
}

/* Customization Process Section */
.process-container {
	max-width: 1250px;
	margin: 0 auto;
	position: relative;
}

.process-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 768px) {
	.process-grid {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		gap: 0;
	}
}

.process-step {
	position: relative;
	background-color: #ffffff;
	padding: 1.5rem 1.5rem 0 1.5rem;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	text-align: center;
	z-index: 10;
}

.step-number {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: #2e7d32;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.25rem;
	margin: 0 auto 1rem;
}

.process-step h3 {
	font-weight: 600; line-height:20px;
	margin-bottom: 1rem;
}

.process-step p {
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);height:80px;
}

.custom-options {
	margin: 0 auto 2rem auto;
	background-color: #ffffff;
	padding: 2rem;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.options-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.option-group h4 {
	font-weight: 500;
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
}

.option-group h4 i {
	color: #2e7d32;
	margin-right: 0.5rem;
}

.option-group ul {
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);
	padding-left: 1.5rem;
}

.option-group li {
	margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	max-width: 1500px;
	margin: 0 auto;
	align-items: center;
}

@media (min-width: 1024px) {
	.testimonials-container {
		grid-template-columns: 1fr 1fr;
	}
}

.carousel-container {
	position: relative;
	overflow: hidden;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease;
}

.carousel-slide {
	width: 100%;
	flex-shrink: 0;
	padding: 0 1rem;
}

.testimonial-card {
	background-color: #f3f4f6;
	padding: 2rem;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	position: relative;
	height: 100%;
}

.testimonial-quote {
	color: #2e7d32;
	font-size: 5rem;
	position: absolute;
	top: -1.25rem;
	left: 1.5rem;
	opacity: 0.2;
}

.testimonial-content {
	position: relative;
	z-index: 10;
}

.testimonial-content p {
	font-style: italic;
	margin-bottom: 1.5rem;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-author img {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 1rem;
}

.author-info h4 {
	font-weight: 600;
}

.author-info p {
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);
	margin-bottom: 0;
}

.video-card {
	background-color: #f3f4f6;
	padding: 1.5rem;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	height: 100%;
}

.video-card h3 {
	text-align: center;
	margin-bottom: 1.5rem;
}

.video-placeholder {
	position: relative;
	background-color: #000000;
	border-radius: 0.5rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.video-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	background-color: rgba(46, 125, 50, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.play-button:hover {
	background-color: #2e7d32;
}

.play-button i {
	color: #ffffff;
	font-size: 1.5rem;
	margin-left: 0.25rem;
}

.video-info h4 {
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.video-info p {
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.8);
}

.video-meta {
	padding-top: 1rem;
	border-top: 1px solid #d1d5db;
	margin-top: 1rem;
}

.video-meta div {
	display: flex;
	align-items: center;
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);
}

.video-meta i {
	color: #2e7d32;
	margin-right: 0.5rem;
}

.carousel-controls {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-nav:hover {
	background-color: #2e7d32;
	color: #ffffff;
}

.prev-btn {
	left: 0rem;
}

.next-btn {
	right: 0rem;
}

/* Contact CTA Section */
.contact-cta {
	text-align: center;
	color: #ffffff;
	padding: 4rem 0;
}

.contact-cta p {
	max-width: 500px;
	margin: 0 auto 2rem;
	color: rgba(255, 255, 255, 0.9);
}

.cta-button {
	display: inline-block;
	background-color: #ffffff;
	color: #2e7d32;
	font-weight: bold;
	padding: 0.75rem 2rem;
	border-radius: 0.25rem;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
	background-color: #f3f4f6;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width:992px){
 .options-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 1.5rem;
  }   
}    