/* ==========================================================================
   DOST GO — "Become a Partner" Page Stylesheet
   Loaded only on pages using page-templates/template-become-a-partner.php
   (enqueued conditionally in functions.php).
   ========================================================================== */

/* ---------- Buttons used in the hero ---------- */
.dostgo-bap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 16px 32px;
	border-radius: 30px;
	font-family: var(--dostgo-font-body);
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	white-space: nowrap;
	border: 1.5px solid transparent;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.dostgo-bap-btn--primary {
	color: #fff;
	background: linear-gradient(135deg, var(--dostgo-500), var(--dostgo-600));
	box-shadow: 0 10px 26px var(--dostgo-teal-glow);
}
.dostgo-bap-btn--primary:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 16px 34px var(--dostgo-teal-glow);
}

.dostgo-bap-btn--ghost {
	color: var(--dostgo-text-light);
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-color: var(--dostgo-border-dark);
}
.dostgo-bap-btn--ghost:hover {
	color: var(--dostgo-accent);
	border-color: var(--dostgo-teal-line);
	background: rgba(37, 167, 158, 0.08);
	transform: translateY(-3px);
}

/* ==========================================================================
   Hero — dark royal section
   ========================================================================== */
.dostgo-bap-hero {
	position: relative;
	padding: 130px 0 110px;
	text-align: center;
	background: var(--dostgo-bg-dark);
	overflow: hidden;
}

/* layered ambient teal glows — top-left + bottom-right for depth */
.dostgo-bap-hero::before,
.dostgo-bap-hero::after {
	content: '';
	position: absolute;
	width: 520px;
	height: 420px;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
}
.dostgo-bap-hero::before {
	top: -180px;
	left: -140px;
	background: radial-gradient(circle, var(--dostgo-teal-glow), transparent 70%);
}
.dostgo-bap-hero::after {
	bottom: -200px;
	right: -140px;
	/*background: radial-gradient(circle, var(--dostgo-teal-glow), transparent 70%);*/
}

/* corner-frame accents — same premium showcase detail used on cards, scaled up for hero */
.dostgo-bap-hero__frame-tl,
.dostgo-bap-hero__frame-br {
	position: absolute;
	width: 46px;
	height: 46px;
	z-index: 1;
	pointer-events: none;
}
.dostgo-bap-hero__frame-tl {
	top: 32px;
	left: 24px;
	border-top: 2px solid var(--dostgo-teal-line);
	border-left: 2px solid var(--dostgo-teal-line);
	border-radius: 10px 0 0 0;
}
.dostgo-bap-hero__frame-br {
	bottom: 32px;
	right: 24px;
	border-bottom: 2px solid var(--dostgo-teal-line);
	border-right: 2px solid var(--dostgo-teal-line);
	border-radius: 0 0 10px 0;
}

.dostgo-bap-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
}

/* eyebrow as a glass pill badge with a live dot */
.dostgo-bap-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--dostgo-font-heading);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dostgo-accent);
	background: var(--dostgo-surface);
	border: 1px solid var(--dostgo-teal-line);
	border-radius: 30px;
	padding: 9px 20px;
	margin: 0 0 24px;
}

.dostgo-bap-hero__eyebrow::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dostgo-accent);
	box-shadow: 0 0 8px var(--dostgo-accent);
	flex-shrink: 0;
}

.dostgo-bap-hero__title {
	font-family: var(--dostgo-font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--dostgo-text-light);
	margin: 0;
}

.dostgo-bap-hero__swash {
	display: block;
	width: 220px;
	height: 36px;
	margin: 14px auto 28px;
}

.dostgo-bap-hero__intro {
	font-family: var(--dostgo-font-body);
	font-size: 1.08rem;
	line-height: 1.8;
	color: var(--dostgo-text-muted);
	max-width: 60ch;
	margin: 0 auto 40px;
}

.dostgo-bap-hero__cta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.dostgo-bap-hero { padding: 100px 0 80px; }
	.dostgo-bap-hero__title { font-size: 2.5rem; }
	.dostgo-bap-hero__frame-tl, .dostgo-bap-hero__frame-br { width: 34px; height: 34px; }
}

