/*
 Theme Name:   Industrie Child
 Theme URI:    https://demo.rstheme.com/wordpress/industrie/
 Description:  Industrie Child
 Author:       RSTheme
 Author URI:   http://rstheme.com
 Template:     industrie
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

span.sa-orange {
    color: #ea5501;
}
#content {
    padding-top: 60px;
}

/* ===== Industry We Supply – Slider ===== */
.sa-industry .slick-list{padding:16px 0 28px!important;margin:-16px 0 -12px!important;}

/* Equal-height slides */
.sa-industry .slick-track{display:flex!important;align-items:stretch;}
.sa-industry .slick-slide{height:auto!important;float:none;display:flex!important;padding:0 12px!important;}
.sa-industry .slick-slide>div{display:flex;width:100%;}
.sa-industry .team-item,
.sa-industry .team-item-wrap,
.sa-industry .team-inner-wrap{display:flex!important;flex-direction:column;width:100%;height:100%;}

/* Card */
.sa-industry .team-item-wrap{
  position:relative;background:#fff!important;border:1px solid #ececec!important;
  border-radius:16px!important;padding:32px 26px 30px!important;
  box-shadow:0 2px 10px rgba(17,24,39,.04)!important;overflow:hidden;
  transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .4s ease!important;
}
.sa-industry .team-item-wrap::before{
  content:"";position:absolute;left:0;top:0;height:3px;width:100%;
  background:linear-gradient(90deg,#F58220,#ffb066);
  transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.2,.8,.2,1);
}
.sa-industry .team-content{flex:1 1 auto;display:flex;flex-direction:column;}
.sa-industry .team-name{margin:22px 0 12px!important;line-height:1.3!important;}
.sa-industry .team-name a{color:#2b2b2b!important;transition:color .3s ease;}
.sa-industry .team-content .team-title{display:block;color:#5f6368!important;font-size:15px!important;line-height:1.8!important;}
.sa-industry .image-wrap img{transition:transform .5s cubic-bezier(.2,.8,.2,1);}


.sa-industry .team-item-wrap:hover::before{transform:scaleX(1);}
.sa-industry .team-item-wrap:hover .team-name a{color:#F58220!important;}
.sa-industry .team-item-wrap:hover .image-wrap img{transform:scale(1.06) rotate(-2deg);}

/* Dots (if enabled) */
.sa-industry .slick-dots{display:flex!important;justify-content:center;gap:8px;margin:18px 0 0;padding:0;list-style:none;position:static;}
.sa-industry .slick-dots li{margin:0;width:auto;height:auto;}
.sa-industry .slick-dots li button{width:10px;height:10px;padding:0;border:0;border-radius:20px;background:#d9d9d9;font-size:0;cursor:pointer;transition:all .35s ease;}
.sa-industry .slick-dots li button:before{display:none;}
.sa-industry .slick-dots li.slick-active button{width:30px;background:#F58220;}


.sa-industry .slick-arrow:hover{background:#F58220!important;border-color:#F58220!important;color:#fff!important;}

@media (max-width:767px){
  .sa-industry .team-item-wrap{padding:26px 20px!important;}
}
.sa-industry .image-inner img {
    width: auto;
    padding: 18px;
    max-height: 132px;
}
.sa-industry .team-item-wrap {
    background: #fff!important;
    border: 1px solid #ececec!important;
    border-radius: 16px!important;
    padding: 24px 20px 24px!important;
    box-shadow: 0 2px 10px rgba(17,24,39,.04)!important;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .4s ease!important;
}
#sa-industryh-slider .portfolio-content {
    bottom: 0;
	left: 20px;
}

#sa-industryh-slider .portfolio-item:hover .portfolio-content {
    bottom: 50px;
}
#sa-industryh-slider .p-category a {
    background: transparent;
}
#sa-slider-container::before {
content: "";            
  position: absolute;   
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
	z-index: 1;  
}
.rs-button .rs-btn {
    background: #EA5501;
    color: #ffffff;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
      padding: 9px 56px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    line-height: 28px;
    transition: all 0.5s ease;
}
.wpcf7-submit {
    margin: 0px 0px 0px 0px;
    padding: 10px 90px 10px 66px !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    border-radius: 10px !important;
border: none !important;
	background-position: 75% 50%;
}

/* Equal-height boxes – "Our Specialised Product Segments" slider */
.sa-segment-slider .slick-track {
  display: flex !important;
}
.sa-segment-slider .slick-slide {
  height: auto !important;   /* overrides Slick's fixed height so slides can stretch */
  display: flex !important;
}
.sa-segment-slider .rs-service-slider {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.sa-segment-slider .service-title-holder,
.sa-segment-slider .service-content-area {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.sa-segment-slider .service-content-area .read__more {
  margin-top: auto !important;  /* pins "Explore more" to the bottom */
  padding-top: 10px;
}



/* ============================================================
   SERVICE GALLERY - ADMIN
   ============================================================ */

#sa-service-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.sa-service-gallery-admin-item {
    width: 120px;
    height: 90px;
    position: relative;

    border: 2px solid #ddd;
    border-radius: 6px;

    overflow: hidden;
    background: #f7f7f7;

    cursor: move;
}

.sa-service-gallery-admin-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.sa-service-gallery-remove {
    position: absolute;

    top: 5px;
    right: 5px;

    width: 25px;
    height: 25px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #d63638;
    color: #fff;

    font-size: 18px;
    line-height: 25px;

    text-align: center;

    cursor: pointer;
}

.sa-service-gallery-remove:hover {
    background: #b32d2e;
}

.sa-service-gallery-sort-placeholder {
    width: 120px;
    height: 90px;

    border: 2px dashed #2271b1;
    border-radius: 6px;

    background: #f0f6fc;
}


/* ============================================================
   SERVICE GALLERY - FRONTEND
   ============================================================ */

.sa-service-gallery {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    box-sizing: border-box;
}


/* ============================================================
   MAIN IMAGE
   ============================================================ */

.sa-service-gallery-main {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-service-gallery-main-image {
    width: 100%;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f6f7;

    border-radius: 12px;

    overflow: hidden;
}

.sa-service-gallery-main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: opacity 0.2s ease;
}


/* ============================================================
   ARROWS
   ============================================================ */

.sa-service-gallery-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #222;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.sa-service-gallery-arrow:hover {
    background: #fff;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.22);

    transform:
        translateY(-50%) scale(1.05);
}

.sa-service-gallery-prev {
    left: 15px;
}

.sa-service-gallery-next {
    right: 15px;
}


/* ============================================================
   THUMBNAILS
   ============================================================ */

.sa-service-gallery-thumbnails {
    display: flex;

    gap: 12px;

    width: 100%;

    margin-top: 15px;

    padding: 2px 2px 8px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: thin;

    box-sizing: border-box;
}

.sa-service-gallery-thumbnail {
    flex: 0 0 120px;

    width: 120px;
    height: 90px;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 8px;

    background: #f5f6f7;

    overflow: hidden;

    cursor: pointer;

    opacity: 0.7;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.sa-service-gallery-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sa-service-gallery-thumbnail:hover {
    opacity: 1;

    transform:
        translateY(-2px);
}

.sa-service-gallery-thumbnail.active {
    border-color: #f58220;

    opacity: 1;
}

/* ============================================================
   SERVICES GALLERY
   Add to: Appearance > Customize > Additional CSS
   (or your child theme's style.css)
   ============================================================ */

.sg-gallery {
	--sg-accent: #e8781e;          /* orange block + active thumb */
	--sg-badge-bg: #1c1c1c;
	--sg-badge-color: #ffffff;
	--sg-frame: #ffffff;           /* white border around images */
	--sg-radius: 16px;
	--sg-thumb-radius: 10px;
	--sg-offset: 20px;             /* how far the orange block sticks out */
	--sg-gap: 14px;
	--sg-shadow: 0 10px 30px rgba(20, 30, 50, 0.15);

	position: relative;
	width: 100%;
	max-width: 640px;
	margin: 0 auto 30px;
	padding-left: var(--sg-offset);
	box-sizing: border-box;
	outline: none;
}

.sg-gallery *,
.sg-gallery *::before,
.sg-gallery *::after {
	box-sizing: border-box;
}

.sg-gallery:focus-visible {
	outline: 2px solid var(--sg-accent);
	outline-offset: 6px;
	border-radius: var(--sg-radius);
}

/* ---------- Main image ---------- */

.sg-stage {
	position: relative;
	margin-bottom: calc(var(--sg-offset) + var(--sg-gap));
}

/* Orange block behind the main image */
.sg-stage::before {
	content: "";
	position: absolute;
	left: calc(var(--sg-offset) * -1);
	bottom: calc(var(--sg-offset) * -1);
	width: 78%;
	height: 75%;
	background: var(--sg-accent);
	border-radius: var(--sg-radius);
	z-index: 0;
}

.sg-main {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 3;
	background: var(--sg-frame);
	border: 6px solid var(--sg-frame);
	border-radius: var(--sg-radius);
	box-shadow: var(--sg-shadow);
	overflow: hidden;
	touch-action: pan-y;
}

.sg-main .sg-main-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	border-radius: calc(var(--sg-radius) - 6px);
	transition: opacity 0.15s ease;
}

.sg-main .sg-main-img.is-fading {
	opacity: 0;
}

/* ---------- Badge (top right) ---------- */

.sg-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	max-width: calc(100% - 24px);
	padding: 7px 14px;
	background: var(--sg-badge-bg);
	color: var(--sg-badge-color);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-radius: 999px;
	pointer-events: none;
}

/* ---------- Arrows ---------- */

.sg-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px; 
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    background: #202020;
    color: #ff000000;
    border: 0;
    border-radius: 50%;
    /* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); */
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sg-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: rgb(245 130 33);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-prev { left: 12px; }
.sg-next { right: 12px; }

.sg-arrow:hover {
    background: #202020;
    color: transparent;
}

.sg-arrow:active {
	transform: translateY(-50%) scale(0.94);
}

.sg-arrow:focus-visible {
	outline: 2px solid var(--sg-accent);
	outline-offset: 2px;
}

/* ---------- Counter (bottom right) ---------- */

.sg-counter {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	padding: 4px 10px;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	border-radius: 999px;
	pointer-events: none;
}

/* ---------- Thumbnails ---------- */

.sg-thumbs {
	position: relative;
	display: flex;
	gap: var(--sg-gap);
	margin-left: calc(var(--sg-offset) * -1);   /* align with orange block edge */
	padding: 4px 4px 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: #c9ced6 transparent;
}

.sg-thumbs::-webkit-scrollbar { height: 6px; }
.sg-thumbs::-webkit-scrollbar-thumb { background: #c9ced6; border-radius: 3px; }

.sg-thumb {
    flex: 0 0 calc((100% - (var(--sg-gap) * 2)) / 3);
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: 2px;
    background: var(--sg-frame);
    border: 1px solid transparent !important;
    border-radius: var(--sg-thumb-radius) !important;
    box-shadow: 0 4px 14px rgba(20, 30, 50, 0.1);
    cursor: pointer;
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sg-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: calc(var(--sg-thumb-radius) - 4px);
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.sg-thumb:hover img,
.sg-thumb.is-active img {
	opacity: 1;
}

.sg-thumb:hover {
	border-color: #d5d9df;
}

.sg-thumb.is-active {
	border-color: var(--sg-accent);
	box-shadow: 0 4px 16px rgba(232, 120, 30, 0.25);
}

.sg-thumb:focus-visible {
	outline: 2px solid var(--sg-accent);
	outline-offset: 2px;
}

/* =========================================
   REQUEST QUOTE POPUP
========================================= */

.ka-quote-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ka-quote-popup.is-open {
    display: flex;
}

.ka-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(5px);
}

.ka-popup-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;

    background: #111111;
    border: 1px solid #29292d;
    border-radius: 18px;
	overflow: hidden;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.65);

    color: #fff;
}

