/* ===================================
   ABOUT / SAMBUTAN KEPALA SEKOLAH CUSTOM STYLES
   =================================== */

#about {
	background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26, 31, 58, 0.5) 100%);
	padding: 60px 0 !important;
	/* Kurangi dari default 80px */
}

#about .section-header {
	margin-bottom: 40px !important;
	/* Kurangi dari 60px */
}

#about .section-header h3 {
	font-size: 2rem;
	margin-bottom: 10px;
}

#about .section-header p {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.7);
}

/* Wrapper Foto Kepala Sekolah */
.about-img-wrapper {
	position: relative;
	margin-bottom: 0;
	/* Hilangkan margin bottom */
	display: flex;
	justify-content: center;
	align-items: center;
}

.about-img-frame {
	background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 242, 167, 0.3) 100%);
	padding: 6px;
	border-radius: 20px;
	max-width: 100%;
	/* Perbesar untuk tampilan penuh */
	width: 100%;
	box-shadow: 0 10px 40px rgba(0, 242, 167, 0.2);
	transition: all 0.4s ease;
}

.about-img-frame:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(0, 242, 167, 0.3);
}

.about-img-frame img {
	width: 100%;
	height: auto;
	/* Pastikan tidak terpotong */
	aspect-ratio: 3/4;
	/* Rasio foto portrait yang ideal */
	object-fit: cover;
	/* Cover tapi tidak terpotong */
	object-position: center top;
	/* Posisi dari atas agar wajah tidak terpotong */
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	display: block;
}

/* Content Area - Compact */
.about-content {
	padding: 0;
}

/* Motto Box - Compact */
.motto-box {
	background: rgba(0, 242, 167, 0.05);
	border-left: 4px solid var(--primary-color);
	padding: 20px !important;
	/* Kurangi dari 30px */
	margin-bottom: 25px !important;
	/* Kurangi dari 40px */
	border-radius: 12px !important;
}

.motto-box h4 {
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.5;
	font-size: 1.1rem;
	/* Kurangi sedikit */
	margin-bottom: 0 !important;
}

.motto-box .fa-quote-left,
.motto-box .fa-quote-right {
	font-size: 0.75em;
	opacity: 0.7;
}

/* Sambutan Text - Compact */
.about-content>p {
	margin-bottom: 25px !important;
	/* Kurangi dari 40px */
	line-height: 1.7 !important;
	font-size: 0.95rem;
}

/* Visi Misi Container - Compact */
.about-content .row.g-3 {
	margin-top: 20px !important;
	/* Kurangi dari 30px */
	gap: 15px !important;
	/* Kurangi gap antar box */
}

/* Visi Box - Compact */
.visi-box {
	background: var(--card-bg);
	border: 1px solid rgba(0, 242, 167, 0.2);
	padding: 20px !important;
	/* Kurangi dari 30px */
	border-radius: 12px !important;
	transition: all 0.3s ease;
}

.visi-box:hover {
	border-color: rgba(0, 242, 167, 0.4);
	box-shadow: 0 5px 20px rgba(0, 242, 167, 0.15);
}

.visi-box h5 {
	color: var(--primary-color);
	font-size: 1.15rem;
	margin-bottom: 15px !important;
	/* Kurangi dari 20px */
}

.visi-box p {
	margin-bottom: 0 !important;
	line-height: 1.6;
	font-size: 0.95rem;
}

/* Misi Box - Compact */
.misi-box {
	background: var(--card-bg);
	border: 1px solid rgba(0, 242, 167, 0.2);
	padding: 20px !important;
	/* Kurangi dari 30px */
	border-radius: 12px !important;
	transition: all 0.3s ease;
}

.misi-box:hover {
	border-color: rgba(0, 242, 167, 0.4);
	box-shadow: 0 5px 20px rgba(0, 242, 167, 0.15);
}

.misi-box h5 {
	color: var(--primary-color);
	font-size: 1.15rem;
	margin-bottom: 15px !important;
	/* Kurangi dari 20px */
}

