/* Styles for Custom_OEM.cshtml and Industries_Materials.cshtml only */

/* ---------- Customisation Options : numbered ribbon cards ---------- */
.cust-card {
	position: relative;
	background-color: #fff;
	border: 1px solid #ededed;
	border-radius: 10px;
	padding: 35px 20px 25px;
	height: 100%;
	overflow: hidden;
	transition: 0.3s;
}

.cust-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 26px 0 rgba(0,0,0,0.1);
	border-color: #c9a227;
}

.cust-card .cust-num {
	position: absolute;
	top: -12px;
	right: 12px;
	font-size: 62px;
	font-weight: 700;
	color: rgba(201,162,39,0.12);
	line-height: 1;
}

.cust-card i {
	color: #c9a227;
	font-size: 32px;
	margin-bottom: 16px;
	display: inline-block;
}

.cust-card h4 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 10px;
	position: relative;
}

.cust-card p {
	font-size: 13px;
	position: relative;
}

/* ---------- OEM Manufacturing Process : vertical timeline ---------- */
.oem-timeline {
	position: relative;
	max-width: 920px;
	margin: 0 auto;
	padding: 10px 0 0;
}

.oem-timeline:before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background-color: #e8d8a6;
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	display: flex;
	justify-content: flex-end;
	padding-right: 50%;
	margin-bottom: 45px;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-item:nth-child(even) {
	justify-content: flex-start;
	padding-right: 0;
	padding-left: 50%;
}

.timeline-node {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: #c9a227;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 0 0 6px #fff, 0 0 0 8px #c9a227;
	z-index: 2;
}

.timeline-content {
	background-color: #f7f7f7;
	border-radius: 8px;
	padding: 20px 25px;
	width: 90%;
	margin-right: 30px;
	transition: 0.3s;
}

.timeline-item:hover .timeline-content {
	background-color: #faf2dc;
}

.timeline-item:nth-child(even) .timeline-content {
	margin-right: 0;
	margin-left: 30px;
}

.timeline-content h4 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #2b2b2b;
}

.timeline-content p {
	font-size: 13px;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.oem-timeline:before {
		left: 21px;
	}
	.timeline-item, .timeline-item:nth-child(even) {
		justify-content: flex-start;
		padding-left: 56px;
		padding-right: 0;
	}
	.timeline-node {
		left: 21px;
	}
	.timeline-content, .timeline-item:nth-child(even) .timeline-content {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* ---------- Photo gallery (used on both pages) ----------
   The aspect-ratio lives on the wrapper <a> (a plain block element) rather
   than on the <img> itself — img elements are "replaced content" and some
   browsers size them from their own intrinsic dimensions before honouring
   aspect-ratio, which let very tall/narrow source photos blow past the
   intended box on narrow viewports. Locking the ratio on the wrapper and
   absolutely-filling it with the image (object-fit: cover) is bulletproof
   regardless of the source photo's native shape. */
.photo-gallery .gallery-photo-wrap {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.15);
}

.photo-gallery .gallery-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.photo-gallery .gallery-photo-wrap:hover .gallery-photo {
	transform: scale(1.08);
}

.photo-gallery .gallery-photo-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0);
	opacity: 0;
	transition: opacity 0.3s, background-color 0.3s;
}

.photo-gallery .gallery-photo-wrap:hover .gallery-photo-zoom {
	opacity: 1;
	background-color: rgba(0,0,0,0.35);
}

.photo-gallery .gallery-photo-zoom i {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 20px;
	border: 2px solid #fff;
	border-radius: 50%;
	transform: scale(0.85);
	transition: transform 0.3s;
}

.photo-gallery .gallery-photo-wrap:hover .gallery-photo-zoom i {
	transform: scale(1);
}

/* ---------- Why Choose PV Overseas : dark banner with feature rows ---------- */
.why-choose-section {
	position: relative;
	background-image: url(../images/Banners/b1.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	padding: 70px 0px;
}

.why-choose-section:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(20,20,20,0.82);
	z-index: 1;
}

.why-choose-section .container {
	position: relative;
	z-index: 2;
}

.why-choose-section .section-heading h2,
.why-choose-section .section-heading span {
	color: #fff;
}

