/*!
Theme Name: Koreevo
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Koreevo – Driving Software Innovation. A modern corporate theme.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: koreevo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Koreevo is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   Design Tokens (CSS Custom Properties)
   ========================================================================== */

:root {
	/* Colors – derived from Koreevo brand */
	--color-primary: #273a94;
	--color-secondary: #5dc1cd;
	--color-on-primary: #ffffff;
	--color-on-secondary: #ffffff;
	--color-primary-container: #1d2c6f;
	--color-secondary-container: #4eaab5;
	--color-on-primary-container: #5dc1cd;
	--color-background: #ffffff;
	--color-surface: #ffffff;
	--color-surface-container-low: #f8fafb;
	--color-surface-container: #f0f4f5;
	--color-surface-container-high: #e8eef0;
	--color-on-surface: #191c1e;
	--color-on-surface-variant: #434652;
	--color-outline: #737783;
	--color-outline-variant: #c3c6d4;

	/* Typography */
	--font-headline: "Space Grotesk", sans-serif;
	--font-body: "Inter", sans-serif;
	--font-label: "Manrope", sans-serif;

	/* Border Radius */
	--radius-default: 0.125rem;
	--radius-lg: 0.25rem;
	--radius-xl: 0.5rem;
	--radius-full: 0.75rem;
	--radius-2xl: 1rem;
	--radius-3xl: 1.5rem;

	/* Shadows */
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

	/* Layout */
	--max-width: 80rem; /* 1280px */
	--gutter: 2rem;
}

/* ==========================================================================
   Reset / Normalize
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-on-surface);
	font-family: var(--font-body);
	line-height: 1.5;
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background-color: var(--color-secondary);
	color: #fff;
}

main {
	display: block;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	flex-grow: 1;
}

img {
	border-style: none;
	height: auto;
	max-width: 100%;
}

a {
	color: var(--color-primary);
	background-color: transparent;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	line-height: 1.2;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button {
	cursor: pointer;
	border: none;
	background: none;
}

/* ==========================================================================
   Material Symbols
   ========================================================================== */

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	z-index: 100001;
}

/* ==========================================================================
   Navigation – Glass Effect
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--color-surface-container);
}

.site-header .header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 1rem var(--gutter);
}

.site-header .site-branding {
	height: 2.75rem;
	flex-shrink: 0;
}

@media screen and (min-width: 768px) {
	.site-header .site-branding {
		height: 3.75rem;
	}
}

.site-header .site-branding img,
.site-header .site-branding svg,
.site-header .site-branding .custom-logo {
	height: 100%;
	width: auto;
	object-fit: contain;
}

.site-header .site-branding .custom-logo-link {
	display: block;
	height: 100%;
}

/* Desktop Nav Links */
.site-header .nav-menu {
	display: none;
	align-items: center;
	gap: 2rem;
}

.site-header .nav-menu li a {
	color: var(--color-on-surface-variant);
	font-family: var(--font-label);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: color 0.2s ease;
	text-decoration: none;
}

.site-header .nav-menu li a:hover,
.site-header .nav-menu li a:focus,
.site-header .nav-menu li.current-menu-item a {
	color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	cursor: pointer;
	border: 1px solid var(--color-outline-variant);
	border-radius: var(--radius-xl);
	background: transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
	background-color: var(--color-surface-container);
	border-color: var(--color-primary);
}

.menu-toggle-icon rect {
	fill: var(--color-primary);
	transition: opacity 0.2s ease;
}

/* CTA Button in Nav */
.header-cta {
	display: inline-block;
	background-color: var(--color-primary);
	color: #fff;
	padding: 0.625rem 1.5rem;
	border-radius: var(--radius-xl);
	font-family: var(--font-label);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	box-shadow: var(--shadow-lg);
	transition: background-color 0.2s ease, transform 0.1s ease;
	border: none;
	cursor: pointer;
}

.header-cta:hover {
	background-color: var(--color-primary-container);
	color: #fff;
}

.header-cta:active {
	transform: scale(0.95);
}

@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	.site-header .nav-menu {
		display: flex;
	}
}

/* Toggled mobile menu */
.main-navigation.toggled .nav-menu {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px);
	padding: 1rem var(--gutter);
	border-bottom: 1px solid var(--color-surface-container);
	gap: 1rem;
}

/* ==========================================================================
   Main Content – push below fixed nav
   ========================================================================== */

/* ==========================================================================
   Section Shared Styles
   ========================================================================== */

.section {
	padding: 8rem 0;
}

.section--striped:nth-of-type(odd) {
  background-color: #fff;
}

.section--striped:nth-of-type(even) {
  background-color: var(--color-surface-container-low);
}

.section--white {
	background-color: #fffefe;
	padding: 5rem 0;
}

.section--contact--white {
	background-color: #fffefe;
	padding: 8rem 0;
}

.section--gray {
	padding: 60px 0 !important;
}

.section--light {
	background-color: var(--color-surface-container-low);
}

.section-label {
	display: block;
	color: var(--color-secondary);
	font-family: var(--font-label);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.section-title {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 2.5rem;
	color: var(--color-primary);
	line-height: 1.1;
	margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
	.section-title {
		font-size: 3rem;
	}
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: #fff;
}

@media screen and (max-width: 767px) {
    .hero {
        min-height: 70vh;
    }
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.1;
	filter: grayscale(1);
}

.hero__bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8), transparent);
}

.hero__inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	width: 100%;
	position: relative;
	z-index: 10;
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media screen and (min-width: 768px) {
	.hero__inner {
		grid-template-columns: 1fr 1fr;
	}
}

.hero__badge {
	display: inline-block;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	background-color: var(--color-surface-container);
	color: var(--color-primary);
	font-family: var(--font-label);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

.hero__title {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 3.5rem;
	color: var(--color-primary);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

@media screen and (min-width: 768px) {
	.hero__title {
		font-size: 5rem;
	}
}

.hero__title span {
	color: var(--color-secondary);
}

.hero__content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.hero__text {
	font-size: 1.25rem;
	color: var(--color-on-surface-variant);
	max-width: 32rem;
	line-height: 1.75;
	margin-bottom: 0;
}

.hero__text--wide {
	font-size: 1.25rem;
	color: var(--color-on-surface-variant);
	line-height: 1.75;
	margin-bottom: 0;
}

.hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn-primary {
	display: inline-block;
	background-color: var(--color-primary);
	color: #fff;
	padding: 1rem 2rem;
	border-radius: var(--radius-xl);
	font-family: var(--font-label);
	font-weight: 700;
	font-size: 1rem;
	box-shadow: var(--shadow-xl);
	transition: background-color 0.2s ease, transform 0.1s ease;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background-color: var(--color-primary-container);
	color: #fff;
}

.btn-primary:active {
	transform: scale(0.95);
}

.btn-outline {
	display: inline-block;
	background-color: #fff;
	color: var(--color-primary);
	padding: 1rem 2rem;
	border: 2px solid var(--color-primary);
	border-radius: var(--radius-xl);
	font-family: var(--font-label);
	font-weight: 700;
	font-size: 1rem;
	transition: background-color 0.2s ease, transform 0.1s ease;
	cursor: pointer;
}

.btn-outline:hover {
	background-color: var(--color-surface-container);
	color: var(--color-primary);
}

.btn-outline:active {
	transform: scale(0.95);
}

/* Hero Image Side */
.hero__visual {
	display: none;
	position: relative;
}

@media screen and (min-width: 768px) {
	.hero__visual {
		display: block;
	}
}

.hero__blur-circle {
	position: absolute;
	top: -5rem;
	right: -5rem;
	width: 16rem;
	height: 16rem;
	background-color: var(--color-secondary);
	filter: blur(100px);
	opacity: 0.1;
	z-index: -1;
}

.hero__image-frame {
	background-color: #fff;
	padding: 1rem;
	box-shadow: var(--shadow-2xl);
	position: relative;
	z-index: 10;
	border-radius: 100%;
}

.hero__image-frame img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 100%;
}

.hero__stat-card {
	position: absolute;
	bottom: -2.5rem;
	left: -2.5rem;
	background-color: #fff;
	padding: 1.5rem;
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-xl);
	display: flex;
	align-items: center;
	gap: 1rem;
	border-left: 4px solid var(--color-secondary);
}