.ka-popup-content {
    padding: 30px;
}

.ka-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50% !important;
    background: #18181b;
    color: #aaa;
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
    z-index: 5;
    border: none !important;
    padding: 0 !important;
}

.ka-popup-close:hover {
    color: #fff;
    background: #27272a;
}


/* =========================================
   FORM
========================================= */

.ka-form-heading {
    padding-right: 35px;
    margin-bottom: 24px;
}

.ka-form-heading h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 22px;
    line-height: 24px;
}
body.ka-popup-active {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed;
    width: 100%;
}
.ka-form-heading p {
    margin: 0;
    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.5;
}

.ka-field {
    margin-bottom: 16px;
}

.ka-field label {
    display: block;
    margin-bottom: 7px;

    color: #d4d4d8;
    font-size: 12px;
    font-weight: 500;
}

.ka-field label span {
    color: #fff;
}

.ka-field label small {
    color: #71717a;
    font-size: 11px;
    font-weight: 400;
}

.ka-field input,
.ka-field textarea,
.ka-field select {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #27272a;
    border-radius: 9px;

    background: #09090b;
    color: #fff;

    font-size: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
	margin: 0;
}

.ka-field input {
    height: 44px;
}

.ka-field textarea {
    min-height: 90px;
    resize: vertical;
}

