/* =========================================================
   ROK SERVICES
   ========================================================= */

.rok-services {
    width: 100%;
    box-sizing: border-box;
}

.rok-services *,
.rok-services *::before,
.rok-services *::after {
    box-sizing: border-box;
}


/* =========================================================
   GRID
   ========================================================= */

.rok-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}


/* Elementor responsive columns */

.rok-services-grid[data-columns="1"] {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.rok-services-grid[data-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rok-services-grid[data-columns="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rok-services-grid[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rok-services-grid[data-columns="5"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rok-services-grid[data-columns="6"] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}


/* =========================================================
   CARD - DEFAULT / STYLE 1
   ========================================================= */

.rok-service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    height: 100%;

    background: #ffffff;

    overflow: hidden;

    box-sizing: border-box;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   EQUAL HEIGHT
   ========================================================= */

.rok-services-equal-height .rok-service-card {
    height: 100%;
}

.rok-services-equal-height .rok-service-content {
    flex: 1;
}


/* =========================================================
   DEFAULT HOVER
   ========================================================= */

.rok-services.hover-lift .rok-service-card:hover {
    transform: translateY(-6px);
}

.rok-services.hover-none .rok-service-card:hover {
    transform: none;
}


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

.rok-service-image {
    position: relative;

    width: 100%;

    overflow: hidden;

    line-height: 0;

    background: #eeeeee;
}

.rok-service-image img {
    display: block;

    width: 100%;
    height: 280px;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}


/* Default image hover */

.rok-services.hover-zoom
.rok-service-card:hover
.rok-service-image img,

.rok-services.hover-lift
.rok-service-card:hover
.rok-service-image img {
    transform: scale(1.05);
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.rok-service-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0);

    pointer-events: none;

    transition: background 0.35s ease;
}

.rok-service-card:hover
.rok-service-image::after {
    background: rgba(0, 0, 0, 0.06);
}


/* =========================================================
   ICON - STYLE 1
   ========================================================= */

.rok-service-icon {
    position: absolute;

    right: 26px;
    top: 235px;

    width: 92px;
    height: 92px;

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

    background: #ffffff;

    z-index: 5;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.06);

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.rok-service-icon i {
    font-size: 42px;

    color: #FE7D02;

    line-height: 1;

    transition: color 0.3s ease;
}

.rok-service-icon svg {
    width: 42px;
    height: 42px;

    fill: #FE7D02;

    transition: fill 0.3s ease;
}


/* Icon hover */

.rok-services:not(.rok-services-style-2)
.rok-service-card:hover
.rok-service-icon {
    transform: translateY(-5px);
    background: #FE7D02;
}

.rok-services:not(.rok-services-style-2)
.rok-service-card:hover
.rok-service-icon i {
    color: #ffffff;
}

.rok-services:not(.rok-services-style-2)
.rok-service-card:hover
.rok-service-icon svg {
    fill: #ffffff;
}


/* =========================================================
   CONTENT - STYLE 1
   ========================================================= */

.rok-service-content {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 50px 45px 40px;
}


/* =========================================================
   TITLE - STYLE 1
   ========================================================= */

.rok-service-title {
    margin: 0 0 22px;

    font-size: 27px;
    line-height: 1.2;

    font-weight: 700;

    color: #252525;

    transition: color 0.3s ease;
}

.rok-services:not(.rok-services-style-2)
.rok-service-card:hover
.rok-service-title {
    color: #FE7D02;
}


/* =========================================================
   DESCRIPTION - STYLE 1
   ========================================================= */

.rok-service-description {
    margin: 0 0 25px;

    font-size: 16px;
    line-height: 1.9;

    color: #737373;
}

.rok-service-description p {
    margin: 0;
}


/* =========================================================
   LINK - STYLE 1
   ========================================================= */

.rok-service-link {
    display: inline-flex;

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

    gap: 8px;

    margin-top: auto;

    width: fit-content;

    color: #FE7D02;

    font-size: 15px;

    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease,
        width 0.3s ease,
        transform 0.3s ease;
}

.rok-service-link:hover {
    color: #252525;

    gap: 13px;
}

.rok-service-link-icon {
    display: inline-flex;

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

    line-height: 1;
}

.rok-service-link-icon i {
    font-size: 14px;
    line-height: 1;
}

.rok-service-link-icon svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   BOTTOM ACCENT - STYLE 1
   ========================================================= */

.rok-services:not(.rok-services-style-2)
.rok-service-card::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: #FE7D02;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;
}

.rok-services:not(.rok-services-style-2)
.rok-service-card:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   ROK SERVICES - STYLE 2
   COMPACT DARK TEAL CARD
========================================================= */

.rok-services-style-2 .rok-service-card {
    position: relative;
    display: block;

    width: 100%;
    overflow: hidden;
    background: #00383f;

    border: 1px solid rgba(0, 220, 210, 0.55);
    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


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

.rok-services-style-2 .rok-service-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #002c33;

    line-height: 0;

    z-index: 1;
}

.rok-services-style-2 .rok-service-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}