.hero__stat-icon {
	padding: 0.75rem;
	background-color: var(--color-surface-container);
	border-radius: var(--radius-xl);
}

.hero__stat-icon .material-symbols-outlined {
	color: var(--color-primary);
}

.hero__stat-number {
	font-size: 1.5rem;
	font-weight: 700;
	font-family: var(--font-headline);
	color: var(--color-primary);
}

.hero__stat-label {
	font-size: 0.75rem;
	color: var(--color-on-surface-variant);
	font-family: var(--font-label);
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about__grid {
	display: grid;
	gap: 5rem;
	align-items: center;
}

@media screen and (min-width: 768px) {
	.about__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.about__image-wrapper {
	position: relative;
}

.about__image-bg {
	position: absolute;
	inset: -1rem;
	background-color: rgba(39, 58, 148, 0.05);
	border-radius: var(--radius-3xl);
	transition: transform 0.3s ease;
}

.about__image-wrapper:hover .about__image-bg {
	transform: scale(1.05);
}

.about__image-wrapper img {
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-2xl);
	position: relative;
	z-index: 10;
	object-fit: cover;
	width: 100%;
}

.about__experience {
	position: absolute;
	top: 50%;
	right: -3rem;
	transform: translateY(-50%);
	background-color: var(--color-primary);
	color: #fff;
	padding: 2rem;
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-2xl);
	display: none;
}

@media screen and (min-width: 1024px) {
	.about__experience {
		display: block;
	}
}

.about__experience-number {
	font-size: 2.5rem;
	font-family: var(--font-headline);
	font-weight: 700;
	line-height: 1;
}

.about__experience-label {
	font-size: 0.75rem;
	font-family: var(--font-label);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	opacity: 0.8;
}

.about__content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.about__title {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 2.5rem;
	color: var(--color-primary);
	line-height: 1.15;
}

@media screen and (min-width: 768px) {
	.about__title {
		font-size: 3rem;
	}
}

.about__description {
	color: var(--color-on-surface-variant);
	font-size: 1.125rem;
	line-height: 1.75;
	margin-bottom: 0;
}

.about__features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding: 1rem 0;
}

.about__feature-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-primary);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.about__feature-header .material-symbols-outlined {
	color: var(--color-secondary);
}

.about__feature-header span:last-child {
	font-family: var(--font-headline);
	font-size: 1.125rem;
}

.about__feature-text {
	font-size: 0.875rem;
	color: var(--color-on-surface-variant);
	margin-bottom: 0;
}

.about__cta {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	color: var(--color-primary);
	font-weight: 700;
	font-family: var(--font-label);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.875rem;
	transition: gap 0.3s ease;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
}

.about__cta:hover {
	gap: 1.5rem;
	color: var(--color-primary);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services__header {
	text-align: center;
	margin-bottom: 5rem;
}

.services__header .section-title {
	margin-top: 1rem;
}

.services__grid {
	display: grid;
	gap: 2rem;
}

@media screen and (min-width: 768px) {
	.services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.service-card {
	background-color: #fff;
	padding: 2.5rem;
	border-radius: var(--radius-3xl);
	border: 1px solid rgba(195, 198, 212, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-2xl);
}

.service-card__icon {
	width: 4rem;
	height: 4rem;
	background-color: var(--color-surface-container-low);
	border-radius: var(--radius-3xl);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2rem;
	transition: background-color 0.3s ease;
}

.service-card:hover .service-card__icon {
	background-color: var(--color-primary);
}

.service-card__icon .material-symbols-outlined {
	font-size: 2.25rem;
	color: var(--color-primary);
	transition: color 0.3s ease;
}

.service-card:hover .service-card__icon .material-symbols-outlined {
	color: #fff;
}

.service-card__title {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-bottom: 1rem;
}

.service-card__desc {
	color: var(--color-on-surface-variant);
	line-height: 1.75;
	margin-bottom: 2rem;
}

.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-secondary);
	font-weight: 700;
	font-family: var(--font-label);
	font-size: 0.875rem;
	text-decoration: none;
}

.service-card:hover .service-card__link {
	text-decoration: underline;
}

.service-card__link .material-symbols-outlined {
	font-size: 0.875rem;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */

.projects__header {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
	.projects__header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

.btn-outline-sm {
	padding: 0.75rem 2rem;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	border-radius: var(--radius-xl);
	font-family: var(--font-label);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.btn-outline-sm:hover {
	background-color: var(--color-surface-container);
}

.projects__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media screen and (min-width: 768px) {
	.projects__grid {
		grid-template-columns: repeat(12, 1fr);
		height: 900px;
	}
}

.project-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-3xl);
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
	transition: transform 0.7s ease;
}

.project-card:hover img {
	transform: scale(1.1);
}

.project-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2rem;
	transform: translateY(1rem);
	transition: transform 0.3s ease;
}

.project-card:hover .project-card__overlay {
	transform: translateY(0);
}

.project-card__label {
	color: var(--color-secondary);
	font-family: var(--font-label);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 0.5rem;
}

.project-card__title {
	font-family: var(--font-headline);
	font-weight: 700;
	color: #fff;
}

.project-card__desc {
	color: rgba(255, 255, 255, 0.7);
	max-width: 28rem;
	margin-bottom: 0;
}

/* Grid placement for project cards */
@media screen and (min-width: 768px) {
	.project-card--featured {
		grid-column: span 6;
	}
	.project-card--side {
		grid-column: span 6;
	}
	.project-card--side-left {
		grid-column: span 6;
	}
	.project-card--wide {
		grid-column: span 6;
	}
}

.project-card--primary { background-color: var(--color-primary); }
.project-card--secondary { background-color: var(--color-secondary); }
.project-card--dark { background-color: var(--color-primary-container); }
.project-card--teal { background-color: var(--color-secondary-container); }

.project-card--featured .project-card__overlay,
.project-card--wide .project-card__overlay {
	padding: 2.5rem;
	background: linear-gradient(to top, var(--color-primary), transparent, transparent);
}

.project-card--secondary .project-card__overlay,
.project-card--dark .project-card__overlay {
	background: linear-gradient(to top, rgba(39, 58, 148, 0.9), transparent, transparent);
}

.project-card--teal .project-card__overlay {
	background: linear-gradient(to top, var(--color-primary), transparent, transparent);
}

.project-card--featured .project-card__title,
.project-card--wide .project-card__title {
	font-size: 1.875rem;
}

