/* ==========================================================================
   Nebbi Workers SACCO - Interface Improvements
   Loaded last (child theme). Palette: navy #01012f + jade #00ab6b.
   ========================================================================== */

:root {
	--nebbi-navy: #01012f;
	--nebbi-navy-soft: #0a0a3d;
	--nebbi-accent: #00ab6b;
	--nebbi-accent-dark: #008a56;
	--nebbi-muted: #6b7280;
	--nebbi-line: rgba(1, 1, 47, .10);
}

html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--nebbi-accent); color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible {
	outline: 2px solid var(--nebbi-accent);
	outline-offset: 2px;
}

img { max-width: 100%; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-small,
.btn-ex-small {
	border-radius: 4px;
	letter-spacing: .02em;
}
.btn-default,
.btn-default-dark {
	background-color: var(--nebbi-accent);
	border: 2px solid var(--nebbi-accent);
	color: #fff;
	box-shadow: 0 6px 18px -8px rgba(0, 171, 107, .8);
}
.btn-default:hover,
.btn-default:focus,
.btn-default-dark:hover,
.btn-default-dark:focus {
	background-color: var(--nebbi-navy);
	border-color: var(--nebbi-navy);
	color: #fff;
	box-shadow: 0 8px 22px -8px rgba(1, 1, 47, .6);
}
.btn-success,
input[type="submit"] {
	background-color: var(--nebbi-accent);
	border-color: var(--nebbi-accent);
	color: #fff;
}
.btn-success:hover,
.btn-success:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: var(--nebbi-accent-dark);
	border-color: var(--nebbi-accent-dark);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Top header bar
   -------------------------------------------------------------------------- */
#site-header {
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#site-header .theme-contact-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: .55rem 0;
	list-style: none;
}
#site-header .theme-contact-block li {
	display: inline-flex;
	align-items: center;
	font-size: .875rem;
	line-height: 1.4;
	margin: 0 1.5rem 0 0;
	color: rgba(255, 255, 255, .85);
}
#site-header .theme-contact-block li:last-child { margin-right: 0; }
#site-header .theme-contact-block i {
	color: var(--nebbi-accent);
	margin-right: .5rem;
	font-size: .95rem;
}
#site-header .theme-contact-block a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
	transition: color .2s ease;
}
#site-header .theme-contact-block a:hover,
#site-header .theme-contact-block a:focus {
	color: var(--nebbi-accent);
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar.header-sticky {
	background: #fff;
	box-shadow: 0 1px 0 rgba(1, 1, 47, .08);
}
.navbar .navbar-brand {
	margin-right: 1.25rem;
	padding: 0;
}
.navbar .navbar-brand img.custom-logo {
	display: block;
	width: auto;
	max-height: 62px;
}
.navbar .site-branding-text { padding-left: .9rem; }
.navbar .site-title {
	margin: 0;
	font-size: 1.55rem;
	line-height: 1.2;
}
.navbar .site-title a {
	font-weight: 700;
	letter-spacing: .6px;
	text-decoration: none;
}
.navbar .site-description {
	margin: .15rem 0 0;
	font-size: .85rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--nebbi-muted);
}