/* Image hover */

.rok-services-style-2.hover-lift
.rok-service-card:hover
.rok-service-image img,

.rok-services-style-2.hover-zoom
.rok-service-card:hover
.rok-service-image img {
    transform: scale(1.04);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.rok-services-style-2 .rok-service-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 20, 30, 0) 0%,
            rgba(0, 40, 45, 0.05) 60%,
            rgba(0, 56, 63, 0.35) 100%
        );

    pointer-events: none;
}

/* =========================================================
   ROK SERVICES — STYLE 2 ICON
   ========================================================= */

.rok-services-style-2 .rok-service-icon {
  position: absolute;
  z-index: 5;
  left: 22px;
  top: 35%;

	width: 60px;
	height: 60px;

	display: flex;
	border-radius: 50%;

	background: #087bd4 
	border: 2px solid rgba(255, 255, 255, 0.35);

	box-shadow:
		0 0 0 4px rgba(0, 210, 230, 0.12),
		0 8px 22px rgba(0, 180, 255, 0.35);

	color: #ffffff;

	overflow: hidden;
}


/* ICON ITSELF */
.rok-services-style-2 .rok-service-icon i{
	display: block;
	color: #ffffff !important;

	fill: #ffffff;

	stroke: #ffffff;
	text-align:center;
	padding-left:1px;
}
.rok-services-style-2 .rok-service-icon svg {
	display: block;

	width: 42px;
	height: 42px;

	font-size: 42px;

	color: #ffffff !important;

	fill: #ffffff;

	stroke: #ffffff;
}



/* IMAGE MUST STAY BEHIND ICON */

.rok-services-style-2 .rok-service-image {
	z-index: 1;
}


/* CONTENT BELOW IMAGE */

.rok-services-style-2 .rok-service-content {
	z-index: 3;
}


/* =========================================================
   HOVER
   ========================================================= */

.rok-services-style-2 .rok-service-card:hover .rok-service-icon {
	transform: translateY(-3px) scale(1.05);

	box-shadow:
		0 0 0 5px rgba(0, 220, 240, 0.14),
		0 10px 28px rgba(0, 210, 255, 0.45);
}


/* =========================================================
   CONTENT
========================================================= */

.rok-services-style-2 .rok-service-content {
    display: flex;
    flex-direction: column;

    padding: 14px 28px 42px;

    z-index: 3;
}


/* =========================================================
   TITLE
========================================================= */

.rok-services-style-2 .rok-service-title {
    display: block;

    margin: 0 0 5px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: 24px !important;
    line-height: 1.25 !important;

    font-weight: 700 !important;

    letter-spacing: -0.2px;

    text-shadow: none;
}


/* Prevent generic hover styles */

.rok-services-style-2
.rok-service-card:hover
.rok-service-title {
    color: #ffffff !important;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.rok-services-style-2 .rok-service-description {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    max-width: 100%;

    color: #a9cbd1 !important;

    font-size: 17px !important;
    line-height: 1.4 !important;

    font-weight: 400 !important;
}

.rok-services-style-2
.rok-service-description p {
    margin: 0 !important;
    padding: 0 !important;

    color: #a9cbd1 !important;
}


/* =========================================================
   READ MORE BUTTON
========================================================= */

