/* ==========================================================================
   Ibtidah Job Pages Branding
   ========================================================================== */

/* ---------- Custom Jobs Navbar ---------- */
.ibt-navbar {
	background: #fff;
	border-bottom: 1px solid var(--gray-200);
	padding: 0.75rem 0;
}

.ibt-navbar .container {
	display: flex;
	align-items: center;
}

.ibt-navbar-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.ibt-navbar-brand:hover {
	text-decoration: none;
	color: inherit;
}

.ibt-navbar-brand img {
	height: 32px;
	width: auto;
}

.ibt-navbar-name {
	font-weight: 700;
	font-size: 1.1rem;
	color: #1a1a1a;
}

.ibt-navbar-sep {
	color: var(--gray-400);
	font-size: 1.1rem;
}

.ibt-navbar-label {
	font-weight: 500;
	font-size: 1.1rem;
	color: var(--gray-600);
}

/* ---------- Hero Section ---------- */
.ibt-hero {
	position: relative;
	/* break out of .container to fill viewport width */
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-bottom: 2.5rem;
	overflow: hidden;
	background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 25%, #fce7f3 50%, #fef3c7 75%, #dbeafe 100%);
	background-size: 200% 200%;
	animation: ibt-gradient-shift 12s ease-in-out infinite;
}

@keyframes ibt-gradient-shift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

.ibt-hero-inner {
	position: relative;
	max-width: 1140px;
	margin: 0 auto;
	padding: 4rem 2rem 3.5rem;
}

.ibt-hero-badge {
	display: inline-block;
	padding: 0.3rem 0.9rem;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.8);
	color: #6d28d9;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(4px);
}

.ibt-hero-title {
	font-size: 3rem;
	font-weight: 800;
	color: #1e1b4b;
	margin: 0 0 1rem;
	letter-spacing: -0.035em;
	line-height: 1.1;
	max-width: 560px;
}

.ibt-hero-sub {
	font-size: 1.1rem;
	color: #4b5563;
	margin: 0;
	line-height: 1.65;
	max-width: 520px;
	font-weight: 400;
}

/* ---------- Detail Page Header ---------- */
.ibt-detail-header {
	display: flex;
	align-items: center;
	padding: 1rem 1.25rem;
	background: #fafafa;
	border: 1px solid var(--gray-200);
	border-radius: 12px;
	margin-bottom: 1.5rem;
}

.ibt-detail-logo {
	height: 44px;
	width: auto;
	margin-right: 1rem;
}

.ibt-detail-company {
	font-weight: 600;
	font-size: 1.05rem;
	color: #1a1a1a;
	line-height: 1.3;
}

.ibt-detail-label {
	font-size: 0.8rem;
	color: var(--gray-600);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---------- Detail Page Meta Section ---------- */
.ibt-detail-meta {
	background: var(--gray-50);
	border-radius: 12px;
	border: 1px solid var(--gray-100);
}

/* ---------- Job Cards ---------- */
.ibt-job-card {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	border-radius: 12px !important;
}

.ibt-job-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* ---------- Apply Button ---------- */
.ibt-apply-btn {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
	font-weight: 600;
	border-radius: 8px;
	padding: 0.6rem 1.8rem;
	transition: background 0.2s ease;
}

.ibt-apply-btn:hover,
.ibt-apply-btn:focus {
	background: #333;
	border-color: #333;
	color: #fff;
}

/* ---------- Footer Cleanup ---------- */
.web-footer {
	border-top: 1px solid var(--gray-200);
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.web-footer .footer-info {
	font-size: 0.85rem;
	color: var(--gray-600);
}

.web-footer .footer-powered {
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

/* ---------- Jobs Listing Page Overrides ---------- */
body.jobs-page {
	background: #fff;
}

body.jobs-page .page-breadcrumbs {
	display: none;
}

/* ---------- Typography ---------- */
h3.jobs-page {
	font-size: 1.7rem;
}

h4.jobs-page {
	font-size: 1.35rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.ibt-hero-inner {
		padding: 2.5rem 1.25rem 2rem;
	}

	.ibt-hero-title {
		font-size: 2.2rem;
	}

	.ibt-hero-sub {
		font-size: 1rem;
	}

	.ibt-detail-header {
		padding: 0.75rem 1rem;
	}

	.ibt-detail-logo {
		height: 36px;
	}
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
	.ibt-hero { animation: none !important; }
}
