@import
	url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap')
	;

* {
	box-sizing: border-box;
}

:root {
	--blue: #075b9f; 
	--blue-dark: #064878;
	--orange: #f28a27; 
	--text: #17324d; 
	--muted: #687789; 
	--border: #e8edf2; 
	--bg: #f8fafc;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Cairo", Tahoma, Arial, sans-serif;
	color: var(--text);
	background: #fff;
}

button, input, select {
	font-family: inherit;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	/*
	width: min(1180px, calc(100% - 56px));
	margin: auto;*/
	width: 100%;
	margin: 4px;
	
	background-color:yellow; 
}

/* Header */
.site-header {
	height: 74px;
	background: #fff;
	border-bottom: 1px solid #e7ebef;
	position: sticky;
	top: 0;
	z-index: 20;
	
}

.header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 26px;
}

.brand img {
	width: 115px;
	height: 45px;
	object-fit: cover;
	object-position: center;
	mix-blend-mode: multiply;
}

.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	gap: 27px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.main-nav a {
	padding: 25px 0 20px;
	border-bottom: 2px solid transparent;
}

.main-nav a:hover, .main-nav .active {
	color: var(--blue);
	border-bottom-color: var(--orange);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-pill {
	border: 1px solid #e4e9ee;
	background: #fff;
	border-radius: 24px;
	padding: 9px 16px;
	cursor: pointer;
}

.login-btn {
	color: #fff;
	background: var(--blue);
	border-radius: 8px;
	padding: 10px 19px;
	font-size: 13px;
	font-weight: 700;
}

/* Hero */
.hero {
	height: 340px;
	position: relative;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .10),
		rgba(0, 0, 0, .76));
}

.hero-content {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
}

.hero-copy {
	width: 100%;
	text-align: right;
	color: #fff;
}

.hero-copy h1 {
	margin: 0 0 4px;
	font-size: clamp(28px, 3.3vw, 44px);
	line-height: 1.35;
	font-weight: 800;
}

.hero-copy p {
	font-size: 18px;
	margin: 0 0 18px;
}