.navbar .navbar-nav .nav-link {
	position: relative;
	padding: .65rem .85rem;
	font-size: .95rem;
	font-weight: 600;
	color: var(--nebbi-navy);
	transition: color .2s ease;
}
.navbar .navbar-nav .nav-link i._mi {
	margin-right: .35rem;
	font-size: 1em;
	vertical-align: -2px;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .current-menu-item > .nav-link,
.navbar .navbar-nav .active > .nav-link {
	color: var(--nebbi-accent);
}
.navbar .navbar-nav > li > .nav-link::after {
	content: "";
	position: absolute;
	left: .85rem;
	right: .85rem;
	bottom: .3rem;
	height: 2px;
	background: var(--nebbi-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .25s ease;
}
.navbar .navbar-nav > li > .nav-link:hover::after,
.navbar .navbar-nav > li.current-menu-item > .nav-link::after,
.navbar .navbar-nav > li.active > .nav-link::after {
	transform: scaleX(1);
}

.navbar .dropdown-menu {
	border: 0;
	border-radius: 8px;
	padding: .5rem 0;
	margin-top: .35rem;
	box-shadow: 0 18px 40px -18px rgba(1, 1, 47, .45);
}
.navbar .dropdown-menu .dropdown-item {
	padding: .55rem 1.25rem;
	font-size: .925rem;
	color: var(--nebbi-navy);
	transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.navbar .dropdown-menu .dropdown-item i._mi { margin-right: .45rem; }
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .current-menu-item > .dropdown-item {
	background-color: rgba(0, 171, 107, .08);
	color: var(--nebbi-accent);
	padding-left: 1.45rem;
}

.navbar .navbar-toggler {
	border: 1px solid var(--nebbi-line);
	border-radius: 6px;
	padding: .5rem .65rem;
	min-width: 44px;
	min-height: 44px;
}
.navbar .navbar-toggler:focus { outline: 2px solid var(--nebbi-accent); }

/* --------------------------------------------------------------------------
   Main slider
   -------------------------------------------------------------------------- */
.theme-main-slider.vrsn-two .item .overlay {
	background: linear-gradient(90deg, rgba(1, 1, 47, .88) 0%, rgba(1, 1, 47, .62) 48%, rgba(1, 1, 47, .24) 100%);
}
.theme-main-slider.vrsn-two .theme-slider-content {
	padding-top: 4.5rem;
	padding-bottom: 5.5rem;
}
.theme-main-slider.vrsn-two .theme-slider-content .title-large {
	font-size: 3rem;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: .5px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.theme-main-slider.vrsn-two .theme-slider-content .description {
	max-width: 620px;
	margin-top: .9rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, .94);
	text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}
.theme-main-slider.vrsn-two .theme-slider-content .mt-4 .btn-small.btn-default {
	min-width: 12rem;
	border-radius: 4px;
}
.theme-main-slider ~ #theme-info-area { margin-top: -70px !important; }

#theme-main-slider.owl-carousel .owl-prev,
#theme-main-slider.owl-carousel .owl-next {
	width: 3rem;
	height: 3rem;
	line-height: 2.8rem;
	border-radius: 50%;
	opacity: .9;
}
#theme-main-slider.owl-carousel .owl-prev:hover,
#theme-main-slider.owl-carousel .owl-next:hover { opacity: 1; }
.owl-theme .owl-dots { margin-top: 1rem; }
.owl-theme .owl-dots .owl-dot span {
	width: 10px;
	height: 10px;
	margin: 0 5px;
}

/* --------------------------------------------------------------------------
   Theme info area (cards under slider)
   -------------------------------------------------------------------------- */
.container.vrsn-two .theme-info-area .media {
	border-radius: 10px;
	box-shadow: 0 18px 45px -18px rgba(1, 1, 47, .28);
}
.container.vrsn-two .theme-info-area .media:hover {
	border-bottom-color: var(--nebbi-accent);
}
.container.vrsn-two .theme-info-area i.icon { color: var(--nebbi-accent); }
.theme-info-area .theme-info-area-title {
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--nebbi-navy);
}
.theme-info-area .theme-info-area-title a:hover,
.theme-info-area .theme-info-area-title a:focus { color: var(--nebbi-accent); }
.theme-info-area .info-details {
	display: block;
	margin-top: .15rem;
	font-size: .9rem;
	color: var(--nebbi-muted);
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */
.theme-section-title {
	color: var(--nebbi-navy);
	letter-spacing: .3px;
}
.theme-section-subtitle { color: var(--nebbi-muted); }
.theme-separator-line-horrizontal-full {
	width: 64px;
	height: 3px;
	margin: 1rem auto 0;
	border-radius: 3px;
	background-color: var(--nebbi-accent);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.theme-services.vrsn-three .service-content {
	border-radius: 10px;
	transition: transform .3s ease, box-shadow .3s ease;
}
.theme-services.vrsn-three .service-content:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 50px -22px rgba(1, 1, 47, .28);
}
.theme-services .service-content-thumbnail {
	margin: 0 0 1rem;
}
.theme-services .service-content-thumbnail img {
	width: auto;
	max-width: 100%;
	height: 170px;
	object-fit: contain;
	margin: 0 auto;
}
.theme-services .service-title {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--nebbi-navy);
}
.theme-services .service-title a:hover,
.theme-services .service-title a:focus { color: var(--nebbi-accent); }
.theme-services .service-content p {
	line-height: 1.8;
	font-size: .95rem;
	color: #4b5563;
}

/* --------------------------------------------------------------------------
   Project / portfolio
   -------------------------------------------------------------------------- */
.theme-project .portfolio-thumbnail {
	border-radius: 10px;
	overflow: hidden;
	margin: 0;
	box-shadow: 0 16px 40px -22px rgba(1, 1, 47, .35);
}
.theme-project .portfolio-thumbnail img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	transition: transform .5s ease;
}
.theme-project .theme-project-content:hover .portfolio-thumbnail img {
	transform: scale(1.06);
}
.theme-project .click-view {
	padding: 1.5rem 1.35rem;
}
.theme-project .theme-project-title {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: .3px;
	margin-bottom: .5rem;
}
.theme-project .click-view p {
	font-size: .9rem;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Call to action
   -------------------------------------------------------------------------- */
.theme-cta { background-size: cover; background-position: center; }
.theme-cta .theme-cta-overlay { background: rgba(1, 1, 47, .74); }
.theme-cta .cta-block .title {
	font-size: 2.1rem;
	font-weight: 700;
	letter-spacing: .3px;
}
.theme-cta .cta-block p {
	max-width: 780px;
	margin: .75rem auto 0;
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, .9);
}

