/* Ensure the parent box element lets the hovered image sit on top */
.special-card-boxes .box {
  position: relative;
}

.special-card-boxes img {
  /* Forces the image to fit its column width perfectly */
  width: 100%;
  height: auto;

  box-shadow:
    0 3px 5px -1px rgba(0, 0, 0, 0.2),
    0 6px 10px 0 rgba(0, 0, 0, 0.14),
    0 1px 18px 0 rgba(0, 0, 0, 0.12);
  border: 10px solid #40b3f1;

  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
}

.special-card-boxes img:hover {
  -webkit-transform: scale(1.05) rotateZ(3deg); /* Slightly reduced scale & rotation to prevent aggressive overlapping */
  -moz-transform: scale(1.05) rotateZ(3deg);
  -ms-transform: scale(1.05) rotateZ(3deg);
  -o-transform: scale(1.05) rotateZ(3deg);
  transform: scale(1.05) rotateZ(3deg);

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow to emphasize the lifting effect */

  /* Crucial: Brings the currently hovered item to the absolute front layer */
  position: relative;
  z-index: 99;

  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

/*** 

=============================================

    Latest project Area style

=============================================

***/

.latest-project-area {
  background-attachment: fixed;

  background-position: center top;

  background-repeat: no-repeat;

  background-size: cover;

  position: relative;

  padding-top: 80px;

  padding-bottom: 80px;

  z-index: 1;
}

.latest-project-area::before {
  background: rgba(25, 25, 25, 0.3);

  content: "";

  height: 100%;

  left: 0;

  position: absolute;

  top: 0;

  width: 100%;

  z-index: -1;
}

.latest-project-area .sec-title {
}

.latest-project-area .sec-title:before {
  background: #40b3f1;
}

.latest-project-area .sec-title p {
  color: #ffffff;
}

.latest-project-area .sec-title h1 {
  color: #ffffff;
}

.latest-project-area .button a {
  padding: 12px 16px;
  text-decoration: none !important;
}

.single-latest-project .img-holder {
  display: block;

  position: relative;

  overflow: hidden;
}

.single-latest-project .img-holder img {
  -webkit-transform: scale(1);

  transform: scale(1);

  -webkit-transition: all 0.5s ease 0s;

  transition: all 0.5s ease 0s;

  width: 100%;
}

.single-latest-project .img-holder .overlay-box .box .content a i {
  background: #fdc716 none repeat scroll 0 0;

  border-radius: 50%;

  color: #ffffff;

  display: inline-block;

  font-size: 20px;

  height: 45px;

  line-height: 48px;

  width: 45px;

  -webkit-transition: all 500ms ease;

  transition: all 500ms ease;
}

.single-latest-project:hover .overlay-box {
  opacity: 1;

  filter: alpha(opacity=100);

  -webkit-transform: rotateY(0deg) scale(1, 1);

  transform: rotateY(0deg) scale(1, 1);
}

.single-latest-project:hover .img-holder img {
  -webkit-transform: scale(1.1);

  transform: scale(1.1);
}

.single-latest-project .img-holder .overlay-box .box .content a:hover i {
  background: #292929;
}

.single-latest-project .title-holder {
  background: #ffffff none repeat scroll 0 0;

  margin-top: 10px;

  overflow: hidden;
}

.single-latest-project .title-holder h4 {
  margin: 12px 0 -2px;
}

.single-latest-project .title-holder p {
  color: #01305e;

  margin: 0 0 13px;
}

.services-area {
  padding-top: 80px;

  padding-bottom: 38px;
}
.services-area .single-service-item {
  padding-bottom: 42px;
}

.services-area .single-service-item .img-holder {
  display: block;

  position: relative;

  overflow: hidden;
}

.services-area .single-service-item .img-holder img {
  -webkit-transform: scale(1);

  transform: scale(1);

  -webkit-transition: all 0.5s ease 0s;

  transition: all 0.5s ease 0s;

  width: 100%;
}

.services-area .single-service-item:hover .img-holder .overlay {
  background-color: rgba(1, 48, 94, 0.85);
}

.services-area .single-service-item:hover .img-holder .overlay .box {
  border-color: #fdc716;
}

.services-area .single-service-item:hover .img-holder .overlay .box .content a {
  opacity: 1;

  -webkit-transform: translate3d(0px, 0px, 0px);

  transform: translate3d(0px, 0px, 0px);
}

.services-area .single-service-item:hover .img-holder img {
  -webkit-transform: scale(1.1);

  transform: scale(1.1);
}

.services-area .single-service-item .text-holder {
  padding-left: 60px;

  position: relative;

  padding-top: 30px;
}

.services-area .single-service-item .text-holder .icon {
  background: #f7f7f7 none repeat scroll 0 0;

  color: #292929;

  left: 0;

  position: absolute;

  top: 30px;

  width: 60px;

  height: 60px;

  display: block;

  text-align: center;

  padding: 18px 0;

  -webkit-transition: all 500ms ease 0s;

  transition: all 500ms ease 0s;
}

.services-area .single-service-item .text-holder .icon span:before {
  font-size: 30px;

  -webkit-transition: all 500ms ease 0s;

  transition: all 500ms ease 0s;
}

.services-area .single-service-item .text-holder .text {
  padding-left: 20px;
}

.services-area .single-service-item .text-holder .text h3 {
  margin: -6px 0 8px;
}

.services-area .single-service-item:hover .text-holder .icon {
  background: #fdc716;

  color: #fff;
}

.services-area .single-service-item {
  padding-bottom: 15px;
}

.services-area .single-service-item:hover .img-holder img {
  -webkit-transform: scale(1.4) rotateZ(3deg);
  -moz-transform: scale(1.4) rotateZ(3deg);
  -ms-transform: scale(1.4) rotateZ(3deg);
  -o-transform: scale(1.4) rotateZ(3deg);
  transform: scale(1.4) rotateZ(3deg);
  -webkit-transition: 750ms;
  -moz-transition: 750ms;
  -ms-transition: 750ms;
  -o-transition: 750ms;
  transition: 750ms;
}

.services-area .single-service-item .img-holder img {
  -webkit-transition: 1.3s;
  -moz-transition: 1.3s;
  -ms-transition: 1.3s;
  -o-transition: 1.3s;
  transition: 1.3s;
}
.sec-title h2 {
  color: #292929;
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  text-transform: uppercase;
  margin-top: -7px;
}

body {
  /*background-color: #212121;*/
  text-align: center;
}

.snip1533 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #000;
  display: inline-block;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  margin: 35px 10px 10px;
  max-width: 310px;
  min-width: 250px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #40b3f1;
}

.snip1533 *,
.snip1533 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.snip1533 figcaption {
  padding: 13% 10% 12%;
}

.snip1533 figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #40b3f1;
  content: "\f10e";
  font-family: "FontAwesome";
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.snip1533 h3 {
  color: #000;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.snip1533 h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}

.snip1533 blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
  height: 160px;
}

.snip1533 h4 {
  color: #000 !important;
}

/* Marquee section styled to match site theme */
.marquee-section {
  width: 100%;
  background-color: #ffffff;
  /* white background */
  overflow: hidden;
  color: #2b86b7;
  /* site blue */
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(43, 134, 183, 0.2);
  border-bottom: 1px solid rgba(43, 134, 183, 0.2);
}

.marquee-viewport {
  position: relative;
  height: 56px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  margin: 0 24px;
  color: #2b86b7;
}

/* Subtle pill echoing brand accent */
.text-marquee .marquee-item {
  padding: 8px 16px;
  background-color: rgba(43, 134, 183, 0.08);
  border: 1px solid rgba(43, 134, 183, 0.35);
  border-radius: 30px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .marquee-viewport {
    height: 64px;
  }

  .marquee-item {
    font-size: 16px;
    gap: 10px;
    margin: 0 16px;
  }
}
