/*
Theme Name: Beacon MBA Landing
Theme URI: https://beacon.edu.sg/
Author: Beacon International College
Description: Custom MBA landing page theme based on the supplied wireframe.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: beacon-mba
*/

:root {
	--mba-blue: #173d78;
	--mba-deep-blue: #0d2f69;
	--mba-light-blue: #eff5ff;
	--mba-panel-blue: #d9e9fb;
	--mba-gold: #d6b449;
	--mba-gold-dark: #c99b17;
	--mba-ink: #202c45;
	--mba-copy: #4f6380;
	--mba-line: #d8e0ec;
	--mba-white: #ffffff;
	--mba-navy: #10243e;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--mba-copy);
	background: #f4f8fe;
	font-family: "DM Sans", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

body.admin-bar .mba-header {
	top: 32px;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.d-flex {
	display: flex;
}
.align-items-center {
	align-items: center;
}
.align-items-flex-end {
	align-items: flex-end;
}
.font-abhaya {
	font-family: "Abhaya Libre", Georgia, "Times New Roman", serif;
}

.mba-page {
	overflow: hidden;
	background: #f4f8fe;
}

.mba-shell {
	width: min(100% - 72px, 1210px);
	margin: 0 auto;
}

.mba-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 0 rgba(18, 43, 80, 0.08);
}

.mba-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 62px;
	gap: 30px;
}

.mba-brand {
	width: 126px;
	flex: 0 0 126px;
}

.mba-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
}

.mba-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--mba-blue);
	transition: transform 180ms ease, opacity 180ms ease;
}

.mba-header.is-menu-open .mba-menu-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mba-header.is-menu-open .mba-menu-toggle span:nth-child(2) {
	opacity: 0;
}

.mba-header.is-menu-open .mba-menu-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mba-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 4vw, 72px);
	flex: 1;
	color: #8c9cb1;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.mba-nav a:hover {
	color: var(--mba-blue);
}

.mba-header__cta,
.mba-button,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: var(--mba-gold);
	color: var(--mba-white);
	font-weight: 800;
	cursor: pointer;
	transition: transform 180ms ease, background 180ms ease;
}

.mba-button,
.wpcf7-submit {
	border-radius: 30px;
	background: #ef971b;
	color: #000000;
}

.mba-header__cta {
	min-width: 150px;
	min-height: 40px;
	padding: 11px 22px;
	font-size: 13px;
}

.mba-header__cta:hover,
.mba-button:hover,
.wpcf7-submit:hover {
	background: var(--mba-gold-dark);
	transform: translateY(-1px);
}

.mba-button:hover,
.wpcf7-submit:hover {
	background: #ef971b;
	color: #000000;
}

.mba-hero {
	position: relative;
	min-height: 720px;
	padding: 64px 0 108px;
	color: var(--mba-white);
	background-image: var(--hero-image);
	background-position: top center;
	background-size: cover;
}

.mba-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 410px;
	align-items: flex-end;
	gap: 90px;
	min-height: 545px;
}

.mba-hero__content {
	max-width: 710px;
	padding-top: 120px;
}

.mba-eyebrow {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0;
}

.mba-hero h1,
.mba-section h2,
.mba-section h3,
.mba-why h2,
.mba-ranking__number,
.mba-cta h2,
.mba-register h2 {
	margin: 0;
	color: var(--mba-ink);
	font-family: "Abhaya Libre", Georgia, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.08;
}

.mba-hero h1 {
	max-width: 690px;
	color: var(--mba-white);
	font-size: clamp(34px, 4vw, 51px);
}

.mba-hero__lead {
	max-width: 780px;
	margin: 22px 0 28px;
	color: rgba(255, 255, 255, 0.94);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.5;
}

.mba-hero__copy {
	max-width: 760px;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
}