@media (max-width: 640px) {
	.dostgo-bap-hero { padding: 80px 0 64px; }
	.dostgo-bap-hero__eyebrow { font-size: .74rem; padding: 8px 16px; }
	.dostgo-bap-hero__title { font-size: 1.9rem; }
	.dostgo-bap-hero__intro { font-size: .96rem; }
	.dostgo-bap-hero__cta { flex-direction: column; align-items: stretch; }
	.dostgo-bap-btn { width: 100%; }
	.dostgo-bap-hero__frame-tl, .dostgo-bap-hero__frame-br { display: none; }
}


/* ==========================================================================
   How It Works — 4-column step row with connecting arrows, dark royal
   ========================================================================== */

.dostgo-bap-how {
	position: relative;
	padding: 90px 0;
	background: var(--dostgo-bg-dark);
	overflow: hidden;
}

.dostgo-bap-how::before {
	content: '';
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	width: 640px;
	height: 320px;
	background: radial-gradient(circle, var(--dostgo-teal-glow) 0%, transparent 70%);
	filter: blur(70px);
	pointer-events: none;
	z-index: 0;
}

.dostgo-bap-how .dostgo-container {
	position: relative;
	z-index: 1;
}

.dostgo-bap-how .dostgo-services__heading h2 { color: var(--dostgo-text-light); }
.dostgo-bap-how .dostgo-story__eyebrow { color: var(--dostgo-accent); }

.dostgo-bap-how__sub {
	font-family: var(--dostgo-font-body);
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--dostgo-text-muted);
	max-width: 62ch;
	margin: 18px auto 0;
}

.dostgo-bap-how__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
	align-items: start;
	gap: 0 14px;
	margin-top: 56px;
}

/* ---- Card ---- */
.dostgo-bap-how__card {
	position: relative;
	background: var(--dostgo-surface);
	border: 1px solid var(--dostgo-teal-line);
	border-radius: 20px;
	padding: 38px 24px 30px;
	text-align: center;
	overflow: hidden;
	transition: box-shadow .4s ease, transform .4s ease, border-color .4s ease;
}

.dostgo-bap-how__card:hover {
	transform: translateY(-8px);
	border-color: var(--dostgo-teal-line);
	/*box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--dostgo-teal-glow);*/
}

/* corner-frame accent on hover — consistent with cards site-wide */
.dostgo-bap-how__card::before,
.dostgo-bap-how__card::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	z-index: 2;
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}
.dostgo-bap-how__card::before {
	top: 10px;
	left: 10px;
	border-top: 2px solid var(--dostgo-accent);
	border-left: 2px solid var(--dostgo-accent);
	border-radius: 6px 0 0 0;
}
.dostgo-bap-how__card::after {
	bottom: 10px;
	right: 10px;
	border-bottom: 2px solid var(--dostgo-accent);
	border-right: 2px solid var(--dostgo-accent);
	border-radius: 0 0 6px 0;
}
.dostgo-bap-how__card:hover::before,
.dostgo-bap-how__card:hover::after {
	opacity: 1;
}

/* large "ghost" step number — premium background numeral */
.dostgo-bap-how__number {
	position: absolute;
	top: 6px;
	right: 16px;
	font-family: var(--dostgo-font-heading);
	font-size: 2.6rem;
	font-weight: 800;
	color: transparent;
	-webkit-text-stroke: 1px var(--dostgo-teal-line);
	letter-spacing: .02em;
	line-height: 1;
	z-index: 0;
	transition: -webkit-text-stroke-color .4s ease;
}

.dostgo-bap-how__card:hover .dostgo-bap-how__number {
	-webkit-text-stroke: 1px var(--dostgo-accent);
}

.dostgo-bap-how__icon {
	position: relative;
	z-index: 1;
	width: 72px;
	height: 72px;
	margin: 0 auto 22px;
	border-radius: 18px;
	background: var(--dostgo-surface-alt);
	border: 1px solid var(--dostgo-teal-line);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.dostgo-bap-how__icon img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.dostgo-bap-how__title {
	position: relative;
	z-index: 1;
	font-family: var(--dostgo-font-heading);
	font-size: 1.08rem;
	font-weight: 500;
	color: var(--dostgo-text-light);
	margin: 0 0 10px;
}

.dostgo-bap-how__text {
	position: relative;
	z-index: 1;
	font-family: var(--dostgo-font-body);
	font-size: .9rem;
	line-height: 1.65;
	color: var(--dostgo-text-muted);
	margin: 0;
}

/* ---------- Connecting arrows, glowing + gently alternating tilt ---------- */
.dostgo-bap-how__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	padding-top: 20px;
}

