/* .home-hero-section {
    background: linear-gradient(109.34deg, rgba(255, 244, 245, 0) -13.56%, rgba(255, 255, 255, 0.99) 30.46%, rgba(203, 35, 47, 0.18) 101.03%)
} */
.home-hero-section h1 > span {
  position: relative;
  z-index: 2;
}

.home-hero-section h1 > span::before {
  position: absolute;
  content: "";
  z-index: 2;
  bottom: -15px;
  right: 0;
  width: 100px;
  height: 16px;
  background-image: url(../images/under-line.svg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100%;
}

.home-hero-section .elementor-counter {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 25px;
  border-radius: 12px;
  min-width: 140px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.home-hero-section .elementor-counter:hover {
  transform: translateY(-5px); /* Smoothly lifts the box up */
  background: rgba(255, 255, 255, 0.2); /* Brightens the background */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"] {
  width: 100%;
}

textarea.textarea-msg-inp {
  max-height: 138px;
}

.schedule-demo-form form {
  position: relative;
}

.schedule-demo-form form p {
  margin: 0 0 16px;
  clear: both;
}

.schedule-demo-form form p:nth-last-child(2) {
  margin: 0;
}

.schedule-demo-form form p:has(span[data-name="first-name"]),
.schedule-demo-form form p:has(span[data-name="last-name"]) {
  width: calc(50% - 8px);
  float: left;
}

@media (max-width: 1024px) {
  .schedule-demo-form form p:has(span[data-name="first-name"]),
  .schedule-demo-form form p:has(span[data-name="last-name"]) {
    width: 100%;
  }
}

.schedule-demo-form form p:has(span[data-name="first-name"]) {
  margin-right: 16px;
}

.schedule-demo-form form p:has(span[data-name="last-name"]) {
  clear: none;
}

.schedule-demo-form form p .submit-btn {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.schedule-demo-form form p .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Sticky Header Scroll Effect */
header.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease-in-out;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.site-header.header-hidden {
  transform: translateY(-100%);
}

/* Main Link */
/* =========================================
   GLOBAL ROLLING MENU STYLE
========================================= */

/* HEADER + FOOTER LINKS */
.ekit-menu-nav-link,
#menu-product-footer-menu li a,
#menu-company-footer-menu li a,
#menu-support-footer-menu li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
  padding: 6px 0;
  line-height: 1.2em;
}

/* =========================================
   TEXT WRAPPER
========================================= */

.rolling-text {
  position: relative;
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
}

/* MOVING BLOCK */
.rolling-text .block {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

/* TEXT */
.rolling-text span {
  display: block;
  line-height: 1.2em;
  transition: color 0.4s ease;
  white-space: nowrap;
}

/* =========================================
   HEADER COLORS
========================================= */

.ekit-menu-nav-link .rolling-text span {
  color: var(--secondary-color);
}

/* =========================================
   FOOTER COLORS
========================================= */

#menu-product-footer-menu li a .rolling-text span,
#menu-company-footer-menu li a .rolling-text span,
#menu-support-footer-menu li a .rolling-text span {
  color: var(--secondary-color);
}

/* =========================================
   DUPLICATE / HOVER COLOR
========================================= */

.rolling-text span.clone {
  color: var(--primary-color) !important;
}

/* =========================================
   ROLL EFFECT
========================================= */

.ekit-menu-nav-link:hover .block,
#menu-product-footer-menu li a:hover .block,
#menu-company-footer-menu li a:hover .block,
#menu-support-footer-menu li a:hover .block {
  transform: translateY(-50%);
}

/* =========================================
   UNDERLINE EFFECT
========================================= */

.ekit-menu-nav-link::after,
#menu-product-footer-menu li a::after,
#menu-company-footer-menu li a::after,
#menu-support-footer-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;

  background: var(--primary-color);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

/* UNDERLINE HOVER */
.ekit-menu-nav-link:hover::after,
#menu-product-footer-menu li a:hover::after,
#menu-company-footer-menu li a:hover::after,
#menu-support-footer-menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================================
   ACTIVE HEADER MENU
========================================= */

.current-menu-item .ekit-menu-nav-link::after,
.ekit-menu-nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.current-menu-item .rolling-text span:first-child,
.ekit-menu-nav-link.active .rolling-text span:first-child {
  color: var(--primary-color);
}
/* end */

/* Expert Services Slider */

.expert-services .service-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.expert-services .service-slider:not(.active-slider) {
  display: flex;
  flex-wrap: wrap;
  overflow: visible !important;
}

.expert-services .service-slider:has(.active-slider) {
  display: flex;
  flex-wrap: nowrap;
}

/* new style start  */

/* Service Slider Layout */
.service-slider {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

/* Card Design */
.service-slider-box .simple-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #f1f1f1;
  border-radius: 22px;
  /* padding: 35px 30px; */
  overflow: hidden;
  transition: all 0.45s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  height: 100%;
  z-index: 1;
}

/* Red Top Accent Line */
.service-slider-box .simple-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff2d2d, #cc0000);
  transition: all 0.45s ease;
  z-index: -1;
}

