/* About Bunayy
--------------------------------------------- */
body.page {
	margin: 0;
}

.about-page {
	color: #303747;
	overflow: hidden;
}

.about-container {
	width: min(100% - 2rem, 77.5rem);
	margin-inline: auto;
}

.about-hero {
	position: relative;
	display: grid;
	min-height: clamp(25rem, 65vw, 38rem);
	place-items: center;
	isolation: isolate;
	overflow: hidden;
	background: var(--color-secondary);
	color: #fff;
	text-align: center;
}

.about-hero::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(135deg, rgba(18, 55, 113, 0.82), rgba(50, 108, 198, 0.48));
	content: "";
}

.about-hero__background {
	position: absolute;
	z-index: -2;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.about-hero__content {
	padding-block: clamp(3.5rem, 9vw, 7rem);
}

.about-hero__logo {
	display: block;
	width: clamp(5.5rem, 14vw, 8rem);
	height: auto;
	margin: 0 auto 1.25rem;
}

.about-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(3rem, 10vw, 5.5rem);
	line-height: 1;
	letter-spacing: -0.035em;
}

.about-hero p {
	max-width: 42rem;
	margin: 1rem auto 0;
	color: #fff;
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	font-weight: 600;
	line-height: 1.6;
}

.about-bio {
	padding-block: clamp(4rem, 9vw, 7.5rem);
	background: #fff;
}

.about-bio__content {
	display: flow-root;
}

.about-bio__image {
	margin: 0 0 2rem;
}

.about-bio__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: clamp(1rem, 2vw, 1.5rem);
	object-fit: cover;
}

.about-bio h2 {
	clear: none;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	color: var(--color-secondary);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.about-bio__history {
	font-size: clamp(0.98rem, 1.6vw, 1.08rem);
	line-height: 1.75;
}

.about-bio__history p {
	margin: 0 0 1.4rem;
}

.about-bio__history p:first-of-type {
	margin-top: 0;
}

.about-bio__history strong {
	color: var(--color-secondary);
}

.about-bio__history > :last-child,
.about-bio__history p:last-child {
	margin-bottom: 0;
}

.about-certificates {
	padding-block: clamp(4rem, 8vw, 6.5rem);
	background: #fff;
}

.about-certificates__inner {
	max-width: 60rem;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid var(--color-secondary);
	border-radius: 1rem;
	background: #fff;
}

.about-certificates__description {
	margin: 1.25rem 0 0;
	color: #303747;
	font-size: clamp(0.95rem, 2vw, 1.05rem);
	line-height: 1.65;
}

.about-certificates__gallery {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.about-certificates__gallery figure {
	margin: 0;
}

.about-certificates__gallery img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 7rem;
	object-fit: contain;
}

.about-certificates__number {
	margin: 1.75rem 0 0;
	color: #111;
	font-size: 0.92rem;
	line-height: 1.55;
}

.about-certificates__number p {
	margin: 0;
}

.about-certificates__number p + p {
	margin-top: 0.35rem;
}

.site-footer {
	margin-top: 0;
}

@media screen and (min-width: 40em) {

	.about-container {
		width: min(100% - 4rem, 77.5rem);
	}
}

@media screen and (min-width: 56em) {

	.about-bio__image {
		float: left;
		width: min(43%, 31rem);
		margin: 0 clamp(2.5rem, 5vw, 4rem) 2rem 0;
	}
}
