/*
Theme Name: SheWhoReigns
Theme URI: https://example.com
Author: BlueHarbor Studio
Author URI: https://blueharborstudio.com
Description: Custom theme for SheWhoReigns
Version: 1.0
Text Domain: shewhoreigns
*/

/* ========================================
   VARIABLES
======================================== */
:root {
	--primary-color: #F9D2EB;
	--primary-hover: #ff4fa3;
	--cta-accent: #F9D2EB;

	--text-color: #333;
	--muted-color: #777;
	--light-bg: #fff7f9;
	--border-color: rgba(0, 0, 0, 0.04);
}

/* ========================================
   BASE & TYPOGRAPHY
======================================== */
html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Elsie", serif;
	font-weight: 900;
	line-height: 1.2;
}

p {
	font-family: "Montserrat", sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--primary-color);
}

.text-pink {
	color: var(--primary-color) !important;
}

.bg-pink {
	background-color: var(--primary-color) !important;
}

/* ========================================
   BUTTONS & BADGES
======================================== */
.btn,
.badge,
.small-caps-text {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.badge {
	background-color: var(--primary-color) !important;
	color: #000;
}

.badge-secondary {
	background-color: #9c763d !important;
	color: #fff;
}

.btn-primary {
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color);
	color: #000;
	transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--primary-hover);
	border-color: var(--primary-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 105, 180, 0.35);
}

.btn-primary:active {
	background-color: var(--primary-hover);
	border-color: var(--primary-hover);
	transform: none;
	box-shadow: none;
}

.btn-secondary {
	background-color: #9c763d;
	color: #fff !important;
	border-color: #9c763d;
}

.btn-outline-secondary:hover {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
}

/* ========================================
   LAYOUT
======================================== */
#main-content {
	min-height: 0; /* was calc(100vh - 200px) – removed to avoid extra bottom whitespace */
}

/* ========================================
   NAVIGATION & OFFCANVAS
======================================== */
.custom-logo {
	max-height: 60px;
	width: auto;
	height: auto;
}

.navbar-nav .nav-link {
	font-weight: 500;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
	color: var(--primary-color) !important;
}

.offcanvas-backdrop.show {
	background-color: rgba(0, 0, 0, 0.4);
}

.offcanvas-body ul {
	text-align: right;
}

.donate-btn {
	font-family: "Elsie", serif;
	font-weight: 600;
}

.apply-btn {
	font-family: "Elsie", serif;
	font-weight: 600;
	background-color: #9c763d;
	border-color: #9c763d;
	color: #fff !important;
	transition: all 0.3s ease;
}

.apply-btn:hover,
.apply-btn:focus {
	background-color: #7f5f31;
	border-color: #7f5f31;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(156, 118, 61, 0.28);
}

.donate-btn:hover {
	background-color: #9c763d !important;
	border-color: #fff !important;
	color: #fff !important;
}

.menu-item {
	font-family: "Elsie", serif;
	font-weight: 600;
}

/* Mobile header / logo / offcanvas */
@media (max-width: 991.98px) {
	.navbar-brand {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		margin: 0;
	}

	.navbar-brand img,
	.navbar-brand .custom-logo {
		max-height: 48px;
		width: auto;
		height: auto;
	}

	.navbar-toggler {
		margin-left: auto;
	}
}

@media (max-width: 991.98px) {
	.offcanvas-header {
		background-color: var(--primary-color);
	}

	/* Full-height flex column for mobile menu */
	#swrOffcanvas .offcanvas-body {
		display: flex;
		flex-direction: column;
		height: 100%;
		padding-bottom: 2rem;
		background-color: var(--primary-color);
	}

	#swrOffcanvas .navbar-nav {
		flex-grow: 1;
	}

	/* Buttons at bottom, centered */
	#swrOffcanvas .header-buttons {
		margin-top: auto;
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
		width: 100%;
		align-items: center;
	}

	#swrOffcanvas .header-buttons .btn {
		width: 80%;
		max-width: 260px;
		text-align: center;
	}

	.header-buttons .btn-primary {
		background-color: #fff !important;
		color: #000 !important;
		border-color: #fff;
	}

	.header-buttons .btn-secondary {
		background-color: transparent;
		color: #fff !important;
		border-color: #fff;
	}
}

/* ========================================
   HOME – HERO
======================================== */
.hero-home {
	min-height: 80vh;
	position: relative;
	background-color: #111;
	background-repeat: no-repeat;
	background-attachment: scroll;
	color: #fff;
}

