/* ==========================================================================
   Common - Image, video, and iframe sizing shared by Market and Join.
   ========================================================================== */

.gbc-split-media {
	position: relative;
}

.gbc-split-media img,
.gbc-split-media video,
.gbc-split-media iframe {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border: 0;
	padding: 0 14px 14px 0;
}

.gbc-split-media iframe {
	aspect-ratio: 16 / 9;
}

/* Section 4 plays as a silent loop with no player chrome. */
.gbc-market .gbc-split-media video {
	pointer-events: none;
}

.gbc-market .gbc-split-media video::-webkit-media-controls,
.gbc-market .gbc-split-media video::-webkit-media-controls-enclosure,
.gbc-market .gbc-split-media video::-webkit-media-controls-panel,
.gbc-market .gbc-split-media video::-webkit-media-controls-start-playback-button {
	display: none !important;
	-webkit-appearance: none;
}

.gbc-split-media--corner-br,
.gbc-split-media--corner-tr {
	position: relative;
}

.gbc-split-media--corner-br::after,
.gbc-split-media--corner-tr::after {
	content: "";
	position: absolute;
	width: 30px;
	height: 30px;
	border-color: #00be6d;
	border-style: solid;
	pointer-events: none;
}

/* ==========================================================================
   Hero Banner media only. The Let's Talk form styles are in the next section.
   ========================================================================== */

.hero-banner-img video,
.hero-banner-img iframe {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border: 0;
}

.hero-banner-img iframe {
	aspect-ratio: 16 / 9;
}

/* Hero "Connect With Us" menu. Options reuse the existing lead-form modal. */
.gbc-hero-cta {
	position: relative;
	display: inline-block;
	max-width: 100%;
	vertical-align: top;
}

.gbc-hero-cta__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 15px 22px;
	border: 1px solid #fff;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 140%;
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.gbc-hero-cta__toggle:hover,
.gbc-hero-cta__toggle:focus-visible {
	background: #e5f9f0;
	color: #00824b;
	border-color: #00824b;
	outline: none;
}

.gbc-hero-cta__chevron {
	display: block;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	transform: rotate(0deg);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.gbc-hero-cta [aria-expanded="true"] .gbc-hero-cta__chevron {
	transform: rotate(-90deg);
}

.gbc-hero-cta__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	min-width: 100%;
	width: max-content;
	max-width: calc(100vw - 48px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.gbc-hero-cta__menu[hidden] {
	display: none !important;
}

.gbc-hero-cta__item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid #e8e8e8;
	background: #fff;
	color: #222;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 140%;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.gbc-hero-cta__item:last-child {
	border-bottom: 0;
}

.gbc-hero-cta__item:hover,
.gbc-hero-cta__item:focus-visible {
	background: #e5f9f0;
	color: #222;
	outline: none;
}

/* Join toggle uses btn--primary. Keep the arrow beside the label. */
.gbc-join .gbc-hero-cta__chevron {
	display: inline-block;
	vertical-align: middle;
	margin-left: 8px;
}

/* ==========================================================================
   IBS Lead Form
   ========================================================================== */

.gbc-modal[hidden] {
	display: none !important;
}

.gbc-modal {
	position: fixed !important;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10000001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
	margin: 0;
	background: rgba(10, 22, 40, 0.55);
	box-sizing: border-box;
}

.gbc-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 64px);
	overflow: auto;
	padding: 48px 40px 36px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	box-sizing: border-box;
}

.gbc-modal__title {
	margin: 0 0 28px;
	color: #0a2837;
	font-size: 32px;
	font-weight: 700;
	line-height: 125%;
	text-align: center;
}

.gbc-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #eef0f2;
	color: #4b5563;
	font-size: 22px;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
	padding: 0;
}

.gbc-modal__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.gbc-modal__form input,
.gbc-modal__form select,
.gbc-modal__form textarea {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	background-color: #fff;
	color: #111827;
	font-size: 14px;
	line-height: 140%;
	box-sizing: border-box;
}

.gbc-modal__form input,
.gbc-modal__form select {
	height: 40px !important;
	padding: 0 14px !important;
	margin-bottom: 0 !important;
}