/* --------------------------------------------------------------------------
   Blog cards
   -------------------------------------------------------------------------- */
.theme-blog.vrsn-three .post {
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 16px 40px -24px rgba(1, 1, 47, .3);
	transition: transform .3s ease, box-shadow .3s ease;
}
.theme-blog.vrsn-three .post:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 55px -24px rgba(1, 1, 47, .38);
}
.theme-blog.vrsn-three .post .post-thumbnail { margin: 0; }
.theme-blog.vrsn-three .post .post-thumbnail img {
	width: 100%;
	height: 230px;
	object-fit: cover;
}
.theme-blog .post .entry-content {
	line-height: 1.8;
	font-size: .95rem;
	color: #4b5563;
}
.theme-blog .entry-meta {
	font-size: .82rem;
	letter-spacing: .4px;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	border-top: 3px solid var(--nebbi-accent);
}
.footer-sidebar .widget { margin-bottom: 1.75rem; }
.footer-sidebar .widget .widget-title,
.footer-sidebar .widget h4.widget-title {
	position: relative;
	margin-bottom: 1.4rem;
	padding-bottom: .65rem;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .6px;
	color: #fff;
}
.footer-sidebar .widget .widget-title::after,
.footer-sidebar .widget h4.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 42px;
	height: 3px;
	border-radius: 3px;
	background: var(--nebbi-accent);
}
.footer-sidebar .textwidget,
.footer-sidebar .textwidget p,
.footer-sidebar .textwidget address {
	color: rgba(255, 255, 255, .72);
	line-height: 1.9;
	font-size: .925rem;
}
.footer-sidebar .textwidget address { margin: 0; font-style: normal; }
.footer-sidebar .textwidget address i {
	display: inline-block;
	width: 1.4em;
	color: var(--nebbi-accent);
}
.footer-sidebar .textwidget a,
.footer-sidebar .widget ul li a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
	transition: color .2s ease, padding-left .2s ease;
}
.footer-sidebar .textwidget a:hover,
.footer-sidebar .textwidget a:focus,
.footer-sidebar .widget ul li a:hover,
.footer-sidebar .widget ul li a:focus {
	color: var(--nebbi-accent);
}
.footer-sidebar .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-sidebar .widget ul li {
	margin: 0 0 .55rem;
	font-size: .925rem;
}
.footer-sidebar .widget ul.footer-menu-links li a { display: inline-block; }
.footer-sidebar .widget ul.footer-menu-links li a:hover { padding-left: 5px; }