.search-box {
	width: min(790px, 100%);
	margin-right: 0;
	margin-left: auto;
	background: #fff;
	padding: 7px;
	border-radius: 9px;
	display: flex;
	gap: 5px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.search-box select {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 12px;
	color: #536577;
	background: #fff;
	outline: none;
	font-size: 16px;
}

.primary-btn {
	border: 0;
	background: var(--orange);
	color: #fff;
	border-radius: 7px;
	padding: 0 27px;
	font-weight: 700;
	cursor: pointer;
	font-size: 16px;
}

.hero-stats {
	width: min(790px, 100%);
	margin-top: 17px;
	margin-left: auto;
	display: flex;
	justify-content: space-between;
	color: #fff;
	font-size: 14px;
}

/* Sections */
.section {
	padding: 28px 0 8px;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;

}

.section-head h2 {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
}

.section-head a {
	font-size: 13px;
	color: #647789;
}

/* Specialties */
.specialty-grid {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 12px;
}

.specialty {
	min-height: 92px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: linear-gradient(180deg, #fff, #fbfcfd);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	transition: .2s;
}

.specialty:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(20, 50, 80, .08);
}

.specialty i {
	width: 39px;
	height: 39px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-style: normal;
	font-size: 22px;
	color: var(--blue);
	background: #edf7ff;
}

.specialty span {
	font-size: 12px;
	font-weight: 700;
}

/* Craftsmen */
.cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.craft-card {
	position: relative;
	border: 1px solid #e3e9ee;
	border-radius: 11px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 3px 14px rgba(16, 47, 75, .05);
}

/* org*/
.card-image {
	height: 132px;
	overflow: hidden;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* new
.card-image {
  height: 132px;
  overflow: hidden;
  background-color: #f4f4f4; 
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}
*/
.verified {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #18a968;
	color: #fff;
	padding: 3px 8px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 700;
}

.card-body {
	padding: 9px 11px 11px;
}

.rating {
	direction: ltr;
	font-size: 12px;
	font-weight: 700;
}

.rating span {
	color: #f6ad00;
	letter-spacing: -2px;
	margin: 0 3px;
}

.rating small {
	color: #7a8792;
	font-weight: 400;
}

.card-body h3 {
	margin: 6px 0 0;
	font-size: 15px;
}

.card-body p {
	margin: 2px 0;
	font-size: 11px;
	color: #677888;
}

.card-body .location {
	margin-top: 7px;
}

.price {
	margin-top: 5px !important;
}

.card-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
	margin-top: 9px;
}

.card-actions button {
	padding: 7px 3px;
	border-radius: 7px;
	cursor: pointer;
	font-weight: 700;
	font-size: 11px;
}

.outline-btn {
	background: #fff;
	border: 1px solid #9db8ce;
	color: var(--blue);
}

.blue-btn {
	background: var(--blue);
	color: #fff;
	border: 1px solid var(--blue);
}

/* Feature cards */
.features {
	padding-top: 10px;
	padding-bottom: 4px;
	margin-bottom: 2px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.feature-card {
	min-height: 190px;
	position: relative;
	overflow: hidden;
	border-radius: 9px;
	background: #eef7fc;
	display: flex;
	align-items: stretch;
}

.feature-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-content {
	position: relative;
	width: 100%;
	padding: 35px 25px;
	text-align: center;
}

.feature-content h3 {
	margin: 0 0 6px;
	font-size: 19px;
}

.feature-content p {
	font-size: 12px;
	color: #526779;
}

.feature-content button {
	border: 0;
	border-radius: 6px;
	background: var(--blue);
	color: #fff;
	padding: 8px 19px;
	font-weight: 700;
	cursor: pointer;
}

/* Join */
.join {
	padding: 0 0 26px;
}

.join-inner {
	height: 116px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	background: #15364e;
	color: #fff;
	display: flex;
	align-items: center;
	padding-bottom: 10px;
}

.join-inner>img {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 55%;
	object-fit: cover;
	opacity: .72;
}

.join-inner>div {
	position: relative;
	z-index: 2;
	padding-right: 38px;
}

.join h2 {
	margin: 0;
	font-size: 20px;
	color: #fff;
}

.join p {
	margin: 2px 0 9px;
	font-size: 12px;
}

.orange-btn {
	border: 0;
	background: var(--orange);
	color: #fff;
	border-radius: 6px;
	padding: 8px 21px;
	font-weight: 700;
	cursor: pointer;
}

/* Footer */
.footer {
	background: #fff;
	border-top: 1px solid #e5e9ed;
	padding-top: 28px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.7fr;
	gap: 30px;
	padding-bottom: 25px;
}

.footer-brand img {
	width: 115px;
	height: 45px;
	object-fit: cover;
	object-position: center;
	mix-blend-mode: multiply;
}

.footer-brand p, .footer p {
	color: #6e7e8b;
	font-size: 11px;
}

.social {
	margin-top: 12px;
	color: #617b91;
}

.footer h4 {
	margin: 0 0 10px;
	font-size: 13px;
}

.footer a {
	display: block;
	margin: 5px 0;
	font-size: 11px;
	color: #627585;
}

.newsletter input {
	width: 100%;
	border: 1px solid #dfe6eb;
	border-radius: 6px;
	padding: 9px;
	outline: none;
}

.newsletter button {
	width: 100%;
	margin-top: 7px;
	border: 0;
	border-radius: 6px;
	background: var(--blue);
	color: #fff;
	padding: 9px;
	font-weight: 700;
}

.copyright {
	border-top: 1px solid #edf0f2;
	padding: 12px 0;
	color: #89949d;
	font-size: 10px;
	display: flex;
	justify-content: space-between;
}

/* Responsive */
@media ( max-width : 1000px) {
	.main-nav {
		gap: 12px;
		font-size: 11px;
	}
	.specialty-grid {
		grid-template-columns: repeat(5, 1fr);
	}
	.cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media ( max-width : 700px) {
	.container {
		width: min(100% - 28px, 1180px);
	}
	.site-header {
		height: auto;
	}
	.header-inner {
		flex-wrap: wrap;
		padding: 10px 0;
	}
	.main-nav {
		order: 3;
		width: 100%;
		overflow-x: auto;
		justify-content: flex-start;
	}
	.main-nav a {
		padding: 8px 0;
	}
	.hero {
		height: 500px;
	}
	.search-box {
		flex-direction: column;
	}
	.primary-btn {
		min-height: 46px;
	}
	.hero-stats {
		flex-direction: column;
		gap: 6px;
	}
	.specialty-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.cards {
		grid-template-columns: 1fr;
	}
	.join-inner {
		height: 180px;
	}
	.join-inner>img {
		width: 100%;
		opacity: .25;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.copyright {
		flex-direction: column;
		gap: 8px;
	}
	.feature-grid {
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		overflow-y: hidden;
		gap: 8px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 12px;
	}
	.feature-grid::-webkit-scrollbar {
		display: none;
	}
	.feature-card {
		flex: 0 0 95%;
		scroll-snap-align: start;
	}
}