/**
 * Theme Name:        Kesselmannacf
 * Theme URI:         https://uxi360.com/
 * Description:       Custom theme using ACF
 * Version:           1.0.0
 * Author:            UXi360
 * Author URI:        https://uxi360.com/
 * Tags:              Acf section builder, full-site-editing
 * Text Domain:       Kesselmannacf
 * Tested up to:      6.9.4
 * Requires at least: 6.9
 * Requires PHP:      8.3
  */


html {
    scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
	display: none;
}

.carousel-track {
	cursor: grab;
}

.carousel-track.active {
	cursor: grabbing;
}


/* header css ----------------------------*/

.menu-item {
	position: relative;
}

.menu-item a {
	display: flex;
	align-items: center;
	gap: 4px;
}


.menu-item-has-children>a {
	display: flex;
	align-items: center;
	gap: 4px;
}


.menu-item-has-children>a:hover{

 color:#2e5584;

}

.menu-item:hover>.sub-menu {
	display: block;
}

/*.sub-menu li {
	border-bottom: 1px solid #2a4e73;
}*/

.sub-menu a {
	display: block;
	padding: 10px 24px;
}

.sub-menu a:hover {
	/*background: #123f6c;*/
	color:#2e5584;
}

nav ul li ul.sub-menu li ul.sub-menu li a:hover{

color:#2e5584;

}

.sub-menu {
	font-weight: 400;
}

.sub-menu a {
	font-weight: 400;
}

.mobile-menu {
	display: flex;
	flex-direction: column;
}

.mobile-menu li {
	border-bottom: 1px solid #2a4e73;
}

.mobile-menu a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
}

.mobile-menu .sub-menu {
	display: none;
	flex-direction: column;
	background: #092345;
}

.mobile-menu .sub-menu a {
	font-weight: 400;
	padding-left: 35px;
}

.mobile-menu .menu-item-has-children.active>.sub-menu {
	display: flex;
}


/* DESKTOP MENU ONLY */
@media (min-width:1024px) {

	.sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		background: #0a2a50;
		width: 250px;
		display: none;
	}

	.menu-item:hover>.sub-menu {
		display: block;
	}

}

#mobile-menu .sub-menu {
	display: none;
	flex-direction: column;
	background: #092345;
}

#mobile-menu .menu-item-has-children.active>.sub-menu {
	display: flex;
}

#mobile-menu .sub-menu a {
	padding-left: 40px;
	font-weight: 400;
}

/* logo caresole home page  */

.carousel {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.carousel-track {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	gap: 1rem;
	padding: 1rem 0;
	cursor: grab;
}

.carousel-track:active {
	cursor: grabbing;
}

.carousel-item {
	flex: 0 0 auto;
	width: 47%;
}

@media (min-width: 768px) {
	.carousel-item {
		width: 19%;
	}
}

.carousel img {
	display: block;
	width: 100%;
	height: auto;
}

.carousel button.prev,
.carousel button.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 0.5rem 1rem;
	font-size: 1.5rem;
	cursor: pointer;
	user-select: none;
	border-radius: 50px;
}

.carousel button.prev {
	left: 0.5rem;
}

.carousel button.next {
	right: 0.5rem;
}

.carousel-track::-webkit-scrollbar {
	display: none;
}


/* slick product slider  */

/* ----- Slider Controls Layout ----- */
.product-slider-wrapper {
	position: relative;
}

/* ----- Dots (Left side) ----- */
.slick-dots {
	position: absolute;
	bottom: -45px;
	left: 0;
	display: flex !important;
	gap: 10px;
}

.slick-dots li {
	width: 12px;
	height: 12px;
}

.slick-dots li button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #d90011;
}

.slick-dots li.slick-active button {
	background: #d90011;
}

/* Remove default dot icon */
.slick-dots li button:before {
	display: none;
}


/* ----- Arrows (Right side) ----- */

.slick-prev,
.slick-next {
	position: absolute;
	bottom: -70px;
	top: auto;
	width: 40px;
	height: 40px;
	background: #f2f2f2;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.slick-prev {
	right: 60px;
	left: auto;
}

.slick-next {
	right: 10px;
}

.slick-prev:before,
.slick-next:before {
	color: #d90011;
	font-size: 22px;
}

/* -----------------------------------faq icon  animation */
.faq-answer {
	transition: all .3s ease;
}

