/**
 * Stylesheet: About Us Page (Giao diện Giới thiệu)
 *
 * Vanilla CSS implementation mapping Tailwind utility classes from the original
 * homepower-theme page-about template. Scope-locked using the .hp-about prefix.
 *
 * @package FlatsomeChild
 */

/* ----------------------------------------------------
 * Animations
 * ---------------------------------------------------- */
@keyframes hpMockupFloat {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-12px);
	}
}

.hp-about-float {
	animation: hpMockupFloat 4.5s ease-in-out infinite;
}

/* ----------------------------------------------------
 * Layout Container and Shared Elements
 * ---------------------------------------------------- */
.hp-about-container {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.hp-about-container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.hp-about-container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.hp-about-label {
	color: #009EE3;
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	display: block;
}

@media (min-width: 640px) {
	.hp-about-label {
		font-size: 0.875rem;
	}
}

/* ----------------------------------------------------
 * 1. HERO SECTION
 * ---------------------------------------------------- */
.hp-about-hero-section {
	width: 100%;
	padding-top: 3rem;
	padding-bottom: 4rem;
	background: linear-gradient(135deg, #F0F7FF 0%, #ffffff 50%, rgba(230, 244, 255, 0.5) 100%);
	position: relative;
	overflow: hidden;
	user-select: none;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.hp-about-hero-section {
		padding-top: 4rem;
		padding-bottom: 6rem;
	}
}

.hp-about-hero-text-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.hp-about-hero-title {
	color: #0f172a;
	font-weight: 900;
	font-size: 1.875rem;
	line-height: 1.25;
	margin-top: 0;
	margin-bottom: 1.25rem;
	letter-spacing: -0.025em;
}

@media (min-width: 640px) {
	.hp-about-hero-title {
		font-size: 2.25rem;
	}
}

@media (min-width: 768px) {
	.hp-about-hero-title {
		font-size: 3rem;
	}
}

.hp-about-hero-desc {
	color: #64748b;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.625;
	margin-top: 0;
	margin-bottom: 2.5rem;
	max-width: 42rem;
}

@media (min-width: 640px) {
	.hp-about-hero-desc {
		font-size: 1rem;
	}
}

.hp-about-hero-feat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	width: 100%;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(226, 232, 240, 0.5);
	box-sizing: border-box;
	margin-top: 2rem;
}

@media (min-width: 640px) {
	.hp-about-hero-feat-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.hp-about-hero-feat-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.hp-about-hero-feat-icon-wrap {
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background-color: #E6F4FF;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #009EE3;
	margin-bottom: 0.75rem;
	transition: all 0.3s ease;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(224, 242, 254, 0.5);
}

.hp-about-hero-feat-item:hover .hp-about-hero-feat-icon-wrap {
	background-color: #009EE3;
	color: #ffffff;
}

.hp-about-hero-feat-icon-wrap svg {
	width: 1.25rem;
	height: 1.25rem;
}

.hp-about-hero-feat-icon-wrap svg,
.hp-about-hero-feat-icon-wrap svg path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hp-about-hero-feat-title {
	font-size: 0.75rem;
	font-weight: 900;
	color: #1e293b;
	line-height: 1.25;
}

.hp-about-hero-image-col {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	position: relative;
}

.hp-about-hero-halo {
	position: absolute;
	width: 20rem;
	height: 20rem;
	background-color: rgba(0, 158, 227, 0.1);
	border-radius: 9999px;
	filter: blur(48px);
	pointer-events: none;
}

.hp-about-hero-img {
	width: 100%;
	max-width: 36rem;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
	position: relative;
	z-index: 10;
}


/* ----------------------------------------------------
 * 2. STORY SECTION
 * ---------------------------------------------------- */
.hp-about-story-section {
	width: 100%;
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: #ffffff;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.hp-about-story-section {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}

.hp-about-story-text-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.hp-about-story-title {
	color: #0f172a;
	font-weight: 900;
	font-size: 1.5rem;
	line-height: 1.25;
	margin-top: 0;
	margin-bottom: 1.5rem;
	letter-spacing: -0.025em;
}

@media (min-width: 640px) {
	.hp-about-story-title {
		font-size: 1.875rem;
	}
}

@media (min-width: 768px) {
	.hp-about-story-title {
		font-size: 2.25rem;
	}
}

.hp-about-story-desc {
	color: #64748b;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.625;
	margin-bottom: 2rem;
	max-width: none;
}

@media (min-width: 640px) {
	.hp-about-story-desc {
		font-size: 1rem;
	}
}

.hp-about-story-desc p {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

.hp-about-story-desc p:last-child {
	margin-bottom: 0;
}

.hp-about-story-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	padding: 0.875rem 1.5rem;
	background-color: #009EE3 !important;
	color: #ffffff !important;
	font-weight: 800;
	font-size: 0.875rem;
	border-radius: 0.75rem;
	transition: all 0.2s ease;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	text-decoration: none !important;
	border: none;
	cursor: pointer;
}

.hp-about-story-btn:hover {
	background-color: #0082ba !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.hp-about-story-btn:active {
	transform: scale(0.98);
}

.hp-about-story-btn svg {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s ease;
}

.hp-about-story-btn svg,
.hp-about-story-btn svg path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hp-about-story-btn:hover svg {
	transform: translateX(4px);
}

.hp-about-story-image-col {
	display: flex;
	justify-content: center;
	width: 100%;
}

.hp-about-story-image-wrap {
	position: relative;
	width: 100%;
	max-width: 32rem;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 2rem;
	border: 1px solid #f1f5f9;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.hp-about-story-image-wrap {
		aspect-ratio: 1.4/1;
	}
}

@media (min-width: 1024px) {
	.hp-about-story-image-wrap {
		aspect-ratio: 4/3;
	}
}

.hp-about-story-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
	pointer-events: none;
	border-radius: 2rem;
}

.hp-about-story-image-wrap:hover .hp-about-story-img {
	transform: scale(1.03);
}


/* ----------------------------------------------------
 * 3. STATS SECTION
 * ---------------------------------------------------- */
.hp-about-stats-section {
	width: 100%;
	padding-top: 2rem;
	padding-bottom: 2rem;
	background-color: #ffffff;
	user-select: none;
	box-sizing: border-box;
}

.hp-about-stats-box {
	background-color: #ffffff;
	border: 1px solid #f1f5f9;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
	border-radius: 2rem;
	padding: 2rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.hp-about-stats-box {
		padding: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.hp-about-stats-box {
		padding: 3rem;
	}
}

.hp-about-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	box-sizing: border-box;
}

@media (min-width: 1024px) {
	.hp-about-stats-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 0;
	}
}

