/*
 * ═══════════════════════════════════════════════════════
 *  Edugates Theme — Layout CSS
 * ═══════════════════════════════════════════════════════
 *
 *  Header, navigation, footer, and WhatsApp float button.
 *  Mobile responsive breakpoints: 1100px, 768px, 480px.
 *
 *  Ported from edugates-website HTML (final tested version).
 */

/* ═══ HEADER WRAPPER ═══ */
.site-header {
	position: relative;
	display: flex;
	flex-direction: column;
}

/* ═══ TOP HEADER ═══ */
.top-header {
	background: linear-gradient(to right, #aaff00, #ffff00);
	padding: 18px 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 130px;
	gap: 20px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 36px;
	text-decoration: none;
	flex-shrink: 0;
}
.brand-logo {
	width: 105px;
	height: 105px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(30, 30, 122, 0.2);
}
.brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.brand-text {
	line-height: 1;
	display: flex;
	align-items: center;
}
.brand-text img {
	height: 88px;
	width: auto;
	display: block;
}

/* Pillar nav (Faith / Wisdom / Revival / Impact) */
.pillar-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
}
.pillar-nav .navbtn {
	display: block;
	padding: 13px 30px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .8px;
	color: #fff;
	transition: all .18s;
}
.pillar-nav .navbtn:hover {
	opacity: .88;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.btn-orange-pill { background: var(--orange); }
.btn-navy-pill { background: var(--navy); }

/* Mobile hamburger */
.top-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 4px;
	background: none;
	border: none;
}
.top-hamburger span {
	width: 26px;
	height: 3px;
	background: var(--navy);
	border-radius: 2px;
	transition: all .2s;
}

/* Yellow accent strip */
.yellow-strip {
	height: 8px;
	background: linear-gradient(to right, #ccff00, #ffff00);
	border-bottom: 1px solid rgba(30, 30, 122, 0.1);
	border-top: 3px solid #88dd00;
}

/* ═══ MAIN NAVIGATION (sticky) ═══ */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 999;
	height: 64px;
	padding: 0 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 4px 16px rgba(30, 30, 122, 0.08);
}

.nav-menu {
	display: flex;
	gap: 4px;
	list-style: none;
	align-items: center;
}
.nav-menu > li {
	position: relative;
}
.nav-menu > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--navy);
	padding: 10px 18px;
	border-radius: var(--r4);
	transition: all .2s;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
	background: var(--cream);
	color: var(--orange);
}

/* Submenu dropdown */
.nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 200px;
	background: #fff;
	border-radius: var(--r8);
	box-shadow: 0 10px 30px rgba(30, 30, 122, 0.15);
	padding: 8px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all .25s;
	border: 1px solid var(--line);
}
.nav-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-menu .sub-menu a {
	display: block;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--navy);
	border-radius: var(--r4);
	transition: all .2s;
}
.nav-menu .sub-menu a:hover {
	background: var(--cream);
	color: var(--orange);
	padding-left: 18px;
}

/* Right-side actions */
.nav-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.nav-login {
	font-size: 12px;
	color: var(--navy);
	font-weight: 700;
	padding: 8px 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.nav-apply {
	background: var(--orange);
	color: #fff;
	padding: 9px 22px;
	border-radius: var(--r4);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: 0 4px 14px rgba(245, 124, 46, 0.3);
	transition: all .2s;
}
.nav-apply:hover {
	background: var(--orange-light);
	transform: translateY(-2px);
}

/* ═══ MOBILE SLIDE-OUT MENU ═══ */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -320px;
	bottom: 0;
	width: 300px;
	z-index: 1001;
	background: var(--navy);
	padding: 80px 24px 32px;
	transition: right .3s ease;
	overflow-y: auto;
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}
.mobile-menu.open { right: 0; }

.mobile-menu .mobile-nav-menu {
	list-style: none;
}
.mobile-menu a {
	display: block;
	padding: 13px 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	border-radius: var(--r4);
	text-transform: uppercase;
	letter-spacing: .06em;
	transition: all .2s;
	margin-bottom: 2px;
}
.mobile-menu a:hover {
	background: rgba(255, 255, 255, .08);
	color: var(--orange-light);
}
.mobile-menu .sub-menu {
	margin-left: 12px;
	margin-bottom: 4px;
	list-style: none;
}
.mobile-menu .sub-menu a {
	font-size: 12px;
	font-weight: 500;
	padding: 10px 18px 10px 32px;
	color: rgba(255, 255, 255, .7);
	text-transform: none;
	letter-spacing: normal;
}

.mobile-auth {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 2px solid rgba(255, 255, 255, 0.15);
}
.mobile-auth a {
	padding: 14px 20px !important;
	border-radius: var(--r8);
	text-align: center;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.mobile-auth .mobile-login {
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.25) !important;
}
.mobile-auth .mobile-apply {
	background: var(--orange);
	color: #fff !important;
}

/* ═══ FOOTER ═══ */
.site-footer {
	background: linear-gradient(135deg, #3ed337 0%, #6ee81e 40%, #aaf50e 80%, #d9f812 100%);
	padding: 0;
	color: var(--navy);
	position: relative;
	overflow: hidden;
}
.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--navy);
}

.footer-main { padding: 80px 80px 40px; }
.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.3fr;
	gap: 56px;
	margin-bottom: 56px;
}