.project-card--side .project-card__title,
.project-card--side-left .project-card__title {
	font-size: 1.5rem;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team__header {
	text-align: center;
	margin-bottom: 5rem;
}

.team__header .section-title {
	margin-top: 1rem;
}

.team__grid {
	display: grid;
	gap: 3rem;
}

@media screen and (min-width: 768px) {
	.team__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.team-member {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.team-member__photo-wrapper {
	position: relative;
	display: inline-block;
}

.team-member__photo-shadow {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	transform: translate(0.5rem, 0.5rem);
	transition: transform 0.3s ease;
}

.team-member:hover .team-member__photo-shadow {
	transform: translate(0, 0);
}

.team-member__photo-shadow--secondary { background-color: var(--color-secondary); }
.team-member__photo-shadow--primary { background-color: var(--color-primary); }
.team-member__photo-shadow--teal { background-color: var(--color-secondary-container); }

.team-member__photo {
	position: relative;
	z-index: 10;
	width: 16rem;
	height: 16rem;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
	transition: filter 0.5s ease;
}

.team-member:hover .team-member__photo {
	filter: grayscale(0);
}

.team-member__name {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--color-primary);
}

.team-member__role {
	color: var(--color-secondary);
	font-family: var(--font-label);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */

.reviews__grid {
	display: grid;
	gap: 5rem;
	align-items: center;
}

@media screen and (min-width: 768px) {
	.reviews__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.review-card {
	padding: 2rem;
	background-color: var(--color-surface-container-low);
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-xl);
	position: relative;
}

.review-card__quote-icon {
	position: absolute;
	top: -1rem;
	right: -1rem;
	color: rgba(39, 58, 148, 0.1);
	font-size: 6rem;
}

.review-card__stars {
	display: flex;
	gap: 0.25rem;
	color: var(--color-secondary);
	margin-bottom: 1.5rem;
}

.review-card__text {
	font-size: 1.25rem;
	font-style: italic;
	color: var(--color-on-surface);
	line-height: 1.75;
	margin-bottom: 2rem;
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.review-card__author-photo {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--color-secondary);
}

.review-card__author-name {
	font-family: var(--font-headline);
	font-weight: 700;
	color: var(--color-primary);
}

.review-card__author-title {
	font-size: 0.875rem;
	color: var(--color-on-surface-variant);
}

/* Review Stats */
.review-stats {
	display: none;
}

@media screen and (min-width: 768px) {
	.review-stats {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}
}

.review-stats__col:first-child {
	padding-top: 3rem;
}

.stat-bar {
	background-color: var(--color-surface-container);
	padding: 1.5rem;
	border-radius: var(--radius-3xl);
	border-left: 4px solid var(--color-primary);
}

.stat-bar + .stat-bar {
	margin-top: 1rem;
}

.stat-bar__title {
	font-family: var(--font-headline);
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 0.5rem;
}

.stat-bar__track {
	width: 100%;
	background-color: var(--color-outline-variant);
	height: 0.25rem;
	border-radius: 9999px;
}

.stat-bar__fill {
	height: 100%;
	background-color: var(--color-secondary);
	border-radius: 9999px;
}

/* ==========================================================================
   Blogs Section
   ========================================================================== */

.blogs__header {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
	.blogs__header {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}
}

.blogs__grid {
	display: grid;
	gap: 2rem;
}

@media screen and (min-width: 768px) {
	.blogs__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.blog-card__image-wrapper {
	overflow: hidden;
	border-radius: var(--radius-3xl);
	margin-bottom: 1.5rem;
	box-shadow: var(--shadow-lg);
}

.blog-card__image {
	width: 100%;
	height: 16rem;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image {
	transform: scale(1.05);
}

.blog-card__meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--font-label);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-secondary);
	font-weight: 700;
	margin-bottom: 1rem;
}

.blog-card__meta-dot {
	width: 0.375rem;
	height: 0.375rem;
	background-color: var(--color-primary);
	border-radius: 50%;
}

.blog-card__title {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-bottom: 1rem;
	transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
	color: var(--color-secondary);
}

.blog-card__excerpt {
	color: var(--color-on-surface-variant);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 1rem;
}

.blog-card__readmore {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	transition: color 0.3s ease;
	text-decoration: none;
}

.blog-card:hover .blog-card__readmore {
	color: var(--color-secondary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-wrapper {
	background-color: #fff;
	border-radius: 2rem;
	box-shadow: var(--shadow-2xl);
	overflow: hidden;
	border: 1px solid rgba(195, 198, 212, 0.3);
}

@media screen and (min-width: 768px) {
	.contact-wrapper {
		display: grid;
		grid-template-columns: 3fr 2fr;
	}
}

.contact-form-area {
	padding: 3rem;
}

@media screen and (min-width: 1024px) {
	.contact-form-area {
		padding: 5rem;
	}
}

.contact-form-area__title {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 2.5rem;
	color: var(--color-primary);
	margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
	.contact-form-area__title {
		font-size: 3rem;
	}
}

.contact-form-area__title span {
	color: var(--color-secondary);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.contact-form__row {
	display: grid;
	gap: 1.5rem;
}

@media screen and (min-width: 768px) {
	.contact-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.contact-form label {
	display: block;
	font-family: var(--font-label);
	font-size: 0.875rem;
	color: var(--color-on-surface-variant);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	background-color: var(--color-surface-container-low);
	border: 1px solid var(--color-outline-variant);
	border-radius: var(--radius-xl);
	padding: 1rem;
	font-size: 1rem;
	font-family: var(--font-body);
	color: var(--color-on-surface);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--color-secondary);
	border-color: transparent;
}

.contact-form textarea {
	resize: vertical;
}

.contact-form__submit {
	width: 100%;
	background-color: var(--color-primary);
	color: #fff;
	padding: 1.25rem;
	border: none;
	border-radius: var(--radius-xl);
	font-family: var(--font-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 1rem;
	box-shadow: var(--shadow-lg);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-form__submit:hover {
	background-color: var(--color-primary-container);
}

.contact-form__submit:active {
	transform: scale(0.95);
}

/* Contact Info Sidebar */
.contact-info {
	background-color: var(--color-primary);
	color: #fff;
	padding: 3rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

@media screen and (min-width: 1024px) {
	.contact-info {
		padding: 5rem;
	}
}

.contact-info__title {
	font-family: var(--font-headline);
	font-weight: 700;
	font-size: 1.875rem;
	margin-bottom: 3rem;
}

.contact-info__items {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.contact-info__item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

.contact-info__item .material-symbols-outlined {
	color: var(--color-secondary);
}

.contact-info__item-label {
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.contact-info__item-value {
	color: rgba(255, 255, 255, 0.7);
}

.contact-info__social-label {
	font-family: var(--font-label);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	opacity: 0.6;
	margin-bottom: 1.5rem;
}

.contact-info__social-links {
	display: flex;
	gap: 1.5rem;
}

.contact-info__social-link {
	padding: 0.75rem;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.contact-info__social-link:hover {
	background-color: var(--color-secondary);
}

.contact-info__social-link svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
	color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background-color: #fff;
	border-top: 1px solid rgba(195, 198, 212, 0.3);
	height: 130px;
	min-height: 130px;
	max-height: 130px;
}

.footer__inner {
	height: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 2rem var(--gutter);
	height: 2px;
}

.footer__top {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* gap: 2rem; */
}

@media screen and (min-width: 767px) {
	.footer__top {
		flex-direction: row;
		justify-content: space-between;
	}
}

.footer__logo {
	height: 3.5rem;
}

.footer__logo img,
.footer__logo svg {
	height: 100%;
	width: auto;
	object-fit: contain;
}

.footer__copyright {
	margin-top: 10px;
	color: var(--color-on-surface-variant);
	font-size: 0.875rem;
	font-family: var(--font-label);
}

/* ==========================================================================
   WordPress Specific Overrides
   ========================================================================== */

/* Posts and pages */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

/* Comments */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

embed,
iframe,
object {
	max-width: 100%;
}

/* Captions */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-caption { display: block; }

/* Alignments */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Jetpack infinite scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/* Prevent CF7 validation spans from breaking the flex/grid layout */
.wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* Target the email link specifically within the contact info section */
.contact-info__item-value a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	/* Optional: removes the underline */
	transition: color 0.3s ease;
}

/* Add a hover effect so users know it is clickable */
.contact-info__item-value a:hover {
	color: var(--color-secondary);
}

/* --- Bento Grid Extensions --- */

/* Opacity Utilities for Backgrounds */
.bg-secondary-container-10 {
	background-color: rgba(149, 158, 253, 0.1);
}

.bg-primary-container-20 {
	background-color: rgba(0, 84, 94, 0.2);
}

.bg-primary-5 {
	background-color: rgba(0, 59, 67, 0.05);
}

.bg-primary-10 {
	background-color: rgba(0, 59, 67, 0.1);
}

.bg-secondary-5 {
	background-color: rgba(76, 86, 175, 0.05);
}

/* Border Opacity */
.border-secondary-20 {
	border-color: rgba(76, 86, 175, 0.2);
}

.border-outline-variant-30 {
	border-color: rgba(195, 198, 212, 0.3);
}

.border-outline-variant-10 {
	border-color: rgba(195, 198, 212, 0.1);
}

/* Text Opacity */
.text-on-primary-container-80 {
	color: rgba(0, 207, 231, 0.8);
}

/* Custom Effects */
.hover\:shadow-glow:hover {
	box-shadow: 0 0 20px rgba(76, 86, 175, 0.3);
}

/* Glass Effect for Overlay Cards */
.glass-overlay {
	background: linear-gradient(to right, var(--surface-container-lowest), rgba(255, 255, 255, 0.8), transparent);
}

/* Ensure images in Bento grid fill container */
.md\:col-span-8 img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   Services Bento Grid Extensions
   ========================================================================== */

.services-bento-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	/* Mobile: 1 column */
}

@media screen and (min-width: 768px) {
	.services-bento-grid {
		grid-template-columns: repeat(12, 1fr);
		/* Desktop: 12 columns */
	}

	.service-card.card--wide {
		grid-column: span 6;
	}

	.service-card.card--standard {
		grid-column: span 6;
	}
}

/* Accent Card (Item #5) */
.service-card--accent {
	background-color: var(--color-primary) !important;
	color: white !important;
}

.service-card--accent .service-card__title {
	color: white;
}

.service-card--accent .service-card__desc {
	color: rgba(255, 255, 255, 0.8);
}

.service-card--accent .service-card__icon {
	background-color: rgba(255, 255, 255, 0.1);
}

.service-card--accent .service-card__icon .material-symbols-outlined {
	color: white;
}

/* Inner Alignment for Wide Cards */
.service-card__inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Fix for the_excerpt extra margins */
.service-card__desc p {
	margin-bottom: 0;
}

/* --- Blogs Bento Grid --- */
.projects__grid,
.insights-grid {
	display: grid;
	gap: 2rem;
}

/* Custom Pagination Styling to match HTML Design */
.pagination {
	display: flex;
	justify-content: center;
	list-style: none;
	gap: 0.5rem;
	margin-top: 5rem;
}

.pagination li a,
.pagination li span {
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	transition: all 0.3s ease;
	text-decoration: none;
	color: var(--on-surface-variant);
}

.pagination li a {
	border: 1px solid var(--outline-variant);
}

.pagination li a:hover {
	background: var(--surface-container-high);
}

.pagination li span.current {
	background: var(--primary);
	color: var(--on-primary);
}

/* Line Clamp for excerpt safety */
.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Featured Card Gradient */
.project-card--featured .absolute-gradient {
	background: linear-gradient(to top, rgba(25, 28, 30, 0.9) 0%, rgba(25, 28, 30, 0.4) 40%, transparent 100%);
}

/* ==========================================================================
   Insight Engine (Blogs) Bento Grid
   ========================================================================== */

/* The Main Container */
.insights-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 2rem;
}

@media screen and (min-width: 768px) {
   .insights-grid {
      grid-template-columns: repeat(12, 1fr);
   }

   /* Featured Post (Span 8) */
   .insights-grid article.md\:col-span-8,
   .insights-grid .md-col-8 {
      grid-column: span 8;
   }

   /* Standard Posts (Span 4) */
   .insights-grid article.md\:col-span-4,
   .insights-grid .md-col-4 {
      grid-column: span 4;
   }

   /* Full Width Newsletter (Span 12) */
   .insights-grid .md\:col-span-12,
   .insights-grid .md-col-12 {
      grid-column: span 12;
   }
}

/* Featured Article Overlay Logic */
.insights-grid article.relative {
   position: relative;
   min-height: 400px;
}

.insights-grid .absolute-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, var(--color-on-surface) 0%, transparent 100%);
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 2.5rem;
}

/* ==========================================================================
   WordPress Pagination Styling
   ========================================================================== */

/* Ensure the main container safely separates from the fixed footer structure */
.site-main-content {
	display: block;
	width: 100%;
	clear: both;
}

.blog-main-content {
	display: block;
	width: 100%;
	clear: both;
	background-color: #f8fafb;
}

/* Ensure your grid element contains all floating elements inside itself */
.blogs-forced-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
	clear: both;
}

/* Clear pagination floats and give breathing room above the fixed footer */
.pagination-container {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 50px;
	margin-bottom: 20px;
	clear: both;
}

.pagination-container ul {
	display: flex;
	list-style: none;
	gap: 8px;
	padding: 0;
}


.koreevo-pagination-container {
   margin-top: 5rem;
}

/* This targets the <ul> generated by paginate_links if type is 'list' */
ul.page-numbers {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 0.75rem;
   list-style: none;
   padding: 0;
}

ul.page-numbers li span.current,
ul.page-numbers li a {
   width: 3.5rem;
   height: 3.5rem;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   font-family: var(--font-headline);
   font-weight: 700;
   transition: all 0.3s ease;
}

ul.page-numbers li a {
   border: 1px solid var(--color-outline-variant);
   color: var(--color-on-surface-variant);
}

ul.page-numbers li a:hover {
   background-color: var(--color-surface-container-high);
   border-color: var(--color-primary);
   color: var(--color-primary);
}

ul.page-numbers li span.current {
   background-color: var(--color-primary);
   color: #fff;
}

/* Icon Support for Prev/Next */
ul.page-numbers li a .material-symbols-outlined {
   font-size: 1.5rem;
}

/* ==========================================================================
   ULTIMATE ARCHIVE GRID FIX
   ========================================================================== */

#forced-archive-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr;
	width: 100%;
	clear: both;
}

@media screen and (min-width: 768px) {
	#forced-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	#forced-archive-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Force the articles NOT to be full width inside the grid */
#forced-archive-grid article.blog-card {
	width: 100%;
	max-width: none;
	float: none;
	display: flex;
	flex-direction: column;
	margin: 0;
}

/* Ensure images don't break the container */
#forced-archive-grid .blog-card__image-wrapper img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

/* Style for Filter Buttons */
.filter-btn {
	padding: 10px 20px;
	background: #fff;
	border: 1px solid var(--color-outline-variant);
	border-radius: 30px;
	font-family: var(--font-label);
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--color-on-surface-variant);
	text-decoration: none;
	transition: all 0.3s ease;
}

/* THE ACTIVE STATE */
.filter-btn.is-active {
	background-color: var(--color-primary) !important;
	color: #fff !important;
	border-color: var(--color-primary) !important;
	box-shadow: var(--shadow-lg);
}

.filter-btn:hover:not(.is-active) {
	background-color: var(--color-surface-container);
	border-color: var(--color-primary);
}

/* ==========================================================================
   Pagination Styling
   ========================================================================== */

/* The wrapper generated by paginate_links(array('type' => 'list')) */
.pagination-container .page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 4rem 0 2rem;
}

/* Individual page items (numbers and arrows) */
.pagination-container .page-numbers li a,
.pagination-container .page-numbers li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	height: 3rem;
	padding: 0 0.5rem;
	background: #fff;
	color: var(--color-primary);
	border: 1px solid var(--color-outline-variant);
	border-radius: var(--radius-xl);
	font-family: var(--font-label);
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	transition: all 0.2s ease;
}

