/* ==========================================================================
   Omkara Infratech – theme styles (loaded after Bootstrap 5)
   Colours from the current site: olive #7A6F51, ink #161618, light #F7F7F7
   ========================================================================== */

:root {
	--omk-olive: #7A6F51;
	--omk-olive-dark: #615840;
	--omk-olive-light: #CBBE95;
	--omk-ink: #161618;
	--omk-grey: #666666;
	--omk-light: #F7F7F7;
	--omk-line: #E6E6E6;
	--omk-header-h: 92px;
	--omk-font-head: 'Syne', sans-serif;
	--omk-font-body: 'Poppins', sans-serif;
}

/* ---------- Base ---------- */
body {
	font-family: var(--omk-font-body);
	font-size: 15px;
	line-height: 1.7;
	color: var(--omk-grey);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
body.omk-has-fixed-header { padding-top: var(--omk-header-h); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--omk-font-head);
	font-weight: 700;
	color: var(--omk-ink);
	line-height: 1.2;
}
a { color: var(--omk-olive); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--omk-olive-dark); }
img { max-width: 100%; height: auto; }

.omk-skip { position: absolute; left: 16px; top: 8px; z-index: 2000; background: #fff; padding: 8px 12px; }

.omk-container {
	width: 100%;
	max-width: 1288px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}
.omk-narrow { max-width: 860px; }

.omk-section { padding: 100px 0; }
.omk-bg-light { background: var(--omk-light); }
.omk-muted { color: #8a8a8a; }

/* Block spacing reset inside our sections */
.omk-blocks .wp-block-group,
.omk-blocks .wp-block-columns { margin-top: 0; margin-bottom: 0; }
.omk-blocks p:last-child { margin-bottom: 0; }

/* ---------- Shared text styles (use as "Additional CSS class" in the editor) ---------- */
.omk-eyebrow {
	font-family: var(--omk-font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .25em;
	text-transform: uppercase;
	color: var(--omk-olive);
	margin-bottom: 12px;
}
.omk-eyebrow--light { color: var(--omk-olive-light); }

.omk-title {
	font-size: clamp(30px, 3.2vw, 40px);
	margin-bottom: 24px;
}
.omk-title--rule::after {
	content: "";
	display: block;
	width: 60px;
	height: 2px;
	background: var(--omk-olive);
	margin-top: 20px;
}
.omk-subtitle { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 18px; }
.omk-lead { font-size: 16px; max-width: 760px; margin-left: auto; margin-right: auto; }

.omk-head { text-align: center; margin-bottom: 56px; }

.omk-quote {
	border-left: 3px solid var(--omk-olive);
	padding-left: 18px;
	font-family: var(--omk-font-head);
	font-weight: 700;
	font-size: 18px;
	color: var(--omk-ink);
	line-height: 1.5;
	margin-top: 28px;
}

.omk-btn,
.wpcf7-submit.omk-btn {
	display: inline-block;
	background: #000;
	color: #fff;
	border: 0;
	border-radius: 0;
	padding: 13px 30px;
	font-family: var(--omk-font-body);
	font-size: 14px;
	font-weight: 500;
	transition: background .2s ease;
}
.omk-btn:hover { background: var(--omk-olive); color: #fff; }

.omk-link { font-weight: 500; color: var(--omk-olive); }
.omk-link:hover { text-decoration: underline; }

/* ==========================================================================
   Header – fixed, logo extreme left, menu centred
   ========================================================================== */
.omk-header {
	background: #fff;
	border-bottom: 1px solid #ececec;
	transition: box-shadow .25s ease;
	z-index: 1030;
}
.omk-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.admin-bar .omk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .omk-header { top: 46px; } }

.omk-navbar { padding: 0; min-height: var(--omk-header-h); }
.omk-header__inner { padding-left: 24px; padding-right: 24px; }

.omk-logo img, .omk-logo .custom-logo { max-height: 72px; width: auto; display: block; }
.omk-logo--text { display: inline-flex; flex-direction: column; line-height: 1; background: var(--omk-olive); padding: 12px 16px; }
.omk-logo__name { font-family: var(--omk-font-head); font-weight: 800; letter-spacing: .12em; color: #fff; font-size: 20px; }
.omk-logo__sub { font-size: 10px; letter-spacing: .4em; color: var(--omk-olive-light); margin-top: 4px; }

.omk-nav .nav-link {
	position: relative;
	color: #000;
	font-size: 15px;
	font-weight: 500;
	padding: 10px 14px !important;
	white-space: nowrap;
}
.omk-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 2px;
	background: var(--omk-olive);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.omk-nav .nav-link:hover,
.omk-nav .nav-link:focus,
.omk-nav .nav-item.active > .nav-link { color: var(--omk-olive); }
.omk-nav .nav-link:hover::after,
.omk-nav .nav-item.active > .nav-link::after { transform: scaleX(1); }

.omk-caret {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg);
	margin-left: 8px;
	position: relative;
	top: -3px;
}

.omk-dropdown {
	border: 0;
	border-top: 2px solid var(--omk-olive);
	border-radius: 0;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
	padding: 8px 0;
	min-width: 240px;
	margin-top: 0;
}
.omk-dropdown .dropdown-item {
	color: #000;
	font-size: 14px;
	padding: 10px 20px;
	white-space: normal;
}
.omk-dropdown .dropdown-item:hover,
.omk-dropdown .dropdown-item:focus,
.omk-dropdown .dropdown-item.active {
	background: var(--omk-light);
	color: var(--omk-olive);
}

.omk-toggler { border: 0; padding: 10px 4px; box-shadow: none !important; }
.omk-toggler span { display: block; width: 26px; height: 2px; background: var(--omk-ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.omk-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.omk-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.omk-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.omk-sub-toggle { background: none; border: 0; padding: 10px 14px; color: #000; }

@media (min-width: 1200px) {
	.omk-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}
	.omk-header__brand { justify-self: start; }
	.omk-header__menu { justify-content: center; }
	.omk-nav .dropdown { position: relative; }
	.omk-nav .dropdown > .dropdown-menu { display: block; visibility: hidden; opacity: 0; transform: translateY(8px); transition: all .2s ease; top: 100%; left: 0; }
	.omk-nav .dropdown:hover > .dropdown-menu,
	.omk-nav .dropdown:focus-within > .dropdown-menu { visibility: visible; opacity: 1; transform: none; }
}

@media (max-width: 1199.98px) {
	:root { --omk-header-h: 80px; }
	.omk-logo img, .omk-logo .custom-logo { max-height: 60px; }
	.omk-header__menu { max-height: calc(100vh - var(--omk-header-h)); overflow-y: auto; }
	.omk-nav { padding: 12px 0 20px; }
	.omk-nav .nav-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #f0f0f0; }
	.omk-nav .nav-item > .nav-link { flex: 1; }
	.omk-nav .nav-link::after { display: none; }
	.omk-nav .nav-link .omk-caret { display: none; }
	.omk-nav .dropdown-menu { position: static; width: 100%; box-shadow: none; border-top: 0; padding: 0 0 8px 16px; }
	.omk-nav .dropdown-menu.show { display: block; }
	.omk-sub-toggle[aria-expanded="true"] .omk-caret { transform: rotate(-135deg); top: 2px; }
}

/* ==========================================================================
   Homepage: banner
   ========================================================================== */
.omk-hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 60px 24px;
	background: #2a241c;
}
.omk-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .12);
	z-index: 1;
}
.omk-hero .omk-hero__bg {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 0;
}
.omk-hero .omk-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.omk-hero__panel {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 820px;
	text-align: center;
	padding: 52px 56px;
	background: rgba(78, 62, 44, .55);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, .28);
}
.omk-hero__title {
	color: #fff;
	font-size: clamp(32px, 4.2vw, 52px);
	line-height: 1.2;
	margin-bottom: 0;
}
.omk-hero__title::after {
	content: "";
	display: block;
	width: 60px;
	height: 2px;
	background: var(--omk-olive-light);
	margin: 26px auto;
}
.omk-hero__sub { color: #f1ece3; font-size: 17px; margin: 0; }

/* ==========================================================================
   About
   ========================================================================== */
.omk-about__cols { gap: 24px; align-items: stretch !important; }
.omk-about__text { padding-right: 40px; }
.omk-exp-box {
	height: 100%;
	min-height: 420px;
	background-color: var(--omk-olive);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23fff'%3E%3Cpolygon points='0,50 50,0 50,50'/%3E%3Cpolygon points='50,50 100,0 100,50'/%3E%3Cpolygon points='100,50 150,0 150,50'/%3E%3Cpolygon points='150,50 200,0 200,50'/%3E%3Cpolygon points='0,100 50,50 50,100'/%3E%3Cpolygon points='50,100 100,50 100,100'/%3E%3Cpolygon points='100,100 150,50 150,100'/%3E%3Cpolygon points='0,150 50,100 50,150'/%3E%3Cpolygon points='50,150 100,100 100,150'/%3E%3Cpolygon points='0,200 50,150 50,200'/%3E%3C/g%3E%3Cg fill='none' stroke='%23fff' stroke-width='3'%3E%3Crect x='1.5' y='1.5' width='197' height='197'/%3E%3Cpath d='M50 0v200M100 0v200M150 0v200M0 50h200M0 100h200M0 150h200'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 150px 150px;
	background-position: 28px 28px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.omk-exp-box__num {
	font-family: var(--omk-font-head);
	font-weight: 700;
	font-size: clamp(56px, 5.5vw, 76px);
	line-height: 1;
	color: #fff;
	margin-bottom: 10px;
}
.omk-exp-box__label {
	font-family: var(--omk-font-head);
	font-weight: 700;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.2;
	color: #fff;
	margin: 0;
}
.omk-about__img { height: 100%; margin: 0; }
.omk-about__img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* ==========================================================================
   Image + text rows (founder, mission, vision)
   ========================================================================== */
.omk-split { gap: 72px; align-items: center !important; }
.omk-mv + .omk-mv { margin-top: 90px !important; }
.omk-framed { position: relative; margin: 0 24px 24px 0; }
.omk-framed img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: 24px 24px 0 var(--omk-olive);
}
.omk-founder .omk-framed img,
.omk-framed--portrait img { aspect-ratio: 4 / 5; object-position: center top; }

.omk-stars {
	list-style: none;
	padding: 22px 0 0;
	margin: 22px 0 0;
	border-top: 1px solid #dcdcdc;
}
.omk-stars li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
}
.omk-stars li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0Q7 7 14 7Q7 7 7 14Q7 7 0 7Q7 7 7 0Z' fill='%237A6F51'/%3E%3C/svg%3E") no-repeat center / contain;
}
.omk-stars strong { color: var(--omk-ink); font-weight: 600; }

