/* ==========================================================================
   SS-EduBuild Services — Brand Styles (v2: liquid-glass card redesign)
   Navy: #0B1F5C / #122B7A | Gold: #F5A623 | White: #FFFFFF / #F5F6F8
   Text: #3A3A3A body | #7A7E8C meta
   ========================================================================== */

:root {
	--sseb-navy: #0B1F5C;
	--sseb-navy-secondary: #122B7A;
	--sseb-gold: #F5A623;
	--sseb-white: #FFFFFF;
	--sseb-offwhite: #F5F6F8;
	--sseb-text: #3A3A3A;
	--sseb-meta: #7A7E8C;
	--sseb-radius-lg: 20px;
	--sseb-radius-md: 14px;
	--sseb-radius-sm: 10px;
	--sseb-shadow: 0 10px 28px rgba(11, 31, 92, 0.16);
	--sseb-shadow-hover: 0 16px 40px rgba(11, 31, 92, 0.26);
}

/* -------------------- Shared section heading -------------------- */
.sseb-section-heading {
	position: relative;
	display: inline-block;
	color: var(--sseb-navy);
	font-weight: 700;
	font-size: 2rem;
	margin: 0 0 40px;
	padding-bottom: 14px;
}
.sseb-section-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 4px;
	background: var(--sseb-gold);
	border-radius: 2px;
}
.sseb-section-heading--sm {
	font-size: 1.4rem;
	margin-bottom: 24px;
}

/* ==========================================================================
   SERVICE CARD — clean white card: image on top, badge, title, CTA link
   (shared: archive grid, [sseb_services_grid], related-services section)
   ========================================================================== */

.sseb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--sseb-white);
	border-radius: var(--sseb-radius-lg);
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--sseb-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sseb-card:hover,
.sseb-card:focus-visible {
	transform: translateY(-6px);
	box-shadow: var(--sseb-shadow-hover);
}

.sseb-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--sseb-offwhite);
}
.sseb-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.5s ease;
}
.sseb-card:hover .sseb-card__media img {
	transform: scale(1.06);
}
.sseb-card__media--placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sseb-offwhite);
	color: #C4C8D6;
}

.sseb-card__eyebrow {
	position: absolute;
	left: 14px;
	top: 14px;
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--sseb-gold);
	color: var(--sseb-navy);
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 3px 10px rgba(11, 31, 92, 0.18);
}

.sseb-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 20px 18px;
}

.sseb-card__title {
	margin: 0 0 16px;
	color: var(--sseb-navy);
	font-size: 1.06rem;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sseb-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #ECEDF2;
	color: var(--sseb-navy);
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	transition: color 0.25s ease;
}
.sseb-card__cta::after {
	content: "\2192";
	transition: transform 0.25s ease;
}
.sseb-card:hover .sseb-card__cta {
	color: var(--sseb-gold);
}
.sseb-card:hover .sseb-card__cta::after {
	transform: translateX(4px);
}

/* ==========================================================================
   ARCHIVE / GRID
   ========================================================================== */

.sseb-archive-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 24px;
}
.sseb-archive-header {
	text-align: left;
}

.sseb-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.sseb-archive-pagination {
	margin-top: 44px;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.sseb-archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: var(--sseb-radius-sm);
	background: var(--sseb-white);
	color: var(--sseb-navy);
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(11, 31, 92, 0.08);
}
.sseb-archive-pagination .page-numbers.current,
.sseb-archive-pagination .page-numbers:hover {
	background: var(--sseb-gold);
	color: var(--sseb-navy);
}

/* ==========================================================================
   SINGLE SERVICE PAGE
   ========================================================================== */

/* --- Hero: boxed, auto-sliding gallery, title overlaid bottom-left --- */
.sseb-hero-wrap {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px 16px 0;
}
.sseb-hero {
	position: relative;
	width: 100%;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	border-radius: var(--sseb-radius-lg);
	box-shadow: var(--sseb-shadow-hover);
	background: linear-gradient(135deg, var(--sseb-navy), var(--sseb-navy-secondary));
}
.sseb-hero-swiper,
.sseb-hero-swiper .swiper-wrapper,
.sseb-hero-swiper .swiper-slide {
	width: 100%;
	height: 100%;
}
.sseb-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.sseb-hero-swiper__pagination.swiper-pagination-bullets {
	bottom: 18px !important;
	left: auto !important;
	right: 24px;
	width: auto !important;
	z-index: 3;
}
.sseb-hero-swiper__pagination .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.55);
	opacity: 1;
	width: 8px;
	height: 8px;
}
.sseb-hero-swiper__pagination .swiper-pagination-bullet-active {
	background: #FFD400;
	width: 22px;
	border-radius: 4px;
}
.sseb-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 31, 92, 0.5) 0%, rgba(11, 31, 92, 0.16) 42%, rgba(11, 31, 92, 0) 68%),
		linear-gradient(0deg, rgba(11, 31, 92, 0.5) 0%, rgba(11, 31, 92, 0) 45%);
	pointer-events: none;
	z-index: 1;
}
.sseb-hero__content {
	position: absolute;
	left: 5%;
	right: 8%;
	bottom: 8%;
	max-width: 680px;
	z-index: 2;
}
.sseb-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 6px 15px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: rgba(245, 166, 35, 0.92);
	backdrop-filter: blur(10px) saturate(160%);
	-webkit-backdrop-filter: blur(10px) saturate(160%);
	box-shadow: 0 4px 14px rgba(11, 31, 92, 0.25);
	color: var(--sseb-navy);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.sseb-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.7rem, 4.2vw, 2.9rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.01em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.sseb-hero__title-accent {
	display: block;
	width: 68px;
	height: 5px;
	margin-top: 18px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--sseb-gold), rgba(245, 166, 35, 0.3));
}