/* The "Next" and "Previous" specifically */
.pagination-container .page-numbers li a.prev,
.pagination-container .page-numbers li a.next {
	padding: 0 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.75rem;
}

/* Hover State */
.pagination-container .page-numbers li a:hover {
	border-color: var(--color-primary);
	background-color: var(--color-surface-container-low);
	transform: translateY(-2px);
}

/* Current Page State */
.pagination-container .page-numbers li span.current {
	background-color: var(--color-primary);
	color: #fff;
	border-color: var(--color-primary);
	box-shadow: var(--shadow-lg);
}

/* Dots (...) if you have many pages */
.pagination-container .page-numbers li span.dots {
	border: none;
	background: transparent;
	color: var(--color-outline);
}

/* Responsive adjustment for small screens */
@media screen and (max-width: 480px) {
	.pagination-container .page-numbers {
		gap: 0.4rem;
	}

	.pagination-container .page-numbers li a,
	.pagination-container .page-numbers li span {
		min-width: 2.5rem;
		height: 2.5rem;
		font-size: 0.75rem;
	}
}


/* Author Box Design */
.author-box {
	margin-top: 80px;
	padding-top: 40px;
	border-top: 1px solid var(--color-outline-variant);
}

.author-box__inner {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	background: var(--color-surface-container-low);
	padding: 40px;
	border-radius: var(--radius-3xl);
	position: relative;
	overflow: hidden;
}

