/*  RESET*/
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
}

/* SCROLL ANIMATIONS */

.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-stagger {
	opacity: 0;
	transition: all 1s cubic-bezier(.2, .8, .2, 1);
}

.reveal-fade {
	transform: translateY(20px);
}

.reveal-up {
	transform: translateY(60px);
}

.reveal-left {
	transform: translateX(-80px);
}

.reveal-right {
	transform: translateX(80px);
}

.reveal-stagger {
	transform: translateY(60px);
}

.reveal-visible {
	opacity: 1;
	transform: translate(0, 0);
}

/* Stagger delay */
.reveal-stagger:nth-child(1) {
	transition-delay: .1s;
}

.reveal-stagger:nth-child(2) {
	transition-delay: .2s;
}

.reveal-stagger:nth-child(3) {
	transition-delay: .3s;
}

.reveal-stagger:nth-child(4) {
	transition-delay: .4s;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* HEADER*/
.header {
	background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
	color: white;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* NAVIGATION */
.nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 110px;
}

/* Logo */
.logo {
	height: 100%;
	display: flex;
	align-items: center;
}

.logo img {
	height: 200px;
	width: auto;
	display: block;
}

/* Links */
.nav-links {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	position: relative;
	color: white;
	text-decoration: none;
	font-weight: 500;
	font-size: 1.1rem;
	letter-spacing: 0.5px;
}

/* Animated underline */
.nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0%;
	height: 2px;
	background: white;
	transition: width 0.3s ease;
}

.nav-links a:hover::after {
	width: 100%;
}

/* ACTIVE NAV LINK (DESKTOP) */

.nav-links a.active::after {
	width: 100%;
}

/* DONATE BUTTON */

.donate-item {
	margin-left: 1.5rem;
}