.mba-form-card {
	align-self: start;
	margin-top: 34px;
	background: var(--mba-white);
	color: var(--mba-copy);
	box-shadow: 0 18px 44px rgba(8, 30, 66, 0.22);
}

.mba-form-card__logos {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 86px;
	padding: 18px 22px;
	background: #272727;
}

.mba-form-card__logos img {
	width: min(100%, 359px);
}

.mba-form-card__body {
	padding: 24px 28px 27px;
}

.mba-form-card h2 {
	margin: 0 0 8px;
	color: var(--mba-ink);
	font-family: Roboto, "DM Sans", Arial, Helvetica, sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.08;
}

.mba-form-card p {
	margin: 0;
	color: #4c5c70;
	font-family: Roboto, "DM Sans", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.mba-form,
.wpcf7 form {
	display: grid;
	gap: 8px;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select,
.mba-form input,
.mba-form textarea {
	width: 100%;
	min-height: 34px;
	border: 1px solid #b8c1cd;
	border-radius: 0;
	background: var(--mba-white);
	color: var(--mba-ink);
	font: 600 12px "DM Sans", Arial, Helvetica, sans-serif;
	text-align: center;
}

.wpcf7 textarea,
.mba-form textarea {
	min-height: 120px;
	padding: 9px 10px;
	resize: vertical;
	text-align: left;
}

.wpcf7-submit,
.mba-button {
	min-height: 36px;
	padding: 10px 16px;
	font-size: 12px;
}

.wpcf7-spinner {
	position: absolute;
}

.mba-form__actions,
.mba-form p:has(.wpcf7-submit) {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0;
}

.mba-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #14c655;
}

.mba-whatsapp img {
	width: 26px;
	height: 26px;
}

.mba-stats {
	position: relative;
	z-index: 3;
	margin-top: -40px;
}

.mba-stats__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	min-height: 112px;
	background: var(--mba-white);
	color: var(--mba-blue);
	box-shadow: 0 12px 34px rgba(28, 62, 110, 0.08);
}

.mba-stat {
	display: grid;
	place-items: center;
	min-height: 82px;
	padding: 18px 28px;
	text-align: center;
	font-family: "Abhaya Libre", Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 2.8vw, 34px);
	font-weight: 800;
	line-height: 1.15;
}

.mba-stat span {
	font-size: clamp(16px, 2vw, 26px);
}

.mba-stat + .mba-stat {
	border-left: 1px solid #9dafc8;
}

.mba-stat strong {
	display: block;
	color: var(--mba-gold-dark);
	font-size: 44px;
	line-height: 0.95;
}

.mba-section {
	background: #f4f8fe;
}

.mba-section--white {
	background: var(--mba-white);
}

.mba-why {
	padding: 0 0 72px;
	background: var(--mba-white);
}

.mba-why__grid {
	display: grid;
	grid-template-columns: 1.04fr 1fr;
	align-items: stretch;
}

.mba-why__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mba-why__panel {
	display: grid;
	align-content: center;
	padding: clamp(42px, 5vw, 76px);
	color: rgba(255, 255, 255, 0.88);
	background-image: linear-gradient(90deg, rgba(15, 53, 112, 0.94), rgba(15, 53, 112, 0.86)), var(--why-panel-image);
	background-position: center;
	background-size: cover;
}

.mba-why h2 {
	margin-bottom: 28px;
	color: var(--mba-white);
	font-size: clamp(29px, 3.2vw, 43px);
}

.mba-why p {
	margin: 0 0 17px;
	font-size: 16px;
}

.pt-80px {
	padding-top: 80px;
}

.blue-border-top-line {
	border-top: 1px solid #89A0C2;
}

.mba-two-col__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 10px;
}

.mba-two-col h2,
.mba-two-col h3 {
	margin-bottom: 26px;
	font-size: clamp(29px, 3.2vw, 43px);
}

.mba-two-col p {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.72;
}

.mba-image-frame {
	width: 100%;
}

.mba-image-frame img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