/* Shine Hover Effect */
.service-slider-box .simple-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(25deg);
  transition: 0.7s ease;
  opacity: 0;
}

/* Hover Effect */
.service-slider-box .simple-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 18px 45px rgba(204, 0, 0, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(204, 0, 0, 0.15);
}

/* Red Background Glow on Hover */
.service-slider-box .simple-card:hover::before {
  height: 100%;
  opacity: 0.05;
}

/* Shine Animation */
.service-slider-box .simple-card:hover::after {
  left: 130%;
  opacity: 1;
}

/* Title */
.service-slider-box .elementskit-info-box-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  transition: all 0.35s ease;
  line-height: 1.3;
}

/* Title Hover */
.service-slider-box .simple-card:hover .elementskit-info-box-title {
  color: #cc0000;
  transform: translateX(4px);
}

/* Text */
.service-slider-box .elementskit-box-style-content {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  transition: all 0.35s ease;
}

/* Text Hover */
.service-slider-box .simple-card:hover .elementskit-box-style-content {
  color: #333;
}

/* ended */

/* service slider track style */
.service-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  cursor: grab;
  gap: 32px;
  align-items: stretch;
  /* Equal height */
  padding: 10px;
}

.service-slider-track:active {
  cursor: grabbing;
}

/* ✅ DESKTOP: 3 items */
.service-slider-box {
  flex: 0 0 calc((100% - 64px) / 3) !important;
  max-width: calc((100% - 64px) / 3) !important;
  box-sizing: border-box !important;
  user-select: none !important;
  display: flex;
  height: auto !important;
}

/* Ensure inner content takes full height */
.service-slider-box > .ekit-wid-con,
.service-slider-box .elementskit-info-image-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ✅ TABLET: 2 items */
@media (max-width: 1024px) {
  .service-slider-box {
    flex: 0 0 calc((100% - 32px) / 2) !important;
    max-width: calc((100% - 32px) / 2) !important;
  }
}

/* ✅ MOBILE: 1 item */
@media (max-width: 767px) {
  .service-slider-box {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

.service-slider-box img {
  max-height: 340px;
  min-height: 340px;
  height: 340px;
  object-fit: cover;
}

/* Responsive adjustments */
/* @media (max-width: 1024px) {
    .service-slider-box {
        flex: 0 0 calc((100% - 32px)/2);
    }
}

@media (max-width: 767px) {
    .service-slider-box {
        flex: 0 0 100%;
    }
} */

/* Arrows and Dots - Hidden for now as requested */
.slider-arrow {
  display: none;
  /* Change to flex/block to show */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}

.slider-dots {
  display: none;
  /* Change to flex to show */
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: #cb232f;
  /* Using theme red */
}

/* industries serve section style */
.industries-serve-slider .swiper-slide {
  aspect-ratio: 0.748;
}
.industries-serve-slider .elementor-image-carousel-wrapper {
  margin-bottom: 45px;
}

.industries-serve-slider .swiper-slide .swiper-slide-inner {
  position: relative;
  aspect-ratio: 0.748;
  height: 100%;
  border-radius: 16px;
}

.industries-serve-slider .swiper-slide .swiper-slide-inner img {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  aspect-ratio: 0.748;
  object-fit: cover;
}

.industries-serve-slider .swiper-slide .swiper-slide-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 59.36%,
    rgba(0, 0, 0, 0.477273) 77.8%,
    #000000 97.99%
  );
  border-radius: 16px;
}

.industries-serve-slider
  .swiper-slide
  .swiper-slide-inner
  .elementor-image-carousel-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
  text-align: center;
}

/* our tech expertise section */
.tech-expertise-box {
  height: auto !important;
}

.tech-expertise-box .elementskit-infobox {
  display: flex;
  flex-direction: column;
}

.tech-expertise-box .elementskit-infobox .box-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 
.tech-expertise-box .elementskit-infobox .box-body .box-footer {
    margin-top: auto;
} */