.footer-sidebar .forminator-label {
	color: rgba(255, 255, 255, .8);
	font-size: .875rem;
	margin-bottom: .35rem;
}
.footer-sidebar .forminator-input,
.footer-sidebar .forminator-textarea,
.footer-sidebar .forminator-select2 .select2-selection {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 5px;
}
.footer-sidebar .forminator-button-submit {
	width: 100%;
	background: var(--nebbi-accent);
	border-radius: 5px;
	font-weight: 600;
	letter-spacing: .5px;
}
.footer-sidebar .forminator-button-submit:hover,
.footer-sidebar .forminator-button-submit:focus {
	background: var(--nebbi-accent-dark);
}
.footer-sidebar #searchform .form-control { border-radius: 5px 0 0 5px; }
.footer-sidebar #searchform .btn-success { border-radius: 0 5px 5px 0; }

.site-info {
	margin-top: .5rem;
	padding: 1.35rem 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .9rem;
	letter-spacing: .3px;
	color: rgba(255, 255, 255, .7);
}

/* --------------------------------------------------------------------------
   Scroll to top
   -------------------------------------------------------------------------- */
.page-scroll-up a {
	width: 44px;
	height: 44px;
	line-height: 44px;
	border-radius: 8px;
	background: var(--nebbi-accent);
	color: #fff;
	box-shadow: 0 12px 28px -12px rgba(1, 1, 47, .55);
	transition: transform .25s ease, background-color .25s ease;
}
.page-scroll-up a:hover,
.page-scroll-up a:focus {
	background: var(--nebbi-navy);
	color: #fff;
	transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
	#site-header .theme-contact-block li { margin-right: 1rem; font-size: .8rem; }

	.navbar .navbar-brand img.custom-logo { max-height: 50px; }
	.navbar .site-title { font-size: 1.2rem; }

	#navbarNavDropdown {
		margin: .85rem 0;
		padding: .65rem .5rem;
		background: var(--nebbi-navy);
		border-radius: 10px;
	}
	#navbarNavDropdown .navbar-nav .nav-link { color: rgba(255, 255, 255, .9); }
	#navbarNavDropdown .navbar-nav .nav-link:hover,
	#navbarNavDropdown .navbar-nav .nav-link:focus,
	#navbarNavDropdown .navbar-nav .current-menu-item > .nav-link { color: var(--nebbi-accent); }
	#navbarNavDropdown .navbar-nav > li > .nav-link::after { display: none; }
	#navbarNavDropdown .dropdown-menu {
		background: rgba(255, 255, 255, .06);
		box-shadow: none;
		margin: 0;
	}
	#navbarNavDropdown .dropdown-menu .dropdown-item { color: rgba(255, 255, 255, .82); }
	#navbarNavDropdown .dropdown-menu .dropdown-item:hover,
	#navbarNavDropdown .dropdown-menu .dropdown-item:focus {
		background: rgba(0, 171, 107, .18);
		color: #fff;
	}

	.theme-main-slider.vrsn-two .theme-slider-content { padding-top: 3rem; padding-bottom: 3.5rem; }
	.theme-main-slider.vrsn-two .theme-slider-content .title-large { font-size: 2.1rem; }
	.theme-main-slider.vrsn-two .theme-slider-content .description { font-size: .98rem; }
	.theme-main-slider ~ #theme-info-area { margin-top: 0 !important; }
	.theme-project .portfolio-thumbnail img { height: 240px; }
}

@media (max-width: 767px) {
	#site-header .theme-contact-block { justify-content: center; padding: .45rem 0; }
	.navbar .site-branding-text { display: none; }
	.theme-main-slider.vrsn-two .theme-slider-content .title-large { font-size: 1.75rem; }
	.theme-services .service-content-thumbnail img { height: 150px; }
	.theme-cta .cta-block .title { font-size: 1.6rem; }
	.theme-blog.vrsn-three .post .post-thumbnail img { height: 200px; }
	.footer-sidebar .widget { margin-bottom: 1.5rem; }
}