/* Catchy Detail: Accent bar */
.author-box__inner::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--color-primary);
}

.author-box__avatar img {
	border-radius: var(--radius-xl);
	filter: grayscale(1);
	transition: 0.3s;
}

.author-box__inner:hover .author-box__avatar img {
	filter: grayscale(0);
}

.author-box__label {
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--color-secondary);
	margin-bottom: 8px;
}

.author-box__name {
	margin-bottom: 12px;
	font-size: 1.5rem;
}

.author-box__name a {
	color: var(--color-primary);
	text-decoration: none;
}

.author-box__bio {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-on-surface-variant);
	margin-bottom: 20px;
}

.author-box__link {
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
	color: var(--color-primary);
}

/* Navigation */
.post-navigation-v2 {
	margin-top: 60px;
	padding: 40px 0;
	border-top: 1px solid #eee;
}

.post-navigation-v2 .nav-links {
	display: flex;
	justify-content: space-between;
}

@media (max-width: 768px) {
	.author-box__inner {
		flex-direction: column;
		text-align: center;
	}

	.author-box__inner::before {
		width: 100%;
		height: 6px;
		bottom: auto;
	}
}


/* Author Card Styling */
.author-card {
	margin: 80px 0;
	padding: 40px;
	background: var(--color-surface-container-low);
	border-radius: var(--radius-3xl);
	border: 1px solid var(--color-outline-variant);
}

.author-card__inner {
	display: flex;
	gap: 32px;
	align-items: center;
}

.author-card__avatar img {
	border-radius: var(--radius-xl);
}

.author-card__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-on-surface-variant);
	margin-bottom: 4px;
}

.author-card__name {
	font-size: 1.5rem;
	margin-bottom: 12px;
	color: var(--color-primary);
}

.author-card__bio {
	font-size: 1rem;
	margin-bottom: 20px;
	color: var(--color-on-surface-variant);
}

/* LinkedIn Button Style */
.author-card__linkedin {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	background: #0077b5;
	/* LinkedIn Blue */
	color: #fff !important;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.85rem;
	transition: transform 0.2s ease, background 0.2s ease;
}

.author-card__linkedin:hover {
	background: #005582;
	transform: translateY(-2px);
}

@media (max-width: 600px) {
	.author-card__inner {
		flex-direction: column;
		text-align: center;
	}

	.author-card__linkedin {
		justify-content: center;
	}
}

/* ==========================================================================
   Single Blog Post Styling
   ========================================================================== */

.blog-single__header {
   padding: 6rem 0 4rem;
   text-align: center;
}

.blog-single__meta-top {
   margin-bottom: 1.5rem;
   font-family: var(--font-label);
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.2em;
   font-size: 0.875rem;
}

.blog-single__category {
   color: var(--color-secondary);
   margin-right: 1rem;
}

.blog-single__date {
   color: var(--color-on-surface-variant);
   opacity: 0.6;
}

.blog-single__title {
   font-family: var(--font-headline);
   font-size: 3rem;
   color: var(--color-primary);
   max-width: 900px;
   margin: 0 auto 2rem;
   line-height: 1.1;
}

.blog-single__intro {
   font-size: 1.25rem;
   color: var(--color-on-surface-variant);
   max-width: 700px;
   margin: 0 auto;
   line-height: 1.6;
}

/* Featured Image Styling */
.blog-single__featured-image {
   margin-top: -3rem; /* Overlap with header */
   margin-bottom: 4rem;
}

.blog-single__featured-image .image-wrapper img {
   width: 100%;
   height: auto;
   border-radius: var(--radius-3xl);
   box-shadow: var(--shadow-2xl);
}

/* Content Area - Narrow for Readability */
.blog-single__content .content-wrapper {
   max-width: 800px;
   margin: 0 auto;
}

.entry-content {
   font-size: 1.125rem;
   line-height: 1.8;
   color: var(--color-on-surface);
}

.entry-content p {
   margin-bottom: 2rem;
}

.entry-content h2, .entry-content h3 {
   color: var(--color-primary);
   margin: 3rem 0 1.5rem;
   font-family: var(--font-headline);
}

/* Navigation between posts */
.blog-single__nav {
   margin-top: 6rem;
   padding: 4rem 0;
}

.nav-links-wrapper .nav-links {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.nav-subtitle {
   display: block;
   font-size: 0.75rem;
   text-transform: uppercase;
   letter-spacing: 0.1em;
   color: var(--color-secondary);
   margin-bottom: 0.5rem;
}

.nav-title {
   font-family: var(--font-headline);
   font-weight: 700;
   color: var(--color-primary);
   font-size: 1.125rem;
}

@media screen and (max-width: 768px) {
   .blog-single__title { font-size: 2.25rem; }
   .nav-links-wrapper .nav-links { grid-template-columns: 1fr; }
		.project-media-frame img {
			height: 300px;
			/* Smaller height for mobile devices */
		}
}


.blog-entry-header {
	padding: 80px 0 40px;
	text-align: left;
	/* Changed to left for a more modern, professional look */
}

.blog-entry-cat {
	font-family: var(--font-label);
	font-weight: 800;
	color: var(--color-secondary);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
}

.blog-entry-title {
	margin: 15px 0 30px;
	color: var(--color-primary);
	line-height: 1.2;
	font-size: 3rem;
}

/* New Author Top Meta Styling */
.author-meta-top {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px solid var(--color-outline-variant);
}

.author-meta-top__avatar img {
	border-radius: 50%;
	border: 2px solid var(--color-primary-container);
}

.author-meta-top__label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-on-surface-variant);
	margin-bottom: 2px;
}

.author-meta-top__details {
	display: flex;
	align-items: center;
	gap: 10px;
}

.author-meta-top__name {
	font-weight: 700;
	color: var(--color-primary);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.2s ease;
}

