/* K&K Integrated Solutions - brand styles */
:root{
	--kk-red			: #EC1C24;
	--kk-teal			: #8CC8D0;
}

/* Sticky header: soft shadow once it is pinned to the top */
header.main-header .header-sticky.active{
	box-shadow: 0 6px 24px rgba(10, 42, 63, 0.08);
}

/* Logo */
.navbar-brand img{
	height: 56px;
	width: auto;
}

.footer-logo img{
	max-width: 260px;
	filter: brightness(0) invert(1);
}

/* Navigation: 7 items need tighter spacing than the theme's 5 */
.main-menu .nav-menu-wrapper > ul > li > a{
	white-space: nowrap;
	padding: 14px 12px !important;
	font-size: 15px;
}

.main-menu .nav-menu-wrapper{
	margin: 0 10px;
}

.header-btn .btn-default{
	white-space: nowrap;
}

@media only screen and (max-width: 1299px){
	.main-menu .nav-menu-wrapper > ul > li > a{
		padding: 14px 8px !important;
		font-size: 14px;
	}

	.navbar-brand img{
		height: 48px;
	}
}

/* Preloader: white screen so the full-colour logo shows without a box */
.preloader{
	background: var(--white-color);
}

.loading{
	border-color: transparent var(--accent-color) transparent var(--kk-red);
}

#loading-icon img{
	width: 64px;
	max-width: none;
}

/* Topbar contact links (no social icons, so no divider after them) */
.topbar-contact-info{
	border-right: none !important;
	margin-right: 0 !important;
	padding-right: 0 !important;
}

.topbar-contact-info ul li a i{
	margin-right: 6px;
}

/* ----- Red accents (logo red, kept to ~10% of the design) ----- */

/* Section labels */
.section-title h3{
	color: var(--kk-red);
}

.section-title h3::before{
	background-image: url('../images/icon-sub-heading-red.svg');
}

.section-title.dark-section h3{
	color: var(--white-color);
}

.section-title.dark-section h3::before{
	filter: none;
}

/* Header call-to-action */
.header-btn .btn-default{
	background: var(--kk-red);
}

.header-btn .btn-default:hover{
	background: #C4141B;
}

/* Buttons and links turn red on hover */
.btn-default:hover{
	background: var(--kk-red);
}

.btn-default.btn-highlighted::after{
	background: var(--kk-red);
}

.main-menu ul li a:hover,
.main-menu ul li a:focus{
	color: var(--kk-red);
}

.service-item.active .service-btn a,
.service-item:hover .service-btn a{
	color: var(--kk-red);
}

.service-item .service-btn a:hover{
	background: var(--kk-red);
	color: var(--white-color);
}

/* Small details */
.hero.hero-slider-layout .hero-pagination .swiper-pagination-bullet-active{
	background-color: var(--kk-red);
}

.kk-plus{
	color: var(--kk-red);
}

.about-footer-list ul li{
	background-image: url('../images/icon-check-red.svg');
}

.footer-links h3{
	position: relative;
	padding-bottom: 12px;
}

.footer-links h3::after{
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--kk-red);
}

/* Keep e-mail addresses lowercase where the theme capitalizes links */
a[href^="mailto:"]{
	text-transform: none !important;
}

/* Hero slider: stretch every slide to the tallest one so shorter headlines don't leave a gap */
.hero.hero-slider-layout .swiper-slide{
	height: auto;
}

.hero.hero-slider-layout .hero-slide{
	height: 100%;
	display: flex;
	align-items: center;
}

.hero.hero-slider-layout .hero-slide > .container{
	width: 100%;
}

/* Hero call button reuses the video-play-button look */
.hero-call-button a{
	display: inline-flex;
	align-items: center;
	gap: 15px;
}

.hero-call-button h3{
	white-space: nowrap;
}

.hero-call-button h3 a{
	color: inherit;
	text-decoration: none;
}