.hp-about-stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

@media (min-width: 1024px) {
	.hp-about-stat-item {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.hp-about-stats-grid > .hp-about-stat-item:not(:first-child) {
		border-left: 1px solid #f1f5f9;
	}
}

.hp-about-stat-item svg {
	width: 2rem;
	height: 2rem;
	color: #009EE3;
}

.hp-about-stat-item svg,
.hp-about-stat-item svg path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hp-about-stat-num {
	color: #009EE3;
	font-weight: 900;
	font-size: 1.875rem;
	margin-top: 0.75rem;
	margin-bottom: 0.25rem;
	letter-spacing: -0.025em;
	line-height: 1;
	display: block;
}

@media (min-width: 640px) {
	.hp-about-stat-num {
		font-size: 2.25rem;
	}
}

@media (min-width: 768px) {
	.hp-about-stat-num {
		font-size: 3rem;
	}
}

.hp-about-stat-lbl {
	color: #64748b;
	font-weight: 800;
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	display: block;
}

@media (min-width: 640px) {
	.hp-about-stat-lbl {
		font-size: 0.75rem;
	}
}


/* ----------------------------------------------------
 * 4. CORE VALUES SECTION
 * ---------------------------------------------------- */
.hp-about-values-section {
	width: 100%;
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: #ffffff;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.hp-about-values-section {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}

.hp-about-values-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 4rem;
	user-select: none;
	pointer-events: none;
}

.hp-about-values-title {
	color: #0f172a;
	font-weight: 900;
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 0;
	letter-spacing: -0.025em;
}

@media (min-width: 640px) {
	.hp-about-values-title {
		font-size: 1.875rem;
	}
}

/* Custom Grid container for values to ensure horizontal layout in both frontend and UX Builder editor */
.hp-about-values-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 2rem;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 768px) {
	.hp-about-values-grid.cols-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.hp-about-values-grid.cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.hp-about-values-grid.cols-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.hp-about-value-item-wrap {
	width: 100%;
	display: block;
	box-sizing: border-box;
}

.hp-about-value-card {
	background-color: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 2rem;
	padding: 2rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: all 0.3s ease;
	box-sizing: border-box;
	text-align: left;
}

.hp-about-value-card:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	transform: translateY(-4px);
}