.ka-field input:focus,
.ka-field textarea:focus {
    border-color: #52525b;
    box-shadow: 0 0 0 2px rgba(255,255,255,.04);
}

.ka-field input::placeholder,
.ka-field textarea::placeholder {
    color: #52525b;
}


/* Product name */

#quote-product-name {
    color: #fff;
    background: #111113;
}


/* Quantity */

.ka-quantity p{
    display: flex;
    align-items: center;
   gap: 4px;
}
.ka-flex { display: flex;
    gap: 16px;}

.ka-flex .ka-field{
    flex: 1;
}

.ka-quantity .wpcf7-form-control-wrap {
    flex: 1;
}

.ka-quantity input {
    width: 100%;
}

.ka-quantity strong {
    color: #d4d4d8;
    font-size: 13px;
    font-weight: 500;
}


/* Submit */

.ka-submit {
    margin-top: 22px;
}

.ka-submit input[type="submit"] {
    width: 100%;
    cursor: pointer;
    transition: all .2s;
}


.ka-submit input[type="submit"]:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* =========================================
   SUCCESS MESSAGE
========================================= */

.ka-quote-success {
    display: none;
    text-align: center;
    padding: 55px 20px 45px;
}

.ka-success-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #18181b;
    border: 1px solid #3f3f46;

    color: #fff;
    font-size: 26px;
}

