/*
 Theme Name:   Kadence Child
 Theme URI:    https://example.com/kadence-child/
 Description:  Kadence Child Theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* Theme customization starts here
-------------------------------------------------------------- */

:root {
	--global-kb-gap-sm: 20px;
	--global-kb-gap-md: 30px;
}
@media only screen and (max-width: 767px){
	:root {
		--global-kb-gap-sm: 10px;
		--global-kb-gap-md: 20px;
	}
}
/* Weight 100 */
@font-face {
    font-family: "NeueHaasDisplay";
    src: url("/wp-content/themes/kadence-child-theme-master/assets/fonts/NeueHaasDisplayThin.ttf") format("ttf");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
/* Weight 300 */
@font-face {
    font-family: "NeueHaasDisplay";
    src: url("/wp-content/themes/kadence-child-theme-master/assets/fonts/NeueHaasDisplayLight.ttf") format("ttf");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Weight 400 */
@font-face {
    font-family: "NeueHaasDisplay";
    src: url("/wp-content/themes/kadence-child-theme-master/assets/fonts/NeueHaasDisplayRoman.ttf") format("ttf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Weight 500 */
@font-face {
    font-family: "NeueHaasDisplay";
    src: url("/wp-content/themes/kadence-child-theme-master/assets/fonts/NeueHaasDisplayMediu.ttf") format("ttf");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Weight 700 */
@font-face {
    font-family: "NeueHaasDisplay";
    src: url("/wp-content/themes/kadence-child-theme-master/assets/fonts/NeueHaasDisplayBold.ttf") format("ttf");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Weight 900 */
@font-face {
    font-family: "NeueHaasDisplay";
    src: url("/wp-content/themes/kadence-child-theme-master/assets/fonts/NeueHaasDisplayBlack.ttf") format("ttf");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body, html, p, h1, h2, h3, h4, h5, h6, div, span, button, a, input, select, optgroup, textarea {font-family: "NeueHaasDisplay", sans-serif !important;}
body .footer-html {margin: unset;}
body .single-content h1, body .single-content h2, body .single-content h3, body .single-content h4, body .single-content h5, body .single-content h6, body .single-content p, body .single-content figure.wp-block-image {margin: unset;}
body .entry {box-shadow: unset;}
a.btn-text, a.btn-text-w {
    text-decoration: unset;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .32px;
    width: max-content;
	transition: all .3s;
}
a.btn-text:hover {
    filter: brightness(0);
}
a.btn-text-w:hover {
    gap: 25px;
}

.kt-button:hover .kt-btn-icon-side-right {
    transform: translateX(5px);
}

.btn-white.kt-button:hover .kt-btn-icon-side-right {
   filter: brightness(0);
}

.kt-button .kt-btn-icon-side-right{transition: all .4s;}

.green-lines h2, .green-lines h1{position:relative;}
.green-lines h2:before, .green-lines h1:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-top: 2px solid var(--global-palette10);
    border-left: 2px solid var(--global-palette10);
}

/*FOOTER START*/

.footer-logo figure {margin: unset;}

.footer-social ul.kt-svg-icon-list {
    width: max-content;
}
.footer-logo img {
    filter: brightness(0) invert(1);
}

.footer-icon-box:not(:first-child) {
    margin-top: 15px;
}
.footer-col-title {
    padding-bottom: 10px;
}
.footer-icon-box-title {
    display: flex;
    gap: 5px;
    align-items: center;
    align-content: center;
    margin-bottom: 5px;
}

.footer-icon-box h5 {
    font-size: 12px;
    line-height: 2em;
    text-transform: uppercase;
    color: white;
    font-weight: 300;
    letter-spacing: .24px;
}

.footer-icon-box a {
    color: white;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .32px;
}

.footer-icon-box a:hover {
    color: white;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-menu a {
    color: white;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .32px;
}

.footer-menu a:hover {
    color: white;
}

a.footer-certificates {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    margin-top: 15px;
}

a.footer-certificates img {
    filter: brightness(0) invert(1);
}
.footer-widget1 ul.kt-svg-icon-list {
    margin: unset !important;
}

section#block-9 {
    margin-top: auto;
    margin-bottom: 30px;
}

.footer-widget1 .footer-widget-area-inner {
    display: flex;
    flex-direction: column;
}
.footer-cp-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-end;
    gap: 40px;
    align-items: center;
    align-content: center;
    font-size: 14px;
    color: var(--global-palette4);
    font-weight: 300;
}

footer .wp-block-kadence-iconlist ul.kt-svg-icon-list svg {
    width: 23px;
    height: 23px;
}

li.wp-block-kadence-listitem.kt-svg-icon-list-item-wrap.kt-svg-icon-list-item-4a3e0a-53 svg {
    height: 30px;
    width: 30px;
}

/*FOOTER END*/

/*POCETNA START*/
@media only screen and (min-width: 1024px){
	.section-hero {
		aspect-ratio: 1920 / 750;
	}
}

.section-hero .kt-row-column-wrap {
    align-content: center;
    height: 100%;
}

/*Advantages*/
.company-advantages-box figure {
    width: 74px;
    height: 74px;
    display: flex;
    align-content: center;
    align-items: center;
    border: 1px solid white;
    border-radius: 50%;
    justify-content: center;
}
.company-advantages-box p {letter-spacing: -0.32px;}

.who-advantages-box {
    padding: 40px;
    border: 1px solid white;
}
/*Services Tabs*/
.wp-block-kadence-tabs .kt-tabs-title-list li.kt-tab-title-active .kt-tab-title span{
    font-weight: 700;
}

.services-tab-box {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 33.33%;
}
.services-tab-box-2 {
    transform: translateX(100%) translateZ(0);
}.services-tab-box-3 {
    transform: translateX(200%) translateZ(0);
}

.services-tabs figure img {
    width: 100% !important;
    object-fit: cover;
}

body .sustain-col {
    max-width: 515px;
}
/*POCETNA END*/

/*SERVICES*/
.services-box {
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
    max-width: calc(50% - 13px) !important;
	width: 100%;
}

.services-box .kt-infobox-textcontent {
    flex-grow: 1;
}

.company-service-box img {margin-bottom: 30px;}

.section-offset figure {
    height: 100%;
}

.section-offset figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

body .software-gallery img {
    height: 74px !important;
    width: auto !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

.software-gallery {
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
}

.software-gallery li.kadence-blocks-gallery-item:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.certificates-table a.btn-text {
    margin-top: 30px;
}

/*BLOG*/
html[lang="sr-RS"] .post-navigation-sub small {
    font-size: 0;
}

html[lang="sr-RS"] .post-navigation-sub small span.kadence-svg-iconset.svg-baseline {
    font-size: 14px ;
}

html[lang="sr-RS"] .nav-previous .post-navigation-sub small:after {
    content:'Prethodno';
    font-size: 14px;
}


html[lang="sr-RS"] .nav-next .post-navigation-sub small:before {
    content:'Sledeće';
    font-size: 14px;
}
html[lang="sr-RS"] a.post-more-link {
    font-size: 0 !important;
}

html[lang="sr-RS"] a.post-more-link:before {
    content: 'Saznajte više';
    font-size: 16px;
}

html[lang="sr-RS"] a.post-more-link span.kadence-svg-iconset.svg-baseline {
    font-size: 16px !important;
}

.blog-hero img.kb-img {
    aspect-ratio: 960 / 540;
}

.single-featured-image img {
    width: 100% !important;
    object-fit: cover;
}
.single-full-image img {
    width: 100%;
}

.pocetna-blog img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.pocetna-blog .entry {
    border-radius: unset;
    display: flex;
    flex-direction: column;
}
body .pocetna-blog .entry-content-wrap {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.pocetna-blog a.post-more-link {
    text-transform: unset;
    color: var(--global-palette1);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
}

.pocetna-blog h4.entry-title, .pocetna-blog a.post-more-link:hover {
    color: black;
}
.pocetna-blog h4.entry-title {
    margin-bottom: 13px !important;
}
.pocetna-blog.grid-cols {
    gap: 20px;
}

.who-brojevi .kb-count-up-process.kb-count-up-number {
    min-width: 203px;
    background-color: var(--global-palette1);
	height: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.who-brojevi p.kb-count-up-title {
    background-color: white;
    min-height: 142px;
}

.who-brojevi {
    display: flex;
    align-items: center;
    background-color: white;
    min-height: 142px;
}

/*CONTACT*/
.contact-links .kt-inside-inner-col {
    flex-wrap: nowrap !important;
}

body .contact-form .ff-el-input--label {
    display: none;
}

body .contact-form.fluentform .ff-el-group {margin-bottom: 10px;}

body .contact-form input, body .contact-form textarea {
    border-radius: unset !important;
	border-color: #eaeaea !important;
    font-size: 16px;
    padding-block: 15px !important;
}

body .contact-form textarea {height: 150px;margin-bottom: 7px;}
body .contact-form .ff_t_c p {
    font-size: 12px;
    color: black;
}

body .contact-form p.form-cp-txt {
    font-size: 10px;
    color: var(--global-palette4);
    margin-bottom: 40px;
}

.contact-col p {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.contact-col {
    margin-bottom: 10px;
}

form.wpcf7-form input {
    width: 100%;
}

form.wpcf7-form > p input {
    margin-bottom: 10px;
}

form.wpcf7-form input, form.wpcf7-form textarea {
    font-size: 16px;
    padding: 15px !important;
    line-height: 1em;
}

.wpcf7-form-control-wrap[data-name="acceptance-651"] label {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    font-size: 12px;
    color: #000;
}

.wpcf7-form-control-wrap[data-name="acceptance-651"] label input {
    width: max-content;
    margin-right: 15px;
    margin-bottom: unset;
}

.wpcf7-form-control-wrap[data-name="acceptance-651"] span.wpcf7-list-item {
    margin: unset;
}
p.form-text {
    font-size: 16px;
    color: black;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.submit-icon {
    padding: 17px 70px 17px 25px !important;
    width: max-content;
}
.contact-col p span {
    flex-grow: 1;
}
.contact-upload {
    margin-block: 20px;
    width: max-content;
}
p.form-cp-txt ~ p:before,
.contact-form .contact-submit p:before {
    content: '';
    position: absolute;
    top: 17px;
    left: 100px;
    width: 16px;
    height: 15px;
    background: url(/wp-content/uploads/2025/12/arrow-right.svg);
	transition: all .3s;
}

.contact-form .contact-submit p:before {
    left: 140px;
}

p.form-cp-txt ~ p:hover:before {
	left: 110px;
}
.contact-form .contact-submit p:hover:before{
	left: 150px;
}
p.form-cp-txt ~ p,
.contact-form .contact-submit p{
    position: relative;
}

.sustainability-hero .kt-row-column-wrap {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.sustainability-border > .kt-row-column-wrap {
    border-bottom: 1px solid #eaeaea;
}
.pocetna-industries,.section-offset-slider, .project-section {overflow: hidden;}

.contact-upload, .contact-submit {
  width: 100%;
  max-width: 250px;
}

.contact-upload p {
  margin: 0;
}

.contact-upload .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

.contact-upload input[type="file"] {
  width: 100%;
  padding: 24px 16px !important;
  border: 1.5px solid #0066cc !important;
  border-radius: 4px;
  background-color: #ffffff;
  color: #0066cc;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0;
}

.contact-upload input[type="file"]:hover {
  background-color: #f0f7ff;
  border-color: #0052a3;
}

.contact-upload input[type="file"]:focus {
  outline: none;
  border-color: #0052a3;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Style the file input button text */
.contact-upload input[type="file"]::file-selector-button {
  display: none;
}

.contact-upload input[type="file"]::before {
  content: 'Upload CV';
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 16px;
  background: url(/wp-content/uploads/2025/12/download.svg);
  background-size: 16px;
  background-repeat: no-repeat;
  color: #000;
  text-align: center;
  font-size: 16px;
  padding-left: 30px;
  position: absolute;
  top: 50%;
  left: calc(50% - 40px);
  transform: translate(-50%, -50%);
  line-height: 1.2;
}



/*OFFSET SLIDER START*/

.carousel-wrapper {
	overflow: visible;
	position: relative;
	display: flex;
	flex-direction: column;
}

.carousel-track {
	display: flex;
	gap: 20px;
	transition: transform 0.5s ease-in-out;
	scroll-snap-type: x mandatory;
	padding: 20px 0;
}

.carousel-slide {
	flex: 0 0 calc(40% - 10px);
	min-width: calc(40% - 10px);
	scroll-snap-align: start;
}

/*.carousel-slide:first-child .slide-images .slide-image:first-child {
	flex: 0.3;
}

.carousel-slide:first-child .slide-images .slide-image:last-child {
	flex: 1;
}

.carousel-slide:not(:first-child) .slide-images .slide-image:first-child {
	flex: 1;
}

.carousel-slide:not(:first-child) .slide-images .slide-image:last-child {
	flex: 0.3;
}*/

.slide-content {
	background: var(--global-palette1);
	overflow: hidden;
	border: 1px solid white;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.slide-images {
    display: flex;
    height: 220px;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    justify-content: space-between;
}

.pocetna-industries .slide-images {
    align-items: flex-start;
}

.slide-image {
	flex: 1;
	position: relative;
	overflow: hidden;
	width: 74px;
    max-height: 74px;
    border-radius: 50%;
    border: 1px solid white;
    padding: 20px;
}

.slide-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.image-label {
	color: white;
}

.slide-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    padding: 40px;
    color: var(--global-palette1);
    opacity: 0;
    transition: all .3s;
}

.carousel-slide:hover .slide-text {
    opacity: 1;
}

body .slide-info {
	padding: 30px;
	position: relative;
	max-width: 100%;
	width: calc(100% - 40px);
	background: transparent;
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: 10;
}

.slide-info.active {
	opacity: 1;
}

.slide-title {
	color: #000;
}

.slide-description {
	font-size: 16px;
	color: #6C6969;
	line-height: 1.6;
}

.learn-more {
	display: inline-flex;
	align-items: center;
	color: #0052CC;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: gap 0.3s ease;
	gap: 8px;
}

.learn-more:hover {
	gap: 12px;
}

.learn-more::after {
	content: '→';
	font-size: 18px;
}

.carousel-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
}

.carousel-arrows {
	display: flex;
}

.carousel-arrow {
	width: 40px;
	height: 40px;
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0px;
	position: relative;
	box-shadow: unset !important;
    background: transparent !important;
}

.carousel-arrow:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    background-image: url(/wp-content/uploads/2025/12/chevron.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
}

button#prevBtn:before {
    transform: scale(-1);
}

.carousel-arrow:hover {
	box-shadow: unset !important;
    background: unset !important;
}

.carousel-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.carousel-pagination {
	display: flex;
	gap: 8px;
}

.pagination-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ffffff3d;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.pagination-dot.active {
	background: #ffffff;
	width: 28px;
	border-radius: 5px;
}

/*PROJECT CAROUSEL*/
.carousel-project-container .carousel-slide {
    flex: 0 0 calc(80% - 10px);
    min-width: calc(80% - 10px);
}

.carousel-project-container .slide-images {
    aspect-ratio: 908/680;
    padding: unset;
    height: 100%;
}

.carousel-project-container .slide-content {
    background: unset;
}

.carousel-project-container .slide-images img {width: 100%;height: 100%;object-fit: cover;}

.carousel-project-container .carousel-arrow:before {
	background-image: url(/wp-content/uploads/2025/12/Group-49.svg);
}
.carousel-project-container .pagination-dot {
	background-color: var(--global-palette1);
	opacity: .3;
}

.carousel-project-container .pagination-dot.active {
	background-color: var(--global-palette1);
	opacity: 1;
}

.projects-carousel-container .slide-images {
    padding: unset;
    height: unset;
}

.projects-carousel-container .slide-feature-image,
.projects-carousel-container .slide-feature-image img {
    width: 100%;
    aspect-ratio: 1030 / 680;
    object-fit: cover;
}

.projects-carousel-container .image-label {
    position: absolute;
    bottom: 0;
    padding: 30px;
    background: #0644b7e6;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.8px;
    font-weight: 500;
    max-width: 100%;
}

.projects-carousel-container .carousel-arrow {
    filter: invert(1);
}

.projects-carousel-container .carousel-slide {
    flex: 0 0 calc(80% - 10px);
    min-width: calc(80% - 10px);
}

.project-carousel-wrapper .project-slide-info-box  p.project-slide-description {
    display: none;
}

@media (max-width: 968px) {
	.carousel-slide {
		flex: 0 0 calc(73% - 10px);
		min-width: calc(73% - 10px);
	}

	.slide-title {
		font-size: 24px;
	}
	.slide-image {
		width: 54px;
		max-height: 54px;
		padding: 15px;
	}
	
	body .slide-images {
		height: 240px;
	}
	body .slide-text {padding: 20px;}
}
/*OFFSET SLIDER END*/
@media only screen and (min-width: 1025px) {
	footer .site-footer-row.site-footer-row-columns-4 {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
	}

	section#block-8 {
		max-width: 300px;
	}
}

@media only screen and (max-width: 1290px){
	.green-lines h2:before, .green-lines h1:before {
		top: -10px;
		left: -15px;
	}
	.green-lines {
		padding-left: 15px;
	}
}

@media only screen and (max-width: 1024px){
	.green-lines h2:before, .green-lines h1:before {
		width: 100px;
		height: 100px;
	}
	.site-footer-bottom-section-1.site-footer-section.footer-section-inner-items-1 {
		order: 3;
		text-align: center;
	}

	.site-footer-bottom-section-3.site-footer-section.footer-section-inner-items-1 {
		text-align: center;
	}

	.site-footer-bottom-section-3.site-footer-section.footer-section-inner-items-1 .footer-cp-menu {
		justify-content: center;margin-bottom: 15px;margin-top: 10px;
	}
	footer .site-middle-footer-inner-wrap .widget {
		margin-bottom: unset;
	}

	section#block-13, section#block-14 {
		border-top: 1px solid #f8f8f83d;
		padding-top: 15px;
	}

	section#block-12, section#block-17, section#block-18 {
		padding-top: 10px;
	}

	footer .site-middle-footer-inner-wrap {
		gap: 15px;
	}

	section#block-14 {
		border-bottom: 1px solid #f8f8f83d;
		padding-bottom: 10px;
	}
	section#block-8 {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	footer .footer-col-title {
		display: flex;
		justify-content: space-between;
	}
	footer .footer-menu {
		gap: 10px;
	}
	section#block-18 {
		margin-top: -1px;
		background: var(--global-palette1);
	}
	
	.who-brojevi p.kb-count-up-title {
		text-align: center;
	}
	
	.project-projects-carousel-container .project-image-label {
		padding: 10px;
		font-size: 10px;
	}

	.project-slide-info {
		padding: 0 15px 30px 0;	
        flex-wrap: wrap;
	}

	.project-carousel-wrapper {
		margin-right: -40px;
	}

	.project-carousel-container {
		padding: 0 15px 0 0;
	}
	
	p.project-slide-description {
		padding-bottom: 15px;
	}
	.project-carousel-arrow {
		width: 34px;
		height: 34px;
	}
	
	.carousel-controls {
		flex-wrap: wrap;
		gap: 20px;
	}

}
@media only screen and (max-width: 1100px){
	.who-brojevi {
		flex-direction: column;
	}

	.who-brojevi .kb-count-up-process.kb-count-up-number {
		width: 100%;
	}
	

}
/*MOBILE*/
@media only screen and (max-width: 767px){
	body .services-tab-box {
		width: 100%;
	}
	body .services-tab-box-2, body .services-tab-box-3  {
    	transform: unset;
	}
	.certificates-table tbody, .certificates-table .kb-table tr {
		display: flex;
		flex-direction: column;
	}
	.services-tabs img {
		object-fit: cover;
	}
	/*SERVICES*/
	.services-box {
		max-width: 100% !important;
	}
	
	a.kt-tab-title {
		text-wrap-mode: nowrap;
	}

	body .wp-block-kadence-tabs .kt-tabs-title-list {
		flex-flow: nowrap;
		overflow: scroll;
	}

	a.kt-tab-title {
		padding-inline: 20px !important;
	}

	a.kt-tab-title.kt-tab-title-1 {
		padding-left: unset !important;
	}
	.contact-links .wp-block-kadence-image img {
		max-width: 40px;
	}
	
	.blog-hero img.kb-img {
		aspect-ratio: 402 / 325;
	}
}






:root {
	--item-gap: 20px;
    --desktop-w: 295px;
    --mobile-w: 245px;
}

.project-filter-container {
    width: 100%;
    overflow-x: visible;
}

.category-slider-outer {
    position: relative;
    margin-bottom: 80px;
}
.category-slider-viewport {
    overflow: visible; 
    width: 100%;
}

.category-slider-track {
    display: flex;
    gap: var(--item-gap);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.category-card-inner {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    align-content: center;
}
.category-item {
    flex: 0 0 var(--desktop-w);
    background: #fff;
    padding: 25px;
    cursor: pointer;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    align-content: center;
}

.category-item h4 {
    font-size: 18px;
    color: #000;
}

.category-item.active {border-color: var(--global-palette1);background: var(--global-palette1);}
.category-item.active h4{color: #fff;}
.category-item.active img{filter: brightness(0) invert(1);}
.cat-icon {
    width: 25px;
    height: 29px;
    display: block;
    object-fit: contain;
}

/* Navigation & Dots */
.slider-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-top: 30px;
}

.slider-top-nav .slider-arrows button {
    padding: unset;
    background: transparent;
    position: relative;
    box-shadow: unset;
}
.slider-top-nav button.prev-btn:before,
.slider-top-nav button.next-btn:before {
    content: '';
    position: relative;
    display: flex;
    width: 40px;
    height: 40px;
    background-image: url(/wp-content/uploads/2025/12/Group-49.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.slider-top-nav button.prev-btn:before {
    transform: scale(-1);
    margin-right: 10px;
}
.slider-dots { display: flex; gap: 8px; }
div#project-filter-component .slider-dots {
    display: none;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active { background: var(--global-palette1); }
/* Project Grid Styles */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: #fff;
	display: flex;
    flex-direction: column;
}

.project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-category-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--global-palette1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

body h3.project-title {
    font-size: 24px;
    line-height: 1.3;
    color: #000;
    margin-bottom: 30px;
    font-weight: 700;
    flex-grow: 1;
}

.read-more-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--global-palette1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more-link:hover .arrow {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

.project-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.slider-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.project-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.project-pagination .page-numbers {
    padding: 10px 18px;
    border: 1px solid #ddd;
    text-decoration: none;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

.project-pagination .page-numbers.current {
    background: var(--global-palette1);
    color: #fff;
    border-color: var(--global-palette1);
}

.project-pagination .page-numbers:hover:not(.current) {
    background: #f4f4f4;
}

/* Smooth transition for content swap */
#project-results {
    transition: opacity 0.3s ease;
}

/* Grid container should be hidden during initial load if you want */
#project-results.is-loading {
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .category-item { flex: 0 0 var(--mobile-w); }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
}

/* Lightbox Styles */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.lightbox.active {
	display: flex;
	opacity: 1;
}

.lightbox-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-image {
	max-width: 90%;
	max-height: 90vh;
	object-fit: contain;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: white;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 10001;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
}

.lightbox-close:hover {
	transform: scale(1.2);
}

.lightbox-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 30px;
	cursor: pointer;
	transition: background 0.3s ease;
	z-index: 10001;
}

.lightbox-arrow:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.4);
}

.lightbox-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.lightbox-arrow.prev {
	left: 30px;
}

.lightbox-arrow.next {
	right: 30px;
}

.lightbox-counter {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 18px;
	background: rgba(0, 0, 0, 0.5);
	padding: 10px 20px;
	border-radius: 20px;
}

@media (max-width: 768px) {
	.lightbox-arrow {
		width: 45px;
		height: 45px;
		font-size: 24px;
	}

	.lightbox-arrow.prev {
		left: 10px;
	}

	.lightbox-arrow.next {
		right: 10px;
	}

	.lightbox-close {
		top: 10px;
		right: 10px;
	}
}