/* Iconic Engineers custom styles */

/* Brand lockup: logo image + two-line name */
.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none !important;
}

.brand-lockup .brand-name {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: 'Poppins', sans-serif;
	line-height: 1.05;
	letter-spacing: 0.3px;
}

.brand-lockup .brand-line {
	display: block;
	font-weight: 700;
	white-space: nowrap;
}

.brand-lockup .brand-line:first-child {
	font-size: 26px;
	color: #011e40;
}

.brand-lockup .brand-line:last-child {
	font-size: 20px;
	color: #fc5508;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.logo img,
.sticky-logo img,
.brand-lockup img {
	max-height: 110px;
	width: auto;
	display: block;
}

.mnmenu-sec .logo img,
.mnmenu-sec .sticky-logo img {
	max-height: 110px;
}

.logo,
.sticky-logo {
	padding-top: 4px;
	padding-bottom: 4px;
}

.mnmenu-sec .nav-menu {
	align-items: center;
}

.hd-style1 .mnmenu-sec .main-menu > ul > li > a {
	padding-top: 48px;
	padding-bottom: 48px;
}

.hd-lft li a {
	color: inherit;
}

.hd-lft li a:hover {
	color: #fc5508;
}

/* Keep header top contact info on one line */
.home-v2 .hd-sec .hd-top-row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}

.home-v2 .hd-sec .hd-lft ul {
	margin: 0;
	padding: 0;
	white-space: nowrap;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}

.home-v2 .hd-sec .hd-lft li {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding-right: 14px;
	font-size: 13px;
	float: none;
}

.home-v2 .hd-sec .hd-lft li i {
	margin-right: 6px;
}

.home-v2 .hd-sec .hd-rgt {
	white-space: nowrap;
	padding: 6px 0;
}

.footer-wedget-four .inner-text a {
	color: inherit;
}

.footer-wedget-four .inner-text a:hover {
	color: #fc5508;
}

.contact-info-text a {
	color: inherit;
}

.contact-info-text a:hover {
	color: #fc5508;
}

@media (max-width: 991px) {
	.home-v2 .hd-sec .hd-lft li {
		font-size: 12px;
		padding-right: 10px;
	}
}


/* Fix Bootstrap 3 float gaps when card heights differ */
.row.iconic-grid {
	display: flex;
	flex-wrap: wrap;
}

.row.iconic-grid > [class*="col-"] {
	display: flex;
	flex-direction: column;
}

.row.iconic-grid > [class*="col-"] > .service-inner,
.row.iconic-grid > [class*="col-"] > .inner,
.row.iconic-grid > [class*="col-"] > .project-item,
.row.iconic-grid > [class*="col-"] > .team-member {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.row.iconic-grid .service-inner {
	background: #fff;
	margin-bottom: 30px;
	padding: 25px;
}

.row.iconic-grid .service-details {
	flex: 1;
}

.row.iconic-grid .inner.service-v2 {
	width: 100%;
	margin-bottom: 30px;
}

.row.iconic-grid .service-thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.row.iconic-grid .project-item {
	margin-bottom: 30px;
}

.row.iconic-grid .project-thumb img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

@media (max-width: 991px) {
	.logo img,
	.sticky-logo img,
	.brand-lockup img {
		max-height: 90px;
	}

	.brand-lockup .brand-line:first-child {
		font-size: 22px;
	}

	.brand-lockup .brand-line:last-child {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.logo img,
	.sticky-logo img,
	.brand-lockup img {
		max-height: 72px;
	}

	.brand-lockup {
		gap: 10px;
	}

	.brand-lockup .brand-line:first-child {
		font-size: 18px;
	}

	.brand-lockup .brand-line:last-child {
		font-size: 14px;
	}
}

/* Staff Login chooser */
.staff-login-intro {
	margin-bottom: 50px;
}

.staff-login-intro h2 {
	color: #011e40;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 12px;
}

.staff-login-intro p {
	color: #5a6a85;
	font-size: 16px;
	margin: 0;
}

.staff-login-card {
	display: block;
	background: #fff;
	border: 1px solid #e6ebf3;
	border-radius: 12px;
	padding: 36px 28px;
	text-decoration: none !important;
	color: inherit;
	height: 100%;
	box-shadow: 0 8px 24px rgba(1, 30, 64, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	margin-bottom: 30px;
}

.staff-login-card:hover {
	transform: translateY(-4px);
	border-color: #fc5508;
	box-shadow: 0 16px 32px rgba(252, 85, 8, 0.12);
}

.staff-login-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	background: rgba(252, 85, 8, 0.12);
	color: #fc5508;
	font-size: 30px;
	margin-bottom: 20px;
}

.staff-login-card h3 {
	color: #011e40;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 12px;
}

.staff-login-card p {
	color: #5a6a85;
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 22px;
	min-height: 48px;
}

.staff-login-cta {
	color: #fc5508;
	font-weight: 600;
	font-size: 14px;
}

.staff-login-cta i {
	margin-left: 6px;
}

/* Public Gallery */
.public-gallery-heading {
	color: #011e40;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 10px;
}

.public-gallery-tabs {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 0 0 40px;
	flex-wrap: wrap;
}

.public-gallery-tab {
	appearance: none;
	border: 1px solid #d5dbe8;
	background: #fff;
	color: #011e40;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.public-gallery-tab span {
	color: #5a6a85;
	font-weight: 500;
}

.public-gallery-tab:hover {
	border-color: #fc5508;
	color: #fc5508;
}

.public-gallery-tab.active {
	background: #fc5508;
	border-color: #fc5508;
	color: #fff;
}

.public-gallery-tab.active span {
	color: rgba(255, 255, 255, 0.85);
}

.public-gallery-panel {
	display: none;
}

.public-gallery-panel.active {
	display: block;
}

.public-gallery-empty {
	color: #5a6a85;
	font-size: 16px;
	padding: 40px 0;
}

.public-gallery-item {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #0f1934;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	margin-bottom: 30px;
	box-shadow: 0 8px 24px rgba(1, 30, 64, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.public-gallery-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(252, 85, 8, 0.18);
}

.public-gallery-item img,
.public-gallery-item video {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.public-gallery-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -55%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(252, 85, 8, 0.92);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	z-index: 2;
}

.public-gallery-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 12px 14px;
	background: linear-gradient(transparent, rgba(1, 30, 64, 0.85));
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.public-gallery-modal-open {
	overflow: hidden;
}

.public-gallery-modal[hidden] {
	display: none !important;
}

.public-gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.public-gallery-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(1, 30, 64, 0.82);
}

.public-gallery-modal-dialog {
	position: relative;
	z-index: 1;
	width: fit-content;
	max-width: min(920px, 100%);
	background: #fff;
	border-radius: 14px;
	padding: 20px 20px 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.public-gallery-modal-close {
	position: absolute;
	right: 12px;
	top: 8px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #5a6a85;
}

.public-gallery-modal-close:hover {
	color: #fc5508;
}

.public-gallery-modal-title {
	margin: 0 36px 14px 0;
	font-size: 18px;
	color: #011e40;
}

.public-gallery-modal-body {
	background: #0f1934;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.public-gallery-modal-body img,
.public-gallery-modal-body video {
	width: auto;
	height: auto;
	max-width: min(860px, 88vw);
	max-height: 75vh;
	display: block;
	object-fit: contain;
	background: #000;
}