.author-meta-top__name:hover {
	color: #0077b5;
	/* LinkedIn Blue on hover */
}

.linkedin-icon-small {
	color: #0077b5;
	opacity: 0.8;
}

.meta-dot {
	width: 3px;
	height: 3px;
	background: var(--color-outline);
	border-radius: 50%;
}

.author-meta-top__date {
	font-size: 0.9rem;
	color: var(--color-on-surface-variant);
}

/* Image Styling */
.blog-entry-image {
	margin: 40px 0;
}

.featured-img-small {
	border-radius: var(--radius-2xl);
	width: 100%;
	height: auto;
	box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
	.blog-entry-title {
		font-size: 2.25rem;
	}

	.author-meta-top__details {
		flex-wrap: wrap;
		gap: 5px;
	}
}

/* ==========================================================================
   Single Service Styling
   ========================================================================== */

.service-single__hero {
	padding: 100px 0 60px;
}

.service-single__grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 4rem;
	align-items: center;
}

/* Icon Wrap - Matches Archive Card Style */
.service-single__icon-wrap {
	width: 70px;
	height: 70px;
	background: var(--color-surface-container-high);
	color: var(--color-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-xl);
	margin-bottom: 2rem;
	box-shadow: var(--shadow-sm);
}

.service-single__icon-wrap .material-symbols-outlined {
	font-size: 2.5rem;
}

.service-single__title {
	line-height: 1.1;
	margin-bottom: 1.5rem;
	color: var(--color-primary);
}

/* Image Card - Matches Bento Design */
.service-single__image-card {
	background: #fff;
	padding: 1rem;
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-xl);
	border: 1px solid var(--color-outline-variant);
	overflow: hidden;
}

.service-single__image-card img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-2xl);
	display: block;
}

.service-single__body {
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--color-on-surface);
}

.material-symbols-outlined {
	/* color: black !important; */
	/* font-size: xx-large !important; */
}

/* Responsive */
@media screen and (max-width: 992px) {
	.service-single__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.service-single__title {
		font-size: 3rem;
	}

	.service-single__header {
		text-align: center;
	}

	.service-single__icon-wrap {
		margin: 0 auto 2rem;
	}
}

/* ==========================================================================
   Single Project Page Styles
   ========================================================================== */

.project-single__hero {
	padding: 120px 0 60px;
}

.project-single__header-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 4rem;
}

.project-single__title {
	font-size: 4.5rem;
	line-height: 1.1;
	margin: 0;
	color: var(--color-primary);
}

/* Technical Spec Sheet */
.project-single__spec-sheet {
	display: flex;
	gap: 3rem;
	background: var(--color-surface-container-low);
	padding: 2rem 3rem;
	border-radius: var(--radius-3xl);
	border: 1px solid var(--color-outline-variant);
}

.spec-column label {
	display: block;
	font-family: var(--font-label);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-secondary);
	margin-bottom: 0.5rem;
	font-weight: 800;
}

.spec-column span {
	font-weight: 600;
	color: var(--color-primary);
}

/* Media Frame */
.project-media-frame {
	max-width: 1000px;
	margin: 0 auto 4rem;
	background: #ffffff;
	padding: 1rem;
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-xl);
	border: 1px solid var(--color-outline-variant);
	margin-top: 4rem;
}

.project-media-frame img {
	width: 100%;
	height: 600px;
	object-fit: cover;
	object-position: center;
	border-radius: var(--radius-2xl);
	display: block;
}

/* Content Container */
.container--narrow {
	max-width: 800px;
	margin: 0 auto;
}

.container--narrow-service {
	margin: 0 auto;
}

.project-single__content {
	font-size: 1.2rem;
	line-height: 1.8;
	color: var(--color-on-surface);
}

/* Navigation */
.project-single__footer {
	margin-top: 6rem;
	padding-top: 3rem;
	border-top: 1px solid var(--color-outline-variant);
}

.project-navigation {
	display: flex;
	justify-content: space-between;
}

.nav-link a {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: var(--color-primary);
	transition: color 0.3s ease;
}

.nav-link a:hover {
	color: var(--color-secondary);
}

/* Responsive */
@media screen and (max-width: 1024px) {
	.project-single__header-wrapper {
		flex-direction: column;
		align-items: flex-start;
		gap: 2rem;
	}

	.project-single__title {
		font-size: 3rem;
	}

	.project-single__spec-sheet {
		width: 100%;
		justify-content: space-between;
	}
}

/* Review Slider Structural Adjustments */
.review-slider {
	overflow: hidden;
	position: relative;
	padding-bottom: 2rem;
}

.swiper-slide .reviews__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.swiper-slide-active .reviews__grid {
	opacity: 1;
}

/* Positioning the Arrows */
.review-slider__arrows {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

.swiper-button-prev,
.swiper-button-next {
	position: static !important;
	/* Overrides default Swiper absolute positioning */
	width: 34px !important;
	height: 34px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	background: var(--color-secondary);
	color: #ffffff;
	border-color: var(--color-secondary);
	transform: scale(1.05);
}

.swiper-button-prev::after,
.swiper-button-next::after {
	display: none;
	/* Hide default Swiper font-icons */
}

.section--404 .error-visual span {
	animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 0.5;
		transform: scale(1);
	}

	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}
}

