/*
 * Nona Masjid custom site styles.
 * Image files referenced by front-page.php belong in custom-assets/images/.
 */

/*@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,700&display=swap');*/

:root {
	--primary-color: #187fba;
	--primary-dark: #086ba7;
	--secondary-color: #ffc165;
	--accent-color: #0b87cf;
	--body-color: #4c4c4c;
	--heading-color: #187fba;
	--background-color: #ffffff;
	--surface-color: #f7f5ef;
	--dark-color: #075e93;
	--white: #ffffff;
	--font-main: 'Poppins', Arial, sans-serif;
	--font-display: 'Cinzel', Georgia, serif;
	--base-font-size: 16px;
	--base-big-font-size: 18px;
	--base-line-height: 1.7;
	--section-space: clamp(4rem, 8vw, 7rem);
	--bs-primary: #187fba;
	--bs-primary-rgb: 24, 127, 186;
	--bs-secondary: #ffc165;
	--bs-secondary-rgb: 255, 193, 101;
	--bs-link-color: #187fba;
	--bs-link-hover-color: #086ba7;
}

html { font-size: var(--base-font-size); scroll-behavior: smooth; }
body { background: var(--background-color); color: var(--body-color); font-family: var(--font-main); line-height: var(--base-line-height); -webkit-font-smoothing: antialiased; }
a { color: var(--primary-color); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover, a:focus { color: var(--accent-color); }
p { margin: 0 0 1.25rem; }
.big{ font-size: var(--base-big-font-size); }

h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 3.35vw, 3.25rem); letter-spacing: -.015em; line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 2.15vw, 2rem); letter-spacing: -.01em; line-height: 1.25; }
h3 { font-size: clamp(1.35rem, 1.75vw, 1.6rem); line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.35; }
h5 { font-size: 1rem; line-height: 1.4; }
h6 { font-size: .875rem; line-height: 1.45; }