/* --- Description + gallery --- */
.sseb-single-wrap {
	max-width: 880px;
	margin: 0 auto;
	padding: 48px 24px 64px;
}

.sseb-single-description {
	color: var(--sseb-text);
	font-size: 1rem;
	line-height: 1.7;
}
.sseb-single-description .sseb-first-word {
	color: var(--sseb-navy);
	font-weight: 800;
}
.sseb-single-description h2,
.sseb-single-description h3 {
	color: var(--sseb-navy);
	margin-top: 1.6em;
}
.sseb-single-description ul {
	list-style: none;
	padding-left: 0;
	margin: 1.2em 0;
}
.sseb-single-description ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
}
.sseb-single-description ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 10px;
	height: 10px;
	background: var(--sseb-gold);
	border-radius: 50%;
}
.sseb-single-description img {
	max-width: 100%;
	height: auto;
	border-radius: var(--sseb-radius-sm);
	margin: 1em 0;
}

.sseb-gallery {
	margin-top: 48px;
}
.sseb-gallery-swiper {
	position: relative;
	padding: 4px 4px 8px;
}
.sseb-gallery-swiper .swiper-slide {
	height: auto;
}
.sseb-gallery__item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	border-radius: var(--sseb-radius-md);
	overflow: hidden;
	cursor: zoom-in;
	background: none;
	box-shadow: var(--sseb-shadow);
}
.sseb-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.sseb-gallery__item:hover img {
	transform: scale(1.08);
}

/* Simple lightbox */
.sseb-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(11, 31, 92, 0.92);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sseb-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}
.sseb-lightbox__image {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: var(--sseb-radius-md);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.sseb-lightbox__close {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(14px) saturate(180%);
	-webkit-backdrop-filter: blur(14px) saturate(180%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.sseb-lightbox__close:hover {
	background: var(--sseb-gold);
	color: var(--sseb-navy);
}

/* ==========================================================================
   RELATED SERVICES SLIDER — liquid glass, brand navy/gold background
   ========================================================================== */

.sseb-related-services {
	background: var(--sseb-offwhite);
	padding: 60px 24px 72px;
}
.sseb-related-services .sseb-section-heading {
	color: var(--sseb-navy);
}
.sseb-related-services__inner {
	max-width: 1240px;
	margin: 0 auto;
}

.sseb-related-swiper {
	position: relative;
	padding-bottom: 52px;
}
.sseb-related-swiper .swiper-slide {
	height: auto;
	display: flex;
}

.sseb-swiper-nav {
	width: 44px;
	height: 44px;
	background: var(--sseb-white);
	box-shadow: 0 4px 14px rgba(11, 31, 92, 0.14);
	border-radius: 50%;
	color: var(--sseb-navy);
	transition: background 0.25s ease, color 0.25s ease;
}
.sseb-swiper-nav::after {
	font-size: 16px;
	font-weight: 900;
	color: inherit;
}
.sseb-swiper-nav:hover {
	background: var(--sseb-gold);
	color: var(--sseb-navy);
}

/* Dark variant — used where the slider sits on a dark/photo background */
.sseb-swiper-nav--dark {
	background: rgba(11, 31, 92, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
	color: var(--sseb-gold);
}
.sseb-swiper-nav--dark:hover {
	background: var(--sseb-gold);
	color: var(--sseb-navy);
}

.sseb-related-swiper .swiper-pagination-bullet {
	background: rgba(11, 31, 92, 0.2);
	opacity: 1;
	width: 9px;
	height: 9px;
}
.sseb-related-swiper .swiper-pagination-bullet-active {
	background: var(--sseb-gold);
}

/* ==========================================================================
   RESPONSIVE / PHONE OPTIMIZED
   ========================================================================== */

@media (max-width: 991px) {
	.sseb-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.sseb-hero {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 782px) {
	.sseb-hero-wrap {
		padding: 18px 14px 0;
	}
}

@media (max-width: 600px) {
	.sseb-services-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.sseb-section-heading {
		font-size: 1.5rem;
		margin-bottom: 28px;
	}
	.sseb-hero {
		aspect-ratio: 4 / 5;
		border-radius: var(--sseb-radius-md);
	}
	.sseb-hero-wrap {
		padding: 14px 12px 0;
	}
	.sseb-hero__content {
		left: 6%;
		right: 6%;
		bottom: 8%;
	}
	.sseb-hero__title {
		font-size: 1.5rem;
	}
	.sseb-single-wrap {
		padding: 36px 18px 48px;
	}
	.sseb-related-services {
		padding: 44px 18px 60px;
	}
	.sseb-archive-wrap {
		padding: 40px 18px;
	}
}