.section--404 .btn--primary:hover {
	filter: brightness(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media screen and (max-width: 992px) {
	.swiper-slide .reviews__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.review-stats__col {
		padding-top: 0 !important;
	}
}

/* About Page Specifics */
.about-hero__grid {
	padding: 60px 0;
}

.value-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-card h3 {
	margin-top: 0;
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.value-card p {
	color: var(--color-on-surface-variant);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Mobile Responsiveness */
@media screen and (max-width: 992px) {

	.about-hero__grid,
	.values-grid {
		grid-template-columns: 1fr !important;
		gap: 40px !important;
	}

	.about-hero__image {
		order: -1;
		/* Move image to top on mobile */
	}
}

h1,
h2,
h3,
.section-title {
	font-family: var(--font-heading);
	font-weight: normal;
	color: var(--color-primary);
	/* Your signature blue */
}

/* Labels look sharp in Beirut Regular */
.section-label {
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 1px; 
	font-size: 1.2rem;
}

.job-row {
	font-family: 'Space Grotesk', sans-serif;
}

.job-row:hover {
	border-color: var(--color-primary) !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transform: translateX(10px);
}

.job-description h2,
.job-description h3 {
	font-family: sans-serif;
	margin-top: 2rem;
	color: var(--color-primary);
}

/* RTL Support */
html[lang="ar"] .job-row:hover {
	transform: translateX(-10px);
}

/* ==========================================================================
   Careers / Jobs System — Redesigned
   ========================================================================== */

/* ── Breadcrumb ─────────────────────────────────────────────────────── */

.breadcrumb-nav {
	font-family: var(--font-body);
	font-size: 0.875rem;
	margin-bottom: 2rem;
	color: var(--color-on-surface-variant);
}

.breadcrumb-nav a {
	color: var(--color-on-surface-variant);
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
	color: var(--color-primary);
}

.breadcrumb-nav .sep {
	margin: 0 0.5rem;
	opacity: 0.4;
}

.breadcrumb-nav .current {
	color: var(--color-primary);
	font-weight: 600;
}

/* ── Careers Hero ───────────────────────────────────────────────────── */

.careers-hero {
	position: relative;
	padding: 8rem 0 5rem;
	background: linear-gradient(160deg, #f8fafb 0%, #e8eef0 40%, rgba(93, 193, 205, 0.08) 100%);
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.careers-hero {
		padding: 6rem 0 1rem 0;
	}
}

.careers-hero__bg-decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.careers-hero__bg-decor::before {
	content: '';
	position: absolute;
	top: -8rem;
	right: -6rem;
	width: 28rem;
	height: 28rem;
	background: radial-gradient(circle, rgba(93, 193, 205, 0.12) 0%, transparent 70%);
	border-radius: 50%;
}

.careers-hero__bg-decor::after {
	content: '';
	position: absolute;
	bottom: -4rem;
	left: -4rem;
	width: 20rem;
	height: 20rem;
	background: radial-gradient(circle, rgba(39, 58, 148, 0.06) 0%, transparent 70%);
	border-radius: 50%;
}

.careers-hero__grid {
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media screen and (min-width: 992px) {
	.careers-hero__grid {
		grid-template-columns: 1.2fr 0.8fr;
	}
}

.careers-hero__content {
	position: relative;
	z-index: 2;
}

.careers-hero__title {
	font-family: var(--font-heading);
	font-size: 3.5rem;
	color: var(--color-primary);
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.careers-hero__title span {
	color: var(--color-secondary);
}

.careers-hero__text {
	font-size: 1.15rem;
	color: var(--color-on-surface-variant);
	line-height: 1.75;
	margin-bottom: 2rem;
	max-width: 520px;
}

.careers-hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
}

.careers-hero__actions .btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.875rem;
}

.careers-hero__actions .btn-primary .material-symbols-outlined {
	font-size: 1.2rem;
}

.careers-hero__linkedin {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	background: #0077b5;
	color: #fff !important;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.careers-hero__linkedin:hover {
	background: #005582;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 119, 181, 0.3);
}

/* Stats */
.careers-hero__visual {
	position: relative;
	z-index: 2;
}

.careers-hero__stats {
	display: grid;
	gap: 1rem;
}

.careers-hero__stat-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(195, 198, 212, 0.25);
	border-radius: var(--radius-3xl);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.careers-hero__stat-item:hover {
	transform: translateX(8px);
	box-shadow: var(--shadow-xl);
}

.careers-hero__stat-item .material-symbols-outlined {
	font-size: 1.75rem;
	color: var(--color-secondary);
	background: rgba(93, 193, 205, 0.1);
	padding: 0.6rem;
	border-radius: var(--radius-xl);
}

.careers-hero__stat-item strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-primary);
	line-height: 1;
}

.careers-hero__stat-item span {
	font-size: 0.8rem;
	color: var(--color-on-surface-variant);
}

@media screen and (min-width: 768px) {
	.careers-hero__title {
		font-size: 4.5rem;
	}
}

/* ── Section Header ─────────────────────────────────────────────────── */

.careers-section-header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--color-outline-variant);
}

@media screen and (min-width: 768px) {
	.careers-section-header {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}
}

.careers-section-header__count {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	background: rgba(93, 193, 205, 0.08);
	border: 1px solid rgba(93, 193, 205, 0.2);
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
}

.careers-section-header__count .material-symbols-outlined {
	font-size: 1rem;
	color: var(--color-secondary);
}

/* ── Job Cards Grid ─────────────────────────────────────────────────── */

.careers-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
	.careers-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.careers-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.job-card {
	display: flex;
	flex-direction: column;
	padding: 2rem;
	background: #fff;
	border: 1px solid rgba(195, 198, 212, 0.3);
	border-radius: var(--radius-3xl);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	position: relative;
	overflow: hidden;
}

.job-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--color-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.job-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-2xl);
	border-color: var(--color-primary);
}

.job-card:hover::before {
	transform: scaleX(1);
}

.job-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
}

.job-card__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	color: var(--color-primary);
	line-height: 1.3;
	margin: 0;
}

.job-card__excerpt {
	color: var(--color-on-surface-variant);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.job-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.job-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.8rem;
	color: var(--color-on-surface-variant);
}

.job-card__meta-item .material-symbols-outlined {
	font-size: 1rem;
	color: var(--color-secondary);
}

.job-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(195, 198, 212, 0.2);
	padding-top: 1rem;
	margin-top: auto;
}

.job-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: gap 0.3s ease;
}

.job-card:hover .job-card__cta {
	gap: 1rem;
	color: var(--color-secondary);
}

.job-card__cta .material-symbols-outlined {
	font-size: 1rem;
}

.job-card__deadline {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.75rem;
	background: rgba(220, 38, 38, 0.05);
	color: #dc2626;
	border: 1px solid rgba(220, 38, 38, 0.15);
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
}

.job-card__deadline .material-symbols-outlined {
	font-size: 0.9rem;
}

/* ── Job Badges ─────────────────────────────────────────────────────── */

.job-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 50px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
	line-height: 1.4;
}

.badge--green {
	background: rgba(22, 163, 74, 0.1);
	color: #16a34a;
}

.badge--blue {
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

.badge--orange {
	background: rgba(234, 88, 12, 0.1);
	color: #ea580c;
}

.badge--purple {
	background: rgba(147, 51, 234, 0.1);
	color: #9333ea;
}

.badge--teal {
	background: rgba(13, 148, 136, 0.1);
	color: #0d9488;
}

.badge--default {
	background: var(--color-surface-container);
	color: var(--color-on-surface-variant);
}

.badge--outline {
	background: transparent;
	border: 1px solid var(--color-outline-variant);
	color: var(--color-on-surface-variant);
}

.badge--expired {
	background: rgba(220, 38, 38, 0.1);
	color: #dc2626;
}

/* ── Careers Empty State ────────────────────────────────────────────── */

.careers-empty {
	text-align: center;
	padding: 2rem 2rem 6rem 2rem;
	height: 20px;
}

.careers-empty__icon {
	font-size: 4rem;
	color: var(--color-outline-variant);
	margin-bottom: 1.5rem;
}

.careers-empty h2 {
	font-family: var(--font-heading);
	color: var(--color-primary);
	margin-bottom: 1rem;
}

.careers-empty p {
	color: var(--color-on-surface-variant);
	max-width: 500px;
	margin: 0 auto 2rem;
}

/* ==========================================================================
   Single Job Detail – Split Layout
   ========================================================================== */

.job-single-section {
	padding-top: 6rem;
}

.job-detail {
	display: grid;
	gap: 3rem;
	grid-template-columns: 1fr;
	align-items: start;
}

@media screen and (min-width: 992px) {
	.job-detail {
		grid-template-columns: 1.5fr 1fr;
	}
}

/* ── Left: Job Details ──────────────────────────────────────────────── */

.job-detail__header {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--color-outline-variant);
}

.job-detail__title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	color: var(--color-primary);
	line-height: 1.15;
	margin-bottom: 1.25rem;
}

@media screen and (min-width: 768px) {
	.job-detail__title {
		font-size: 3rem;
	}
}

.job-detail__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.job-detail__info-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
	padding: 1.25rem 1.5rem;
	background: var(--color-surface-container-low);
	border-radius: var(--radius-xl);
	border: 1px solid rgba(195, 198, 212, 0.2);
}

.job-detail__info-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.875rem;
	color: var(--color-on-surface-variant);
}

.job-detail__info-item .material-symbols-outlined {
	font-size: 1.1rem;
	color: var(--color-secondary);
}

.job-detail__content {
	margin-bottom: 3rem;
}