.ka-quote-success h3 {
    margin: 0 0 10px;

    color: #fff;
    font-size: 23px;
}

.ka-quote-success p {
    margin: 0 0 25px;

    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.6;
}

.ka-success-close {
    padding: 5px 27px;
    border: 1px solid #27272a !important;
    
}

/* CF7 */

.ka-quote-form .wpcf7-not-valid {
    border-color: #ef4444 !important;
}

.ka-quote-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 11px;
    color: #ef4444;
}

.ka-quote-form .wpcf7-response-output {
    margin: 15px 0 0 !important;
    padding: 10px !important;
    border-radius: 8px;
    font-size: 12px;
}

.service-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;counter-reset:svc}
.service-category-item{counter-increment:svc;position:relative;display:flex;flex-direction:column;background:#f4f4f4;overflow:hidden;transition:box-shadow .3s ease,transform .3s ease}
.service-category-item:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.08)}

.service-category-image{aspect-ratio:3/2;background:#b9b9b9;overflow:hidden}
.service-category-image a {
    display: block;
    height: 100%;
    background: #fff;
}
.service-category-image img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .5s ease}
.service-category-item:hover .service-category-image img{transform:scale(1.05)}

.service-category-content{position:relative;display:flex;flex-direction:column;flex:1;padding:22px 22px 26px}
.service-category-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-category-title a {
    color: inherit;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}
.service-category-title a:hover{color:#f58220}
.service-category-excerpt {
    margin-bottom: 20px;
}
.service-category-excerpt p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
}

