@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

/*
	Optimized for God Peace Ministry by Oluchi Eze
*/

/* ========== RESET & BASE STYLES ========== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	background: #fff;
	-webkit-text-size-adjust: none;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/* ========== TYPOGRAPHY & BASE ELEMENTS ========== */
html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body, input, select, textarea {
	color: #666;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 16pt;
	font-weight: 300;
	line-height: 1.65em;
}

a {
	transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
	border-bottom: dotted 1px #666;
	color: inherit;
	text-decoration: none;
}

a:hover {
	border-bottom-color: transparent !important;
	color: #6bd4c8;
}

strong, b {
	color: #555;
	font-weight: 400;
}

em, i {
	font-style: italic;
}

p {
	margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
	color: #555;
	line-height: 1em;
	margin: 0 0 1em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: 4em;
	line-height: 1.35em;
}

h2 {
	font-size: 2em;
	line-height: 1.35em;
}

h3 {
	font-size: 1.35em;
	line-height: 1.5em;
}

h4 {
	font-size: 1.25em;
	line-height: 1.5em;
}

h5 {
	font-size: 0.9em;
	line-height: 1.5em;
}

h6 {
	font-size: 0.7em;
	line-height: 1.5em;
}

hr {
	border: 0;
	border-bottom: solid 1px rgba(144, 144, 144, 0.5);
	margin: 2em 0;
}

.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* ========== CONTAINER ========== */
.container {
	margin: 0 auto;
	max-width: calc(100% - 4em);
	width: 60em;
}

/* ========== TOP GREEN SOCIAL BAR ========== */
.top-bar {
	background-color: #02d302; 
	padding: 2px 0;
	height: 40px;
	top: 0px;
	left: 0;
	width: 100%;
	position: fixed;
	z-index: 10002;
}

.top-bar-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1em;
	height: 100%;
}

.email-link a {
	color: black;
	font-size: 14px;
	text-decoration: none;
}

.email-link i {
	margin-right: 6px;
}

.email-link a:hover {
	color: #d4f7d4;
}

.social-links {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

.social-links a {
	color: black;
	font-size: 14px;
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: #d4f7d4;
}

/* ========== MAIN HEADER & NAVIGATION ========== */
.main-header {
	position: fixed;
	top: 40px;
	left: 0;
	width: 100%;
	background-color: #ffffff; 
	z-index: 10001;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	height: 80px;
}

.main-header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.5em 2em !important;
}

.main-header .logo {
    margin-right: auto !important; /* Push everything else right */
}

.main-header .logo {
	height: 50px;
	max-width: 130px;
	flex-shrink: 0;
	background-color: transparent !important;
}

.main-header nav {
	position: relative;
	flex-shrink: 0;
}

.main-header nav {
    margin-left: auto !important; /* Push nav to far right */
}

.main-header .nav-links {
	display: flex;
	gap: 1.2em;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.main-header .nav-links li {
	flex-shrink: 0;
}

.main-header .nav-links li a {
	text-decoration: none;
	color: #333;
	font-weight: bold;
	transition: color 0.3s ease;
	font-size: 0.95em;
	white-space: nowrap;
}

.main-header .nav-links li a:hover {
	color: #4686a0;
}

.main-header .nav-links li a.active {
	color: #198754;
	text-decoration: underline;
}

.nav-toggle {
	display: none;
	font-size: 1.5em;
	cursor: pointer;
}

.register-btn {
	background-color: #198754;
	color: #fff !important;
	padding: 0.4em 0.8em;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s ease;
	font-size: 0.9em;
}

.register-btn:hover {
	background-color: #145c39;
}

/* Top bar links - no underlines */
.top-bar a,
.top-bar .email-link a,
.top-bar .social-links a,
.email-link a,
.social-links a {
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Main navigation links - no underlines */
.main-header .nav-links li a,
.main-header nav a,
.main-header a,
.nav-links a {
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Logo link - no underline */
.main-header .logo-link,
.main-header a[href*="index.html"] {
    border-bottom: none !important;
    text-decoration: none !important;
}

/* HEADER BASE */
#header {
    padding: 4em 1 3em 0;
    background-image: url("images/gpm-header-image.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; /* center keeps full image visible */
    background-attachment: fixed;
	text-align: center;
    margin-top: 100px;
    position: relative;
	overflow: hidden;
	}


/* Overlay only on left side */
#header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; 
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* semi-transparent white */
    z-index: 0;
}

/* Text stays above overlay */
#header .inner {
    position: relative;
    z-index: 1;
    width: 50%;
    padding: 2em;
    text-align: left;
}


/* Headings */
#header h1 {
    font-size: 3.8rem;
    font-weight: 700;
    color: #012ffd;  /* pure black */
    margin-bottom: 15px;
}