.hero-overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
	z-index: 1;
}

.hero-home .container {
	z-index: 2;
}

.hero-home h1 {
	text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.hero-home .lead {
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
}

.hero-home .btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: #000;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.hero-home .btn-primary:hover {
	background-color: #9c763d;
	border-color: #fff;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 105, 180, 0.4);
}

.hero-home .btn-outline-light {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}

.hero-home .btn-outline-light:hover {
	background-color: rgba(255, 255, 255, 0.15);
	border-color: #fff;
}

/* ========================================
   HOME – ABOUT / PROGRAMS / EVENTS / CTA HERO
======================================== */
.about-home,
.programs-home {
	border-top: 1px solid var(--border-color);
}

.about-home .badge {
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Generic program card base (used in multiple sections) */
.program-card {
	background: #ffffff;
	border-radius: 1.25rem;
	padding: 1.5rem;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(226, 232, 240, 0.9);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		background-color 0.2s ease;
}

.program-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
	border-color: rgba(255, 105, 180, 0.6);
}

.icon-wrapper {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 105, 180, 0.12);
	color: var(--primary-color);
}

.programs-section .program-card,
.about-slab .program-card {
  min-height: 0;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Events feature */
.events-home {
	background: linear-gradient(180deg, #ffe8fc 0%, #ffffff 100%);
}

.event-feature-text {
	background-color: var(--primary-color);
	color: #2d174a;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.text-event-accent {
	color: var(--primary-color);
}

.event-underline {
	width: 80px;
	height: 3px;
	background: var(--primary-color);
	border-radius: 999px;
}

.event-feature-media {
	background-color: #ffffff;
}

.event-feature-image-placeholder {
	min-height: 260px;
	background: #e5e7eb;
}

.event-feature-cta {
	background-color: var(--primary-color);
}

.event-feature-cta .btn {
	border-radius: 0;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.event-feature-image img {
	height: 100%;
	object-fit: cover;
}

/* CTA hero (home) */
.cta-hero {
	min-height: 520px;
	position: relative;
}

.cta-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: grayscale(100%);
}

.cta-hero-tint {
	position: absolute;
	inset: 0;
	background: rgba(255, 105, 180, 0.55);
	mix-blend-mode: multiply;
}

.cta-hero-fade {
	position: absolute;
	inset: 0 0 auto 0;
	height: 40%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.cta-hero-inner {
	max-width: 980px;
	margin-top: 150px;
}

.cta-hero-title {
	position: relative;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-weight: 800;
	font-size: clamp(1.1rem, 2.8vw, 1.5rem);
	line-height: 1.9;
}

.cta-hero-sub {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 600;
	opacity: 0.95;
}

.cta-hero-bar {
	background: var(--cta-accent);
	border-radius: 8px;
	padding: 10px 14px;
	width: min(520px, 90%);
}

.cta-hero-btn {
	display: inline-block;
	width: 100%;
	text-align: center;
	color: #fff !important;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cta-hero-bar:hover {
	filter: brightness(1.08);
}

/* ========================================
   ABOUT – HERO
======================================== */
.about-hero {
	min-height: 56vh;
}

.about-hero__overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6));
	z-index: 1;
}

.about-hero .container {
	z-index: 2;
	color: #fff;
}

/* ========================================
   ABOUT – FOUNDER SECTION
======================================== */
.founder-section {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.founder-section .lead {
	font-size: 1.1rem;
	line-height: 1.75;
}

.founder-section blockquote {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.6;
	border-left: 4px solid var(--primary-color);
	padding-left: 1rem;
	color: var(--primary-color);
}

.founder-image-wrapper img {
	max-height: 480px;
	object-fit: cover;
	border: 3px solid rgba(255, 105, 180, 0.3);
	transition: transform 0.3s ease;
}

.founder-image-wrapper img:hover {
	transform: scale(1.02);
}

@media (min-width: 992px) {
	.founder-image-wrapper {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
}

/* ========================================
   ABOUT – SLAB SECTIONS (MISSION / VISION / PROGRAMS)
======================================== */
.about-slab {
	--pad: clamp(1.75rem, 5vw, 4rem);
}

.about-slab .row {
	min-height: 520px;
}

.slab--light {
	background: #f8fafc;
	color: #0f172a;
}

.about-slab .slab-media {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 260px;
}

.slab-content {
	padding: var(--pad);
}

.slab-media-inner {
	max-width: 480px;
	width: 100%;
	min-height: 260px;
	background: #0b0f1a;
}

.slab-inner.text-start {
	text-align: left;
}

.slab-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--primary-color);
	margin-bottom: 0.75rem;
}