.dostgo-bap-how__arrow svg {
	display: block;
	filter: drop-shadow(0 0 6px var(--dostgo-teal-glow));
}

.dostgo-bap-how__arrow--1 { transform: rotate(-4deg); }
.dostgo-bap-how__arrow--2 { transform: rotate(0deg); }
.dostgo-bap-how__arrow--3 { transform: rotate(4deg); }

/* ==========================================================================
   Responsive — How It Works
   ========================================================================== */
@media (max-width: 1100px) {
	.dostgo-bap-how__row { grid-template-columns: 1fr 1fr; row-gap: 44px; }
	.dostgo-bap-how__arrow { display: none; }
}

@media (max-width: 900px) {
	.dostgo-bap-how { padding: 70px 0; }
}

@media (max-width: 640px) {
	.dostgo-bap-how { padding: 56px 0 60px; }
	.dostgo-bap-how__row { grid-template-columns: 1fr; row-gap: 26px; margin-top: 40px; }
	.dostgo-bap-how__card { padding: 30px 22px 24px; }
	.dostgo-bap-how__sub { margin-top: 14px; }
	.dostgo-bap-how__number { font-size: 2.1rem; }
}


/* ==========================================================================
   Why Partner With Dost Go — dark royal, photo background + glass cards
   ========================================================================== */

.dostgo-bap-why {
	position: relative;
	padding: 90px 0;
	background-color: var(--dostgo-bg-dark);
	background-image: url('https://dostgo.ae/wp-content/uploads/2026/07/collaboration.webp');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #fff;
	overflow: hidden;
}

/* teal-tinted dark overlay instead of plain black — keeps the brand tone even over the photo */
.dostgo-bap-why::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11,14,17,0.85) 0%, rgba(11,14,17,0.78) 100%),
		linear-gradient(160deg, rgba(37,167,158,0.18) 0%, transparent 55%);
	z-index: 1;
}

.dostgo-bap-why .dostgo-container {
	position: relative;
	z-index: 2;
}

.dostgo-bap-why__heading .dostgo-story__eyebrow { color: var(--dostgo-accent); }
.dostgo-bap-why__heading h2 { color: #fff; }

.dostgo-bap-why__sub {
	font-family: var(--dostgo-font-body);
	font-size: 1.02rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.72);
	max-width: 62ch;
	margin: 18px auto 0;
}

.dostgo-bap-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	margin-top: 56px;
	align-items: stretch;
}

/* ---- Card ---- */
.dostgo-bap-why__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: rgba(20, 24, 29, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: 36px 24px 30px;
	text-align: center;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow: hidden;
	transition: box-shadow .4s ease, transform .4s ease, border-color .4s ease, background .4s ease;
}

.dostgo-bap-why__card:hover {
	transform: translateY(-8px);
	border-color: var(--dostgo-teal-line);
	background: rgba(20, 24, 29, 0.72);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--dostgo-teal-glow);
}

/* corner-frame accent — same premium detail used site-wide */
.dostgo-bap-why__card::before,
.dostgo-bap-why__card::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	z-index: 2;
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}
.dostgo-bap-why__card::before {
	top: 10px;
	left: 10px;
	border-top: 2px solid var(--dostgo-accent);
	border-left: 2px solid var(--dostgo-accent);
	border-radius: 6px 0 0 0;
}
.dostgo-bap-why__card::after {
	bottom: 10px;
	right: 10px;
	border-bottom: 2px solid var(--dostgo-accent);
	border-right: 2px solid var(--dostgo-accent);
	border-radius: 0 0 6px 0;
}
.dostgo-bap-why__card:hover::before,
.dostgo-bap-why__card:hover::after {
	opacity: 1;
}

.dostgo-bap-why__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 22px;
	border-radius: 18px;
	background: rgba(37, 167, 158, 0.10);
	border: 1px solid var(--dostgo-teal-line);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
	transition: background .3s ease;
}

.dostgo-bap-why__card:hover .dostgo-bap-why__icon {
	background: rgba(37, 167, 158, 0.2);
}

.dostgo-bap-why__icon img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.dostgo-bap-why__title {
	position: relative;
	font-family: var(--dostgo-font-heading);
	font-size: 1.08rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 14px;
	padding-bottom: 12px;
}