.why-choose-rows {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.why-row {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 22px 25px;
	border-radius: 8px;
	background-color: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	transition: 0.3s;
}

.why-row:hover {
	background-color: rgba(201,162,39,0.15);
	border-color: #c9a227;
}

.why-icon {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: 2px solid #c9a227;
	display: flex;
	align-items: center;
	justify-content: center;
}

.why-icon i {
	color: #c9a227;
	font-size: 22px;
}

.why-text h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 5px;
	color: #fff;
}

.why-text p {
	font-size: 13px;
	margin-bottom: 0;
	color: #ccc;
}

@media (max-width: 576px) {
	.why-choose-rows {
		grid-template-columns: 1fr;
	}
	.why-row {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
}

/* ---------- FAQ accordion ---------- */
.faq-accordion {
	max-width: 820px;
	margin: 0 auto;
}

.faq-item {
	background-color: #fff;
	border: 1px solid #ededed;
	border-radius: 8px;
	margin-bottom: 15px;
	box-shadow: 0 4px 10px 0 rgba(0,0,0,0.04);
	overflow: hidden;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	padding: 18px 25px;
	font-weight: 600;
	color: #2b2b2b;
	font-size: 15px;
	cursor: pointer;
}

.faq-question:hover {
	color: #c9a227;
}

.faq-icon {
	flex: 0 0 auto;
	color: #c9a227;
	transition: 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 25px 20px;
}

.faq-answer p {
	font-size: 13px;
	margin-bottom: 0;
}

/* ---------- Industries We Serve : photo tiles ---------- */
.industry-tile {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	height: 250px;
	background-color: #2b2b2b;
	background: linear-gradient(135deg, #2b2b2b, #3d3d3d);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: 0.3s;
}

.industry-tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 26px 0 rgba(0,0,0,0.18);
}

.industry-tile .photo-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	background-color: rgba(255,255,255,0.15);
	color: #fff;
	font-size: 10px;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
	letter-spacing: 0.5px;
}

.industry-tile .photo-tag i {
	margin-right: 5px;
}

.industry-tile .tile-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0));
}

.industry-tile .tile-icon {
	color: #c9a227;
	font-size: 24px;
	margin-bottom: 8px;
	display: block;
}

.industry-tile h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 0;
	color: #fff;
}

.industry-tile p {
	font-size: 12px;
	color: #ddd;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin-top: 0;
	transition: 0.3s;
}

.industry-tile:hover p {
	max-height: 100px;
	opacity: 1;
	margin-top: 8px;
}

/* ---------- Materials We Work With : monogram badges ---------- */
.material-badge {
	text-align: center;
}

.material-badge .badge-circle {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 3px solid #c9a227;
	background-color: #fdf6e3;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	font-size: 28px;
	font-weight: 700;
	color: #c9a227;
	transition: 0.3s;
}

.material-badge:hover .badge-circle {
	background-color: #c9a227;
	color: #fff;
}

.material-badge h4 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
}

.material-badge p {
	font-size: 12px;
}

/* ---------- Packaging Options : centered, wrapping card row(s) ---------- */
.packaging-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px;
}

.packaging-card {
	background-color: #fff;
	border: 1px solid #ededed;
	border-top: 4px solid #c9a227;
	border-radius: 10px;
	padding: 32px 22px;
	text-align: center;
	transition: 0.3s;
	flex: 1 1 230px;
	max-width: 260px;
}

@media (max-width: 576px) {
	.packaging-card {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.packaging-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 24px 0 rgba(0,0,0,0.1);
	background-color: #fdf6e3;
}

.packaging-card i {
	font-size: 34px;
	color: #c9a227;
	margin-bottom: 15px;
	display: inline-block;
}

.packaging-card h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
}

.packaging-card p {
	font-size: 13px;
	margin-bottom: 0;
}

/* ---------- Stats strip (Industries & Materials page) ---------- */
.stats-strip {
	background: linear-gradient(120deg, #c9a227 0%, #2b2b2b 100%);
	border-radius: 10px;
	padding: 40px 0;
	margin-bottom: 60px;
}

.stat-box {
	text-align: center;
	padding: 10px;
}

.stat-box .stat-num {
	display: block;
	font-size: 32px;
	font-weight: 700;
	color: #fff;
}

.stat-box .stat-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: rgba(255,255,255,0.85);
	margin-top: 6px;
}

@media (max-width: 768px) {
	.stat-box {
		margin-bottom: 15px;
	}
}