.hero-call-button h3 small{
	display: block;
	font-size: 14px;
	font-weight: 400;
	opacity: 0.8;
	margin-bottom: 4px;
	text-transform: none;
}

/* About badge (replaces the rotating "get free security" circle) */
.kk-badge-circle{
	width: 166px;
	height: 166px;
	border-radius: 50%;
	background: var(--white-color);
	border: 6px solid var(--secondary-color);
	box-shadow: 0 10px 40px rgba(10, 42, 63, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.kk-badge-circle img{
	width: 100%;
	animation: none;
}

/* Product cards: Font Awesome icons instead of SVG files */
.service-item .icon-box i{
	font-size: 56px;
	line-height: 1;
	background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary-color));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transition: all 0.4s ease-in-out;
}

.service-item.active .icon-box i,
.service-item:hover .icon-box i{
	background: none;
	color: var(--white-color);
	-webkit-text-fill-color: var(--white-color);
}

.our-services .service-item{
	padding: 35px 30px;
}

.our-services .service-item .icon-box{
	margin-bottom: 50px;
}

/* Feature list icons */
.ferature-list-item .icon-box i{
	font-size: 28px;
	color: var(--white-color);
}

/* Partners strip */
.kk-partners{
	padding: 100px 0;
	background: var(--secondary-color);
}

.kk-partner-item{
	background: var(--white-color);
	border-radius: 20px;
	padding: 35px 30px;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	border-bottom: 4px solid transparent;
	transition: all 0.3s ease-in-out;
}

.kk-partner-item:hover{
	border-bottom-color: var(--kk-red);
	transform: translateY(-4px);
}

.kk-partner-item h3{
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 12px;
}

.kk-partner-item p{
	margin: 0;
}

/* Floating WhatsApp button */
.kk-whatsapp{
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #FFFFFF;
	font-size: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease-in-out;
}

.kk-whatsapp:hover{
	color: #FFFFFF;
	transform: scale(1.08);
}

/* The theme's custom mouse cursor sticks where you last tapped on touch screens */
@media (hover: none), (pointer: coarse){
	.cb-cursor{
		display: none !important;
	}
}

@media only screen and (max-width: 991px){
	.navbar-brand img{
		height: 44px;
	}

	.kk-partners{
		padding: 60px 0;
	}
}

@media only screen and (max-width: 767px){
	.navbar-brand img{
		height: 38px;
	}

	.kk-badge-circle{
		width: 120px;
		height: 120px;
		padding: 20px;
	}
}

/* ======================================================================
   Inner pages
   ====================================================================== */

/* Generic sections */
.kk-section{
	padding: 100px 0;
}

.kk-section-alt{
	background: var(--secondary-color);
}

.kk-section-btn{
	margin-top: 30px;
}

.kk-note{
	font-size: 14px;
	font-style: italic;
	opacity: 0.8;
}

.kk-inner-cta{
	padding-top: 100px;
}

/* Product page sidebar: highlight the current product */
.page-catagery-list ul li.active a{
	color: var(--white-color);
}

.page-catagery-list ul li.active a::after{
	top: 0;
	height: 100%;
}

.page-catagery-list ul li.active a::before{
	color: var(--white-color);
}

.sidebar-cta-logo img{
	max-width: 240px;
	filter: brightness(0) invert(1);
}

.sidebar-cta-contact-content p a{
	color: var(--white-color);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kk-single-image{
	margin-bottom: 40px;
}

.kk-single-image figure{
	display: block;
	width: 100%;
}

.kk-single-image img{
	display: block;
	width: 100%;
	aspect-ratio: 1 / 0.56;
	object-fit: cover;
	border-radius: 30px;
}

/* Feature items on product pages use Font Awesome icons */
.service-feature-box .icon-box i{
	font-size: 40px;
	background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary-color));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Check lists */