.hp-about-value-icon-wrap {
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background-color: #E6F4FF;
	color: #009EE3;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(224, 242, 254, 0.5);
	box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
}

.hp-about-value-card:hover .hp-about-value-icon-wrap {
	background-color: #009EE3;
	color: #ffffff;
}

.hp-about-value-icon-wrap svg {
	width: 1.25rem;
	height: 1.25rem;
}

.hp-about-value-icon-wrap svg,
.hp-about-value-icon-wrap svg path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hp-about-value-title {
	font-weight: 900;
	color: #1e293b;
	font-size: 1.125rem;
	letter-spacing: -0.025em;
	margin-top: 0;
	margin-bottom: 0.75rem;
	transition: color 0.2s ease;
}

.hp-about-value-card:hover .hp-about-value-title {
	color: #009EE3;
}

.hp-about-value-desc {
	color: #64748b;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.625;
	margin-top: 0;
	margin-bottom: 0;
}


/* ----------------------------------------------------
 * 5. CALL TO ACTION SECTION
 * ---------------------------------------------------- */
.hp-about-cta-section {
	width: 100%;
	padding-top: 2.5rem;
	padding-bottom: 4rem;
	background-color: #ffffff;
	user-select: none;
	box-sizing: border-box;
}

.hp-about-cta-banner {
	position: relative;
	overflow: hidden;
	border-radius: 2rem;
	background: linear-gradient(to right, #009EE3, #0082ba);
	border: 1px solid rgba(224, 242, 254, 0.5);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.hp-about-cta-banner {
		padding: 3rem;
	}
}

@media (min-width: 1024px) {
	.hp-about-cta-banner {
		padding: 4rem;
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

.hp-about-cta-bg-highlight {
	position: absolute;
	top: -4rem;
	left: -4rem;
	width: 16rem;
	height: 16rem;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 9999px;
	filter: blur(48px);
	pointer-events: none;
	transition: transform 0.5s ease;
}

.hp-about-cta-banner:hover .hp-about-cta-bg-highlight {
	transform: scale(1.1);
}

.hp-about-cta-overlay-img {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 120%;
	opacity: 0.1;
	pointer-events: none;
	display: none;
	z-index: 0;
	user-select: none;
}

@media (min-width: 1024px) {
	.hp-about-cta-overlay-img {
		display: block;
	}
}

.hp-about-cta-overlay-img img {
	height: 100%;
	width: auto;
	object-fit: contain;
}

.hp-about-cta-content {
	position: relative;
	z-index: 10;
	max-width: 42rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media (min-width: 1024px) {
	.hp-about-cta-content {
		align-items: flex-start;
	}
}

.hp-about-cta-title {
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	line-height: 1.375;
	margin-top: 0;
	margin-bottom: 0.75rem;
	color: #ffffff;
}

@media (min-width: 640px) {
	.hp-about-cta-title {
		font-size: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.hp-about-cta-title {
		font-size: 1.875rem;
	}
}

.hp-about-cta-desc {
	color: #e0f2fe;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.625;
	margin-top: 0;
	margin-bottom: 0;
}

@media (min-width: 640px) {
	.hp-about-cta-desc {
		font-size: 0.875rem;
	}
}

.hp-about-cta-action {
	position: relative;
	z-index: 10;
	flex-shrink: 0;
}

.hp-about-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	background-color: #ffffff;
	color: #009EE3 !important;
	font-weight: 900;
	border-radius: 0.75rem;
	transition: all 0.2s ease;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.75rem;
	text-decoration: none !important;
	border: none;
	cursor: pointer;
}

@media (min-width: 640px) {
	.hp-about-cta-btn {
		font-size: 0.875rem;
	}
}

.hp-about-cta-btn:hover {
	background-color: #f8fafc;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.hp-about-cta-btn:active {
	transform: scale(0.98);
}

.hp-about-cta-btn svg {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s ease;
}

.hp-about-cta-btn svg,
.hp-about-cta-btn svg path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hp-about-cta-btn:hover svg {
	transform: translateX(4px);
}