.job-detail__content h2,
.job-detail__content h3 {
	font-family: var(--font-heading);
	color: var(--color-primary);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.job-detail__content p {
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.job-detail__content ul,
.job-detail__content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
	list-style: disc;
}

.job-detail__content li {
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

.job-detail__social {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-outline-variant);
}

/* ── Right: Application Sidebar ─────────────────────────────────────── */

.job-detail__sidebar-inner {
	background: #fff;
	border: 1px solid rgba(195, 198, 212, 0.3);
	border-radius: var(--radius-3xl);
	padding: 2rem;
	box-shadow: var(--shadow-xl);
}

@media screen and (min-width: 992px) {
	.job-detail__sidebar-inner {
		position: sticky;
		top: 6rem;
	}
}

/* ── Expired Alert ──────────────────────────────────────────────────── */

.job-expired-alert {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background: rgba(220, 38, 38, 0.06);
	border: 1px solid rgba(220, 38, 38, 0.2);
	border-radius: var(--radius-xl);
	margin-bottom: 2rem;
	color: #991b1b;
}

.job-expired-alert .material-symbols-outlined {
	font-size: 1.5rem;
	color: #dc2626;
	flex-shrink: 0;
	margin-top: 2px;
}

.job-expired-alert strong {
	display: block;
	margin-bottom: 0.25rem;
}

.job-expired-alert p {
	font-size: 0.9rem;
	margin: 0;
	opacity: 0.8;
}

/* Expired detail state */
.job-detail--expired .job-detail__title {
	opacity: 0.6;
}

/* ── Application Closed Box ─────────────────────────────────────────── */

.application-closed {
	text-align: center;
	padding: 2rem 1rem;
}

.application-closed__icon {
	font-size: 3rem;
	color: var(--color-outline-variant);
	margin-bottom: 1rem;
}

.application-closed h3 {
	font-family: var(--font-heading);
	color: var(--color-primary);
	margin-bottom: 0.75rem;
}

.application-closed p {
	font-size: 0.9rem;
	color: var(--color-on-surface-variant);
	margin-bottom: 0;
}

/* ── Application Form ───────────────────────────────────────────────── */

.application-form__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	color: var(--color-primary);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--color-primary);
}

.application-form__title .material-symbols-outlined {
	color: var(--color-secondary);
}

.application-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.application-form__field {
	margin-bottom: 1.25rem;
}

.application-form__field label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-on-surface-variant);
	margin-bottom: 0.4rem;
}

.application-form__field label .required {
	color: #dc2626;
}

.application-form__field input[type="text"],
.application-form__field input[type="email"],
.application-form__field input[type="tel"] {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--color-outline-variant);
	border-radius: var(--radius-xl);
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--color-on-surface);
	background: var(--color-surface-container-low);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.application-form__field input:focus {
	outline: none;
	border-color: var(--color-secondary);
	box-shadow: 0 0 0 3px rgba(93, 193, 205, 0.15);
}

/* Upload zone */
.application-form__upload {
	position: relative;
	border: 2px dashed var(--color-outline-variant);
	border-radius: var(--radius-xl);
	padding: 1.25rem;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.application-form__upload:hover {
	border-color: var(--color-secondary);
	background: rgba(93, 193, 205, 0.03);
}

.application-form__upload.has-file {
	border-color: var(--color-secondary);
	background: rgba(93, 193, 205, 0.06);
}

.application-form__upload input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.application-form__upload-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	pointer-events: none;
}

.application-form__upload-label .material-symbols-outlined {
	font-size: 2rem;
	color: var(--color-secondary);
}

.application-form__upload-label span:last-child {
	font-size: 0.8rem;
	color: var(--color-on-surface-variant);
}

/* Submit button */
.application-form__submit {
	width: 100%;
	padding: 1rem;
	background: var(--color-primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-xl);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.application-form__submit:hover {
	background: var(--color-primary-container);
}

.application-form__submit:active {
	transform: scale(0.97);
}

.application-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.application-form__submit-loader {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Spinner animation */
@keyframes spin {
	to { transform: rotate(360deg); }
}

.spinning {
	animation: spin 1s linear infinite;
}

/* Messages */
.application-form__message {
	padding: 1rem;
	border-radius: var(--radius-xl);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.application-form__message--success {
	background: rgba(22, 163, 74, 0.08);
	color: #16a34a;
	border: 1px solid rgba(22, 163, 74, 0.2);
}

.application-form__message--error {
	background: rgba(220, 38, 38, 0.06);
	color: #dc2626;
	border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media screen and (max-width: 600px) {
	.careers-hero__title {
		font-size: 2.5rem;
	}

	.careers-banner__inner {
		flex-direction: column;
		text-align: center;
	}

	.application-form__row {
		grid-template-columns: 1fr;
	}

	.job-detail__title {
		font-size: 2rem;
	}

	.job-detail__info-bar {
		flex-direction: column;
		gap: 0.75rem;
	}
}

/* ── Can't Find the Right Role? CTA ─────────────────────────────────── */

.careers-cta {
	padding: 5rem 0;
	background-color: #fffefe;
}

.careers-cta__wrapper {
	position: relative;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
	border-radius: var(--radius-3xl);
	padding: 4rem 2rem !important;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

.careers-cta__decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.careers-cta__circle {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.careers-cta__circle--1 {
	top: -10rem;
	left: -5rem;
	width: 25rem;
	height: 25rem;
}

.careers-cta__circle--2 {
	bottom: -15rem;
	right: -10rem;
	width: 35rem;
	height: 35rem;
}

.careers-cta__content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin: 0 auto;
}

.careers-cta__icon-wrap {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 4rem;
	height: 4rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(8px);
}

.careers-cta__icon-wrap .material-symbols-outlined {
	font-size: 2rem;
	color: var(--color-secondary);
}

.careers-cta__title {
	font-family: var(--font-heading);
	font-size: 2.25rem;
	color: #fff;
	margin-bottom: 1rem;
}

.careers-cta__text {
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 2rem;
}

.careers-cta__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.careers-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	background: #fff;
	color: var(--color-primary);
	border-radius: 50px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.careers-cta__btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.careers-cta__btn .material-symbols-outlined {
	font-size: 1.25rem;
}

.careers-cta__email {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

@media screen and (min-width: 768px) {
	.careers-cta__wrapper {
		padding: 5rem 3rem;
	}
	.careers-cta__title {
		font-size: 2.75rem;
	}
}


/* Container for the response message */
.wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 15px 20px !important;
	border-radius: 8px !important;
	font-family: 'Hacen Beirut', sans-serif !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	border: 2px solid transparent !important;
	text-align: center !important;
}

/* 1. Success Message Styling */
.wpcf7 form.sent .wpcf7-response-output {
	background-color: #ecfdf5 !important;
	/* Light green */
	border-color: #10b981 !important;
	/* Brand green */
	color: #065f46 !important;
}

/* 2. Error / Validation Message Styling */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unconfirmed .wpcf7-response-output {
	background-color: #fef2f2 !important;
	/* Light red */
	border-color: #ef4444 !important;
	/* Brand red */
	color: #991b1b !important;
}

/* 3. Spam / Warning Styling */
.wpcf7 form.spam .wpcf7-response-output {
	background-color: #fffbeb !important;
	/* Light yellow */
	border-color: #f59e0b !important;
	color: #92400e !important;
}

/* 4. Individual Field Validation Errors (Inline) */
.wpcf7-not-valid-tip {
	color: #ef4444 !important;
	font-family: 'Hacen Beirut', sans-serif !important;
	font-size: 13px !important;
	margin-top: 5px !important;
	display: block !important;
}

.wpcf7-tel {
		width: 100%;
		background-color: var(--color-surface-container-low);
		border: 1px solid var(--color-outline-variant);
		border-radius: var(--radius-xl);
		padding: 1rem;
		font-size: 1rem;
		font-family: var(--font-body);
		color: var(--color-on-surface);
		transition: box-shadow 0.2s ease, border-color 0.2s ease;
}