.kk-check-list ul,
.kk-two-col-list ul{
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.kk-check-list ul li,
.kk-two-col-list ul li{
	background: url('../images/icon-check-red.svg') no-repeat left top;
	background-size: 22px auto;
	line-height: 1.5em;
	padding-left: 34px;
	margin-bottom: 14px;
}

.kk-two-col-list ul{
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
}

/* Product cards */
.kk-product-card{
	background: var(--white-color);
	border: 1px solid var(--divider-color);
	border-radius: 24px;
	overflow: hidden;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	box-shadow: 0 10px 30px rgba(10, 42, 63, 0.05);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.kk-product-card:hover{
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(10, 42, 63, 0.1);
}

.kk-product-image{
	background: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	aspect-ratio: 4 / 3;
}

.kk-product-image img{
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.kk-product-image-lg{
	border-radius: 24px;
	margin-bottom: 30px;
}

.kk-product-body{
	padding: 25px 28px 28px;
	border-top: 1px solid var(--divider-color);
}

.kk-product-body h3{
	font-size: 20px;
	margin-bottom: 6px;
}

.kk-product-sub{
	color: var(--kk-red);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 12px;
}

.kk-product-body p:last-child{
	margin-bottom: 0;
}

.kk-specs{
	margin-top: 15px;
	border-top: 1px dashed var(--divider-color);
	padding-top: 12px;
}

.kk-specs summary{
	cursor: pointer;
	font-weight: 600;
	color: var(--accent-color);
}

.kk-specs ul{
	margin: 12px 0 0;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.6em;
}

/* Stats (virtualization) */
.kk-stats{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 30px 0 10px;
}

.kk-stat{
	background: linear-gradient(90.15deg, var(--accent-color) 1.15%, var(--accent-secondary-color) 98.84%);
	border-radius: 20px;
	padding: 25px 20px;
	text-align: center;
}

.kk-stat h3{
	color: var(--white-color);
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 6px;
}

.kk-stat p{
	color: var(--white-color);
	margin: 0;
	line-height: 1.4em;
}

/* Model lists and galleries (special printers) */
.kk-model-list{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 40px;
}

.kk-model{
	background: var(--white-color);
	border-left: 4px solid var(--accent-color);
	border-radius: 12px;
	padding: 18px 20px;
	box-shadow: 0 6px 20px rgba(10, 42, 63, 0.05);
}

.kk-model h4{
	font-size: 18px;
	margin-bottom: 6px;
}

.kk-model p{
	margin: 0;
	font-size: 15px;
	line-height: 1.5em;
}

.kk-gallery-item{
	background: #FFFFFF;
	border-radius: 20px;
	padding: 15px;
	margin-bottom: 24px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--divider-color);
}

.kk-gallery-item img{
	max-width: 100%;
	max-height: 100%;
	mix-blend-mode: multiply;
}

/* Logo cards (partners strip, customers) */
.kk-logo-card{
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--white-color);
	border-radius: 20px;
	padding: 25px;
	height: 150px;
	margin-bottom: 30px;
	border: 1px solid var(--divider-color);
	transition: all 0.3s ease-in-out;
}

.kk-logo-card:hover{
	border-color: var(--kk-red);
	transform: translateY(-4px);
}

.kk-logo-card img{
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* Partner rows */
.kk-partner-row{
	display: flex;
	align-items: center;
	gap: 50px;
	background: var(--white-color);
	border: 1px solid var(--divider-color);
	border-radius: 30px;
	padding: 40px;
	margin-bottom: 30px;
	scroll-margin-top: 120px;
}

.kk-partner-logo{
	flex: 0 0 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--secondary-color);
	border-radius: 20px;
	height: 180px;
	padding: 30px;
}

.kk-partner-logo img{
	max-width: 100%;
	max-height: 100%;
	mix-blend-mode: multiply;
}

.kk-partner-text h3{
	font-size: 28px;
	margin-bottom: 6px;
}

/* Sectors (customers) */
.kk-sector{
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: var(--white-color);
	border: 1px solid var(--divider-color);
	border-radius: 20px;
	padding: 25px;
	height: calc(100% - 30px);
	margin-bottom: 30px;
}

.kk-sector-icon{
	flex: 0 0 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(90.15deg, var(--accent-color) 1.15%, var(--accent-secondary-color) 98.84%);
	color: var(--white-color);
	font-size: 22px;
}

.kk-sector h3{
	font-size: 19px;
	margin-bottom: 6px;
}

.kk-sector p{
	margin: 0;
}

/* Contact form */
#quote{
	scroll-margin-top: 120px;
}