/* Header and first fold */
.site-header { background: #0a75b2; }
.site-header--home { background: transparent; height: 0; position: relative; z-index: 10; }
.nmca-navbar { min-height: 120px; padding: 14px 0; }
.nmca-navbar--overlay,.nmca-navbar { background: linear-gradient(180deg, black, #040404c2, transparent); }
.nmca-navbar .navbar-brand { align-self: flex-start; background: #fff; border-radius: 50%; display: block; height: 132px; margin: 0 0 -36px; overflow: hidden; padding: 10px; position: relative; width: 132px; z-index: 2; }
.nmca-navbar .navbar-brand img { display: block; height: 100%; object-fit: contain; width: 100%; }
.nmca-brand-text { align-items: center; color: var(--primary-color); display: flex; font-size: .75rem; font-weight: 700; height: 100%; justify-content: center; padding: .5rem; text-align: center; text-transform: uppercase; }
.nmca-nav-menu { gap: 1.55rem; }
.nmca-nav-menu .nav-link { color: #fff !important; font-size: 1.2rem; font-weight: 400; padding: .5rem 0 !important; text-transform: uppercase; }
.nmca-nav-menu .nav-link:hover, .nmca-nav-menu .nav-link:focus { color: var(--secondary-color) !important; }
.nmca-header-actions { gap: .75rem; margin-left: 1.5rem; }
.nmca-search-form { align-items: center; border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px; display: flex; margin-left: 1.25rem; overflow: hidden; }
.nmca-search-form input { background: transparent; border: 0; color: #fff; font-size: .85rem; min-width: 105px; outline: 0; padding: .58rem .2rem .58rem .85rem; width: 105px; }
.nmca-search-form input::placeholder { color: rgba(255, 255, 255, .88); }
.nmca-search-form button { background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 1.35rem; line-height: 1; padding: .35rem .7rem .48rem .3rem; }
.nmca-header-button { border-radius: 999px; color: #fff; font-size: 1rem; font-weight: 500; min-width: 158px; padding: .78rem 1.5rem; text-align: center; text-transform: uppercase; }
.nmca-header-button:hover, .nmca-header-button:focus { color: #fff; transform: translateY(-1px); }
.nmca-header-button--contact { background: var(--accent-color); }
.nmca-header-button--donate { background: var(--secondary-color); color: #fff; }
body.admin-bar #header.fixed-top.is-scrolled, body.admin-bar #header.fixed-top.is-scrolled .nmca-mobile-menu{ top: 0; }
.nmca-mobile-menu .offcanvas-header { display: none; }

@media (min-width: 992px) {
	.nmca-mobile-menu {
		align-items: center;
		background: transparent;
		border: 0;
		display: flex !important;
		flex: 1 1 auto;
		height: auto !important;
		min-width: 0;
		position: static;
		transform: none !important;
		visibility: visible !important;
		width: auto !important;
	}

	.nmca-mobile-menu .offcanvas-body {
		align-items: center;
		display: flex;
		justify-content: flex-end;
		padding: 0;
		width: 100%;
	}

	.nmca-mobile-menu .offcanvas-header {
		display: none;
	}

	.nmca-nav-menu {
		flex-wrap: nowrap;
		margin-left: auto;
		white-space: nowrap;
	}

	.nmca-header-actions {
		flex-shrink: 0;
		margin-left: .9rem;
	}
}

/* The base header template wraps #main in .container. Remove that constraint only on the front page. */
body.home #main, body.front-page #main { max-width: none; overflow: hidden; padding: 0; width: 100%; }
body #main{ margin-top: 0; }
.inner-page-banner { align-items: center; background-position: center; background-size: cover; display: flex; margin-left: calc(50% - 50vw); min-height: 360px; position: relative; text-align: center; width: 100vw; }
.inner-page-banner h1 { color: #fff; font-size: clamp(2.5rem, 2.6vw, 4.2rem); margin: 0; text-transform: capitalize; }
.inner-page-breadcrumbs { display: none; }
.inner-page-breadcrumbs a, .inner-page-breadcrumbs span { color: #fff; }
.inner-page-content { padding: 4rem 0; }
.home-page { overflow: hidden; }
.home-section { padding: var(--section-space) 0; }
.home-eyebrow { color: var(--secondary-color); font-size: .75rem; font-weight: 800; letter-spacing: .16em; margin-bottom: 1rem; text-transform: uppercase; }

.home-btn { border: 2px solid var(--secondary-color); border-radius: 0; display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; padding: .95rem 1.6rem; text-transform: uppercase; }
.home-btn--gold { background: var(--secondary-color); color: var(--primary-dark); }
.home-btn--gold:hover, .home-btn--gold:focus { background: transparent; color: var(--secondary-color); }
.home-btn--outline-light { border-color: var(--white); color: var(--white); }
.home-btn--outline-light:hover, .home-btn--outline-light:focus { background: var(--white); color: var(--primary-color); }

.home-hero { background-position: center; background-repeat: no-repeat; background-size: cover; min-height: clamp(520px, 50vw, 650px); }
.home-intro { background: var(--primary-color); padding: clamp(2.3rem, 4vw, 3.5rem) 0; text-align: center; }
.home-intro h1 { color: #fff; font-family: var(--font-display); font-size: clamp(2.2rem, 2.7vw, 3.25rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.18; margin: 0; text-transform: capitalize; }

.donation-section, .vision-mission { background: var(--surface-color); }
.prayer-section, .cta-section { background: var(--primary-color); }
.section-title--light, .section-title--light h2, .section-title--light p { color: var(--white); }
.prayer-frame { background: var(--white); box-shadow: 0 16px 45px rgba(0, 0, 0, .18); min-height: 540px; }
.program-card { background: var(--white); box-shadow: 0 10px 35px rgba(18, 54, 43, .09); height: 100%; overflow: hidden; }
.program-card img { height: 255px; object-fit: cover; width: 100%; }
.program-card__content { padding: 1.75rem; }
.timeline-item { border-left: 2px solid var(--secondary-color); padding: 0 0 2.5rem 2rem; position: relative; }
.timeline-item::before { background: var(--secondary-color); border: 5px solid var(--surface-color); border-radius: 50%; content: ''; height: 18px; left: -10px; position: absolute; top: 0; width: 18px; }
.vision-mission__panel { padding: clamp(2rem, 4vw, 4rem); }
.vision-mission__panel--dark { background: var(--primary-color); }
.vision-mission__panel--dark h2, .vision-mission__panel--dark p { color: var(--white); }
.newsletter-section { background: var(--dark-color); }
.newsletter-section h2, .newsletter-section p, .newsletter-section label { color: var(--white); }
.newsletter-section input { border: 0; border-radius: 0; min-height: 52px; }

@media (max-width: 991.98px) {
	.site-header--home { height: auto; }
	.nmca-navbar { background: #0a75b2; min-height: 88px; }
	.nmca-navbar .navbar-brand { height: 72px; margin: 0; padding: 6px; width: 72px; }
	.nmca-nav-menu { gap: 0; padding: 1rem 0; }
	.nmca-nav-menu .nav-link { padding: .7rem 0 !important; }
	.nmca-header-actions { margin: .4rem 0 1rem; }
	.nmca-search-form { margin: 0 0 .5rem; max-width: 220px; }
	.nmca-search-form input { width: 100%; }
}

@media (max-width: 767.98px) {
	.home-hero { min-height: 400px; }
	.home-intro h1 { font-size: clamp(2rem, 10vw, 3rem); }
}

/* Homepage sections copied from the live Nona Masjid visual structure. */
.construction-section { background: #fff; padding: 3rem 0 4rem; }
.construction-title { color: #20282d; font-size: clamp(2.6rem, 3.13vw, 4.5rem); line-height: 1.05; margin: 0 auto 2.5rem; text-align: center; text-transform: capitalize; }
.construction-title span, .programs-section h2 span { color: var(--primary-color); }
.construction-widget { margin: 0 auto 1rem; max-width: 440px; min-height: 120px; text-align: center; }
.construction-widget iframe { border: 0; min-height: 600px !important; height: 600px !important; width: 100%; }
.construction-copy { background: #fff; border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,.10); margin: 0 auto 1.5rem; max-width: 1525px; padding: 1.35rem 1.25rem; }
.construction-copy h3 { color: var(--primary-color); font-size: clamp(1.35rem, 2vw, 1.75rem); }
.construction-copy p { font-size: .98rem; margin-bottom: 1rem; }
.construction-copy blockquote { background: #e6f4ff; border-left: 5px solid var(--primary-color); font-style: italic; margin: 2rem 0; padding: 1.8rem 1.25rem; }
.construction-copy blockquote p { margin: 0 0 .35rem; }
.reward-list { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin: 1.5rem 0; }
.reward-list p { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.09); margin: 0; padding: 1.1rem 1rem 1.1rem 2.5rem; position: relative; }
.reward-list p:last-child { grid-column: 1 / -1; }
.reward-list p::before { color: var(--primary-color); content: '✓'; font-size: 1.25rem; font-weight: 700; left: .75rem; position: absolute; top: .95rem; }
.render-gallery { display: grid; gap: .25rem; grid-template-columns: repeat(3, 1fr); margin: 1.5rem auto; max-width: 1520px; }
.render-gallery img { aspect-ratio: 1.26 / 1; object-fit: cover; width: 100%; }
.floor-plan { display: block; margin: 1rem auto; max-width: 100%; }
.tax-note { color: #aaa; font-size: .9rem; font-weight: 700; margin: 2rem auto 0; max-width: 620px; text-align: center; }

.journey-section { background: #187fba; color: #fff; overflow: hidden; padding: 5rem 0 4rem; position: relative; }
.journey-section .container { max-width: 1320px; }
.journey-section h2 { color: #fff; font-size: clamp(2.2rem, 3.8vw, 3.7rem); line-height: 1.25; margin-bottom: 3.25rem; text-align: center; text-transform: uppercase; }
.journey-timeline { margin: auto; max-width: 1200px; position: relative; }
.journey-timeline::before { background: rgba(9, 104, 159, .45); bottom: 0; content: ''; left: 50%; position: absolute; top: 0; transform: translateX(-50%); width: 4px; }
.journey-item { display: grid; gap: 0; grid-template-columns: 1fr 1fr; min-height: 194px; padding-bottom: 1.3rem; position: relative; }
.journey-item::after { background: #fff; border: 5px solid #187fba; border-radius: 50%; content: ''; height: 22px; left: 50%; position: absolute; top: .25rem; transform: translateX(-50%); width: 22px; z-index: 3; }
.journey-item::before { background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(3, 86, 136, .35) 4px 5px); content: ''; height: 125px; position: absolute; top: 55px; width: calc(50% - 70px); z-index: 0; }
.journey-item--right::before { left: 0; }
.journey-item--left::before { right: 0; }
.journey-item:nth-child(1)::before { height: 102px; }
.journey-item:nth-child(2)::before { height: 170px; }
.journey-item:nth-child(3)::before { height: 125px; }
.journey-item > div,
.journey-year { position: relative; z-index: 1; }
.journey-item > div { padding: 0 2rem 0 4.8rem; }
.journey-item h3 { color: #fff; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; margin-bottom: .85rem; text-transform: uppercase; }
.journey-item ul { font-size: .84rem; line-height: 1.7; margin: 0; padding-left: 1.15rem; }
.journey-item li { margin-bottom: .28rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.journey-year { align-self: start; background: #050505; border-radius: 3px; color: #fff; font-family: var(--font-main); font-size: .95rem; font-weight: 700; justify-self: end; margin-right: 3.7rem; padding: .34rem .58rem; }
.journey-year::before { border-bottom: 5px solid transparent; border-right: 7px solid #050505; border-top: 5px solid transparent; content: ''; left: -7px; position: absolute; top: .55rem; }
.journey-year::after { display: none; }
.journey-item--left > div { grid-column: 1; grid-row: 1; padding: 0 4.8rem 0 2rem; text-align: right; }
.journey-item--left ul { list-style-position: inside; padding-left: 0; }
.journey-item--left .journey-year { grid-column: 2; grid-row: 1; justify-self: start; margin-left: 3.7rem; margin-right: 0; }
.journey-item--left .journey-year::before { border-left: 7px solid #050505; border-right: 0; left: auto; right: -7px; }

.prayer-section { background: #fff; padding: 4.5rem 0; }
.prayer-frame { box-shadow: none; margin: auto; max-width: 1525px; min-height: 0; }
.programs-section { background: #f0f9fd; padding: 6rem 0; }
.programs-section--page { margin-left: calc(50% - 50vw); width: 100vw; }
.programs-section h2 { color: #20282d; font-size: clamp(2.4rem, 4vw, 3.6rem); text-transform: uppercase; }
.programs-section > .container > p { margin: 1.5rem auto 3rem; max-width: 850px; }
.program-links { margin-bottom: 3rem; }
.program-links a { display: block; }
.program-links img { 
	/* height: 98px;  */
	margin-bottom: 1.25rem; 
	/* max-width: 130px; 
	object-fit: contain;  */
}
.program-links h3 { color: var(--primary-color); font-size: 1.5rem; text-transform: uppercase; }
.btn-nmca { border: 0; border-radius: 999px; display: inline-block; font-family: var(--font-main); font-size: .85rem; font-weight: 500; padding: .85rem 2rem; text-transform: uppercase; }
.btn-nmca--black { background: #050505; color: #fff; }
.btn-nmca--blue { background: var(--primary-color); color: #fff; }
.btn-nmca--gold { background: var(--secondary-color); color: #171717; }
.btn-nmca:hover { color: #fff; opacity: .88; }

.about-section { background: #056a9e; background-image: url('../images/About-lake-Nona-masjid-Bg-img.png'); background-size: cover; background-position: center center; color: #fff; padding: 5.5rem 0; }
.vision-card, .mission-card { border-radius: 20px; padding: 2rem 1.5rem; text-align: center; }
.vision-card { background: #469bd0; color: #fff; margin-bottom: 1rem; }
.mission-card { background: #f4f4f4; color: #111; }
.vision-card h2, .mission-card h2 { color: inherit; font-size: clamp(2.2rem, 3vw, 3.4rem); text-transform: uppercase; }
.vision-card p, .mission-card p { font-size: .87rem; margin: 0; text-transform: uppercase; }
.about-copy { padding-left: clamp(1rem, 5vw, 5.5rem); }
.about-copy h2 { color: #fff; font-size: clamp(2.4rem, 4vw, 3.6rem); text-transform: uppercase; }
.about-copy p { font-size: 1.1rem; max-width: 580px; }

.movement-section { background-position: center; background-size: cover; color: #fff; min-height: 555px; padding: 5rem 0; }
.movement-copy { max-width: 630px; }
.movement-copy h2 { color: #fff; font-size: clamp(2.5rem, 2.5vw, 4rem); text-transform: uppercase; }
.movement-copy p { max-width: 610px; }
.movement-kicker { color: var(--secondary-color); text-transform: uppercase; }
.newsletter-section { background-position: center; background-size: cover; padding: 5rem 0; }
.newsletter-form h2 { color: #fff; font-size: clamp(2.3rem, 3vw, 3.3rem); text-transform: uppercase; }
.newsletter-form h3 { color: var(--secondary-color); font-size: 1.4rem; text-transform: uppercase; }
.newsletter-form code { color: #fff; }

/* Contact Form 7: newsletter form only. */
.newsletter-form .wpcf7 {
	margin-top: 1.75rem;
}

.newsletter-form .wpcf7-form p {
	margin: 0 0 1.9rem;
}

.newsletter-form .wpcf7-form label {
	color: #fff;
	display: block;
	font-size: .9rem;
	font-weight: 600;
	margin: 0;
}

.newsletter-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: .35rem;
}

.newsletter-form input.wpcf7-text,
.newsletter-form input.wpcf7-email,
.newsletter-form input.wpcf7-tel {
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .9);
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	font-family: var(--font-main);
	font-size: .95rem;
	min-height: 36px;
	outline: 0;
	padding: .2rem 0 .55rem;
	width: 100%;
}

.newsletter-form input.wpcf7-text:focus,
.newsletter-form input.wpcf7-email:focus,
.newsletter-form input.wpcf7-tel:focus {
	border-bottom-color: var(--secondary-color);
}

.newsletter-form input.wpcf7-text::placeholder,
.newsletter-form input.wpcf7-email::placeholder,
.newsletter-form input.wpcf7-tel::placeholder {
	color: rgba(255, 255, 255, .75);
}

/* The newsletter consent checkbox remains checked and is still submitted. */
.newsletter-form .wpcf7-acceptance,
.newsletter-form .wpcf7-checkbox,
.newsletter-form .wpcf7-list-item,
.newsletter-form .wpcf7-form label:has(input[type="checkbox"]),
.newsletter-form .wpcf7-form p:has(input[type="checkbox"]) {
	display: none !important;
}

.newsletter-form input.wpcf7-submit {
	background: var(--secondary-color);
	border: 0;
	border-radius: 999px;
	color: #171717;
	cursor: pointer;
	font-family: var(--font-main);
	font-size: .9rem;
	font-weight: 500;
	min-width: 144px;
	padding: .78rem 1.9rem;
	text-transform: uppercase;
}

.newsletter-form .wpcf7-spinner {
	vertical-align: middle;
}

.newsletter-form .wpcf7-not-valid-tip,
.newsletter-form .wpcf7-response-output {
	color: #fff;
}

.nmca-footer { background-position: center; background-size: cover; color: #fff; padding: 5rem 0 0; }
.nmca-footer h3 { color: #fff; font-size: 1.35rem; text-transform: uppercase; }
.nmca-footer p, .nmca-footer li, .nmca-footer a { color: #fff; font-size: 1rem; }
#footer .menu-item a[aria-current=page] { color: var(--white); }
.nmca-footer .fa-envelope { color: #59b8ec; margin-right: .45rem; }
.footer-logo { max-width: 205px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: .55rem 0; padding-left: 1.3rem; position: relative; }
.footer-links li::before { color: #59b8ec; content: '•'; margin-right: .7rem; font-size: 28px; display: block; position: absolute; left: 0; top: 0; height: unset; line-height: 28px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.65); margin-top: 3rem; padding: 1.5rem 0; text-align: center; }
.footer-bottom p { margin: 0; }

/* About page */
.about-page-section {
	background-color: #056a9e;
	background-image: url('../images/About-lake-Nona-masjid-Bg-img.png');
	background-position: center;
	background-size: cover;
	color: #fff;
	margin-left: calc(50% - 50vw);
	padding: 5.5rem 0 6rem;
	width: 100vw;
}

/* .about-page-panel {
	text-align: center;
} */
.about-page-panel.right{
	text-align: right;
}
.about-page-panel h2 {
	color: #fff;
	font-size: clamp(2.75rem, 3.1vw, 4rem);
	margin-bottom: 1.1rem;
	text-transform: uppercase;
}

.about-page-panel p {
	font-size: clamp(1rem, .98vw, 1.25rem);
	line-height: 1.5;
	margin: 0 auto 1.35rem;
	max-width: 630px;
}

.about-page-diagram {
	background: #fff;
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
	width: 100%;
}

/* Events page */
.events-videos-section,
.events-galleries-section {
	background: #fff;
	margin-left: calc(50% - 50vw);
	width: 100vw;
}

.events-videos-section {
	padding: 3.75rem 0 2.5rem;
}

.events-video {
	overflow: hidden;
}

.events-video iframe {
	border: 0;
	width: 100%;
}

.events-galleries-section {
	padding: 1.5rem 0 6rem;
}

.event-gallery-block {
	text-align: center;
}

.event-gallery-block h2 {
	color: #172b3a;
	font-size: clamp(1.5rem, 1.45vw, 2.15rem);
	line-height: 1.25;
	margin: 0;
	text-transform: uppercase;
}

.event-gallery-date {
	color: #172b3a;
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 1.15vw, 1.45rem);
	font-weight: 700;
	margin: .75rem 0 1.6rem;
	text-transform: uppercase;
}

.event-gallery-shortcode {
	margin: 0 auto;
	max-width: 100%;
}

.event-gallery-shortcode img {
	height: auto;
	max-width: 100%;
}

/* Contact page */
.contact-details-section,
.contact-message-section {
	background: #fff;
	margin-left: calc(50% - 50vw);
	width: 100vw;
}

.contact-details-section {
	padding: 3.5rem 0;
}

.contact-detail {
	align-items: center;
	display: flex;
	gap: 2rem;
}

.contact-detail > i {
	color: #168ded;
	font-size: 3.2rem;
	flex: 0 0 auto;
}

.contact-detail p {
	font-size: 1.05rem;
	margin: 0 0 .25rem;
}

.contact-detail h2,
.contact-detail h2 a {
	color: #0d1620;
	font-size: clamp(1.3rem, 1.44vw, 1.85rem);
	line-height: 1.25;
	margin: 0;
	text-transform: capitalize;
}

.contact-message-section {
	background: #fafafa;
	padding: 7rem 0;
}

.contact-message-intro {
	text-align: center;
}

.contact-message-intro h2 {
	color: #20282d;
	font-size: clamp(3rem, 3.1vw, 4.5rem);
	line-height: 1.25;
	margin: 0 0 2.5rem;
	text-transform: capitalize;
}

.contact-message-intro p {
	color: #adb3b7;
	margin-bottom: 1rem;
}

.contact-social-links {
	display: flex;
	gap: .45rem;
	justify-content: center;
}

.contact-social-links a {
	align-items: center;
	background: #fff;
	border: 1px solid #ececec;
	color: #294c71;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	transition: background-color .2s ease, color .2s ease;
	width: 42px;
}

.contact-social-links a:hover,
.contact-social-links a:focus {
	background: var(--primary-color);
	color: #fff;
}

.contact-form-wrapper .wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	/* grid-template-columns: repeat(3, minmax(0, 1fr)); */
}

.contact-form-wrapper .wpcf7-form > p {
	margin: 0;
}

.contact-form-wrapper .wpcf7-form > p:has(textarea),
.contact-form-wrapper .wpcf7-form > p:has(.wpcf7-submit),
.contact-form-wrapper .wpcf7-form > p:has(.wpcf7-recaptcha),
.contact-form-wrapper .wpcf7-form > p:has(.wpcf7-response-output) {
	grid-column: 1 / -1;
}

.contact-form-wrapper .wpcf7-form label {
	display: block;
	font-size: .95rem;
	font-weight: 600;
}

.contact-form-wrapper .wpcf7-form-control-wrap {
	display: block;
	margin-top: .35rem;
}
.contact-form-wrapper .column.one-third{ width: 31.333%; }
.contact-form-wrapper .column.one{ width: 100%; }
.contact-form-wrapper input:not([type="submit"]),.contact-form-wrapper textarea {
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	font-family: var(--font-main);
	padding: .75rem 1rem;
	width: 100%;
}

.contact-form-wrapper input:not([type="submit"]) {
	height: 44px;
}

.contact-form-wrapper textarea {
	min-height: 200px;
	resize: vertical;
}

.contact-form-wrapper .wpcf7-submit {
	background: var(--secondary-color);
	border: 0;
	border-radius: 999px;
	color: #171717;
	cursor: pointer;
	font-family: var(--font-main);
	font-size: 1rem;
	padding: .78rem 2.5rem;
}

.contact-form-wrapper .wpcf7-response-output {
	margin: 0;
}

/* Targeted layout corrections for inner pages and the Contact form. */
body:not(.home) #main {
	overflow-x: hidden;
}

.page-sidebar-container {
	padding-bottom: 4rem;
	padding-top: 4rem;
}

/* Donation page */
.donation-page {
	overflow: hidden;
}

.donation-first-fold__grid {
	margin: 0 auto 2.25rem;
	max-width: 1180px;
}

.donation-first-fold .construction-widget {
	margin-bottom: 0;
}

.donation-first-fold .construction-widget iframe {
	border: 0;
	display: block;
	height: 560px;
	min-height: 560px;
}

.donation-video iframe {
	border: 0;
}

.donation-general-fund {
	margin: 0 0 2.5rem;
}

.donation-general-fund__button {
	background: #f1c91d;
	color: #171717;
	font-size: 1rem;
	padding: 1rem 2.2rem;
	text-transform: none;
}

/* Prayer Timings page */
.prayer-times-page-section {
	background-color: #056a9e;
	background-image: url('../images/About-lake-Nona-masjid-Bg-img.png');
	background-position: center;
	background-size: cover;
	margin-left: calc(50% - 50vw);
	padding: 3.5rem 0 6.5rem;
	width: 100vw;
}

.prayer-times-page-frame {
	background: transparent;
	box-shadow: none;
	max-width: 1525px;
}

.prayer-times-page-frame iframe {
	display: block;
	min-height: 0;
}

/* NMCA Sports and Classes pages */
.inner-page-banner--sports {
	background-position: center 42%;
}

.sports-contact-section,
.classes-page-section {
	background: #fff;
	margin-left: calc(50% - 50vw);
	text-align: center;
	width: 100vw;
}

.sports-contact-section {
	padding: 3rem 0 5rem;
}

.sports-contact-section h2 {
	color: #172b3a;
	font-size: clamp(1.65rem, 2.35vw, 2.45rem);
	line-height: 1.38;
	margin: 0;
	text-transform: uppercase;
}

.sports-contact-section h2 a {
	color: var(--primary-color);
}

.classes-page-section {
	padding: 3.25rem 0 3.5rem;
}

.classes-page-section h2 {
	color: #172b3a;
	font-size: clamp(2rem, 2.6vw, 2.7rem);
	line-height: 1.25;
	margin: 0 0 2rem;
	text-transform: uppercase;
}

.classes-page-button {
	font-size: 1rem;
	padding: 1rem 2rem;
	text-transform: none;
}

/* Fixed social links */
.floating-social-links {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 2px;
	position: fixed;
	right: 0;
	top: 30%;
	z-index: 1040;
}

.floating-social-links a {
	align-items: center;
	color: #fff;
	display: flex;
	height: 42px;
	overflow: hidden;
	transition: width .25s ease, background-color .25s ease;
	width: 44px;
}

.floating-social-links a i {
	flex: 0 0 44px;
	font-size: 1.55rem;
	text-align: center;
}

.floating-social-links a span {
	font-family: var(--font-main);
	font-size: 1rem;
	padding: 0 .85rem 0 .1rem;
	white-space: nowrap;
}

.floating-social-links__facebook {
	background: #2877c9;
}

.floating-social-links__whatsapp {
	background: #19c869;
}

.floating-social-links a:hover,
.floating-social-links a:focus-visible {
	color: #fff;
	width: 168px;
}

.floating-social-links__facebook:hover,
.floating-social-links__facebook:focus-visible {
	background: #1d64ad;
}

.floating-social-links__whatsapp:hover,
.floating-social-links__whatsapp:focus-visible {
	background: #11ae56;
}

/* Homepage weekly-programs popup */
.home-popup-open {
	overflow: hidden;
}

.home-program-popup {
	align-items: center;
	background: rgba(0, 0, 0, .76);
	display: flex;
	inset: 0;
	justify-content: center;
	overflow-y: auto;
	padding: 1.5rem;
	position: fixed;
	z-index: 2000;
}

.home-program-popup[hidden] {
	display: none;
}

.home-program-popup__dialog {
	margin: auto;
	max-width: min(710px, calc(100vw - 3rem));
	position: relative;
	width: 100%;
}

.home-program-popup__dialog img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.home-program-popup__close {
	align-items: center;
	background: #060606;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1rem;
	height: 31px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: .7rem;
	top: .7rem;
	transition: background-color .2s ease, transform .2s ease;
	width: 31px;
	z-index: 1;
}

.home-program-popup__close:hover,
.home-program-popup__close:focus-visible {
	background: var(--primary-color);
	transform: scale(1.08);
}

/* Mobile offcanvas navigation. */
@media (max-width: 991.98px) {
	/* Keep the complete mobile header flush to the viewport while scrolling. */
	.site-header,
	.site-header--home {
		height: auto;
		position: sticky;
		top: 0;
		z-index: 1030;
	}

	body.admin-bar .site-header,
	body.admin-bar .site-header--home {
		top: var(--wp-admin--admin-bar--height);
	}

	.nmca-navbar {
		background: #050505;
		min-height: 76px;
	}

	.nmca-navbar .container {
		max-width: none;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.nmca-mobile-menu {
		background: #171717;
		color: #fff;
		width: 100vw;
		z-index: 2100;
	}

	body.admin-bar .nmca-mobile-menu {
		height: calc(100% - var(--wp-admin--admin-bar--height));
		top: var(--wp-admin--admin-bar--height);
	}

	.nmca-mobile-menu .offcanvas-header {
		align-items: center;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
		display: flex;
		padding: 1.25rem;
	}

	.nmca-mobile-menu .offcanvas-title {
		font-size: 1.05rem;
		font-weight: 600;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.nmca-mobile-menu .offcanvas-body {
		display: flex;
		flex-direction: column;
		padding: 1rem 0 1.5rem;
	}

	.nmca-mobile-menu .nmca-nav-menu {
		order: 2;
		padding: .75rem 0 0;
		width: 100%;
	}

	.nmca-mobile-menu .nmca-nav-menu .nav-item {
		border-bottom: 1px solid rgba(255, 255, 255, .07);
	}

	.nmca-mobile-menu .nmca-nav-menu .nav-link {
		font-size: 1.05rem;
		padding: .82rem 1.25rem !important;
	}

	.nmca-mobile-menu .nmca-header-actions {
		display: flex;
		flex-direction: column;
		gap: .8rem;
		margin: 0;
		order: 1;
		padding: .25rem 1.25rem 1rem;
	}

	.nmca-mobile-menu .nmca-header-button {
		font-size: 1rem;
		min-width: 0;
		width: 100%;
	}

	.nmca-mobile-menu .nmca-search-form {
		margin: 0 1.25rem .5rem;
		max-width: none;
		order: 3;
	}
}

.floating-social-links {
	top: 50%;
	transform: translateY(-50%);
	z-index: 1000;
}

@media (prefers-reduced-motion: reduce) {
	.floating-social-links a {
		transition: none;
	}
}

.nmca-navbar.is-scrolled {
	background: rgba(0, 0, 0, .96);
	box-shadow: 0 3px 16px rgba(0, 0, 0, .25);
	transition: background-color .25s ease, box-shadow .25s ease;
}

@media (min-width: 992px) {
	.contact-message-intro {
		padding-right: 1.25rem;
		text-align: right;
	}

	.contact-social-links {
		justify-content: flex-end;
	}
}

/* CF7 reCAPTCHA is output using .g-recaptcha on current plugin versions. */
.contact-form-wrapper .wpcf7-form > :has(.g-recaptcha),
.contact-form-wrapper .wpcf7-form > :has(.wpcf7-recaptcha),
.contact-form-wrapper .wpcf7-form > :has(iframe[title*="reCAPTCHA"]),
.contact-form-wrapper .wpcf7-form > .wpcf7-response-output {
	grid-column: 1 / -1;
}

/* Keep the message and send action aligned to the complete form width. */
.contact-form-wrapper .wpcf7-form > p:has(textarea) {
	grid-column: 1 / -1;
	width: 100%;
}

.contact-form-wrapper .wpcf7-form > p:has(.wpcf7-submit) {
	align-items: flex-start;
	display: flex;
	grid-column: 1 / -1;
	justify-content: flex-start;
	width: 100%;
}

.contact-form-wrapper textarea {
	display: block;
	width: 100% !important;
}

@media (max-width: 767.98px) {
	.navbar-toggler{ border: none !important; outline: none !important; box-shadow: none !important; }
	.reward-list, .render-gallery { grid-template-columns: 1fr; }
	.reward-list p:last-child { grid-column: auto; }
	.journey-timeline::before { left: 16px; }
	.journey-item, .journey-item--left { display: flex; flex-wrap: wrap; min-height: 0; padding: 0 0 2.5rem 2.75rem; }
	.journey-item.journey-item--left { flex-direction: column-reverse; }
	.journey-item::after{ left: 1rem; }
	.journey-item > div, .journey-item--left > div { padding: 0; text-align: left; }
	.journey-year, .journey-item--left .journey-year { display: inline-block; margin: 0 0 1rem; }
	.journey-year::after, .journey-item--left .journey-year::after { left: -2.95rem; right: auto; }
	.about-copy { padding-left: .75rem; }
	.about-page-section { padding: 4rem 0; }
	.events-videos-section { padding-top: 2.5rem; }
	.events-galleries-section { padding-bottom: 4rem; }
	.contact-details-section { padding: 2.75rem 0; }
	.contact-detail { gap: 1.25rem; }
	.contact-message-section { padding: 4.5rem 0; }
	.contact-form-wrapper .wpcf7-form { grid-template-columns: 1fr; }
	.contact-form-wrapper .wpcf7-form > p { grid-column: 1 / -1; }
	.contact-message-intro { text-align: center; }
	.contact-social-links { justify-content: center; }
	.donation-first-fold .construction-widget iframe { height: 560px; min-height: 560px; }
	.prayer-times-page-section { padding: 2.5rem 0 4rem; }
	.sports-contact-section { padding: 2.75rem 0 3.75rem; }
	.floating-social-links { top: 50%; }
	.home-program-popup { padding: 1rem; }
	.home-program-popup__dialog,
	.home-program-popup__dialog img { max-width: calc(100vw - 2rem); }
	.home-program-popup__close { right: .5rem; top: .5rem; }
	.footer-links li { padding-left: 0; }
	.footer-links li::before{ display: none; }
}

/* Readable mobile type scale (400px reference layout). */
@media (max-width: 575.98px) {
	body {
		font-size: 16px;
		line-height: 1.6;
	}

	p,
	.big,
	.construction-copy p,
	.about-copy p,
	.movement-copy p {
		font-size: 1rem;
	}

	.nmca-navbar {
		min-height: 76px;
		padding: .5rem 0;
	}

	.nmca-navbar .navbar-brand {
		height: 58px;
		width: 58px;
	}

	.home-hero {
		min-height: 280px;
	}

	.home-intro {
		padding: 1.4rem .75rem;
	}

	.home-intro h1 {
		font-size: clamp(1.25rem, 5.25vw, 1.65rem);
		line-height: 1.38;
	}

	.construction-section {
		padding: 2.75rem 0;
	}

	.construction-title {
		font-size: clamp(2rem, 8.5vw, 2.45rem);
		line-height: 1.18;
		margin-bottom: 2rem;
	}

	.construction-copy {
		padding: 1.5rem 1.2rem;
	}

	.construction-copy h3 {
		font-size: 1.35rem;
		line-height: 1.35;
	}

	.construction-copy blockquote {
		margin: 1.5rem 0;
		padding: 1.4rem 1rem;
	}

	.reward-list p {
		font-size: .98rem;
		line-height: 1.5;
		padding: 1.15rem 1rem 1.15rem 2.55rem;
	}

	.tax-note {
		font-size: .95rem;
		line-height: 1.45;
	}

	.journey-section {
		padding: 4rem 0 3.25rem;
	}

	.journey-section h2 {
		font-size: clamp(1.9rem, 8vw, 2.3rem);
		margin-bottom: 2.5rem;
	}

	.journey-item h3 {
		font-size: 1.5rem;
	}

	.journey-item ul {
		font-size: 1rem;
		line-height: 1.7;
	}

	.journey-year {
		font-size: 1rem;
	}

	.prayer-section {
		padding: 3.5rem 0;
	}

	.prayer-frame iframe {
		height: 185px;
	}

	.programs-section {
		padding: 4rem 0;
	}

	.programs-section h2,
	.about-copy h2 {
		font-size: 2.1rem;
	}

	.program-links h3 {
		font-size: 1.35rem;
	}

	.about-section,
	.newsletter-section {
		padding: 4rem 0;
	}

	.vision-card,
	.mission-card {
		padding: 1.75rem 1.25rem;
	}

	.movement-section {
		min-height: 0;
		padding: 4.25rem 0;
	}

	.movement-copy h2,
	.newsletter-form h2 {
		font-size: 2.25rem;
	}

	.newsletter-form h3 {
		font-size: 1.2rem;
		line-height: 1.35;
	}

	.newsletter-form .wpcf7-form label,
	.newsletter-form input.wpcf7-text,
	.newsletter-form input.wpcf7-email,
	.newsletter-form input.wpcf7-tel {
		font-size: 1rem;
	}

	.nmca-footer {
		padding-top: 4rem;
		text-align: center;
	}

	.nmca-footer h3 {
		font-size: 1.35rem;
	}

	.nmca-footer p,
	.nmca-footer li,
	.nmca-footer a {
		font-size: 1rem;
	}
}



@media (max-width: 1366px) {
    nav#header .container {
        max-width: 100%;
    }
	.home-hero{ min-height: clamp(456px, 50vw, 450px); }

	.home-program-popup__dialog{ max-width: min(450px, calc(100vw - 3rem)); }
}

/* A consistent, readable one-column presentation for every page on phones. */
@media (max-width: 767.98px) {
	.container,
	.container-sm,
	.container-md,
	.container-lg,
	.container-xl,
	.container-xxl {
		--bs-gutter-x: 2rem;
	}

	#main > .inner-page-content .container,
	#main > .home-page > section .container,
	#main > section .container,
	#main > div .container {
		text-align: center;
	}

	#main .journey-section .container,
	#main .journey-section .journey-item,
	#main .journey-section .journey-item > div,
	#main .journey-section .journey-item--left > div {
		text-align: left;
	}

	#main .journey-section h2 {
		text-align: center;
	}

	#main .contact-form-wrapper,
	#main .contact-form-wrapper label,
	#main .newsletter-form,
	#main .newsletter-form label,
	#main .wpcf7-form {
		text-align: left;
	}

	.home-section,
	.inner-page-content,
	.about-page-section,
	.events-videos-section,
	.events-galleries-section,
	.contact-message-section,
	.sports-contact-section,
	.classes-content-section,
	.prayer-times-page-section {
		padding-bottom: 3.5rem;
		padding-top: 3.5rem;
	}

	.inner-page-banner {
		min-height: 250px;
	}
}

/* Guiding Light Institute landing page */
.guiding-light-section {
	background: #fff;
	margin-left: calc(50% - 50vw);
	padding: 2.25rem 0 3rem;
	width: 100vw;
}

.guiding-light-layout {
	--bs-gutter-x: 2rem;
}

.guiding-light-content {
	text-align: center;
}

.guiding-light-content h2 {
	color: #172b3a;
	font-size: clamp(1.45rem, 2.1vw, 2.1rem);
	line-height: 1.35;
	margin: 0 auto 1rem;
	max-width: 780px;
	text-transform: uppercase;
}

.guiding-light-donate {
	border-radius: 8px;
	font-weight: 700;
	margin-bottom: 1.7rem;
	min-width: 140px;
	text-transform: none;
}

.guiding-light-registration {
	border: 1px solid #e3edf3;
	border-top: 3px solid var(--primary-color);
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(23, 43, 58, .07);
	padding: 1.45rem 1.5rem 1.7rem;
}

.guiding-light-registration h3 {
	color: #172b3a;
	font-size: clamp(1.45rem, 2.05vw, 1.85rem);
	margin: 0;
	text-transform: capitalize;
}

.guiding-light-registration h3 span {
	color: var(--primary-color);
}

.guiding-light-registration__rule {
	background: var(--primary-color);
	height: 2px;
	margin: .9rem auto 1.3rem;
	width: 42px;
}

.guiding-light-registration__actions {
	display: flex;
	gap: .65rem;
}

.guiding-light-registration__actions .btn-nmca {
	border-radius: 8px;
	flex: 1 1 0;
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.4;
	padding: 1.2rem .75rem;
	text-align: center;
	text-transform: none;
}

.guiding-light-emblem-column {
	display: flex;
	justify-content: center;
	padding-top: .25rem;
}

.guiding-light-emblem {
	display: block;
	height: auto;
	max-width: 360px;
	width: 100%;
}

.guiding-light-emblem__rays {
	fill: none;
	stroke: #e6c63c;
	stroke-linecap: round;
	stroke-width: 3;
}

.guiding-light-emblem__ring {
	fill: #0756b5;
}

.guiding-light-emblem__inner {
	fill: #fff;
}

.guiding-light-emblem__name,
.guiding-light-emblem__institute {
	fill: #fff;
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 3px;
}

.guiding-light-emblem__institute {
	font-size: 17px;
	letter-spacing: 4px;
}

.guiding-light-emblem__star {
	fill: #e6c63c;
	font-family: Arial, sans-serif;
	font-size: 19px;
}

.guiding-light-emblem__book {
	fill: #f1e8c9;
	stroke: #0876bd;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 5;
}

.guiding-light-emblem__book-stand {
	fill: #0876bd;
	stroke: #0876bd;
}

@media (max-width: 991.98px) {
	.guiding-light-emblem-column {
		margin-top: 2.5rem;
	}

	.guiding-light-emblem {
		max-width: 300px;
	}
}

@media (max-width: 575.98px) {
	.guiding-light-registration {
		padding: 1.25rem 1rem 1.35rem;
	}

	.guiding-light-registration__actions {
		flex-direction: column;
	}
}