#header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #111;  /* slightly softer black */
    margin-bottom: 15px;
}

#header p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #222;  /* dark gray for body text */
    margin-bottom: 20px;
}

/* Strong/Bold text */
#header strong,
#header b {
    font-weight: 700;
    color: #000; /* keep strong text pure black */
}


/* ========== BUTTON STYLES ========== */
.button {
	display: inline-block;
	padding: 0.8em 1.8em;
	background-color: #02de53;
	color: black !important;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	text-align: center;
}

.button:hover {
	background-color: #91faa3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.button:active {
	transform: translateY(0);
}

.button.join-now {
	background-color: #05f772;
	color: #000 !important;
	font-weight: 700;
}

.button.join-now:hover {
	background-color: #17c47a;
	color: #fff !important;
}

.button.learn-more {
	background-color: #007bff;
}

.button.learn-more:hover {
	background-color: #0056b3;
}

.button.secondary {
	background-color: #6c757d;
}

.button.secondary:hover {
	background-color: #545b62;
}

.button.small {
	padding: 0.6em 1.2em;
	font-size: 0.9em;
}

.button.large {
	padding: 1em 2.2em;
	font-size: 1.1em;
}

/* ========== LIVE STREAM SECTION ========== */
.livestream-container {
	display: flex;
	flex-wrap: wrap;
	max-width: 900px;
	margin: -100px auto 40px auto;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	border-radius: 20px;
	overflow: hidden;
	z-index: 5;
	position: relative;
}

.livestream-image {
	flex: 1 1 300px;
	min-height: 250px;
	background: url('images/live-stream.jpg') center/cover no-repeat;
}

.livestream-content {
	flex: 1 1 300px;
	background-color: #0171f1;
	color: #fff;
	padding: 2em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.livestream-content h2 {
	font-weight: 800;
	font-size: 2em;
	color: #ffffff;
	margin-bottom: 0.5em;
}

/* ========== SERVICE HIGHLIGHTS GRID ========== */
.services-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2em;
	margin: 3em auto 0;
	max-width: 1000px;
	padding: 0 1em;
}

.service-card {
	flex: 1 1 280px;
	background: #ffffff;
	padding: 2em;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	text-align: center;
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid #e9ecef;
}

.service-card:hover {
	background: #f8f9fa;
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
	font-weight: 700;
	margin: 0.8em 0 0.4em;
	color: #333;
}

.service-card p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 1em;
}

.service-icon {
	font-size: 2.5em;
	margin-bottom: 0.8em;
	display: block;
}

