/* --- CSS for Company Profile Template --- */
.profile-main-container {
	background: var(--color-bg-light, #f9fcf8);
	font-family: var(--font-family, 'Inter', sans-serif);
	color: var(--color-text-main, #1d2b1a);
	overflow: hidden;
}

/* 1. Hero Profile Section */
.profile-hero-section {
	padding: 5rem 0 3rem;
	text-align: center;
	position: relative;
}
.profile-breadcrumbs {
	margin-bottom: 2rem;
	font-size: 0.875rem;
}
.profile-hero-subtitle {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: var(--font-weight-bold, 700);
	color: var(--color-primary, #58BA40);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 1.25rem;
}
.profile-hero-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: var(--font-weight-headline-max, 750);
	line-height: 1.2;
	color: var(--color-text-main, #1d2b1a);
	max-width: 900px;
	margin: 0 auto 1.5rem;
}
.profile-hero-desc {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--color-text-muted, #52634f);
	max-width: 750px;
	margin: 0 auto 2.5rem;
}
.profile-hero-desc p {
	margin-bottom: 0;
}
.profile-hero-cta {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

/* Custom Buttons */
.profile-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.875rem 2.25rem;
	font-size: 1rem;
	font-weight: var(--font-weight-semibold, 600);
	border-radius: var(--border-radius-pill, 9999px);
	transition: var(--transition-smooth, all 0.3s ease);
	cursor: pointer;
	text-decoration: none;
	border: none;
}
.profile-btn-primary {
	background: var(--gradient-brand);
	color: #ffffff !important;
	box-shadow: 0 4px 15px rgba(88, 186, 64, 0.15);
}
.profile-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(88, 186, 64, 0.25);
}
.profile-btn-secondary {
	background: #ffffff;
	color: var(--color-text-main, #1d2b1a) !important;
	border: 1px solid var(--color-border, #e6ede4);
	box-shadow: var(--shadow-subtle, 0 4px 20px rgba(0, 0, 0, 0.008));
}
.profile-btn-secondary:hover {
	transform: translateY(-2px);
	background: var(--color-bg-light, #f9fcf8);
	border-color: var(--color-primary, #58BA40);
}

/* 2. PDF Viewer Section */
.pdf-viewer-section {
	padding: 2rem 0 6rem;
}
.pdf-container-wrapper {
	max-width: 1000px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.45);
	backdrop-filter: blur(12px) saturate(180%);
	-webkit-backdrop-filter: blur(12px) saturate(180%);
	border: 1px solid rgba(88, 186, 64, 0.08);
	border-radius: var(--border-radius-lg, 10px);
	box-shadow: var(--shadow-subtle, 0 4px 20px rgba(0, 0, 0, 0.008));
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	height: auto; /* Height auto for dynamic image wrapper scaling */
}
.pdf-container-wrapper:hover {
	border-color: rgba(88, 186, 64, 0.35);
	box-shadow: 0 12px 30px rgba(88, 186, 64, 0.08);
	transform: translateY(-4px);
}
.profile-image-embed {
	width: 100%;
	height: auto;
	display: block;
}
.profile-cover-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* Mobile Fallback styles (Legacy placeholders for editor fallback when no image is uploaded) */
.fallback-placeholder-card {
	width: 100%;
	max-width: 320px;
	margin: 2rem auto;
	aspect-ratio: 1 / 1.414; /* Standard A4 ratio */
	background: var(--gradient-brand);
	border-radius: var(--border-radius-md, 8px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	padding: 2rem;
	box-sizing: border-box;
	box-shadow: 0 12px 30px rgba(88, 186, 64, 0.2);
}
.placeholder-icon {
	width: 64px;
	height: 64px;
	margin-bottom: 1.5rem;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.placeholder-icon svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
}
.fallback-placeholder-card h3 {
	font-size: 1.5rem;
	font-weight: var(--font-weight-bold, 700);
	margin-bottom: 0.5rem;
	letter-spacing: 1px;
	color: #ffffff !important;
}
.fallback-placeholder-card p {
	font-size: 0.9rem;
	opacity: 0.8;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.9) !important;
}

/* 3. CTA Section */
.profile-cta-section {
	padding: 6.5rem 0;
	background: radial-gradient(at 50% 100%, rgba(88, 186, 64, 0.05) 0px, transparent 60%), var(--color-bg-light, #f9fcf8);
	text-align: center;
}
.profile-cta-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: var(--font-weight-bold, 700);
	color: var(--color-text-main, #1d2b1a);
	max-width: 800px;
	margin: 0 auto 2.25rem;
	line-height: 1.3;
}
.profile-cta-button-wrapper {
	display: flex;
	justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.profile-hero-section {
		padding: 4rem 0 2rem;
	}
	.pdf-viewer-section {
		padding: 1rem 0 4rem;
	}
	.pdf-container-wrapper {
		height: auto;
		min-height: auto;
	}
	.profile-cta-section {
		padding: 4.5rem 0;
	}
}

/* CSS Animation Initial States for GSAP */
.animate-blur, .animate-scale-up, .animate-slide-up {
	opacity: 0;
}