@media (max-width: 575px) {
	.navbar .navbar-brand img.custom-logo { max-height: 42px; }
	#site-header .theme-contact-block li { width: 100%; justify-content: center; margin: 0 0 .3rem; }
	.theme-main-slider.vrsn-two .theme-slider-content .title-large { font-size: 1.5rem; }
	.theme-info-area .theme-info-area-title { font-size: 1.15rem; }
}

/* --------------------------------------------------------------------------
   Modern primary menu + gradient-tile icon graphics
   -------------------------------------------------------------------------- */

/* Menu links become compact rounded pills */
.navbar .navbar-nav > li > .nav-link {
	display: inline-flex;
	align-items: center;
	border-radius: 6px;
	padding: .28rem .55rem;
	transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

/* Retire the old underline slide bar (pills are the new indicator) */
.navbar .navbar-nav > li > .nav-link::after { display: none; }

.navbar .navbar-nav > li > .nav-link:hover,
.navbar .navbar-nav > li > .nav-link:focus {
	background-color: rgba(0, 171, 107, .10);
	color: var(--nebbi-accent);
}
.navbar .navbar-nav > li.current-menu-item > .nav-link,
.navbar .navbar-nav > li.current-menu-ancestor > .nav-link,
.navbar .navbar-nav > li.active > .nav-link {
	background-color: rgba(1, 1, 47, .06);
	color: var(--nebbi-accent);
}

/* Icon tile: soft jade/navy gradient rounded square */
.navbar .navbar-nav > li > .nav-link > i._mi {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.45em;
	height: 1.45em;
	margin-right: .4rem;
	border-radius: 7px;
	color: var(--nebbi-accent);
	background-image: linear-gradient(135deg, rgba(0, 171, 107, .20), rgba(1, 1, 47, .12));
	box-shadow: inset 0 0 0 1px rgba(0, 171, 107, .22);
	vertical-align: middle !important;
	transition: color .25s ease, background-image .25s ease, box-shadow .25s ease, transform .25s ease;
}

/* Active / hovered tile: filled jade gradient, lifted */
.navbar .navbar-nav > li > .nav-link:hover > i._mi,
.navbar .navbar-nav > li > .nav-link:focus > i._mi,
.navbar .navbar-nav > li.current-menu-item > .nav-link > i._mi,
.navbar .navbar-nav > li.current-menu-ancestor > .nav-link > i._mi,
.navbar .navbar-nav > li.active > .nav-link > i._mi {
	color: #fff;
	background-image: linear-gradient(135deg, var(--nebbi-accent), var(--nebbi-accent-dark));
	box-shadow: inset 0 0 0 1px transparent, 0 10px 18px -10px rgba(0, 171, 107, .95);
	transform: translateY(-1px);
}

/* Dropdown item icons: smaller matching tiles */
.navbar .dropdown-menu .dropdown-item {
	display: flex;
	align-items: center;
	border-radius: 6px;
}
.navbar .dropdown-menu .dropdown-item > i._mi {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.7em;
	height: 1.7em;
	margin-right: .6rem;
	border-radius: 8px;
	color: var(--nebbi-accent);
	background-image: linear-gradient(135deg, rgba(0, 171, 107, .18), rgba(1, 1, 47, .10));
	box-shadow: inset 0 0 0 1px rgba(0, 171, 107, .20);
	transition: color .2s ease, background-image .2s ease, box-shadow .2s ease;
}
.navbar .dropdown-menu .dropdown-item:hover > i._mi,
.navbar .dropdown-menu .dropdown-item:focus > i._mi,
.navbar .dropdown-menu .current-menu-item > .dropdown-item > i._mi {
	color: #fff;
	background-image: linear-gradient(135deg, var(--nebbi-accent), var(--nebbi-accent-dark));
	box-shadow: inset 0 0 0 1px transparent;
}

/* Mobile drawer (dark navy panel) */
@media (max-width: 991px) {
	#navbarNavDropdown .navbar-nav > li > .nav-link { border-radius: 8px; }
	#navbarNavDropdown .navbar-nav > li > .nav-link:hover,
	#navbarNavDropdown .navbar-nav > li > .nav-link:focus {
		background-color: rgba(0, 171, 107, .16);
	}
	#navbarNavDropdown .navbar-nav > li > .nav-link > i._mi {
		color: var(--nebbi-accent);
		background-image: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	}
	#navbarNavDropdown .navbar-nav > li > .nav-link:hover > i._mi,
	#navbarNavDropdown .navbar-nav > li.current-menu-item > .nav-link > i._mi,
	#navbarNavDropdown .navbar-nav > li.current-menu-ancestor > .nav-link > i._mi {
		color: #fff;
		background-image: linear-gradient(135deg, var(--nebbi-accent), var(--nebbi-accent-dark));
		box-shadow: inset 0 0 0 1px transparent;
		transform: none;
	}
	#navbarNavDropdown .dropdown-menu .dropdown-item > i._mi {
		background-image: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	}
}

