/*
Theme Name: Avas Child - Pathway To Success
Template: avas
Description: Pathway To Success site styles, header, footer, SEO and redirects.
Version: 1.0.0
Text Domain: avas-child
*/

:root {
	--p2s-navy: #192a4c;
	--p2s-navy-2: #22386a;
	--p2s-bg: #f4f6fa;
	--p2s-text: #1b2233;
	--p2s-muted: #4a5468;
	--p2s-border: #dfe4ed;
	--p2s-radius: 10px;
	--p2s-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body,
.elementor-kit-9 {
	font-family: var(--p2s-font);
	color: var(--p2s-text);
	font-size: 16px;
	line-height: 1.6;
	background: #fff;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--p2s-font); color: var(--p2s-text); }
body .elementor-widget-heading .elementor-heading-title,
body .elementor-widget-text-editor,
body .elementor-widget-button .elementor-button { font-family: var(--p2s-font); }

.tx-wrapper.container-fluid .space-content { padding: 0; }
body .p2s-ico { display: inline-block; flex: none; vertical-align: -3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #8fb0ff; outline-offset: 2px; }

/* ---------- Top bar ---------- */
#top_head.p2s-topbar {
	background: var(--p2s-navy);
	color: #fff;
	font-size: 14px;
	min-height: 40px;
	display: flex;
	align-items: center;
	padding: 6px 0;
}
body .p2s-topbar-inner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
}
body .p2s-topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
body .p2s-topbar a:hover { color: #fff; text-decoration: underline; }
body .p2s-sep { opacity: .45; }

/* ---------- Main header ---------- */
#h-style-3.main-header { background: #fff; border-bottom: 1px solid var(--p2s-border); }
#h-style-3 .navbar-brand.tx_logo img { height: 56px; width: auto; max-width: 220px; }
#h-style-3.sticky-header .navbar-brand.tx_logo img { height: 48px; }
ul.main-menu > li > a,
.home ul.main-menu > li > a {
	color: var(--p2s-text);
	font-weight: 600;
	font-size: 15px;
	padding: 10px 12px;
}
ul.main-menu > li > a:hover,
.home ul.main-menu > li > a:hover,
ul.main-menu > li.current-menu-item > a,
.home ul.main-menu > li.current-menu-item > a { color: var(--p2s-navy-2); }
ul.main-menu > li.current-menu-item > a { box-shadow: inset 0 -2px 0 var(--p2s-navy); }
.tx-nav-right-side-items-desktop:empty,
.tx-nav-right-side-items-mobile:empty { display: none; }
.mobile-nav-toggle i { color: var(--p2s-navy); font-size: 28px; }

/* ---------- Sections ---------- */
body .p2s-sec { padding: 72px 0; background: #fff; }
body .p2s-sec--alt { background: var(--p2s-bg); }
body .p2s-sec > .elementor-container { max-width: 1140px; padding: 0 16px; }
body .p2s-sec .elementor-widget:not(:last-child) { margin-bottom: 16px; }

body .p2s-sec .p2s-h2 .elementor-heading-title {
	font-size: 30px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--p2s-text);
}
body .p2s-sec .p2s-lead,
body .p2s-sec .p2s-lead p { color: var(--p2s-muted); font-size: 17px; max-width: 760px; }
body .p2s-sec .elementor-widget-text-editor { color: var(--p2s-text); }
body .p2s-sec .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* ---------- Hero (navy) ---------- */
body .p2s-hero { background: var(--p2s-navy); color: #fff; padding: 80px 0; }
body .p2s-hero--page { padding: 64px 0; }
body .p2s-hero .elementor-heading-title {
	color: #fff;
	font-size: 46px;
	line-height: 1.15;
	font-weight: 800;
}
body .p2s-hero--page .elementor-heading-title { font-size: 40px; }
body .p2s-hero .elementor-widget-text-editor,
body .p2s-hero .elementor-widget-text-editor p { color: #e6ebf5; font-size: 18px; max-width: 640px; }
body .p2s-stat {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: var(--p2s-radius);
	padding: 32px 24px;
	text-align: center;
	color: #fff;
}
body .p2s-stat-big { display: block; font-size: 44px; font-weight: 800; line-height: 1.1; color: #fff; }
body .p2s-stat-small { display: block; margin-top: 8px; color: #dbe2f0; font-size: 15px; }

/* ---------- Buttons ---------- */
body .p2s-btn { margin-right: 12px; }
body .p2s-btn .elementor-button {
	border-radius: var(--p2s-radius);
	padding: 14px 22px;
	font-family: var(--p2s-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	border: 2px solid transparent;
	transition: background-color .15s, color .15s, border-color .15s;
}
body .p2s-btn--white .elementor-button { background: #fff; color: var(--p2s-navy); border-color: #fff; }
body .p2s-btn--white .elementor-button:hover { background: #e9edf5; color: var(--p2s-navy); }
body .p2s-btn--outline .elementor-button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
body .p2s-btn--outline .elementor-button:hover { background: #fff; color: var(--p2s-navy); }
body .p2s-btn--navy .elementor-button { background: var(--p2s-navy); color: #fff; border-color: var(--p2s-navy); }
body .p2s-btn--navy .elementor-button:hover { background: var(--p2s-navy-2); color: #fff; }
body .p2s-btn--navy-outline .elementor-button { background: #fff; color: var(--p2s-navy); border-color: var(--p2s-navy); }
body .p2s-btn--navy-outline .elementor-button:hover { background: var(--p2s-navy); color: #fff; }
body .p2s-link a { color: var(--p2s-navy-2); font-weight: 700; text-decoration: underline; }

/* ---------- Cards ---------- */
body .p2s-cards > .elementor-container { gap: 0; }
body .p2s-cards { margin-top: 8px; }
body .p2s-cards > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 8px; }
body .p2s-card,
body .p2s-card .elementor-widget-container {
	height: 100%;
}
body .p2s-card .elementor-widget-container {
	background: #fff;
	border: 1px solid var(--p2s-border);
	border-radius: var(--p2s-radius);
	padding: 24px 22px;
}
body .p2s-cards > .elementor-container > .elementor-column > .elementor-widget-wrap > .p2s-card { flex: 1 1 auto; }
body .p2s-card h3 { font-size: 18px; font-weight: 800; line-height: 1.3; margin: 14px 0 8px; color: var(--p2s-text); }
body .p2s-card p { color: var(--p2s-muted); font-size: 15.5px; margin: 0; }
body .p2s-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--p2s-navy);
	color: #fff;
	font-weight: 800;
	font-size: 14px;
}

/* ---------- Case study ---------- */
body .p2s-case { border: 1px solid var(--p2s-border); border-radius: var(--p2s-radius); overflow: hidden; background: var(--p2s-bg); }
body .p2s-case-band { background: var(--p2s-navy-2); color: #fff; padding: 14px 24px; font-weight: 600; }
body .p2s-case-body { padding: 28px 24px; }
body .p2s-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--p2s-border); }
body .p2s-figure strong { display: block; font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--p2s-text); }
body .p2s-figure span { display: block; color: var(--p2s-muted); font-size: 15px; margin-top: 4px; }
body .p2s-case h3 { font-size: 17px; font-weight: 800; margin: 24px 0 12px; }
body .p2s-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
body .p2s-pills li { background: #fff; border: 1px solid var(--p2s-border); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; }
body .p2s-quote {
	margin: 24px 0 0;
	background: #fff;
	border: 1px solid var(--p2s-border);
	border-left: 4px solid var(--p2s-navy);
	border-radius: var(--p2s-radius);
	padding: 20px 22px;
}
body .p2s-quote p { font-size: 17px; margin: 0 0 10px; color: var(--p2s-text); }
body .p2s-quote figcaption { font-style: normal; font-weight: 800; font-size: 15px; }
body .p2s-case .p2s-case-btn { margin-top: 20px; }
body .p2s-case-btn a {
	display: inline-block;
	background: var(--p2s-navy);
	color: #fff;
	border-radius: var(--p2s-radius);
	padding: 12px 20px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
body .p2s-case-btn a:hover { background: var(--p2s-navy-2); color: #fff; }

/* ---------- Text blocks (About, Affiliation) ---------- */
body .p2s-block h2 { font-size: 24px; font-weight: 800; margin: 0 0 10px; }
body .p2s-block p, .p2s-block li { color: var(--p2s-muted); font-size: 16.5px; }
body .p2s-block ul { padding-left: 20px; margin: 0; }
body .p2s-block li { margin-bottom: 6px; }
body .p2s-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
body .p2s-tags li { background: #fff; border: 1px solid var(--p2s-border); border-radius: var(--p2s-radius); padding: 10px 16px; color: var(--p2s-text) !important; font-weight: 600; margin: 0 !important; }

/* ---------- Centres list (Our partners) ---------- */
body .p2s-centres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
body .p2s-centre { background: #fff; border: 1px solid var(--p2s-border); border-radius: var(--p2s-radius); padding: 20px; }
body .p2s-centre h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
body .p2s-centre p { margin: 0 0 6px; color: var(--p2s-muted); font-size: 15px; }
body .p2s-centre a { color: var(--p2s-navy-2); font-weight: 600; }

/* ---------- Contact ---------- */
body .p2s-contact-list { list-style: none; padding: 0; margin: 0; }
body .p2s-contact-list li { margin-bottom: 10px; font-size: 17px; }
body .p2s-contact-list a { color: var(--p2s-navy-2); font-weight: 700; }
body .p2s-form .wpcf7 label { display: block; font-weight: 700; margin-bottom: 14px; color: var(--p2s-text); }
body .p2s-form .wpcf7 input[type="text"],
body .p2s-form .wpcf7 input[type="email"],
body .p2s-form .wpcf7 textarea {
	width: 100%;
	margin-top: 6px;
	border: 1px solid #c9d1df;
	border-radius: var(--p2s-radius);
	padding: 12px 14px;
	font: 400 16px/1.5 var(--p2s-font);
	color: var(--p2s-text);
	background: #fff;
}
body .p2s-form .wpcf7 textarea { height: 150px; }
body .p2s-form .wpcf7 input[type="submit"] {
	background: var(--p2s-navy);
	color: #fff;
	border: 0;
	border-radius: var(--p2s-radius);
	padding: 14px 26px;
	font: 700 15px var(--p2s-font);
	cursor: pointer;
}
body .p2s-form .wpcf7 input[type="submit"]:hover { background: var(--p2s-navy-2); }
body .p2s-form .wpcf7 form .wpcf7-response-output { border-radius: var(--p2s-radius); margin: 16px 0 0; }

/* ---------- Closing call to action ---------- */
body .p2s-cta { background: var(--p2s-navy); padding: 72px 0; text-align: center; }
body .p2s-cta .elementor-heading-title { color: #fff; font-size: 32px; font-weight: 800; }
body .p2s-cta .elementor-widget-text-editor,
body .p2s-cta .elementor-widget-text-editor p { color: #e6ebf5; font-size: 18px; max-width: 620px; margin-left: auto; margin-right: auto; }
body .p2s-cta .p2s-btn { margin: 0 6px 10px; }

/* ---------- Footer ---------- */
body .p2s-footer { background: var(--p2s-navy); color: #dbe2f0; font-size: 15px; }
body .p2s-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 32px; padding: 56px 0 40px; }
body .p2s-footer img { height: auto; max-width: 200px; }
body .p2s-footer-title { color: #fff; font-size: 16px; font-weight: 800; margin: 0 0 14px; text-transform: none; }
body .p2s-footer a { color: #fff; text-decoration: none; }
body .p2s-footer a:hover { text-decoration: underline; color: #fff; }
body .p2s-footer-menu, .p2s-footer-contact, .p2s-social { list-style: none; margin: 0; padding: 0; }
body .p2s-footer-menu li, .p2s-footer-contact li { margin-bottom: 8px; }
body .p2s-footer-menu .sub-menu { display: none; }
body .p2s-footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
body .p2s-social { display: flex; gap: 10px; margin-top: 20px; }
body .p2s-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
}
body .p2s-social a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
body .p2s-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 18px 0; }
body .p2s-footer-bottom p { margin: 0; font-size: 14px; color: #c9d2e3; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	body .p2s-cards--4 > .elementor-container > .elementor-column { width: 50% !important; }
	body .p2s-centres { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	body .p2s-topbar-inner { justify-content: center; font-size: 13px; }
	body .p2s-topbar .p2s-sep { display: none; }
	#h-style-3 .navbar-brand.tx_logo img { height: 44px; }
	body .p2s-sec, .p2s-cta { padding: 48px 0; }
	body .p2s-hero, .p2s-hero--page { padding: 48px 0; }
	body .p2s-hero .elementor-heading-title { font-size: 32px; }
	body .p2s-hero--page .elementor-heading-title { font-size: 30px; }
	body .p2s-hero .elementor-widget-text-editor p { font-size: 17px; }
	body .p2s-sec .p2s-h2 .elementor-heading-title, .p2s-cta .elementor-heading-title { font-size: 25px; }
	body .p2s-cards--4 > .elementor-container > .elementor-column { width: 100% !important; }
	body .p2s-stat { margin-top: 24px; }
	body .p2s-btn { margin: 0 0 10px; width: 100%; }
	body .p2s-btn .elementor-button { display: block; text-align: center; width: 100%; }
	body .p2s-cta .p2s-btn { margin: 0 0 10px; }
	body .p2s-figures { grid-template-columns: 1fr; gap: 16px; }
	body .p2s-centres { grid-template-columns: 1fr; }
	body .p2s-footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
}

/* ---------- Full-width Elementor pages inside the theme wrapper ---------- */
#page.tx-wrapper { padding-left: 0; padding-right: 0; overflow-x: clip; }
#page.tx-wrapper > .row { margin-left: 0; margin-right: 0; }
#page.tx-wrapper > .row > .elementor,
#page.tx-wrapper > .row > header,
#page.tx-wrapper > .row > .footer { flex: 0 0 100%; width: 100%; max-width: 100%; }
ul.main-menu > li > a, .tx-res-menu li a { text-transform: none; }
body .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto) { width: 100%; }
body .p2s-cta .elementor-widget-wrap { justify-content: center; }
body .p2s-quote,
body .p2s-quote p,
body .p2s-quote figcaption {
	font-family: var(--p2s-font);
	font-style: normal;
	text-align: left;
	quotes: none;
}
body .p2s-quote::before, body .p2s-quote::after { content: none; display: none; }
body .p2s-quote figcaption { display: block; font-size: 15px; font-weight: 800; color: var(--p2s-text); }
