/* ========================================
   WAQF BANNER — homepage (1.html design)
   ======================================== */

.home-waqf {
	--hw-primary: #005B9A;
	--hw-primary-mid: #0077C8;
	--hw-primary-dark: #003D6B;
	--hw-gold: #C9A34E;
	--hw-radius: 20px;
	--hw-gradient: linear-gradient(135deg, #003D6B 0%, #005B9A 45%, #0077C8 100%);

	padding: 48px 0 56px;
	background: #ffffff;
}

.home-waqf .hw-box {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 50px 40px;
	border-radius: var(--hw-radius);
	background: var(--hw-gradient);
	color: #fff;
	box-shadow: 0 20px 50px rgba(0, 91, 154, 0.22);
}

.home-waqf .hw-box::before {
	content: '\f291';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	left: -30px;
	bottom: -30px;
	font-size: 12rem;
	opacity: 0.05;
	color: #fff;
	pointer-events: none;
	line-height: 1;
}

.home-waqf .hw-content {
	position: relative;
	z-index: 1;
}

.home-waqf .hw-content h2 {
	font-family: var(--font-heading, 'Cairo', sans-serif);
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	font-weight: 900;
	line-height: 1.35;
	margin: 0 0 14px;
	color: #fff;
}

.home-waqf .hw-content h2 i {
	color: var(--hw-gold);
	margin-left: 8px;
}

.home-waqf .hw-content p {
	font-family: var(--font-heading, 'Cairo', sans-serif);
	font-size: 1.05rem;
	line-height: 1.8;
	opacity: 0.92;
	margin: 0;
	max-width: 640px;
}

.home-waqf .hw-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 22px;
}

.home-waqf .hw-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 60px;
	font-family: var(--font-heading, 'Cairo', sans-serif);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.home-waqf .hw-btn-primary {
	background: #fff;
	color: var(--hw-primary-dark);
}

.home-waqf .hw-btn-primary:hover {
	transform: scale(1.04);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	color: var(--hw-primary-dark);
}

.home-waqf .hw-btn-secondary {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.45);
}

.home-waqf .hw-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
	transform: translateY(-2px);
}

.home-waqf .hw-visual {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.home-waqf .hw-basket {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 45%),
		linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow:
		0 16px 36px rgba(0, 0, 0, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	color: var(--hw-gold);
}

.home-waqf .hw-basket-svg {
	width: 78px;
	height: 78px;
	display: block;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.home-waqf .hw-visual p {
	font-family: var(--font-heading, 'Cairo', sans-serif);
	font-weight: 700;
	font-size: 1rem;
	margin: 0;
	color: #fff;
}

/* Scroll reveal */
.home-waqf .fade-up {
	opacity: 1;
	transform: none;
}

.home-waqf.js-animate .fade-up {
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-waqf.js-animate .fade-up:not(.visible) {
	opacity: 0;
	transform: translateY(35px);
}

.home-waqf.js-animate .fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.home-waqf.js-animate .fade-up {
		transition: none;
	}
}

@media (max-width: 900px) {
	.home-waqf .hw-box {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 40px 28px;
		gap: 28px;
	}

	.home-waqf .hw-content p {
		margin-left: auto;
		margin-right: auto;
	}

	.home-waqf .hw-actions {
		justify-content: center;
	}

	.home-waqf .hw-box::before {
		left: auto;
		right: -40px;
		font-size: 9rem;
	}
}

@media (max-width: 480px) {
	.home-waqf {
		padding: 32px 0 40px;
	}

	.home-waqf .hw-box {
		padding: 32px 20px;
		border-radius: 16px;
	}

	.home-waqf .hw-basket {
		width: 110px;
		height: 110px;
	}

	.home-waqf .hw-basket-svg {
		width: 60px;
		height: 60px;
	}

	.home-waqf .hw-btn {
		width: 100%;
		justify-content: center;
	}
}