.mba-map-link {
	display: block;
	box-shadow: 0 10px 28px rgba(17, 45, 78, 0.08);
}

.mba-ranking {
	padding: 88px 0 82px;
	background: #f4f8fe;
}

.mba-ranking__card {
	display: grid;
	grid-template-columns: 305px minmax(0, 1fr);
	align-items: center;
	width: min(100%, 1090px);
	margin: 0 auto;
	padding: 28px;
	border-radius: 22px;
	background: var(--mba-gold);
	color: var(--mba-white);
}

.mba-ranking__number {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mba-ranking__number img {
	width: min(100%, 250px);
	height: auto;
}

.mba-ranking h2 {
	margin-top: 0;
	margin-bottom: 10px;
	color: var(--mba-white);
	font-size: clamp(29px, 3.2vw, 43px);
	line-height: 1.1em;
	text-transform: uppercase;
	padding-bottom: 10px;
	border-bottom: 1px solid #fff;
}

.mba-ranking h3 {
	font-size: clamp(22px, 2.8vw, 34px);
	line-height: 1.1em;
	margin-top: 10px;
	margin-bottom: 15px;
}

.mba-ranking p {
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	font-size: 20px;
	line-height: 1.35;
}

.mba-compare {
	padding: 0 0 94px;
}

.mba-compare__grid {
	display: grid;
	grid-template-columns: minmax(360px, 500px) minmax(420px, 630px);
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: min(100%, 1200px);
	margin: 0 auto;
}

.mba-compare__card {
	overflow: hidden;
	border-radius: 40px;
	background: var(--mba-white);
	box-shadow: 0 18px 44px rgba(23, 49, 82, 0.08);
	background: linear-gradient(180deg, #F9F9F9 0%, #DFDFDF 100%);
}

.mba-compare__card--highlight {
	background: linear-gradient(180deg, #f8fbff 0%, #cbdff4 100%);
	box-shadow: 0 15px 34px rgba(37, 75, 122, 0.24);
}

@media (min-width: 1025px) {
	.mba-compare__grid {
		gap: 0;
	}
	.mba-compare__card--highlight {
		transform: translateX(-30px) scale(1.1);
	}
}

.mba-compare h3 {
	margin: 0;
	padding: 58px 52px 44px;
	color: var(--mba-ink);
	font-size: clamp(22px, 2.8vw, 34px);
	text-align: center;
}

.mba-compare__card--highlight h3 {
	color: #2763bd;
}

.mba-compare ul {
	margin: 0;
	padding: 0 52px 48px;
	list-style: none;
}

.mba-compare li {
	display: flex;
	align-items: center;
	min-height: 78px;
	border-top: 1px solid rgba(98, 121, 150, 0.22);
	color: #8090a3;
	font-size: 15px;
}

.mba-compare__card--highlight li {
	gap: 22px;
	color: #6787ab;
}

.mba-compare__icon {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
}

.mba-cta {
	position: relative;
	color: var(--mba-white);
	background: var(--mba-blue);
	background-image: linear-gradient(180deg, rgba(14, 49, 105, 0.88) 0%, rgba(50, 114, 216, 0.9) 100%), var(--cta-image);
	background-position: center;
	background-size: cover;
}

.mba-cta__inner {
	min-height: 744px;
	padding: 82px 0 78px;
}

.mba-cta h2 {
	max-width: 1060px;
	margin: 0 auto 36px;
	color: var(--mba-white);
	font-size: clamp(32px, 4vw, 53px);
	text-align: center;
}

.mba-cta__pill {
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 95px;
	padding: 21px 86px;
	border-radius: 999px;
	background: rgba(6, 34, 78, 0.84);
	color: var(--mba-white);
	font-family: "Abhaya Libre", Georgia, "Times New Roman", serif;
	font-size: clamp(26px, 3vw, 42px);
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
}

.mba-cta__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px 112px;
	width: min(100%, 1030px);
	margin: 0 auto;
}

.mba-cta__item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.mba-cta__item span {
	display: block;
	min-width: 0;
}

.mba-cta__item img {
	width: 58px;
	height: 58px;
}

.mba-register {
	padding: 72px 0 44px;
	background: #f4f8fe;
}

.mba-register__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 410px;
	gap: 38px;
	align-items: start;
}

.mba-register h2 {
	margin-bottom: 24px;
	font-size: clamp(29px, 3.2vw, 42px);
}

.mba-register h3 {
	margin: 0 0 8px;
	color: var(--mba-blue);
	font-size: 17px;
	font-weight: 800;
}

.mba-register p {
	margin: 0 0 26px;
	font-size: 15px;
}

.mba-register .wpcf7-form p {
	margin: 0;
}

.mba-disclaimer {
	margin-top: 30px;
}

.mba-disclaimer,
.mba-disclaimer p 
{
	color: #65758c;
	font-size: 10px;
	line-height: 1.45;
}

.mba-register .mba-form-card {
	margin-top: 0;
	box-shadow: none;
	background: transparent;
}

.mba-register .mba-form-card__body {
	padding: 0;
}

.mba-register .wpcf7 input:not([type="submit"]),
.mba-register .wpcf7 textarea {
	min-height: 31px;
}

.mba-register .wpcf7 textarea {
	min-height: 108px;
}

.mba-footer {
	background: #101d31;
	color: var(--mba-white);
}

.mba-footer__inner {
	display: grid;
	grid-template-columns: 2fr auto;
	align-items: center;
	gap: 38px;
	min-height: 154px;
	padding: 28px 0;
}

.mba-footer__contact {
	display: grid;
	gap: 10px;
	font-size: 12px;
}

.mba-footer__contact strong {
	display: block;
	margin-bottom: 4px;
}

.mba-footer__icons {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.mba-footer__icons span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 24px;
	color: #f4f7fb;
	font-size: 11px;
	line-height: 1;
	white-space: nowrap;
}

.mba-footer__icon {
	display: inline-block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	object-fit: contain;
}

.mba-footer__icon--gold {
	fill: var(--mba-gold);
}

.mba-footer__qr {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	object-fit: contain;
}

.mba-footer__trust {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 15px;
}

.mba-footer__mark {
	width: 175px;
}

.mba-footer__meta {
	color: #cbd3df;
	font-size: 10px;
	line-height: 1.45;
	text-align: left;
}

@media (min-width: 1081px) {
	.lg-pd-r30 {
		padding-right: 30px;
	}
	.lg-pd-l30 {
		padding-left: 30px;
	}
	.lg-pd-t30 {
		padding-top: 30px;
	}
	.lg-pd-b30 {
		padding-bottom: 30px;
	}
	
	.mba-footer__contact, .mba-footer__icons span {
		font-size: 14px;
	}
	.mba-footer__icon {
		width: 30px;
		height: 30px;
		flex: 0 0 30px;
	}
}

@media (max-width: 1080px) {
	.mba-shell {
		width: min(100% - 40px, 920px);
	}

	.mba-header__inner {
		min-height: 72px;
		flex-wrap: wrap;
		gap: 12px 20px;
		padding: 12px 0;
	}

	.mba-nav {
		order: 3;
		width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		gap: 22px;
		padding-bottom: 4px;
	}

	.mba-hero__grid,
	.mba-register__grid,
	.mba-two-col__grid,
	.mba-why__grid,
	.mba-compare__grid,
	.mba-ranking__card {
		grid-template-columns: 1fr;
	}

	.mba-hero {
		padding-top: 20px;
	}

	.mba-hero__grid {
		gap: 36px;
	}

	.mba-hero__content {
		padding-top: 48px;
	}

	.mba-form-card {
		width: min(100%, 430px);
		margin: 0 auto;
	}

	.mba-two-col__grid {
		gap: 34px;
	}

	.mba-two-col__media--first {
		order: 1;
	}

	.mba-section .lg-pd-l30 {
		order: -1;
	}

	.mba-ranking__card {
		gap: 20px;
		text-align: center;
	}

	.mba-ranking__number {
		width: min(100%, 360px);
		margin: 0 auto;
	}

	.mba-footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.mba-footer__icons,
	.mba-footer__trust {
		justify-self: center;
	}

	.mba-footer__trust {
		justify-content: center;
	}
}

@media (max-width: 700px) {
	body.admin-bar .mba-header {
		top: 46px;
	}

	.mba-shell {
		width: min(100% - 28px, 540px);
	}

	.mba-brand {
		width: 106px;
		flex-basis: 106px;
	}

	.mba-header__cta {
		min-width: auto;
		padding: 10px 14px;
	}

	.mba-header__inner {
		position: relative;
		flex-wrap: nowrap;
		min-height: 64px;
		padding: 10px 0;
	}

	.mba-menu-toggle {
		display: inline-flex;
		order: 3;
	}

	.mba-header__cta {
		order: 2;
		margin-left: auto;
	}

	.mba-nav {
		position: absolute;
		top: calc(100% + 1px);
		left: 0;
		right: 0;
		z-index: 25;
		display: none;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		padding: 10px 0;
		border-top: 1px solid rgba(18, 43, 80, 0.08);
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 18px 30px rgba(20, 40, 70, 0.12);
		overflow: visible;
	}

	.mba-header.is-menu-open .mba-nav {
		display: flex;
	}

	.mba-nav a {
		padding: 12px 18px;
		color: var(--mba-ink);
	}

	.mba-hero {
		min-height: auto;
		padding-bottom: 78px;
		position: relative;
		z-index: 1;
		background-size: 200%;
        background-repeat: no-repeat;
        background-position: top left 20%;
	}

	.mba-hero:before {
		content: '';
		background-color: rgb(23,61,120,0.5);
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: -1;
	}

	.mba-hero h1 {
		font-size: 30px;
		text-align: center;
	}

	.mba-hero__lead,
	.mba-hero__copy {
		font-size: 15px;
		text-align: center;
	}

	.mba-stats {
		margin-top: -24px;
	}

	.mba-stats__inner {
		grid-template-columns: 1fr;
	}

	.mba-stat + .mba-stat {
		border-top: 1px solid #ccd6e3;
		border-left: 0;
	}

	.mba-why,
	.mba-two-col,
	.mba-ranking,
	.mba-register,
	.pt-80px {
		padding-top: 52px;
	}

	.mba-why h2,
	.mba-two-col h2,
	.mba-two-col h3,
	.mba-register h2 {
		font-size: 27px;
	}

	.mba-why__panel {
		padding: 34px 24px;
	}

	.mba-ranking {
		padding-bottom: 30px;
	}

	.mba-ranking__card {
		padding: 30px 20px;
		border-radius: 12px;
	}

	.mba-ranking__number img {
		width: min(100%, 190px);
	}

	.mba-compare h3 {
		padding: 36px 24px 28px;
		font-size: 23px;
	}

	.mba-compare ul {
		padding: 0 24px 34px;
	}

	.mba-cta {
		background-size: 100%;
    	background-repeat: no-repeat;
	}

	.mba-cta__inner {
		min-height: auto;
		padding: 52px 0;
	}

	.mba-cta h2 {
		font-size: 27px;
	}

	.mba-cta__pill {
		margin-bottom: 42px;
		padding: 16px 24px;
		font-size: 24px;
	}

	.mba-cta__items {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mba-cta__item {
		grid-template-columns: 44px minmax(0, 1fr);
		font-size: 15px;
	}

	.mba-cta__item img {
		width: 44px;
		height: 44px;
	}

	.mba-register__grid {
		gap: 0;
	}
}