/* ENTRY */
@keyframes fadeSlideIn {
	0% {
		opacity: 0;
		transform: translateY(-15px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* REAL GLOW */
@keyframes glowPulse {

	0%,
	100% {
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

	50% {
		box-shadow: 0 0 18px rgba(59, 130, 246, 0.8);
	}
}

/* HEARTBEAT */
@keyframes heartbeat {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.25);
	}
}

.donate-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;

	background: #1e3a8a;
	color: white;
	padding: 0.75rem 1.6rem;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;

	transition: all 0.3s ease;

	animation:
		fadeSlideIn 0.8s ease forwards,
		glowPulse 2.5s ease-in-out infinite;
}

/* Heart */
.donate-btn .heart {
	color: #f87171;
	font-size: 0.95rem;
	display: inline-block;
	animation: heartbeat 1.8s ease-in-out infinite;
}

.donate-btn:hover {
	background: #3b82f6;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.donate-btn::after {
	display: none;
}

/* Mobile Toggle */
.menu-toggle {
	position: absolute;
	right: 1rem;
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle span {
	width: 25px;
	height: 3px;
	background: white;
	border-radius: 3px;
	transition: 0.3s ease;
}

@media (max-width: 768px) {

	.nav-links {
		position: absolute;
		top: 100px;
		left: 0;
		width: 100%;
		display: none;
		align-items: center;
		justify-content: center;
		text-align: center;
		flex-direction: column;
		background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
		padding: 2rem 0;
		gap: 2rem;

		margin: 0;
		transform: none;
	}

	.nav-links.active {
		display: flex;
	}

	.menu-toggle {
		display: flex;
	}

	.donate-item {
		margin-left: 0;
	}

	.donate-btn {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 768px) {

	.nav-links a.active {
		color: #93c5fd;
		font-weight: 600;
	}

	.nav-links a.active::after {
		display: none;
	}

}


/* FEATURE VIDEO SECTION */

.hero-video {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: black;
}


.hero-video-bg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {

	.hero-video {
		height: auto;
		min-height: auto;
	}

	.hero-video-bg {
		position: relative;
		width: 100%;
		height: auto;
		object-fit: contain;
		transform: none;
		top: auto;
		left: auto;
	}

	.hero-overlay {
		position: absolute;
		inset: 0;
	}
}

/* MISSION SECTION */

.mission-section {
	background: linear-gradient(135deg, #f4f7ff 0%, #e6edff 100%);
	padding: 120px 0 100px;
	display: flex;
	align-items: center;
}

.mission-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.mission-content h2 {
	font-size: 3rem;
	font-weight: 700;
	color: #1e3a8a;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.mission-content p {
	font-size: 1.15rem;
	color: #555;
	margin-bottom: 2.5rem;
	line-height: 1.6;
}

.mission-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* BUTTONS */

.Btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.Btn-primary {
	background: linear-gradient(45deg, #1e3a8a, #3b82f6);
	color: white;
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.Btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(59, 130, 246, 0.4);
}

.Btn-secondary {
	background: white;
	color: #1e3a8a;
	border: 2px solid #1e3a8a;
}

.Btn-secondary:hover {
	background: #1e3a8a;
	color: white;
}

.Btn i {
	margin-right: 6px;
}

/* VISUAL SIDE */

.mission-image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.mission-visual {
	width: 100%;
	height: 400px;
	background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
}

.central-logo {
	text-align: center;
	color: white;
	z-index: 2;
}

.central-logo i {
	font-size: 4rem;
	margin-bottom: 1rem;
	display: block;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.central-logo span {
	font-size: 1.2rem;
	font-weight: 600;
}

.floating-icons {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.icon-item {
	position: absolute;
	color: rgba(255, 255, 255, 0.2);
	font-size: 2rem;
	animation: float 6s ease-in-out infinite;
}

/* Icon Positions */
.icon-item:nth-child(1) {
	top: 20%;
	left: 15%;
}

.icon-item:nth-child(2) {
	top: 60%;
	left: 80%;
}

.icon-item:nth-child(3) {
	top: 80%;
	left: 20%;
}

.icon-item:nth-child(4) {
	top: 30%;
	left: 75%;
}

.icon-item:nth-child(5) {
	top: 70%;
	left: 50%;
}

.icon-item:nth-child(6) {
	top: 40%;
	left: 30%;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(180deg);
	}
}

/* RESPONSIVE */

@media (max-width: 768px) {
	.mission-container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;

		.mission-image {
			order: -1;
		}
	}

	.mission-buttons {
		justify-content: center;
	}

	.mission-buttons .Btn {
		min-width: 200px;
		justify-content: center;
	}

	.mission-content h2 {
		font-size: 2.3rem;
	}

	.mission-image {
		margin-top: 40px;
	}
}

@media (max-width: 480px) {
	.mission-content h2 {
		font-size: 1.9rem;
	}

	.Btn {
		padding: 12px 24px;
		font-size: 0.9rem;
	}
}


/* HOUSING ALERT SECTION */

.housing-alert {
	background: linear-gradient(45deg, #1e3a8a, #3b82f6);
	padding: 40px 0;
	color: white;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.housing-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.alert-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

/* ICON */
.alert-icon i {
	font-size: 3rem;
	color: rgba(255, 255, 255, 0.9);
}

/* TEXT */
.alert-text {
	flex: 1;
	min-width: 250px;
}

.alert-text h3 {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
}

.alert-text p {
	font-size: 1rem;
	opacity: 0.95;
	line-height: 1.6;
}

/* BUTTON */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-help {
	background: white;
	color: #1e3a8a;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	animation: helpPulse 2.5s infinite;
}

.btn-help:hover {
	background: #f1f5ff;
	transform: translateY(-2px);
}

/* Gentle Pulse */
@keyframes helpPulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.04);
	}
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {
	.alert-content {
		flex-direction: column;
		text-align: center;
		gap: 1.5rem;
	}

	.btn-help {
		width: 80%;
		justify-content: center;
	}
}

/* IMPACT STATISTICS SECTION */

.impact-stats {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	;
	background: #ffffff;
	padding: 100px 0;
	text-align: center;
}

.impact-stats .stats-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.impact-stats h2 {
	font-size: 2.5rem;
	color: #1e3a8a;
	margin-bottom: 4rem;
	font-weight: 700;
}

/* GRID */

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2.5rem;
}

/* CARD */

.stat-item {
	background: linear-gradient(135deg, #f4f7ff 0%, #e6edff 100%);
	padding: 2.5rem 2rem;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(30, 58, 138, 0.08);
	transition: all 0.3s ease;
	font-family: "EB Garamond", serif;
}

.stat-icon i {
	font-size: 3rem;
	color: #2563eb;
	opacity: 0.9;
	margin-bottom: 16px;
}

.stat-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 14px 30px rgba(30, 58, 138, 0.15);
}

/* NUMBER */

.stat-number {
	font-size: 3rem;
	color: #3b82f6;
	font-weight: 800;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* LABEL */

.stat-label {
	font-size: 1.05rem;
	color: #334155;
	font-weight: 500;
	line-height: 1.4;
}

/* MOBILE */

@media (max-width: 768px) {
	.impact-stats {
		padding: 80px 0;
	}

	.impact-stats h2 {
		font-size: 2rem;
		margin-bottom: 3rem;
	}

	.stat-number {
		font-size: 2.5rem;
	}
}

/* HOUSING PROGRAMS SECTION */

.housing-programs {
	padding: 100px 0;
	background: #f4f7ff;
}

.programs-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.housing-programs h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 4rem;
	color: #1e3a8a;
	font-weight: 700;
}

/* GRID */

.programs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

/* CARD */

.program-item {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(30, 58, 138, 0.08);
	transition: all 0.3s ease;
}

.program-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 14px 30px rgba(30, 58, 138, 0.15);
}

/* ICON */

.program-icon {
	width: 100%;
	padding: 3rem 0 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.program-icon i {
	font-size: 3.5rem;
	/* Bold icon */
	color: #1e3a8a;
	background: #e0e7ff;
	padding: 30px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

/* Hover Effect */

.program-item:hover .program-icon i {
	background: #1e3a8a;
	color: #fff;
	transform: scale(1.1);
}

/* CONTENT */

.program-content {
	padding: 2rem;
	text-align: center;
}

.program-content h3 {
	margin-bottom: 1rem;
	font-size: 1.4rem;
	color: #1e3a8a;
	font-weight: 600;
}

.program-content p {
	line-height: 1.6;
	color: #555;
	font-size: 1rem;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

	.housing-programs {
		padding: 80px 0;
	}

	.housing-programs h2 {
		font-size: 2rem;
		margin-bottom: 3rem;
	}

	.program-image {
		height: 200px;
	}

}

@media (max-width: 480px) {

	.program-content {
		padding: 1.5rem;
	}

	.program-content h3 {
		font-size: 1.2rem;
	}

}

/* ELIGIBILITY SECTION */

.eligibility-section {
	padding: 100px 0;
	background: linear-gradient(135deg, #f4f7ff 0%, #e6edff 100%);
}

.eligibility-container {
	max-width: 1200px;
	margin: auto;
	padding: 0 20px;
}

.eligibility-header {
	text-align: center;
	margin-bottom: 60px;
}

.eligibility-header h2 {
	font-size: 2.6rem;
	color: #1e3a8a;
	margin-bottom: 10px;
}

.eligibility-header p {
	max-width: 700px;
	margin: auto;
	color: #475569;
	line-height: 1.6;
}

/* GRID */

.eligibility-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
}

/* CARD */

.eligibility-card {
	background: white;
	padding: 30px;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	transition: all .3s ease;
}

.eligibility-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* ICON */

.eligibility-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: auto;
	margin-bottom: 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, #3b82f6, #1e3a8a);
	color: white;
	font-size: 22px;
}

/* TEXT */

.eligibility-card h3 {
	color: #1e3a8a;
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.eligibility-card p {
	color: #475569;
	line-height: 1.6;
	font-size: .95rem;
}

/* CTA */

.eligibility-cta {
	text-align: center;
	margin-top: 50px;
}

.btn-check-eligibility {
	background: #1e3a8a;
	color: white;
	padding: 14px 32px;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	transition: .3s;
}

.btn-check-eligibility:hover {
	background: #2563eb;
	transform: translateY(-2px);
}

/* MOBILE */

@media(max-width:768px) {

	.eligibility-header h2 {
		font-size: 2rem;
	}

	.eligibility-section {
		padding: 70px 0;
	}

}

/* STORIES SECTION */

.stories {
	padding: 100px 0;
	background: white;
}

.stories .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.stories h2 {
	text-align: center;
	font-size: 2.5rem;
	color: #1e3a8a;
	margin-bottom: 4rem;
}

/* Grid */
.stories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

/* Card */
.story-item {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	display: block;
	text-decoration: none;
	color: inherit;
}

.story-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Image */
.story-image {
	height: 220px;
	overflow: hidden;
}

.story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.story-item:hover .story-image img {
	transform: scale(1.08);
}

/* Content */
.story-content {
	padding: 2rem;
}

.story-content h3 {
	font-size: 1.4rem;
	color: #1e3a8a;
	margin-bottom: 1rem;
}

.story-content p {
	font-size: 1rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

/* Meta */
.story-meta .location {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #888;
	font-size: 0.9rem;
}

.story-meta i {
	color: #1e3a8a;
}

/* CTA */
.stories-cta {
	text-align: center;
	margin-top: 2rem;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

	.stories {
		padding: 70px 0;
	}

	.stories h2 {
		font-size: 2rem;
		margin-bottom: 3rem;
	}

	.story-image {
		height: 200px;
	}

	.story-content {
		padding: 1.5rem;
	}

}

/* FOOTER  */

.footer {
	background: #111;
	color: #fff;
	padding: 80px 0 30px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

/* 3 EQUAL COLUMNS */
.footer-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 4rem;
	margin-bottom: 3rem;
}

/* SECTION */
.footer-section {
	display: flex;
	flex-direction: column;
}

/* BRAND TITLE */
.footer-title,
.footer-section h3 {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
}

.footer-title {
	color: #3b82f6;
	font-weight: 600;
}

.footer-section h3 {
	color: #3b82f6;
}

/* TEXT */
.footer-section p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	opacity: 0.8;
}

/* LINKS */
.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin-bottom: 0.6rem;
}

.footer-section ul li a {
	color: #fff;
	text-decoration: none;
	opacity: 0.8;
	transition: 0.3s ease;
}

.footer-section ul li a:hover {
	color: #3b82f6;
	opacity: 1;
}

/* CONTACT */
.contact-info p {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.6rem;
}

.contact-info i {
	color: #3b82f6;
}

/* BOTTOM */
.footer-bottom {
	border-top: 1px solid #2a2a2a;
	padding-top: 2rem;
}

.footer-bottom-content {
	text-align: center;
}

.footer-bottom-content p {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.7;
}

/* MOBILE */
@media (max-width: 768px) {

	.footer-content {
		grid-template-columns: 1fr;
		row-gap: 2.5rem;
		text-align: center;
	}

	.contact-info p {
		justify-content: center;
	}
}

/* SCROLL TO TOP BUTTON */

.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 20px;
	width: 55px;
	height: 55px;
	background: #1e3a8a;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;

	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	transition: all 0.3s ease;
}

/* Visible State */
.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Hover */
.scroll-to-top:hover {
	background: #16307a;
}

/* Icon */
.scroll-to-top i {
	font-size: 1.2rem;
}

/* Mobile Fix */
@media (max-width: 768px) {
	.scroll-to-top {
		bottom: 80px;
		/* avoids mobile browser bar */
		right: 15px;
		width: 50px;
		height: 50px;
	}
}