/* thin teal underline under each card title */
.dostgo-bap-why__title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 30px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--dostgo-primary), var(--dostgo-accent));
	transition: width .35s ease;
}

.dostgo-bap-why__card:hover .dostgo-bap-why__title::after { width: 46px; }

.dostgo-bap-why__text {
	font-family: var(--dostgo-font-body);
	font-size: .9rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.68);
	margin: 0;
	flex-grow: 1;
}

/* ==========================================================================
   Responsive — Why Partner With Dost Go
   ========================================================================== */
@media (max-width: 1100px) {
	.dostgo-bap-why__grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
}

@media (max-width: 900px) {
	.dostgo-bap-why { padding: 70px 0; }
}

@media (max-width: 640px) {
	.dostgo-bap-why { padding: 56px 0 60px; }
	.dostgo-bap-why__grid { grid-template-columns: 1fr; margin-top: 38px; }
	.dostgo-bap-why__card { padding: 30px 22px 24px; }
	.dostgo-bap-why__sub { margin-top: 14px; }
}

/* ==========================================================================
   CTA — Let's Build Success Together, dark royal (open layout, no panel)
   ========================================================================== */

.dostgo-bap-cta {
	position: relative;
	padding: 100px 0;
	background: var(--dostgo-bg-dark);
	text-align: center;
	overflow: hidden;
}

.dostgo-bap-cta::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 700px;
	height: 380px;
	background: radial-gradient(circle, var(--dostgo-teal-glow) 0%, transparent 70%);
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
}

/* corner-frame accents on the section itself — same premium touch as the hero */
.dostgo-bap-cta__frame-tl,
.dostgo-bap-cta__frame-br {
	position: absolute;
	width: 46px;
	height: 46px;
	z-index: 1;
	pointer-events: none;
}
.dostgo-bap-cta__frame-tl {
	top: 32px;
	left: 24px;
	border-top: 2px solid var(--dostgo-teal-line);
	border-left: 2px solid var(--dostgo-teal-line);
	border-radius: 10px 0 0 0;
}
.dostgo-bap-cta__frame-br {
	bottom: 32px;
	right: 24px;
	border-bottom: 2px solid var(--dostgo-teal-line);
	border-right: 2px solid var(--dostgo-teal-line);
	border-radius: 0 0 10px 0;
}

.dostgo-bap-cta .dostgo-container { position: relative; z-index: 2; }

.dostgo-bap-cta__inner {
	max-width: 720px;
	margin: 0 auto;
}

.dostgo-bap-cta__title {
	font-family: var(--dostgo-font-heading);
	font-size: 2.6rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--dostgo-text-light);
	margin: 0;
}

.dostgo-bap-cta .dostgo-services__swash {
	display: block;
	width: 210px;
	height: 34px;
	margin: 14px auto 0;
}

.dostgo-bap-cta__text {
	font-family: var(--dostgo-font-body);
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--dostgo-text-muted);
	max-width: 58ch;
	margin: 20px auto 0;
}

/* soft glow ring directly behind the button — draws the eye without a boxed panel */
.dostgo-bap-cta__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 38px;
	padding: 18px 42px;
	background: linear-gradient(135deg, var(--dostgo-500), var(--dostgo-600));
	color: #fff;
	font-family: var(--dostgo-font-heading);
	font-size: 1rem;
	font-weight: 700;
	border-radius: 50px;
	text-decoration: none;
	box-shadow: 0 16px 36px var(--dostgo-teal-glow);
	transition: transform .3s ease, box-shadow .3s ease;
}

.dostgo-bap-cta__btn:hover {
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 22px 48px var(--dostgo-teal-glow);
}

/* ==========================================================================
   Responsive — CTA
   ========================================================================== */
@media (max-width: 900px) {
	.dostgo-bap-cta { padding: 80px 0; }
	.dostgo-bap-cta__title { font-size: 2rem; }
	.dostgo-bap-cta__frame-tl, .dostgo-bap-cta__frame-br { width: 34px; height: 34px; }
}

@media (max-width: 640px) {
	.dostgo-bap-cta { padding: 64px 0; }
	.dostgo-bap-cta__title { font-size: 1.6rem; }
	.dostgo-bap-cta__btn { width: 100%; padding: 17px 24px; }
	.dostgo-bap-cta__frame-tl, .dostgo-bap-cta__frame-br { display: none; }
}