.slab-title {
	font-weight: 800;
	margin-bottom: 0.75rem;
}

.slab-text {
	font-size: 1.1rem;
	opacity: 0.9;
}

.about-slab + .about-slab {
	border-top: 1px solid rgba(148, 163, 184, 0.25);
}

@media (min-width: 992px) {
	.about-slab .row {
		min-height: 620px;
	}

	.about-slab .slab-media {
		min-height: 420px;
	}

	.slab-media-inner {
		min-height: 320px;
	}
}

/* ========================================
   ABOUT – STATS
======================================== */
.about-stats {
	background: var(--primary-color);
	border-top: 1px solid rgba(148, 163, 184, 0.18);
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
	color: #000;
}

.stats-row > .col-lg-4:not(:last-child) {
	border-right: 1px solid rgba(148, 163, 184, 0.2);
}

@media (max-width: 991.98px) {
	.stats-row > .col-6 {
		border-right: none;
	}
}

.stat-card {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.stat-icon i {
	font-size: 1.5rem;
	color: #000;
	opacity: 0.95;
}

.stat-number {
	line-height: 1;
	letter-spacing: 0.02em;
}

.fw-extrabold {
	font-weight: 800;
}

.stat-label {
	max-width: 18rem;
	margin-left: auto;
	margin-right: auto;
	opacity: 0.9;
}

.stat-number::after {
	content: "";
	display: block;
	height: 4px;
	margin: 0.4rem auto 0;
	width: 40px;
	background: radial-gradient(
		closest-side,
		rgba(255, 105, 180, 0.7),
		rgba(255, 105, 180, 0)
	);
	opacity: 0.6;
}

.stat-plus {
	color: #000;
	margin-left: 2px;
}

/* ========================================
   ABOUT – CTA (ABOUT-CTA)
======================================== */
.about-cta {
	position: relative;
	min-height: 520px;
	color: #fff;
}

.about-cta__bg {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat;
	filter: grayscale(12%);
	z-index: 0;
}

.about-cta__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(255, 105, 180, 0.65),
		rgba(255, 20, 147, 0.55)
	);
	mix-blend-mode: multiply;
	z-index: 1;
}

.about-cta__fade {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 40%;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.35),
		rgba(255, 255, 255, 0)
	);
	z-index: 2;
	pointer-events: none;
}

.about-cta__inner,
.about-cta .container {
	position: relative;
	z-index: 3;
}

.about-cta__title {
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.about-cta__sub {
	max-width: 720px;
	margin: 0 auto;
	opacity: 0.95;
}

.about-cta .btn-primary {
	background: var(--primary-color);
	border-color: var(--primary-color);
	box-shadow: 0 6px 20px rgba(255, 105, 180, 0.35);
}

.about-cta .btn-primary:hover {
	background: #ff1493;
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(255, 105, 180, 0.5);
}

/* ========================================
   CREDIBILITY STRIP
======================================== */
.credibility-strip {
	background: #f8f9fb;
	border-top: 1px solid rgba(15, 23, 42, 0.05);
	border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.credibility-strip .badge {
	background: rgba(255, 105, 180, 0.15);
}

.trust-list li {
	line-height: 1.5;
}

.credibility-card .card-body {
	padding: 1.75rem;
}

.credibility-card dt {
	letter-spacing: 0.08em;
}

.credibility-card dd {
	font-weight: 600;
	color: #111827;
}

/* ========================================
   PROGRAMS PAGE
======================================== */

/* Eyebrow label on card */
.program-card__eyebrow {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--primary-color);
	font-weight: 700;
}

/* Link row at bottom */
.program-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	color: #111827;
	border-bottom: 1px solid transparent;
	padding-bottom: 0.1rem;
}

.program-card__icon {
	display: inline-block;
	transition: transform 0.18s ease;
}

.programs-section .program-card:hover .program-card__link {
	border-color: rgba(255, 105, 180, 0.7);
}

.programs-section .program-card:hover .program-card__icon {
	transform: translateX(3px);
}