.tech-expertise-box .elementskit-btn {
  cursor: default;
}

/* why choose us section */
.why-choose-us-box .elementor-counter {
  gap: 15px;
}

.why-choose-us-box .no-number .elementor-counter .elementor-counter-number {
  display: none;
}

.why-choose-us-box .elementor-counter .elementor-counter-number-wrapper {
  width: auto;
  flex: 0;
}

.why-choose-us-box
  .elementor-counter
  .elementor-counter-number-wrapper
  .elementor-counter-number {
  flex-grow: 0;
}

/* how we works section */
.how-we-work .how-we-work-step .elementskit-section-title-wraper {
  gap: 24px;
  align-items: flex-start;
}

.how-we-work .how-we-work-wrp {
  position: relative;
}

.how-we-work .how-we-works-track {
  position: absolute;
  top: 20px;
  left: 16px;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.how-we-work .how-we-works-track .elementor-icon-wrapper,
.how-we-work .how-we-works-track .elementor-icon-wrapper .elementor-icon,
.how-we-work .how-we-works-track .elementor-icon-wrapper .elementor-icon svg {
  width: 100%;
  height: 96%;
}

.how-we-work
  .how-we-work-step
  .elementskit-section-title-wraper
  .ekit-heading__title-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 16px;
}

.how-we-work
  .how-we-work-step
  .elementskit-section-title-wraper
  .ekit-heading__title-wrapper
  p {
  color: #fff;
}

.how-we-work
  .how-we-work-step
  .elementskit-section-title-wraper
  .ekit-heading__content-wrapper {
  border: 1px solid var(--primary-color);
  padding: 24px;
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 768px) {
  .how-we-work .how-we-work-step .elementskit-section-title-wraper {
    gap: 16px;
    align-items: flex-start;
  }

  .how-we-work
    .how-we-work-step
    .elementskit-section-title-wraper
    .ekit-heading__title-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 16px;
  }

  .how-we-work
    .how-we-work-step
    .elementskit-section-title-wraper
    .ekit-heading__content-wrapper {
    border: 1px solid var(--primary-color);
    padding: 20px;
    border-radius: 16px;
    background: #fff;
  }
}
.client-testimonial .swiper-wrapper {
  margin-left: 15%;
}

@media (min-width: 768px) {
  .client-testimonial .swiper-wrapper {
    margin-left: -25%;
  }
  .client-testimonial .swiper-wrapper .swiper-slide-prev,
  .client-testimonial .swiper-wrapper .swiper-slide-active,
  .client-testimonial
    .swiper-wrapper
    .swiper-slide-duplicate.swiper-slide-duplicate-prev,
  .client-testimonial .swiper-wrapper .swiper-slide-duplicate-prev {
    opacity: 0.3;
    transition: opacity 0.3s ease-in-out;
  }
}

@media (min-width: 1024px) {
  .client-testimonial .swiper-wrapper {
    margin-left: -19%;
  }
}

.client-testimonial
  .elementor-widget-elementskit-testimonial
  .swiper-wrapper
  .swiper-slide
  .elementskit-commentor-content
  p {
  /* padding-bottom: 14px; */
  /* border-bottom: 1px solid #cbcbcb; */
  margin: 0 !important;
}

.client-testimonial .elementskit-testimonial-slider-block-style {
  display: flex !important;
  flex-direction: column !important;
}

.client-testimonial
  .elementskit-testimonial-slider-block-style
  .elementskit-commentor-bio {
  order: 1;
  border-bottom: 1px solid #cbcbcb;
  margin-bottom: 16px !important;
  padding-bottom: 16px;
}

.client-testimonial
  .elementskit-testimonial-slider-block-style
  .elementskit-commentor-header {
  order: 2;
}

.client-testimonial
  .elementskit-testimonial-slider-block-style
  .elementskit-commentor-content {
  order: 3;
}

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .elementskit-entry-thumb {
  min-height: 267px;
  height: 267px;
  position: relative;
  z-index: 1;
}

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .elementskit-entry-thumb
  img {
  height: 100%;
}

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .elementskit-meta-categories {
  z-index: 6;
  /* position: relative; */
}

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .elementskit-entry-thumb::after {
  height: 100%;
  content: "";
  width: 100%;
  background: #00000040;
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 16px;
  z-index: 3;
}

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .elementskit-meta-wraper
  span {
  backdrop-filter: blur(8.32px);
}

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .post-meta-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 38px; */
}

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .post-meta-list
  .meta-date {
  position: relative;
}