.footer-brand-top {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 14px;
}
.footer-brand-emblem {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}
.footer-brand-emblem img { width: 100%; height: 100%; object-fit: contain; }
.footer-text-logo {
	height: 74px;
	display: flex;
	align-items: center;
}
.footer-text-logo img { height: 100%; width: auto; display: block; }
.footer-brand-tag {
	font-size: 16px;
	line-height: 1.6;
	color: var(--navy);
	opacity: .85;
	margin-bottom: 28px;
	max-width: 380px;
	font-weight: 500;
	text-align: left;
}

.footer-contact-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 28px;
}
.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
	color: var(--navy);
	font-weight: 500;
}
.footer-contact-item a:hover {
	color: var(--orange);
	text-decoration: underline;
}
.footer-contact-icon {
	width: 40px;
	height: 40px;
	border-radius: var(--r8);
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	flex-shrink: 0;
}

.footer-social { display: flex; gap: 12px; }
.footer-social-link {
	width: 46px;
	height: 46px;
	border-radius: var(--r8);
	background: #fff;
	border: 2px solid var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--navy);
	font-weight: 700;
	transition: all .25s;
}
.footer-social-link:hover {
	background: var(--navy);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(30, 30, 122, 0.3);
}

.footer-col-title {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.footer-col-title::after {
	content: '';
	flex: 1;
	height: 2px;
	background: rgba(30, 30, 122, 0.25);
}
.footer-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.footer-links a {
	font-size: 16px;
	color: var(--navy);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all .2s;
}
.footer-links a::before {
	content: '→';
	color: var(--orange);
	font-weight: 700;
	opacity: 0;
	transform: translateX(-6px);
	transition: all .2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-newsletter {
	background: rgba(30, 30, 122, 0.08);
	border: 2px solid rgba(30, 30, 122, 0.15);
	border-radius: var(--r12);
	padding: 24px;
	margin-top: 10px;
}
.footer-newsletter-title {
	font-size: 17px;
	font-weight: 800;
	color: var(--navy);
	margin-bottom: 8px;
}
.footer-newsletter-sub {
	font-size: 14px;
	color: var(--navy);
	opacity: .75;
	margin-bottom: 16px;
	line-height: 1.6;
	font-weight: 500;
}
.footer-newsletter-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.footer-newsletter-input {
	flex: 1;
	min-width: 140px;
	background: #fff;
	border: 2px solid rgba(30, 30, 122, 0.2);
	border-radius: var(--r4);
	padding: 12px 16px;
	font-family: var(--sans);
	font-size: 14px;
	color: var(--navy);
	outline: none;
	font-weight: 500;
}
.footer-newsletter-input:focus { border-color: var(--navy); }
.footer-newsletter-btn {
	background: var(--navy);
	color: #fff;
	padding: 12px 24px;
	border-radius: var(--r4);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	letter-spacing: .04em;
	transition: all .2s;
}
.footer-newsletter-btn:hover {
	background: var(--orange);
	transform: translateY(-1px);
}

.footer-bottom {
	border-top: 2px solid rgba(30, 30, 122, 0.15);
	padding: 26px 80px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	flex-wrap: wrap;
	gap: 16px;
	background: rgba(30, 30, 122, 0.05);
}
.footer-bottom-left { color: var(--navy); font-weight: 500; }
.footer-bottom-left strong { font-weight: 800; }
.footer-bottom-right { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bottom-right a {
	color: var(--navy);
	font-size: 14px;
	font-weight: 500;
}
.footer-bottom-right a:hover { color: var(--orange); text-decoration: underline; }

/* ═══ WHATSAPP FLOATING BUTTON ═══ */
.whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 998;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
	transition: all .3s;
}
.whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* ═══ RESPONSIVE BREAKPOINTS ═══ */
@media (max-width: 1100px) {
	.nav-menu { display: none; }
	.site-nav { padding: 0 24px; }
	.top-header { padding: 0 24px; }
	.pillar-nav { gap: 6px; }
	.pillar-nav .navbtn { padding: 8px 16px; font-size: 12px; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 998;
		background: #fff;
		box-shadow: 0 4px 16px rgba(30, 30, 122, 0.12);
	}
	.top-header {
		padding: 14px 16px;
		min-height: 80px;
		flex-wrap: wrap;
		gap: 10px;
	}
	.pillar-nav { display: none; }
	.top-hamburger { display: flex; }
	.brand { gap: 14px; }
	.brand-logo { width: 70px; height: 70px; }
	.brand-text img { height: 54px; }
	.yellow-strip { height: 5px; }
	.site-nav { display: none; }
	.nav-login { display: none; }
	.nav-apply { padding: 8px 16px; font-size: 11px; }

	/* Footer mobile */
	.footer-main { padding: 60px 24px 30px; }
	.footer-top { grid-template-columns: 1fr; gap: 36px; }
	.footer-brand-top { margin: 0 auto 18px; justify-content: center; }
	.footer-brand-emblem { width: 72px; height: 72px; }
	.footer-text-logo { height: 56px; }
	.footer-brand-tag { max-width: 100%; text-align: center; }
	.footer-bottom {
		padding: 20px 24px;
		flex-direction: column;
		text-align: center;
	}

	/* WhatsApp float - smaller on mobile */
	.whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
	.whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
	/* Tiny labels accessibility bump */
	.section-label { font-size: 11.5px !important; letter-spacing: .1em !important; }
	/* Body text minimum size for readability */
	p, li { font-size: 14px !important; }
	/* iOS zoom prevention */
	input, textarea, select { font-size: 16px !important; }
}