.faq-icon.rotate {
	transform: rotate(180deg);
}


.faq-icon {

	height: 20px;

}

.list-style-check ul {
	list-style: none;
	padding-left: 20px;
}


.list-style-check ul li {
	position: relative;
	padding-left: 28px;
	line-height: 1.8;
}

.list-style-check ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17L4 12'/%3E%3C/svg%3E") no-repeat center;
	  
background-size: contain;
}

.list-style-crose ul {
	list-style: none;
	padding-left: 20px;
}


.list-style-crose ul li {
	position: relative;
	padding-left: 28px;
	line-height: 1.8;
}



.list-style-crose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 16px;
	height: 16px;
	  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6L18 18'/%3E%3C/svg%3E") no-repeat center;
background-size: contain;
}


.add-hide-icon::after {
	position: absolute;
	content: '';
	background-image: url(https://kesselmann.co.uk/assets/arrow.png);
	font-size: 20px;
	float: right;
	display: block;
	width: 1rem;
	height: 1rem;
	transition: .35s;
	margin: auto;
	right: 1rem;
	bottom: 1.4rem;
}


/* -----for 404 page  */

 .pipe-gradient {
            background: linear-gradient(90deg, #1e3a5f 0%, #334155 50%, #1e3a5f 100%);
        }
.water-drop {
	filter: drop-shadow(0 4px 6px rgba(30, 58, 95, 0.3));
}
.steam {
	background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}


/* list style disk  */
.list-style-dot ul li {
    list-style-type: disc !important;
}
.list-style-dot ul {
    margin-left: 27px !important;
}


/* Hide immediately surequote buttion   */
#mymodal2 .__surequote__intro,
#mymodal2 .modal-header {
    display: none !important;
}



.table-of-content ul li {
    margin-bottom: 10px;
}

.table-of-content ul li a {
    transition: 0.3s;
    /* display: inline-block; */
}

.table-of-content ul li a:hover {
    transform: translateX(5px);
}

.home_content h2,
.home_content h3 {
    scroll-margin-top: 120px;
}

.home_content img {
    width: 100%;
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    margin: 20px 0;
}

/* Desktop */
@media (min-width: 768px) {
    .home_content img {
        max-width: 860px;
        height: 360px;
    }
}

.home_content iframe {
    width: 100%;
}

.home_content ul {
    /* list-style: disc; */
    padding-left: 20px;
}

.home_content ol {
    list-style: decimal;
    padding-left: 20px;
}

.home_content h2,
.home_content h3 {
    font-size: 29px;
	color: #0a2a50;
	font-weight: 700;
}

.home_content h4,
.home_content h5 {
    font-size: 18px;
	color: #0a2a50;
	font-weight: 700;
}





/* blog page pagination */

.pagination,
.page-numbers {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

.page-numbers li a,
.page-numbers li span,
.page-numbers a,
.page-numbers span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #eff3fe;
    color: #0a2a50;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.page-numbers .current {
    background: #dc2626;
    color: #fff;
}

.page-numbers a:hover {
    background: #0a2a50;
    color: #fff;
}


/* blog page pagination */

.pagination,
.page-numbers {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

.page-numbers li a,
.page-numbers li span,
.page-numbers a,
.page-numbers span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #eff3fe;
    color: #0a2a50;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.page-numbers .current {
    background: #dc2626;
    color: #fff;
}

.page-numbers a:hover {
    background: #0a2a50;
    color: #fff;
}

/* forminater  */

.forminator-ui#forminator-module-1571.forminator-design--default .forminator-button-submit.freequote {
   width: 100%;
    text-align: center;
    display: block;
    border-radius: 60px;
    font-size: 16px;
    font-weight: bold;
	padding: 15px;
}


.contactform_section .forminator-ui#forminator-module-1571.forminator-design--default .forminator-label{


display:none;
}


.forminator-ui#forminator-module-1603.forminator-design--default .forminator-button-submit.freequote {
   width: 100%;
    text-align: center;
    display: block;
    border-radius: 60px;
    font-size: 16px;
    font-weight: bold;
	padding: 15px;
}

.forminator-ui#forminator-module-1669.forminator-design--default .forminator-button-submit.freequote {
   width: 100%;
    text-align: center;
    display: block;
    border-radius: 60px;
    font-size: 16px;
    font-weight: bold;
	padding: 15px;
}





/* slider resent project */