/* .latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .post-meta-list
  .meta-date::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 24px;
  height: 1px;
  background: #6c757d66;
  transform: translateY(-50%);
} */

.latest-blogs
  .elementor-widget-elementskit-blog-posts
  .elementskit-post-image-card
  .post-meta-list
  .meta-date
  .meta-date-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 27.72px;
  /* padding-left: 38px; */
}

/* case studies section */
/* .featured-case-studies .case-study-box .elementor-icon-box-title {
  margin: 0 0 4px 0 !important;
}

.featured-case-studies {
  overflow: hidden;
  transition: none !important;
}

.featured-case-studies .case-study-wrp {
  position: relative;
  height: 600px;
  padding-top: 20px;
  margin-bottom: 20px;
  transition: none !important;
  overflow: visible;
}

.featured-case-studies .case-study-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: none !important;
}

.featured-case-studies .case-study-box:nth-child(1) {
  z-index: 3;
}

.featured-case-studies .case-study-box:nth-child(2) {
  z-index: 2;
}

.featured-case-studies .case-study-box:nth-child(3) {
  z-index: 1;
}

@media (max-width: 767px) {
  .featured-case-studies .case-study-wrp {
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 20px 40px;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .featured-case-studies .case-study-wrp::-webkit-scrollbar {
    display: none;
  }

  .featured-case-studies .case-study-box {
    position: relative !important;
    flex: 0 0 96% !important;
    width: 96% !important;
    max-width: 96% !important;
    scroll-snap-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    flex-shrink: 0 !important;
  }
} */
/* Featured Case Studies */

.featured-case-studies {
  overflow: hidden;
}

/* Swiper container */
.featured-case-studies .case-study-wrp {
  position: relative !important;
  overflow: hidden !important;
  height: auto !important;
  margin-top: 30px;
  padding-bottom: 60px;
}

/* Swiper wrapper (added via JS) */
.featured-case-studies .swiper-wrapper {
  /* display: flex; */
  align-items: stretch;
  /* transform: none !important; */
}

/* Each slide */
.featured-case-studies .case-study-box {
  position: relative !important;
  top: unset !important;
  left: unset !important;
  width: 100% !important;
  height: auto !important;
  flex-shrink: 0;
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  display: flex !important;
}

/* Pagination dots */
.featured-case-studies .swiper-pagination {
  bottom: 0 !important;
}

.featured-case-studies .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  opacity: 0.5;
  background: #fff;
  border-radius: 100px;
}
.featured-case-studies .swiper-slide {
  height: auto;
}
.featured-case-studies .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Mobile */
@media (max-width: 767px) {
  .featured-case-studies .case-study-wrp {
    padding-bottom: 50px;
  }

  .featured-case-studies .case-study-box {
    width: 100% !important;
  }
}

/* footer style */
.site-footer .footer-page-list .elementor-widget-wp-widget-nav_menu h5 {
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0%;
  margin-bottom: 16px;
  color: var(--secondary-color);
}

.site-footer .footer-page-list .elementor-widget-wp-widget-nav_menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-page-list .elementor-widget-wp-widget-nav_menu ul li {
  margin: 0 0 12px 0;
}

.site-footer .footer-page-list .elementor-widget-wp-widget-nav_menu ul li a {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: var(--secondary-color);
}

.site-footer
  .footer-page-list
  .elementor-widget-wp-widget-nav_menu
  ul
  li
  a:hover {
  color: var(--primary-color);
}

.site-footer .elementor-widget-text-editor p {
  margin: 0;
}

.site-footer .elementor-icon-list-item {
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .site-footer .elementor-icon-list-items {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 15px;
  }

  .site-footer .elementor-icon-list-item {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
  }

  .site-footer .elementor-icon-list-item .ekit_page_list_title_title,
  .site-footer .elementor-icon-list-item .elementor-icon-list-text {
    padding: 0 !important;
  }
}

.site-footer .elementor-icon-list-item .ekit_page_list_title_title {
  text-wrap: nowrap;
}

/* ==========================================================================
   DELIVERYBEE PREMIUM FULLSCREEN ORBITAL PRELOADER
   ========================================================================== */

/* Reservable scrollbar gutter to completely prevent page shifting/jumping */
html {
  scrollbar-gutter: stable !important;
}