/* ==========================================================================
   Reference-inspired modernisation
   (design language of godschosenorphanagehome.org applied with the
   existing navy #01012f + jade #00ab6b palette; layout/photo positions kept)
   ========================================================================== */

:root {
	--nebbi-radius: 16px;
	--nebbi-radius-sm: 10px;
	--nebbi-shadow-sm: 0 2px 10px rgba(1, 1, 47, .06);
	--nebbi-shadow: 0 18px 48px -20px rgba(1, 1, 47, .30);
	--nebbi-shadow-lg: 0 34px 72px -26px rgba(1, 1, 47, .38);
	--nebbi-ink: #01012f;
	--nebbi-body: #4a5560;
}

html { scroll-behavior: smooth; }

/* --- Typography ----------------------------------------------------------- */
body {
	font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: var(--nebbi-body);
}
h1, h2, h3, h4, h5, h6,
.theme-section-title,
.theme-info-area-title,
.service-title,
.entry-title,
.theme-project-title,
.cta-block .title,
.theme-testimonial-block .name {
	font-family: "Poppins", "Inter", system-ui, sans-serif;
	letter-spacing: -.01em;
	color: var(--nebbi-ink);
}
p { line-height: 1.75; }
.entry-content a,
.textwidget a,
.theme-blog .post .entry-content a {
	color: var(--nebbi-accent);
}
.entry-content a:hover,
.textwidget a:hover,
.theme-blog .post .entry-content a:hover {
	color: var(--nebbi-navy);
}

/* --- Buttons: soft pill shape, lift on hover ------------------------------ */
.btn,
.btn-small,
.btn-ex-small,
.btn-default,
.btn-default-dark,
.btn-success,
input[type="submit"],
button[type="submit"] {
	border-radius: 999px;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	letter-spacing: .01em;
	padding: .72rem 1.6rem;
	transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn-default,
.btn-default-dark {
	box-shadow: 0 12px 26px -14px rgba(0, 171, 107, .95);
}
.btn-default:hover,
.btn-default:focus,
.btn-default-dark:hover,
.btn-default-dark:focus,
.btn-success:hover,
.btn-success:focus,
input[type="submit"]:hover,
button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -16px rgba(1, 1, 47, .55);
}
.theme-blog.vrsn-three .entry-content .more-link,
.theme-services.vrsn-three .service-content .service-links a {
	border-radius: 999px;
}

/* --- Section heading module ---------------------------------------------- */
.theme-section-module {
	max-width: 800px;
	margin: 0 auto 46px;
}
.theme-section-title {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	line-height: 1.15;
	font-weight: 700;
	margin-bottom: .55rem;
}
.theme-section-subtitle {
	font-size: 1.06rem;
	color: var(--nebbi-muted);
	margin-bottom: 0;
}
.theme-separator-line-horrizontal-full {
	width: 68px;
	height: 4px;
	margin: 20px auto 0;
	border-radius: 999px;
	background: var(--nebbi-accent);
}