.service-category-button {
    position: relative;
    z-index: 1;
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid #f58220;
}
.service-category-button::after{content:"\2192";font-size:15px;line-height:1;transition:transform .25s ease}
.service-category-button:hover{color:#f58220}
.service-category-button:hover::after{transform:translateX(4px)}

/* Outline numbers 01, 02, 03... */
.service-category-content::after{content:counter(svc,decimal-leading-zero);position:absolute;right:18px;bottom:14px;font-family:"Montserrat",sans-serif;font-size:42px;font-weight:700;line-height:1;color:transparent;-webkit-text-stroke:1px #d6d6d6;pointer-events:none}

@media (max-width:1024px){.service-category-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.service-category-grid{grid-template-columns:1fr}}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
    counter-reset: rel;
}
.related-service{counter-increment:rel;position:relative;background:#f4f4f4;overflow:hidden;transition:box-shadow .3s ease,transform .3s ease}
.related-service:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.08)}
.related-service>a{display:flex;flex-direction:column;height:100%;padding-bottom:26px;color:#111;text-decoration:none}

.related-service-image{aspect-ratio:3/2;background:#fff;overflow:hidden;margin:0}
.related-service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .5s ease;
}
.related-service:hover .related-service-image img{transform:scale(1.05)}

.related-service-title{margin:22px 22px 28px;font-family:"Montserrat",sans-serif;font-size:18px;font-weight:700;line-height:1.3;color:#111;transition:color .25s ease}
.related-service:hover .related-service-title{color:#f58220}

/* "View Details →" label added by CSS */
.related-service>a::after{content:"View Details \2192";margin:auto 22px 0;align-self:flex-start;padding-bottom:4px;font-size:13px;font-weight:600;color:#111;border-bottom:2px solid #f58220}
.related-service:hover>a::after{color:#f58220}

/* Outline numbers */
.related-service::after{content:counter(rel,decimal-leading-zero);position:absolute;right:18px;bottom:14px;font-family:"Montserrat",sans-serif;font-size:42px;font-weight:700;line-height:1;color:transparent;-webkit-text-stroke:1px #d6d6d6;pointer-events:none}

@media (max-width:1024px){.related-services-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.related-services-grid{grid-template-columns:1fr}}
/* Mobile */

@media (max-width: 600px) {

    .ka-quote-popup {
        padding: 10px;
    }

    .ka-popup-box {
        max-height: 94vh;
        border-radius: 15px;
    }

    .ka-popup-content {
        padding: 24px 18px;
    }

    .ka-form-heading h3 {
        font-size: 22px;
    }

}

/* ---------- Tablet ---------- */

@media (max-width: 991px) {
	.sg-gallery {
		max-width: 560px;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	.sg-gallery {
		--sg-offset: 12px;
		--sg-gap: 10px;
		--sg-radius: 12px;
		--sg-thumb-radius: 8px;
	}

	.sg-main {
		border-width: 4px;
	}

	.sg-main .sg-main-img {
		border-radius: calc(var(--sg-radius) - 4px);
	}

	.sg-badge {
		top: 8px;
		right: 8px;
		padding: 5px 10px;
		font-size: 10px;
	}

	.sg-arrow {
    width: 53px;
    height: 50px;
}

	.sg-arrow svg {
		width: 16px;
		height: 16px;
	}

	.sg-prev { left: 0px; }
	.sg-next { right: 0px; }

	.sg-counter {
		right: 8px;
		bottom: 8px;
		font-size: 11px;
	}

	.sg-thumb {
		padding: 3px;
	}
}

/* ---------- Small phones ---------- */

@media (max-width: 400px) {
	.sg-badge {
		font-size: 9px;
		letter-spacing: 0.02em;
	}

	.sg-counter {
		display: none;
	}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.sg-main .sg-main-img,
	.sg-arrow,
	.sg-thumb,
	.sg-thumb img {
		transition: none;
	}
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 768px) {

    .sa-service-gallery-main-image {
        height: 400px;
    }

    .sa-service-gallery-arrow {
        width: 40px;
        height: 40px;

        font-size: 20px;
    }

    .sa-service-gallery-thumbnail {
        flex-basis: 100px;

        width: 100px;
        height: 75px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {
	.rs-button .rs-btn em {
    display: none;
}
.rs-button .rs-btn {
font-size:14px !important;
    padding: 12px 12px 12px 12px !important;

}
	
	
	#content {
    padding-top: 0px;
}

    .sa-service-gallery-main-image {
        height: 280px;

        border-radius: 8px;
    }

    .sa-service-gallery-prev {
        left: 8px;
    }

    .sa-service-gallery-next {
        right: 8px;
    }

    .sa-service-gallery-arrow {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }

    .sa-service-gallery-thumbnails {
        gap: 8px;

        margin-top: 10px;
    }

    .sa-service-gallery-thumbnail {
        flex-basis: 78px;

        width: 78px;
        height: 60px;

        border-radius: 6px;
    }

}