.fa-church { color: #007bff !important; }
.fa-users { color: #28a745 !important; }
.fa-child { color: #ff9800 !important; }
.fa-calendar-alt { color: #9c27b0 !important; }
.fa-hands-helping { color: #e91e63 !important; }
.fa-hand-holding-heart { color: #f44336 !important; }

/* ========== PAGE SECTIONS ========== */
.section-padding {
	background-color: #fff;
	padding: 6em 2em 4em;
}

.services-intro {
	max-width: 800px;
	margin: 3em auto 0;
	text-align: center;
}

.services-intro h3 {
	font-weight: 700;
	font-size: 1.6em;
	color: #222;
	margin-bottom: 1em;
}

.services-intro p {
	font-size: 1.1em;
	color: #444;
	line-height: 1.6;
}

.cta-button {
	margin-top: 1.5em;
}

.page-header {
	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/about-us.jpg');
	background-size: cover;
	background-position: top;
	padding: 6em 2em 4em;
	color: white;
	text-align: center;
}

.header-content {
	max-width: 800px;
	margin: 0 auto;
}

.header-content h1 {
	font-size: 2.5em;
	font-weight: 700;
	color: white;
	margin-bottom: 0.5em;
}

.header-content p {
	font-size: 1.2em;
	line-height: 1.6;
}

.section-light-blue {
	background-color: #54b4f9a7;
	padding: 4em 2em;
}

.section-white {
	background-color: #ffffffd9;
	padding: 4em 2em;
}

.columns-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	max-width: 1200px;
	margin: 0 auto;
	justify-content: center;
}

.about-column {
	flex: 1 1 300px;
	background: rgb(214, 244, 249);
	padding: 2em;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	text-align: center;
	min-width: 280px;
}

.about-column h3 {
	font-weight: 700;
	color: #222;
	margin-bottom: 1em;
	line-height: 1.3;
}

.about-column p {
	color: #444;
	line-height: 1.6;
}

.section-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 3em;
}

.section-intro h2 {
	font-size: 2em;
	font-weight: 700;
	margin-bottom: 1em;
	color: #333;
}

.section-intro p {
	font-size: 1.1em;
	color: #444;
	line-height: 1.6;
}

.leaders-container {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 3em;
}

.leader-profile {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2em;
}

.leader-reverse {
	flex-direction: row-reverse;
}

.leader-profile img {
	flex: 1 1 200px;
	width: 100%;
	max-width: 300px;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
}

.leader-info {
	flex: 1 1 500px;
	min-width: 300px;
}

.leader-info h3 {
	margin: 0 0 0.3em;
	color: #333;
	font-size: 1.5em;
}

.leader-info strong {
	color: #198754;
	font-weight: 600;
}

.leader-info p {
	margin-top: 0.8em;
	color: #555;
	line-height: 1.6;
}

/* ========== FOOTER ========== */
#footer {
	background: #222;
	color: #ccc;
	padding: 3em 2em;
	text-align: center;
}

#footer {
  background: url("images/footer-bg.jpg") no-repeat center center/cover;
  color: white;
  padding: 40px 20px 20px;
  position: relative;
  z-index: 1;
}

#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 35, 110, 0.6); /* dark overlay to improve readability */
  z-index: -1;
}


#footer .footer-content {
	max-width: 1000px;
	margin: 0 auto;
}

#footer .icons {
	margin-bottom: 1.5em;
}

#footer .footer-links {
	margin-bottom: 2em;
}

#footer .footer-links h4 {
	color: #fff;
	margin-bottom: 0.5em;
}

#footer .footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .footer-links ul li {
	display: inline-block;
	margin: 0.3em 1em;
}

#footer .footer-links ul li a {
	color: white;
	text-decoration: none;
	font-size: 0.95em;
}

#footer .footer-links ul li a:hover {
	color: rgb(159, 253, 232);
}

#footer .copyright {
	font-size: 0.8em;
	color: white;
	padding-top: 1em;
}

/* ========== MODAL ========== */
.modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0; top: 0;
	width: 100%; height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.6);
}