/* --- Info area -> stat cards --------------------------------------------- */
.container.vrsn-two .theme-info-area .media {
	height: 100%;
	background: #fff;
	border: 1px solid var(--nebbi-line);
	border-radius: var(--nebbi-radius);
	padding: 26px 24px;
	box-shadow: var(--nebbi-shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.container.vrsn-two .theme-info-area .media:hover {
	transform: translateY(-4px);
	box-shadow: var(--nebbi-shadow);
}
.container.vrsn-two .theme-info-area i.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	min-width: 56px;
	border-radius: 16px;
	font-size: 1.4rem;
	line-height: 1;
	margin-right: 18px;
	background: rgba(0, 171, 107, .12);
	color: var(--nebbi-accent);
	transition: background-color .25s ease, color .25s ease;
}
.container.vrsn-two .theme-info-area .media:hover i.icon {
	background: var(--nebbi-accent);
	color: #fff;
}
/* subtle palette alternation like the reference stat row */
.container.vrsn-two .theme-info-area [class*="col-"]:nth-child(3n+2) i.icon {
	background: rgba(1, 1, 47, .08);
	color: var(--nebbi-navy);
}
.container.vrsn-two .theme-info-area [class*="col-"]:nth-child(3n+2) .media:hover i.icon {
	background: var(--nebbi-navy);
	color: #fff;
}

/* --- Services -> modern cards -------------------------------------------- */
.theme-services.vrsn-three .theme-services-content > [class*="col-"] {
	margin-bottom: 30px;
}
.theme-services.vrsn-three .service-content {
	height: 100%;
	background: #fff;
	border: 1px solid var(--nebbi-line);
	border-radius: var(--nebbi-radius);
	padding: 34px 28px;
	box-shadow: var(--nebbi-shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.theme-services.vrsn-three .service-content:hover {
	transform: translateY(-4px);
	box-shadow: var(--nebbi-shadow);
}
.theme-services.vrsn-three .service-content-thumbnail { margin: 0 0 20px; }
.theme-services .service-content-thumbnail i.fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 18px;
	font-size: 1.6rem;
	background: rgba(0, 171, 107, .12);
	color: var(--nebbi-accent);
	transition: background-color .25s ease, color .25s ease;
}
.theme-services.vrsn-three .service-content:hover .service-content-thumbnail i.fa {
	background: var(--nebbi-accent);
	color: #fff;
}
.theme-services .service-title { font-size: 1.25rem; }

/* --- Portfolio / blog cards: rounding + soft lift ------------------------ */
.theme-project .theme-project-content {
	background: #fff;
	border: 1px solid var(--nebbi-line);
	border-radius: var(--nebbi-radius);
	overflow: hidden;
	box-shadow: var(--nebbi-shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.theme-project .theme-project-content:hover {
	transform: translateY(-4px);
	box-shadow: var(--nebbi-shadow);
}
.theme-blog.vrsn-three .post:hover { box-shadow: var(--nebbi-shadow); }

/* --- Call to action: deep navy gradient + pill buttons ------------------- */
.theme-cta .theme-cta-overlay {
	background: linear-gradient(135deg, rgba(1, 1, 47, .95) 0%, rgba(1, 1, 47, .78) 100%);
}
.theme-cta .cta-block .title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 700;
	color: #fff;
}

/* --- Testimonials: cleaner quote cards ----------------------------------- */
.theme-testimonial-block.vrsn-two .testimonial-content.vrsn-two {
	background: #fff;
	border: 1px solid var(--nebbi-line);
	border-radius: var(--nebbi-radius);
	box-shadow: var(--nebbi-shadow-sm);
}
.theme-testimonial-block.vrsn-two .testimonial-content.vrsn-two p { color: var(--nebbi-body); }

/* Tablet / mobile spacing tweaks */
@media (max-width: 991px) {
	.theme-section-module { margin-bottom: 34px; }
	.theme-services.vrsn-three .service-content { padding: 28px 24px; }
}

/* ==========================================================================
   Highlight every primary menu item in a cream tone (corporate look)
   ========================================================================== */

:root {
	--nebbi-cream: #f4efe1;
	--nebbi-cream-strong: #e9e1cc;
}

/* Top-level items: transparent by default, navy text + navy icon tile */
.navbar .navbar-nav > li > .nav-link {
	background-color: transparent;
	color: var(--nebbi-navy);
}
.navbar .navbar-nav > li > .nav-link > i._mi {
	color: var(--nebbi-cream);
	background-image: none;
	background-color: var(--nebbi-navy);
	box-shadow: inset 0 0 0 1px transparent, 0 8px 16px -10px rgba(1, 1, 47, .55);
}

/* Cream fill only on hover / focus / current page (compact highlight) */
.navbar .navbar-nav > li > .nav-link:hover,
.navbar .navbar-nav > li > .nav-link:focus,
.navbar .navbar-nav > li.current-menu-item > .nav-link,
.navbar .navbar-nav > li.current-menu-ancestor > .nav-link,
.navbar .navbar-nav > li.active > .nav-link {
	background-color: var(--nebbi-cream);
	color: var(--nebbi-navy);
	border-radius: 6px;
	padding: .28rem .55rem;
}

/* Dropdown items: transparent by default */
.navbar .dropdown-menu .dropdown-item {
	background-color: transparent;
	color: var(--nebbi-navy);
}
.navbar .dropdown-menu .dropdown-item > i._mi {
	color: var(--nebbi-cream);
	background-image: none;
	background-color: var(--nebbi-navy);
	box-shadow: inset 0 0 0 1px transparent;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .current-menu-item > .dropdown-item {
	background-color: var(--nebbi-cream);
	color: var(--nebbi-navy);
	border-radius: 4px;
	padding: .42rem 1rem;
}

/* Mobile drawer (on the navy panel) */
@media (max-width: 991px) {
	#navbarNavDropdown .navbar-nav > li > .nav-link {
		background-color: transparent;
		color: rgba(255, 255, 255, .9);
	}
	#navbarNavDropdown .navbar-nav > li > .nav-link > i._mi {
		color: var(--nebbi-cream);
		background-image: none;
		background-color: var(--nebbi-navy);
		box-shadow: inset 0 0 0 1px transparent;
	}
	#navbarNavDropdown .navbar-nav > li > .nav-link:hover,
	#navbarNavDropdown .navbar-nav > li > .nav-link:focus,
	#navbarNavDropdown .navbar-nav > li.current-menu-item > .nav-link {
		background-color: var(--nebbi-cream);
		color: var(--nebbi-navy);
	}
	#navbarNavDropdown .dropdown-menu .dropdown-item {
		background-color: transparent;
		color: var(--nebbi-navy);
	}
	#navbarNavDropdown .dropdown-menu .dropdown-item > i._mi {
		color: var(--nebbi-cream);
		background-image: none;
		background-color: var(--nebbi-navy);
		box-shadow: inset 0 0 0 1px transparent;
	}
}