/* Sister Circles grid container */
.programs-grid {
	background: #f8fafc;
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.program-card__media {
	margin-bottom: 1.1rem;
}

.program-card__body {
	margin-top: 0.25rem;
}

.program-card__footer {
	border-top: 1px solid rgba(226, 232, 240, 0.9);
	padding-top: 0.75rem;
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-page form.fluent_form_1 .wpf_has_custom_css.ff-btn-submit {
	background-color: #000000 !important;
	border: none;
	color: var(--primary-color);
}

.contact-page .contact-form form input,
.contact-page .contact-form form textarea {
	border: 1px solid #444 !important;
}

.contact-page .contact-form form input:focus,
.contact-page .contact-form form textarea:focus {
	border-color: var(--primary-color) !important;
	box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

.contact-page .btn,
.contact-page input[type="submit"] {
	background-color: var(--primary-color) !important;
	border: none;
	color: #fff !important;
}

.contact-page .btn:hover,
.contact-page input[type="submit"]:hover {
	background-color: var(--primary-hover) !important;
}

/* ========================================
   APPLY – CONVERSATIONAL FORM (f-container)
======================================== */
.f-container {
	max-width: 780px;
	margin: 2.5rem auto;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	padding: 0;
	position: relative;
}

.f-container::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	height: 5px;
	width: 100%;
	background: linear-gradient(135deg, #6f42c1 0%, #9c6bff 50%, #ff8ac6 100%);
}

.f-container .fluentform {
	margin: 0;
	padding: 2.25rem;
	background: transparent;
	box-shadow: none;
	border: none;
}

.f-container .ff-el-group {
	margin-bottom: 1.2rem;
	padding: 0.4rem 0;
	border-radius: 0;
	background: transparent;
	border: none;
}

.f-container label.ff-el-form-label {
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: #13293d;
	letter-spacing: 0.01em;
	display: block;
}

.f-container input[type="text"],
.f-container input[type="email"],
.f-container input[type="tel"],
.f-container input[type="url"],
.f-container textarea,
.f-container select {
	width: 100%;
	border: none;
	border-bottom: 2px solid #e4e6eb;
	border-radius: 0;
	padding: 0.65rem 0.1rem 0.55rem;
	font-size: 1rem;
	background: transparent;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.f-container input:focus,
.f-container textarea:focus,
.f-container select:focus {
	border-color: #6f42c1;
	box-shadow: 0 2px 0 0 rgba(111, 66, 193, 0.2);
	background: transparent;
	outline: none;
}

.f-container .ff-el-group .ff-el-form-check label {
	font-weight: 500;
	line-height: 1.5;
}

.f-container .ff_submit_btn_wrapper {
	margin-top: 1.5rem;
	display: flex;
	justify-content: flex-start;
}

.f-container .ff-btn {
	background: linear-gradient(135deg, #6f42c1 0%, #9c6bff 100%);
	border: none;
	color: #fff;
	padding: 0.9rem 1.8rem;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.01em;
	box-shadow: 0 12px 30px rgba(111, 66, 193, 0.25);
	transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.f-container .ff-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 36px rgba(111, 66, 193, 0.3);
	filter: brightness(1.04);
}

.f-container .ff-btn:active {
	transform: translateY(0);
	box-shadow: 0 10px 24px rgba(111, 66, 193, 0.22);
}

.f-container .ff_msg_success,
.f-container .ff_msg_error {
	border-radius: 12px;
	padding: 0.9rem 1rem;
}

@media (max-width: 640px) {
	.f-container {
		margin: 1.5rem auto;
	}

	.f-container .fluentform {
		padding: 1.5rem;
	}

	.f-container .ff-el-group {
		padding: 0.75rem 0.9rem;
	}
}

/* ========================================
   FOOTER
======================================== */
footer {
	background: var(--primary-color);
	color: #000;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

footer hr {
	border-color: rgba(255, 255, 255, 0.2);
}

.footer-logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
	color: #000;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-heading {
	color: #000;
	letter-spacing: 0.08em;
}

.footer-menu li {
	margin-bottom: 0.4rem;
}

.footer-menu a {
	color: #000 !important;
	font-size: 0.9rem;
}

.footer-menu a:hover {
	color: #fff;
}

.btn-outline-light-subtle {
	border-color: #000;
	color: #000;
	background: transparent;
}

.btn-outline-light-subtle:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   RESPONSIVE TWEAKS
======================================== */
@media (min-width: 992px) {
	.hero-illustration {
		min-height: 360px;
	}
}