.modal-content {
	background-color: #fff;
	margin: 10% auto;
	padding: 2em;
	b border-radius: 10px;
	max-width: 500px;
	position: relative;
	box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.modal-content h2 {
	color: #198754;
	margin-bottom: 1em;
}

.modal-content input,
.modal-content textarea {
	width: 100%;
	padding: 0.6em;
	margin-top: 0.5em;
	margin-bottom: 1em;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.modal-content button {
	background-color: #198754;
	color: #fff;
	padding: 0.7em 1.5em;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.modal-content button:hover {
	background-color: #145c39;
}

.close-btn {
	position: absolute;
	top: 15px; right: 20px;
	font-size: 1.5em;
	cursor: pointer;
	color: #aaa;
}

.close-btn:hover {
	color: #000;
}

/* ========== FORM VALIDATION ========== */
input:invalid, textarea:invalid {
	border-color: #dc3545 !important;
}

input:valid, textarea:valid {
	border-color: #28a745 !important;
}

/* ========== LAZY LOADING ========== */
img[loading="lazy"] {
	opacity: 0;
	transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
	opacity: 1;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1em; }
.mb-1 { margin-bottom: 1em; }
.p-1 { padding: 1em; }

/* Preload state */
body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	animation: none !important;
	transition: none !important;
}

/* ========== RESPONSIVE DESIGN ========== */
@media screen and (max-width: 1140px) {
	.main-header .nav-links {
		gap: 1em;
	}
	
	.main-header .nav-links li a {
		font-size: 0.9em;
	}
}

@media screen and (max-width: 1024px) {
	.main-header .nav-links {
		gap: 0.8em;
	}
	
	.main-header .nav-links li a {
		font-size: 0.85em;
		padding: 0.3em 0.5em;
	}
	
	.register-btn {
		padding: 0.3em 0.6em;
		font-size: 0.8em;
	}
}

@media screen and (max-width: 980px) {
	.container {
		max-width: 100% !important;
		width: 100% !important;
	}
}

@media screen and (max-width: 768px) {
	.top-bar {
		height: 25px;
	}
	
	.main-header {
		top: 25px;
		height: 60px;
	}
	
	.main-header .container {
		padding: 0.3em 1em;
	}
	
	.main-header .logo {
		height: 40px;
		max-width: 110px;
	}
	
	.nav-toggle {
		display: block;
		font-size: 1.3em;
	}
	
	.main-header .nav-links {
		display: none;
		flex-direction: column;
		gap: 0.5em;
		width: 200px;
		position: absolute;
		top: 60px;
		right: 0;
		background: #fff;
		border: 1px solid #ccc;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	}
	
	.main-header .nav-links.active {
		display: flex;
	}
	
	.main-header .nav-links li {
		width: 100%;
		text-align: center;
	}
	
	.main-header .nav-links li a {
		font-size: 1em;
		padding: 0.8em;
		display: block;
	}
	
	#header {
		margin-top: 85px;
		padding: 5em 1em 5em 1em;
	}
	
	.top-bar-content {
		flex-direction: column;
		gap: 6px;
		text-align: center;
	}
	
	.leader-profile {
		flex-direction: column;
		text-align: center;
	}
	
	.leader-reverse {
		flex-direction: column;
	}
	
	.leader-profile img {
		max-width: 250px;
	}
	
	.about-column {
		flex: 1 1 100%;
		min-width: auto;
	}
}

@media screen and (max-width: 736px) {
	body, input, select, textarea {
		font-size: 12pt;
	}

	h1 {
		font-size: 1.75em;
	}

	h2 {
		font-size: 1.5em;
	}

	h3 {
		font-size: 1.1em;
	}

	h4 {
		font-size: 1em;
	}
}

@media screen and (max-width: 480px) {
	#header {
		padding: 4em 2em 4em 2em;
		margin-top: 80px;
	}
	
	#footer {
		padding: 2em 1.5em 2em 1.5em;
	}
	
	#footer .copyright li {
		border: 0;
		display: block;
		margin: 1em 0 0 0;
		padding: 0;
	}
	
	.container {
		max-width: calc(100% - 3em);
	}
}

/* Prevent scrolling when menu is open */
body.menu-open {
	overflow: hidden;
}