/* Keep icon tiles navy on hover / current (overrides the earlier green rules) */
.navbar .navbar-nav > li > .nav-link:hover > i._mi,
.navbar .navbar-nav > li > .nav-link:focus > i._mi,
.navbar .navbar-nav > li.current-menu-item > .nav-link > i._mi,
.navbar .navbar-nav > li.current-menu-ancestor > .nav-link > i._mi,
.navbar .navbar-nav > li.active > .nav-link > i._mi {
	color: var(--nebbi-cream);
	background-image: none;
	background-color: var(--nebbi-navy);
	box-shadow: inset 0 0 0 1px transparent;
	transform: none;
}
.navbar .dropdown-menu .dropdown-item:hover > i._mi,
.navbar .dropdown-menu .dropdown-item:focus > i._mi,
.navbar .dropdown-menu .current-menu-item > .dropdown-item > i._mi {
	color: var(--nebbi-cream);
	background-image: none;
	background-color: var(--nebbi-navy);
	box-shadow: inset 0 0 0 1px transparent;
}
@media (max-width: 991px) {
	#navbarNavDropdown .navbar-nav > li > .nav-link:hover > i._mi,
	#navbarNavDropdown .navbar-nav > li.current-menu-item > .nav-link > i._mi,
	#navbarNavDropdown .navbar-nav > li.current-menu-ancestor > .nav-link > i._mi {
		color: var(--nebbi-cream);
		background-image: none;
		background-color: var(--nebbi-navy);
		box-shadow: inset 0 0 0 1px transparent;
	}
}
