/**
 * About Page Styles - Beevora Theme
 *
 * @package beevora
 */

/* ========================================================================
   1. Hero Section
   ======================================================================== */
.about-hero {
	position: relative;
	min-height: 80vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #5d3615;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.about-hero-title {
	color: #fff;
	font-size: 64px;
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
	max-width: 700px;
	margin: 0 auto;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.about-hero-scroll {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	text-decoration: none;
	animation: heroScrollBounce 2s ease infinite;
}

.about-hero-scroll svg {
	stroke: #fff;
	width: 50px;
	height: 50px;
}

@keyframes heroScrollBounce {
	0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
	40% { transform: translateX(-50%) translateY(-10px); }
	60% { transform: translateX(-50%) translateY(-5px); }
}

html {
	scroll-behavior: smooth;
}

/* ========================================================================
   2. Story Section
   ======================================================================== */
.about-story {
	background-color: #f5e6cc;
	padding: 80px 0;
	overflow: hidden;
}

.about-story > .container {
	position: relative;
}

.story-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
}

/* Text Side */
.story-content {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.story-label {
	color: var(--beevora-gold, #ce9f47);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.story-title {
	color: var(--beevora-brown, #5d3615);
	font-size: 42px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.story-text {
	color: #6b5a48;
	font-size: 15px;
	line-height: 1.9;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.story-text p {
	margin: 0 0 10px;
}

.story-text p:last-child {
	margin-bottom: 0;
}

/* Visual Side */
.story-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
}

.story-year {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	font-size: 600px;
	font-weight: 900;
	color: rgba(93, 54, 21, 0.08);
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
	user-select: none;
	z-index: 1;
}

.story-image-wrap {
	position: relative;
	z-index: 2;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 5px solid var(--beevora-gold, #ce9f47);
	overflow: hidden;
	box-shadow: 0 15px 40px rgba(93, 54, 21, 0.15);
}

.story-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ========================================================================
   3. Mission Statement Section
   ======================================================================== */
.about-mission {
	background-color: #fff;
	padding: 70px 0;
	text-align: center;
}

.mission-label {
	display: block;
	color: var(--beevora-gold, #ce9f47);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 25px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.mission-quote {
	margin: 0 auto;
	max-width: 700px;
}

.mission-quote p {
	color: var(--beevora-brown, #5d3615);
	font-size: 32px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.5;
	margin: 0 0 20px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.mission-author {
	display: block;
	color: #6b5a48;
	font-size: 15px;
	font-weight: 500;
	font-style: normal;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

/* ========================================================================
   4. Values & Team Split Section
   ======================================================================== */
.about-values-team {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

/* --- Values Column --- */
.values-col {
	background-color: #86612c;
	padding: 60px 40px;
	text-align: center;
}

.values-label {
	display: block;
	color: var(--beevora-gold, #ce9f47);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.values-title {
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 35px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.values-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.value-card {
	background-color: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(206, 159, 71, 0.35);
	border-radius: 10px;
	padding: 25px 18px;
	text-align: center;
}

.value-icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin-bottom: 12px;
}

.value-title {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 10px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.value-text {
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	line-height: 1.7;
	margin: 0;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

/* --- Team Column --- */
.team-col {
	background-color: #f5e6cc;
	padding: 60px 40px;
	text-align: center;
}

.team-label {
	display: block;
	color: var(--beevora-gold, #ce9f47);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.team-title {
	color: var(--beevora-brown, #5d3615);
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 30px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.team-photo-wrap {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 25px;
}

.team-photo {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.team-members {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

.member-card {
	background-color: #fff;
	border-radius: 10px;
	padding: 18px 10px 15px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(93, 54, 21, 0.08);
}

.member-photo-wrap {
	width: 65px;
	height: 65px;
	border-radius: 50%;
	border: 3px solid var(--beevora-gold, #ce9f47);
	overflow: hidden;
	margin: 0 auto 10px;
}

.member-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.member-name {
	display: block;
	color: var(--beevora-brown, #5d3615);
	font-size: 15px;
	font-weight: 700;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
	margin-bottom: 2px;
}

.member-role {
	display: block;
	color: #6b5a48;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

/* ========================================================================
   5. Process & Certifications Split Section
   ======================================================================== */
.about-process-certs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background-color: #f9f3eb;
}

/* --- Process Column --- */
.process-col {
	padding: 60px 40px;
	text-align: center;
}

.process-label {
	display: block;
	color: var(--beevora-gold, #ce9f47);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.process-title {
	color: var(--beevora-brown, #5d3615);
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 40px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.process-timeline {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 0;
}

.process-step {
	flex: 1;
	text-align: right;
	min-width: 0;
}

.step-number-row {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}

.step-number {
	flex-shrink: 0;
	font-size: 54px;
	font-weight: 600;
	color: var(--beevora-gold, #ce9f47);
	line-height: 1;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
	width: 60px;
	text-align: center;
}

.step-line {
	flex: 1;
	height: 2px;
	background-color: var(--beevora-gold, #ce9f47);
}

.step-title {
	color: var(--beevora-brown, #5d3615);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 6px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.step-desc {
	color: #6b5a48;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

/* --- Certifications Column --- */
.certs-col {
	padding: 60px 40px;
	text-align: center;
	border-inline-start: 1px solid rgba(93, 54, 21, 0.1);
}

.certs-label {
	display: block;
	color: var(--beevora-gold, #ce9f47);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.certs-title {
	color: var(--beevora-brown, #5d3615);
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 35px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

.certs-grid {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.cert-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.cert-badge {
	width: 75px;
	height: 75px;
	object-fit: contain;
}

.cert-name {
	color: var(--beevora-brown, #5d3615);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: var(--beevora-font-en, 'Adobe Arabic', serif);
}

/* ========================================================================
   Hover Effects & Transitions
   ======================================================================== */

/* Hero scroll arrow */
.about-hero-scroll {
	transition: opacity 0.3s ease;
}

.about-hero-scroll:hover {
	opacity: 0.7;
}

/* Story image zoom on hover */
.story-image-wrap {
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.story-image-wrap:hover {
	transform: scale(1.04);
	box-shadow: 0 20px 50px rgba(93, 54, 21, 0.25);
}

.story-image {
	transition: transform 0.5s ease;
}

.story-image-wrap:hover .story-image {
	transform: scale(1.08);
}

/* Value cards */
.value-card {
	transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
	transform: translateY(-6px);
	background-color: rgba(255, 255, 255, 0.14);
	border-color: var(--beevora-gold, #ce9f47);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
	transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
	transform: scale(1.15);
}

/* Team photo zoom */
.team-photo-wrap {
	transition: box-shadow 0.3s ease;
}

.team-photo {
	transition: transform 0.5s ease;
}

.team-photo-wrap:hover {
	box-shadow: 0 8px 25px rgba(93, 54, 21, 0.15);
}

.team-photo-wrap:hover .team-photo {
	transform: scale(1.05);
}

/* Member cards */
.member-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(93, 54, 21, 0.15);
}

.member-photo-wrap {
	transition: border-color 0.3s ease;
}

.member-card:hover .member-photo-wrap {
	border-color: var(--beevora-brown, #5d3615);
}

/* Process steps */
.process-step {
	transition: transform 0.3s ease;
}

.process-step:hover {
	transform: translateY(-3px);
}

.step-number {
	transition: color 0.3s ease, transform 0.3s ease;
}

.process-step:hover .step-number {
	color: var(--beevora-brown, #5d3615);
	transform: scale(1.1);
}

/* Certification items */
.cert-item {
	transition: transform 0.3s ease;
}

.cert-item:hover {
	transform: translateY(-4px);
}

.cert-badge {
	transition: transform 0.3s ease, filter 0.3s ease;
}

.cert-item:hover .cert-badge {
	transform: scale(1.12);
}

.cert-name {
	transition: color 0.3s ease;
}

.cert-item:hover .cert-name {
	color: var(--beevora-gold, #ce9f47);
}

/* Mission quote subtle hover */
.mission-quote {
	transition: transform 0.3s ease;
}

.mission-quote:hover {
	transform: scale(1.02);
}

/* ========================================================================
   Responsive
   ======================================================================== */
/* Disable hover transforms on touch devices */
@media (hover: none) {
	.value-card:hover,
	.member-card:hover,
	.cert-item:hover,
	.process-step:hover,
	.story-image-wrap:hover,
	.mission-quote:hover {
		transform: none;
	}
}

@media (max-width: 991.98px) {
	.about-hero {
		min-height: 60vh;
	}

	.about-hero-title {
		font-size: 48px;
	}

	.about-hero-scroll svg {
		width: 40px;
		height: 40px;
	}

	/* Story */
	.about-story {
		padding: 60px 0;
	}

	.story-grid {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}

	.story-content {
		align-items: center;
	}

	.story-visual {
		min-height: 320px;
	}

	.story-year {
		font-size: 150px;
	}

	.story-image-wrap {
		width: 280px;
		height: 280px;
	}

	/* Mission */
	.about-mission {
		padding: 50px 0;
	}

	.mission-quote p {
		font-size: 28px;
	}

	/* Values & Team */
	.about-values-team {
		grid-template-columns: 1fr;
	}

	.values-col,
	.team-col {
		padding: 50px 30px;
	}

	.team-members {
		grid-template-columns: repeat(4, 1fr);
	}

	/* Process & Certs */
	.about-process-certs {
		grid-template-columns: 1fr;
	}

	.certs-col {
		border-inline-start: none;
		border-top: 1px solid rgba(93, 54, 21, 0.1);
	}

	.process-col,
	.certs-col {
		padding: 50px 30px;
	}
}

@media (max-width: 767.98px) {
	.about-hero {
		min-height: 50vh;
	}

	.about-hero-title {
		font-size: 38px;
		max-width: 500px;
	}

	/* Story */
	.story-title {
		font-size: 32px;
	}

	.story-year {
		font-size: 120px;
	}

	.story-image-wrap {
		width: 240px;
		height: 240px;
	}

	.story-visual {
		min-height: 280px;
	}

	/* Mission */
	.mission-quote p {
		font-size: 24px;
	}

	/* Values & Team */
	.values-title,
	.team-title {
		font-size: 30px;
	}

	.team-members {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	/* Process - stack timeline vertically */
	.process-title,
	.certs-title {
		font-size: 30px;
	}

	.process-timeline {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.process-step {
		display: grid;
		grid-template-columns: 50px 1fr;
		grid-template-rows: auto auto;
		gap: 0 15px;
		text-align: right;
	}

	.step-number-row {
		grid-column: 1;
		grid-row: 1 / -1;
		flex-direction: column;
		align-items: center;
		margin-bottom: 0;
	}

	.step-number {
		font-size: 42px;
		width: auto;
	}

	.step-line {
		width: 2px;
		height: 100%;
		flex: 1;
	}

	.step-title {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
	}

	.step-desc {
		grid-column: 2;
		grid-row: 2;
	}

	/* Certs */
	.cert-badge {
		width: 65px;
		height: 65px;
	}
}

@media (max-width: 575.98px) {
	.about-hero {
		min-height: 45vh;
	}

	.about-hero-title {
		font-size: 30px;
		max-width: 320px;
	}

	.about-hero-scroll {
		bottom: 25px;
	}

	.about-hero-scroll svg {
		width: 34px;
		height: 34px;
	}

	/* Story */
	.about-story {
		padding: 40px 0;
	}

	.story-title {
		font-size: 26px;
	}

	.story-text {
		font-size: 14px;
	}

	.story-year {
		font-size: 90px;
	}

	.story-image-wrap {
		width: 200px;
		height: 200px;
		border-width: 4px;
	}

	.story-visual {
		min-height: 230px;
	}

	/* Mission */
	.about-mission {
		padding: 40px 0;
	}

	.mission-quote p {
		font-size: 20px;
	}

	.mission-author {
		font-size: 13px;
	}

	/* Values & Team */
	.values-col,
	.team-col {
		padding: 35px 20px;
	}

	.values-title,
	.team-title {
		font-size: 26px;
		margin-bottom: 25px;
	}

	.values-grid {
		gap: 12px;
	}

	.value-card {
		padding: 18px 12px;
	}

	.value-icon {
		width: 38px;
		height: 38px;
	}

	.value-title {
		font-size: 12px;
	}

	.value-text {
		font-size: 11px;
	}

	.team-members {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.member-photo-wrap {
		width: 55px;
		height: 55px;
	}

	.member-name {
		font-size: 13px;
	}

	/* Process & Certs */
	.process-col,
	.certs-col {
		padding: 35px 15px;
	}

	.process-title,
	.certs-title {
		font-size: 26px;
		margin-bottom: 25px;
	}

	.process-step {
		grid-template-columns: 40px 1fr;
		gap: 0 10px;
	}

	.step-number {
		font-size: 32px;
	}

	.step-title {
		font-size: 10px;
	}

	.step-desc {
		font-size: 12px;
	}

	.cert-badge {
		width: 55px;
		height: 55px;
	}

	.certs-grid {
		gap: 15px;
	}

	.cert-name {
		font-size: 10px;
	}
}