.member-contact-form .form-select{
	color: var(--text-color);
	text-align: left;
}

.kk-form-error{
	color: #FFFFFF;
	background: var(--kk-red);
	border-radius: 10px;
	padding: 10px 15px;
	margin: 20px 0 0;
}

.kk-form-alt{
	color: var(--white-color);
	margin: 20px 0 0;
}

.kk-form-alt a{
	color: var(--white-color);
	text-decoration: underline;
}

.google-map-iframe,
.google-map-iframe iframe{
	height: 450px;
	border: 0;
}

/* 404 */
.kk-404{
	text-align: center;
}

.kk-404-code{
	font-size: 160px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary-color));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 20px;
}

@media only screen and (max-width: 991px){
	.kk-section{
		padding: 60px 0;
	}

	.kk-inner-cta{
		padding-top: 60px;
	}

	.kk-partner-row{
		flex-direction: column;
		align-items: stretch;
		gap: 25px;
		padding: 25px;
	}

	.kk-partner-logo{
		flex: 0 0 auto;
		height: 140px;
	}
}

@media only screen and (max-width: 767px){
	.kk-stats{
		grid-template-columns: 1fr;
	}

	.kk-two-col-list ul{
		grid-template-columns: 1fr;
	}

	.kk-logo-card{
		height: 110px;
		padding: 15px;
	}

	.kk-404-code{
		font-size: 110px;
	}

	.service-feature-item{
		width: 100%;
	}
}

/* Contact box: theme ships a grey placeholder here, use a dark brand photo instead */
.page-contact-box{
	background: linear-gradient(rgba(10, 42, 63, 0.88), rgba(10, 42, 63, 0.88)), url('../images/cta-meeting-display.jpg') center / cover no-repeat;
}

.page-contact-box .contact-us-form .section-title p{
	color: var(--white-color);
	opacity: 0.85;
}

/* Product pages on tablet/phone: the sidebar copy sits after the product sections */
.kk-mobile-sidebar{
	padding: 60px 0 0;
}

.kk-mobile-sidebar .page-single-sidebar{
	margin: 0;
}

/* Bixolon printer cards (mirror the company profile: model, blue subtitle, orange hashtags) */
.kk-printer-card .kk-product-body h3{
	font-size: 22px;
}

.kk-printer-sub{
	color: var(--accent-color);
	font-weight: 600;
	line-height: 1.4em;
	margin-bottom: 10px;
}

.kk-tags{
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 12px;
	line-height: 1.4em;
	color: #E0712C;
	margin-bottom: 14px;
}

.kk-printer-card .kk-product-body p:last-child{
	font-size: 15px;
	line-height: 1.6em;
}

/* Quote form: hidden spam trap and success message */
.kk-hp{
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kk-form-success{
	color: #FFFFFF;
	background: #1E9E5A;
	border-radius: 10px;
	padding: 10px 15px;
	margin: 20px 0 0;
}

/* Footer: designer credit */
.kk-credit{
	display: inline-block;
	margin-left: 6px;
	opacity: 0.85;
}

.kk-credit a{
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kk-credit a:hover{
	color: var(--white-color);
	opacity: 1;
}

/* WordPress: plain text pages (privacy policy, etc.) */
.kk-page-content{
	font-size: 17px;
	line-height: 1.8em;
}

.kk-page-content h2,
.kk-page-content h3{
	margin: 30px 0 15px;
}

.kk-page-content img{
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

.kk-post-item{
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--divider-color);
}