.gbc-modal__form select {
	padding-right: 36px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.gbc-modal__form select:invalid,
.gbc-modal__form select option[value=""] {
	color: #6b7280;
}

.gbc-modal__form textarea {
	min-height: 132px;
	margin: 0 0 22px;
	padding: 14px;
	resize: vertical;
}

.gbc-modal__form input::placeholder,
.gbc-modal__form textarea::placeholder {
	color: #6b7280;
}

.gbc-modal__phone {
	display: flex;
	gap: 8px;
	align-items: stretch;
	height: 40px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
	box-sizing: border-box;
}
.gbc-modal__phone input {
	height: 100%;
	width: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.gbc-modal__phone input:first-child {
	width: 72px;
	flex: 0 0 72px;
	padding: 0 12px;
	text-align: left;
	border-right: 1px solid #e5e7eb !important;
	color: #374151;
}

.gbc-modal__phone input:first-child[readonly] {
	cursor: default;
	background: #f9fafb;
	color: #374151;
	user-select: none;
}
.gbc-modal__phone input[type=tel], .gbc-modal__phone input[type=text]{
    border: transparent
}

.gbc-modal__phone input:last-child {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.gbc-modal__field {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	min-width: 0;
}

.gbc-field-error {
	display: none;
	margin-top: 4px;
	color: #dc2626;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 500;
	text-align: left;
}

.gbc-field-error.is-visible {
	display: block;
}

.gbc-modal__form input:focus,
.gbc-modal__form select:focus,
.gbc-modal__form textarea:focus {
	outline: none;
	border-color: #00824b;
}

.gbc-modal__phone:focus-within {
	border-color: #00824b;
}

.gbc-modal__form input.is-invalid,
.gbc-modal__form select.is-invalid,
.gbc-modal__form textarea.is-invalid,
.gbc-modal__phone.is-invalid {
	border-color: #dc2626 !important;
}

.gbc-modal__consent input.is-invalid {
	outline: 2px solid #dc2626;
	outline-offset: 1px;
}

.gbc-modal__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gbc-modal__consent-wrap {
	margin-bottom: 24px;
}

.gbc-modal__consent-wrap .gbc-field-error {
	margin-top: 6px;
	margin-left: 26px;
}

.gbc-modal__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: #374151;
	font-size: 14px;
	line-height: 150%;
	cursor: pointer;
}

.gbc-modal__consent input {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	margin: 2px 0 0;
	padding: 0;
	flex: 0 0 16px;
	border-radius: 2px;
}

.gbc-modal__consent a {
	color: inherit;
	text-decoration: underline;
}

.gbc-modal__error {
	margin-top: 12px;
	color: #dc2626;
	text-align: center;
}

.gbc-modal__error[hidden] {
	display: none !important;
}

.gbc-modal__submit {
	text-align: center;
}

.gbc-modal__submit .btn--large {
	width: auto !important;
	min-width: 148px;
	height: 48px;
	margin: 0;
	border-radius: 4px;
	background: #00824b;
	font-weight: 600;
}

.gbc-modal__success {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 20px;
	padding: 16px 18px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 20px rgba(16, 24, 40, 0.08);
	text-align: left;
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.gbc-modal__success.is-hiding {
	opacity: 0;
	transform: translateY(-4px);
}

.gbc-modal__success[hidden] {
	display: none;
}

.gbc-modal__success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #00824b;
}

.gbc-modal__success-icon svg {
	display: block;
}

.gbc-modal__success-copy {
	min-width: 0;
}

.gbc-modal__success-title {
	margin: 0 0 2px;
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.gbc-modal__success-text {
	margin: 0;
	color: #4b5563;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

body.gbc-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.gbc-modal {
		padding: 16px 12px;
	}

	.gbc-modal__dialog {
		padding: 48px 16px 24px;
	}

	.gbc-modal__success {
		align-items: flex-start;
		gap: 12px;
		padding: 14px;
	}

	.gbc-modal__title {
		font-size: 26px;
	}

	.gbc-modal__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Our Partners -  Same right-to-left marquee as the enterprise customer logos.
   ========================================================================== */

.gbc-partners {
	overflow: hidden;
	min-width: 0;
}

.gbc-partners .container {
	overflow: visible;
}

.gbc-partners-marquee {
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

#our-partners .gbc-partners-marquee__track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	min-width: max-content;
	flex-shrink: 0;
	will-change: transform;
	-webkit-animation: gbc-partners-marquee 25s linear infinite;
	animation: gbc-partners-marquee 25s linear infinite;
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

.gbc-partners-marquee__set {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	flex-shrink: 0;
	width: max-content;
	gap: 48px;
	padding-right: 48px;
}

.gbc-partner-logo {
	flex-shrink: 0;
}

.gbc-partner-logo__link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.gbc-partner-logo img {
	max-width: 210px;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
	flex-shrink: 0;
	display: block;
}

#our-partners .gbc-partners-marquee:hover .gbc-partners-marquee__track {
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
}

@-webkit-keyframes gbc-partners-marquee {
	from {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}

	to {
		-webkit-transform: translate3d(-50%, 0, 0);
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes gbc-partners-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (max-width: 991px) {
	.gbc-partners-marquee__set {
		gap: 32px;
		padding-right: 32px;
	}

	.gbc-partner-logo img {
		max-width: 180px;
		max-height: 70px;
	}

	.gbc-partners-marquee {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
	}
}

@media (max-width: 767px) {
	.gbc-partners-marquee__set {
		gap: 24px;
		padding-right: 24px;
	}

	.gbc-partner-logo img {
		max-width: 160px;
		max-height: 48px;
	}
}

/* ==========================================================================
   Higher Education Market
   Green corner on the bottom right of the media.
   ========================================================================== */

.gbc-split-media--corner-br::after {
	right: 0px;
	bottom: 0px;
	border-width: 0 6px 6px 0;
}

/* ==========================================================================
   Join Transformation
   Green corner on the top right of the media.
   ========================================================================== */

.gbc-split-media--corner-tr::after {
	top: -14px;
	right: 0px;
	border-width: 6px 6px 0 0;
}

/* ==========================================================================
   IBC Stacks
   ========================================================================== */

.ibc-stacks__card {
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 20px 8px;
	background-color: #f6f7f8;
}

.ibc-stacks__item + .ibc-stacks__item {
	border-top: 1px solid #e5e5e5;
	margin-top: 16px;
	padding-top: 16px;
}

.ibc-stacks__value {
	flex: 0 0 auto;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.ibc-stacks__card {
		padding: 30px 8px;
	}

	.ibc-stacks__item + .ibc-stacks__item {
		border-top: 0;
		margin-top: 0;
		padding-top: 0;
		border-left: 1px solid #e5e5e5;
	}
}

/* ==========================================================================
   Why Partner With Us
   ========================================================================== */

.gbc-why-item + .gbc-why-item {
	border-top: 1px solid #e6e6e6;
}

@media (min-width: 768px) {
	.gbc-why-item + .gbc-why-item {
		border-top: 0;
		border-left: 1px solid #e6e6e6;
	}
}

.gbc-why-icon {
	width: 56px !important;
	height: 56px !important;
	object-fit: contain;
}