.rok-services-style-2 .rok-service-button{
  text-align: center;
  max-height: 31px;
  transform: translatey(100%);
  -webkit-transition: all .3s cubic-bezier(.645,.045,.355,1);
  -khtml-transition: all .3s cubic-bezier(.645,.045,.355,1);
  -moz-transition: all .3s cubic-bezier(.645,.045,.355,1);
  -ms-transition: all .3s cubic-bezier(.645,.045,.355,1);
  -o-transition: all .3s cubic-bezier(.645,.045,.355,1);
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  position: absolute;
  bottom: 0;
  width:100%;
}
.rok-services-style-2 .rok-service-card:hover .rok-service-button {
  transform: translatey(0);
}
.rok-services-style-2 .rok-service-link {

  font-size: 18px;
  color: #fff;
  font-weight: 400;
  display: inline-flex;
  overflow: hidden;
  position: relative;
    background: rgba(0, 220, 210, 0.55);
	padding: 5px 15px;
  border-radius: 5px 5px 0 0;
}


/* =========================================================
   READ MORE TEXT
========================================================= */

.rok-services-style-2 .rok-service-link-text {
    color: #fff !important;
}


/* =========================================================
   BUTTON ARROW
========================================================= */

.rok-services-style-2 .rok-service-link-icon {
    display: inline-flex;

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

    color: #fff !important;

    font-size: 18px;

    line-height: 1;

    transition: transform 0.25s ease;
}


/* Elementor icon */

.rok-services-style-2
.rok-service-link-icon i {
    color: #fff !important;

    font-size: 17px;

    line-height: 1;
}

.rok-services-style-2
.rok-service-link-icon svg {
    width: 16px;
    height: 16px;

    fill: #00383f !important;

    color: #00383f !important;
}





/* =========================================================
   CARD HOVER
========================================================= */

.rok-services-style-2.hover-lift
.rok-service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 235, 220, 0.8);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.30),
        0 0 20px rgba(0, 220, 210, 0.08);
}


/* =========================================================
   NO HOVER
========================================================= */

.rok-services-style-2.hover-none
.rok-service-card:hover {
    transform: none;
}


/* =========================================================
   GLOW HOVER
========================================================= */

.rok-services-style-2.hover-glow
.rok-service-card:hover {
    transform: translateY(-3px);

    border-color: rgba(0, 235, 220, 0.8);

    box-shadow:
        0 0 30px rgba(0, 220, 210, 0.18),
        0 15px 35px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   REMOVE OLD ORANGE BOTTOM LINE
========================================================= */

.rok-services-style-2 .rok-service-card::after {
    display: none !important;
}


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

@media (max-width: 1024px) {

    .rok-services-style-2 .rok-service-card {
        height: 290px;
        min-height: 290px;
    }

    .rok-services-style-2 .rok-service-image {
        height: 155px;
    }

    .rok-services-style-2 .rok-service-content {
        top: 155px;
        height: 135px;

        padding: 12px 22px 40px;
    }

    .rok-services-style-2 .rok-service-title {
        font-size: 22px !important;
    }

    .rok-services-style-2 .rok-service-description {
        font-size: 16px !important;
    }
}


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

@media (max-width: 767px) {

    .rok-services-style-2 .rok-service-card {
        height: 290px;
        min-height: 290px;
    }

    .rok-services-style-2 .rok-service-image {
        height: 155px;
    }

    .rok-services-style-2 .rok-service-content {
        top: 155px;
        height: 135px;

        padding: 12px 22px 39px;
    }

    .rok-services-style-2 .rok-service-title {
        font-size: 21px !important;
    }

    .rok-services-style-2 .rok-service-description {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .rok-services-style-2 .rok-service-link {
        width: 170px;
        height: 34px;

        font-size: 15px !important;
    }
}


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

@media (max-width: 480px) {

    .rok-services-style-2 .rok-service-card {
        height: 285px;
        min-height: 285px;

        border-radius: 15px;
    }

    .rok-services-style-2 .rok-service-image {
        height: 150px;
    }

    .rok-services-style-2 .rok-service-content {
        top: 150px;
        height: 135px;

        padding: 10px 18px 38px;
    }

    .rok-services-style-2 .rok-service-title {
        font-size: 20px !important;
    }

    .rok-services-style-2 .rok-service-description {
        font-size: 15px !important;
    }

    .rok-services-style-2 .rok-service-link {
        width: 165px;
        height: 34px;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.rok-service-link:focus-visible {
    outline: 2px solid #b8ff45;
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .rok-service-card,
    .rok-service-image img,
    .rok-service-icon,
    .rok-service-link,
    .rok-service-link-icon {
        transition: none !important;
    }

}