.misi-box ul {
	margin-bottom: 0 !important;
}

.misi-box ul li {
	margin-bottom: 12px !important;
	/* Kurangi dari 15px */
	line-height: 1.5;
	font-size: 0.95rem;
}

.misi-box ul li:last-child {
	margin-bottom: 0 !important;
}

.misi-box .fa-check-circle {
	color: var(--primary-color);
	flex-shrink: 0;
	margin-top: 2px;
}

/* Button Area - Compact */
.about-content .text-center,
.about-content .text-lg-start {
	margin-top: 25px !important;
	/* Kurangi dari 40px */
}

.about-content .btn {
	padding: 12px 28px !important;
	/* Kurangi sedikit */
	font-size: 0.95rem;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (max-width: 991px) {
	#about {
		padding: 50px 0 !important;
	}

	#about .section-header {
		margin-bottom: 35px !important;
	}

	.about-img-frame {
		max-width: 350px;
		margin: 0 auto 30px;
	}

	.about-img-frame img {
		aspect-ratio: 3/4;
	}

	.motto-box h4 {
		font-size: 1.05rem;
	}

	.about-content>p {
		font-size: 0.92rem;
	}

	.visi-box,
	.misi-box {
		padding: 18px !important;
	}

	.visi-box h5,
	.misi-box h5 {
		font-size: 1.1rem;
	}
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 768px) {
	#about {
		padding: 40px 0 !important;
	}

	#about .section-header {
		margin-bottom: 30px !important;
	}

	#about .section-header h3 {
		font-size: 1.75rem;
	}

	#about .section-header p {
		font-size: 0.95rem;
	}

	.about-img-frame {
		max-width: 300px;
		padding: 5px;
		margin-bottom: 25px;
	}

	.about-img-frame img {
		aspect-ratio: 3/4;
		border-radius: 12px;
	}

	.motto-box {
		padding: 18px !important;
		margin-bottom: 20px !important;
	}

	.motto-box h4 {
		font-size: 1rem;
		line-height: 1.5;
	}

	.about-content>p {
		margin-bottom: 20px !important;
		font-size: 0.9rem;
		line-height: 1.6 !important;
	}

	.about-content .row.g-3 {
		margin-top: 15px !important;
		gap: 12px !important;
	}

	.visi-box,
	.misi-box {
		padding: 16px !important;
	}

	.visi-box h5,
	.misi-box h5 {
		font-size: 1.05rem;
		margin-bottom: 12px !important;
	}

	.visi-box p,
	.misi-box ul li {
		font-size: 0.9rem;
	}

	.misi-box ul li {
		margin-bottom: 10px !important;
	}

	.about-content .text-center,
	.about-content .text-lg-start {
		margin-top: 20px !important;
	}

	.about-content .btn {
		padding: 10px 24px !important;
		font-size: 0.9rem;
	}
}

/* ===================================
   RESPONSIVE - SMALL MOBILE
   =================================== */

@media (max-width: 576px) {
	#about {
		padding: 35px 0 !important;
	}

	#about .section-header h3 {
		font-size: 1.5rem;
	}

	#about .section-header p {
		font-size: 0.9rem;
	}

	.about-img-frame {
		max-width: 280px;
		margin-bottom: 20px;
	}

	.motto-box {
		padding: 15px !important;
		margin-bottom: 18px !important;
	}

	.motto-box h4 {
		font-size: 0.95rem;
	}

	.about-content>p {
		margin-bottom: 18px !important;
		font-size: 0.88rem;
	}

	.visi-box,
	.misi-box {
		padding: 14px !important;
	}

	.visi-box h5,
	.misi-box h5 {
		font-size: 1rem;
		margin-bottom: 10px !important;
	}

	.visi-box p,
	.misi-box ul li {
		font-size: 0.88rem;
	}

	.misi-box ul li {
		margin-bottom: 8px !important;
	}

	.about-content .btn {
		width: 100%;
		padding: 12px 20px !important;
	}
}