/* Prevent scrolling while loading */
body:not(.site-loaded) {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Page content animation on reveal (Super Smooth entrance) */
body:not(.site-loaded) #page {
  opacity: 0;
  transform: scale(0.98) translateY(10px);
  pointer-events: none;
}

body.site-loaded #page {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease-out;
}

/* Fullscreen Loader Overlay */
.site-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #06070a; /* Sleek futuristic deep dark space */
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    transform 1s cubic-bezier(0.85, 0, 0.15, 1),
    opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1);
  pointer-events: all;
}

/* Extremely smooth exit transition */
.site-loader-overlay.fade-out {
  transform: scale(1.05);
  opacity: 0;
  pointer-events: none;
}

/* Ambient glow background layers */
.loader-bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(204, 0, 0, 0.05) 0%,
    rgba(6, 7, 10, 0) 75%
  );
  z-index: 1;
  pointer-events: none;
}

/* Ambient Floating Glow Orbs */
.loader-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.loader-glow-orb.orb-1 {
  width: 320px;
  height: 320px;
  background: #cc0000;
  top: -60px;
  left: -60px;
  animation: float-orb-1 16s ease-in-out infinite alternate;
}

.loader-glow-orb.orb-2 {
  width: 280px;
  height: 280px;
  background: #ffb800;
  bottom: -40px;
  right: -40px;
  animation: float-orb-2 13s ease-in-out infinite alternate;
}

@keyframes float-orb-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(70px, 40px) scale(1.2);
  }
}

@keyframes float-orb-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-60px, -30px) scale(1.1);
  }
}

/* Honeycomb Grid Background */
.honeycomb-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.15;
  z-index: 2;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 0) 75%
  );
  -webkit-mask-image: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 0) 75%
  );
}

.honeycomb-grid svg {
  display: block;
}

/* Centered Core Container */
.loader-core-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Spinner Portal Wrapper */
.spinner-portal-wrapper {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

/* Orbital SVG spinner overlays */
.orbital-spinner-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* perfectly centered logo inside the spinner */
.loader-logo-centered {
  position: absolute;
  z-index: 5;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-breath 4s ease-in-out infinite;
}

.loader-logo-centered img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes logo-breath {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 6px rgba(204, 0, 0, 0.15));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 12px rgba(204, 0, 0, 0.3));
  }
}

/* Concentric Orbital Spin Animations */

/* 1. Outer dashed golden ring rotates clockwise slowly */
.ring-outer-dashed {
  transform-origin: center;
  animation: rotate-clockwise 12s linear infinite;
}

/* 2. Middle crimson sweep rotates counter-clockwise faster */
.ring-middle-arc {
  transform-origin: center;
  animation: rotate-counter-clockwise 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 3. Inner micro dot ring pulses gently */
.ring-inner-dots {
  transform-origin: center;
  animation: pulse-ring-inner 2s ease-in-out infinite alternate;
}

/* 4. Gliding orbital nodes */
.orbital-nodes {
  transform-origin: center;
  animation: rotate-clockwise 4s cubic-bezier(0.2, 0.5, 0.3, 0.9) infinite;
}

@keyframes rotate-clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate-counter-clockwise {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes pulse-ring-inner {
  0% {
    opacity: 0.25;
    stroke-width: 0.8;
  }
  100% {
    opacity: 0.7;
    stroke-width: 1.2;
  }
}

/* Loader progress readouts styling */
.loader-status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 280px;
  max-width: 320px;
  text-align: center;
}

.loader-percentage-text {
  font-family: "Sk-Modernist Mono", monospace;
  font-size: 26px;
  font-weight: 700;
  color: #ffb800;
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.35);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.loader-status-bar-wrapper {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  margin-bottom: 12px;
}

.loader-status-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #cc0000 0%, #ff2d2d 50%, #ffb800 100%);
  border-radius: 10px;
  transition: width 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
  box-shadow: 0 0 8px rgba(204, 0, 0, 0.4);
}

.loader-status-label {
  font-family: "Sk-Modernist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  height: 15px;
  text-align: center;
}

.service-slider-box {
  cursor: pointer;
  max-width: 100% !important;
  height: 100% !important;
}
.service-slider-box .elementskit-info-image-box .elementskit-box-footer {
  margin-top: 0 !important;
  line-height: 0 !important;
}

.service-slider {
  display: flex;
  gap: 20px;
}

@media (min-width: 768px) {
  .service-slider .full-box-link {
  flex: 1;
  /* display: flex; */
  min-width: 0;
}
}

.service-slider .service-slider-box {
  width: 100%;
}