/* ==========================================================================
   Journey timeline
   ========================================================================== */
.omk-timeline { position: relative; gap: 28px; }
.omk-timeline__step { position: relative; text-align: center; flex: 1 1 0; }
.omk-timeline__year {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #8a8a8a;
	margin-bottom: 52px !important;
}
.omk-timeline__step:first-child .omk-timeline__year { color: var(--omk-olive); }
.omk-timeline__step::before {
	content: "";
	position: absolute;
	top: 40px;
	left: 50%;
	width: 18px;
	height: 18px;
	margin-left: -9px;
	border-radius: 50%;
	background: #a8a8a8;
	z-index: 1;
}
.omk-timeline__step:first-child::before { width: 30px; height: 30px; margin-left: -15px; top: 34px; background: var(--omk-olive); }
.omk-timeline::before {
	content: "";
	position: absolute;
	top: 48px;
	left: 0;
	right: 0;
	height: 2px;
	background: #d9d9d9;
}
.omk-timeline__title { font-size: 18px; margin-bottom: 12px; }
.omk-timeline__text { font-size: 14px; line-height: 1.65; }

@media (max-width: 781px) {
	.omk-timeline::before { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
	.omk-timeline__step { text-align: left; padding-left: 40px; }
	.omk-timeline__step::before,
	.omk-timeline__step:first-child::before { left: 9px; top: 4px; }
	.omk-timeline__year { margin-bottom: 8px !important; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.omk-contact__cols { gap: 40px; align-items: stretch !important; }
.omk-form-card { background: var(--omk-light); padding: 44px; height: 100%; }
.omk-map { height: 100%; min-height: 460px; background: #ece9e3; }
.omk-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

.omk-cf7 input[type="text"],
.omk-cf7 input[type="email"],
.omk-cf7 input[type="tel"],
.omk-cf7 textarea {
	width: 100%;
	background: #fff;
	border: 1px solid var(--omk-line);
	border-radius: 0;
	padding: 12px 16px;
	font-size: 14px;
	color: var(--omk-ink);
	transition: border-color .2s ease;
}
.omk-cf7 textarea { height: 130px; resize: vertical; }
.omk-cf7 input:focus,
.omk-cf7 textarea:focus { outline: 0; border-color: var(--omk-olive); }
.omk-cf7 .wpcf7-form-control-wrap { display: block; }
.omk-cf7 .wpcf7-spinner { vertical-align: middle; }
.omk-cf7 .wpcf7-response-output { margin: 20px 0 0 !important; font-size: 14px; }
.omk-notice { background: #fff8e5; border-left: 3px solid #e0b100; padding: 12px 16px; font-size: 14px; }

.omk-contact__info {
	margin-top: 60px !important;
	padding-top: 40px;
	border-top: 1px solid var(--omk-line);
	gap: 40px;
}
.omk-info { position: relative; padding-left: 58px; }
.omk-info::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--omk-olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0Q7 7 14 7Q7 7 7 14Q7 7 0 7Q7 7 7 0Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / 16px;
}
.omk-info-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	color: var(--omk-olive);
	margin-bottom: 4px;
}
.omk-info p:not(.omk-info-label) { color: var(--omk-ink); }
.omk-info a { color: var(--omk-ink); }
.omk-info a:hover { color: var(--omk-olive); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.omk-page-banner {
	background: linear-gradient(135deg, #1d1c19 0%, #161618 60%, #2a261d 100%);
	padding: 90px 0 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.omk-page-banner::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	margin-left: -30px;
	background: var(--omk-olive);
}
.omk-page-banner__title { color: #fff; font-size: clamp(32px, 4vw, 48px); margin: 0; }
.omk-page-banner__text { color: #d6d6d6; max-width: 720px; margin: 16px auto 0; }
.omk-empty { padding: 80px 24px; text-align: center; color: #8a8a8a; }
.omk-page-content > .omk-container:not(.omk-empty),
.omk-narrow { padding-top: 60px; padding-bottom: 60px; }

/* ---------- Projects ---------- */
.omk-project-group + .omk-project-group { padding-top: 0; }
.omk-project-group__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
.omk-project-group__head .omk-title { margin: 0; }
.omk-project-group__actions { display: flex; align-items: center; gap: 10px; }
.omk-slide-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--omk-olive);
	color: #fff;
	font-size: 18px;
	transition: background .2s ease;
}
.omk-slide-btn:hover { background: var(--omk-ink); }
.omk-project-group__actions .omk-link { margin-left: 8px; }

.omk-slider {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 12px;
	scrollbar-width: thin;
}
.omk-slider__item { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
@media (max-width: 991px) { .omk-slider__item { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 575px) { .omk-slider__item { flex-basis: 85%; } }

.omk-project-card { height: 100%; }
.omk-project-card__link { display: block; color: inherit; height: 100%; background: #fff; }
.omk-project-card__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--omk-light); }
.omk-project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.omk-project-card__link:hover .omk-project-card__img img { transform: scale(1.05); }
.omk-project-card__body { padding: 20px 4px 8px; }
.omk-project-card__cat { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--omk-olive); margin-bottom: 6px; }
.omk-project-card__title { font-size: 21px; margin-bottom: 8px; transition: color .2s ease; }
.omk-project-card__link:hover .omk-project-card__title { color: var(--omk-olive); }
.omk-project-card__more { font-size: 14px; font-weight: 500; color: var(--omk-olive); }

.omk-project-single__img { margin: 0 0 48px; }
.omk-project-single__img img { width: 100%; max-height: 640px; object-fit: cover; }
.omk-project-single__back { margin-top: 48px; }

.omk-pagination { margin-top: 48px; text-align: center; }
.omk-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; color: var(--omk-ink); border: 1px solid var(--omk-line); }
.omk-pagination .page-numbers.current { background: var(--omk-olive); color: #fff; border-color: var(--omk-olive); }

.omk-card { background: #fff; border: 1px solid var(--omk-line); }
.omk-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.omk-card__body { padding: 20px; }
.omk-card__title { font-size: 20px; }
.omk-card__title a { color: var(--omk-ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.omk-footer { background: var(--omk-ink); color: #d6d6d6; padding: 70px 0 0; }
.omk-footer a { color: #d6d6d6; }
.omk-footer a:hover { color: #fff; }
.omk-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-bottom: 40px;
	border-bottom: 1px solid #3a3a3c;
}
.omk-footer__top .omk-logo img { max-height: 80px; }
.omk-footer__tagline { font-family: var(--omk-font-head); font-weight: 700; font-size: 22px; color: #fff; margin: 0; }
.omk-footer__cols { padding: 48px 0; }
.omk-footer__title { color: #fff; font-size: 19px; margin-bottom: 20px; }
.omk-footer__links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.omk-footer__links li { margin-bottom: 12px; break-inside: avoid; }
.omk-footer__links a::before { content: "+"; color: var(--omk-olive-light); margin-right: 10px; }
.omk-footer__contact { list-style: none; padding: 0; margin: 0; }
.omk-footer__contact li { position: relative; padding-left: 20px; margin-bottom: 12px; }
.omk-footer__contact li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--omk-olive); }
.omk-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 24px 0;
	border-top: 1px solid #3a3a3c;
	font-size: 14px;
}
.omk-footer__social { display: flex; align-items: center; gap: 14px; }
.omk-footer__social span { font-family: var(--omk-font-head); font-weight: 700; color: #fff; }
.omk-footer__social a { color: var(--omk-olive-light); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.omk-section { padding: 80px 0; }
	.omk-split { gap: 48px; }
}
@media (max-width: 781px) {
	.omk-section { padding: 64px 0; }
	.omk-hero { min-height: 480px; }
	.omk-hero__panel { padding: 36px 24px; }
	.omk-about__text { padding-right: 0; }
	.omk-exp-box, .omk-about__img img { min-height: 320px; }
	.omk-split { gap: 40px; }
	.omk-mv--reverse > .wp-block-column:first-child { order: 2; }
	.omk-form-card { padding: 28px 20px; }
	.omk-map, .omk-map iframe { min-height: 340px; }
	.omk-head { margin-bottom: 40px; }
}