.recent-project-slider {
    padding-bottom: 90px;
}

/* card wrapper — fixed height keeps bottom alignment stable */
.project-card {
    height: 540px;
    display: flex !important;
    align-items: flex-end;   /* ← change from 'center' to 'flex-end' */
    justify-content: center;
}

/* default (inactive) image */
.project-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* active (center) image — grows upward, card height holds bottom in place */
.slick-center .project-image {
    height: 540px;
}

/* inactive slide dimmed */
.slick-slide {
    opacity: 1;
    transition: all 0.4s ease;
}

/* active slide full opacity */
.slick-center {
    opacity: 1;
}

/* align slides at baseline so card bottoms stay fixed */
.slick-track {
    display: flex;
    align-items: flex-end;  /* ← change from 'center' to 'flex-end' */
}

/* ---- arrows ---- */
/* arrows */
.custom-arrow {
    position: absolute;
    bottom: 0;
    z-index: 20;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.custom-arrow img {
    width: 27px;
    height: auto;
}

.slick-prev1.custom-arrow {
    left: auto;
    right: 90px;
}

.slick-next1.custom-arrow {
    right: 20px;
}

/* dots wrapper */
.slick-dots {
    bottom: 15px;
    text-align: left;
    display: flex !important;
    align-items: center;
}

/* default dot */
.slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    transition: all .3s ease;
}

/* remove default slick icon */
.slick-dots li button:before {
    display: none;
}

/* circle dot */
.slick-dots li button {
    width: 10px;
    height: 10px;
    background: #8d8d8d;
    border-radius: 50%;
    padding: 0;
    transition: all .3s ease;
    border: none;
}

/* active horizontal dot */
.slick-dots li.slick-active {
    width: 40px;
}

.slick-dots li.slick-active button {
    width: 40px;
    height: 8px;
    border-radius: 30px;
    background: #0A2A50;
    border: none;
}


.product-slider-wrapper div#product-services ul.slick-dots
 {
    bottom: -35px;
    width: 90%;
}


.product-slider .slick-track {
    display: flex !important;
     align-items: stretch;
}

.product-slider .slick-slide {
    height: auto;
}

.product-slider .slick-slide > div {
    height: 100%;
}



.service-tab:not(.active-tab):hover{
    background:#d90011;
    color:#fff;
    border-color:transparent;
}



/* ===== DESKTOP DROPDOWN MENU ===== */

/* Level 1 - parent li needs relative positioning */
nav ul li {
    position: relative;
}

/* Level 1 dropdown - appears below parent */
nav ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0a2a50;
    min-width: 220px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Show on hover */
nav ul li:hover > ul.sub-menu {
    display: block;
}

/* Level 1 dropdown items */
nav ul li ul.sub-menu li a {
    display: block;
    padding: 12px 0px;
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}


/* ===== LEVEL 2 - Child submenu flies RIGHT (no overlap) ===== */
nav ul li ul.sub-menu li {
    position: relative;

        margin-left: 25px;
    margin-right: 25px;
}

nav ul li ul.sub-menu li ul.sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;        /* fly to the RIGHT */
    background-color: #0a2a50;
    min-width: 285px;
    z-index: 1000;
    box-shadow: 4px 8px 20px rgba(0,0,0,0.2);
}

/* Show child on hover */
nav ul li ul.sub-menu li:hover > ul.sub-menu {
    display: block;
}

/* Child submenu items */
nav ul li ul.sub-menu li ul.sub-menu li a {
    display: block;
    padding: 12px 0px;
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}







/* ---- mobile ---- */
@media (max-width: 640px) {
    .project-card {
        height: auto;
    }
    .project-image,
    .slick-center .project-image {
        height: 320px;
    }

.slick-dots li {
margin: 0 0px;

}
.slick-dots li button{

width: 6px;
    height: 6px;
}

.slick-dots li.slick-active button {
    width: 29px;
    height: 5px;

}

.custom-arrow img {
    width: 18px;
    height: auto;
}

.slick-prev1.custom-arrow {
    left: auto;
    right: 60px;
}

.slick-dots {
    bottom: 0px;
}

.recent-project-slider {
    padding-bottom: 50px;
}


.product-slider-wrapper div#product-services ul.slick-dots
 {
    bottom: -35px;
    width: 70%;
}

}





.contactform_section form .forminator-row button.forminator-button{

    margin-bottom: -30px !important;
}